NDN-DPDK
High-Speed Named Data Networking Forwarder
|
Functions | |
void | StrategyCode_Ref (StrategyCode *sc) |
void | StrategyCode_Unref (StrategyCode *sc) |
bool | SgGetJSON (SgCtx *ctx, const char *path, int index, int64_t *dst) |
Retrieve JSON parameter integer value. More... | |
const struct rte_bpf_xsym * | SgInitGetXsyms (uint32_t *nXsyms) |
Variables | |
StrategyCode_FreeFunc | StrategyCode_Free |
StrategyCode_GetJSONFunc | StrategyCode_GetJSON |
bool SgGetJSON | ( | SgCtx * | ctx, |
const char * | path, | ||
int | index, | ||
int64_t * | dst | ||
) |
Retrieve JSON parameter integer value.
path | JSON property path, using '.' separator for nested path. Due to eBPF loader limitation, this string should be written as a mutable char[] allocated on stack. A string literal may cause "resolve_xsym(.L.str) error -2". |
index | index into JSON array, or SGJSON_SCALAR to retrieve scalar value, or SGJSON_LEN to retrieve array length. |
dst | destination pointer. |
SgInit
. const struct rte_bpf_xsym* SgInitGetXsyms | ( | uint32_t * | nXsyms | ) |
void StrategyCode_Ref | ( | StrategyCode * | sc | ) |
void StrategyCode_Unref | ( | StrategyCode * | sc | ) |
StrategyCode_FreeFunc StrategyCode_Free |
StrategyCode_GetJSONFunc StrategyCode_GetJSON |