NDN-DPDK
High-Speed Named Data Networking Forwarder
|
Data Structures | |
struct | GuiderFields |
Typedefs | |
typedef struct GuiderFields | GuiderFields |
Functions | |
bool | PInterest_Parse (PInterest *interest, struct rte_mbuf *pkt, ParseFor parseFor) |
Parse Interest. More... | |
bool | PInterest_SelectFwHint (PInterest *interest, int i) |
Retrieve i-th forwarding hint name. More... | |
Packet * | Interest_ModifyGuiders (Packet *npkt, InterestGuiders guiders, PacketMempools *mp, PacketTxAlign align) |
Modify Interest guiders. More... | |
Packet * | InterestTemplate_Encode (const InterestTemplate *tpl, struct rte_mbuf *m, LName suffix, uint32_t nonce) |
Encode Interest with InterestTemplate. More... | |
typedef struct GuiderFields GuiderFields |
Packet* Interest_ModifyGuiders | ( | Packet * | npkt, |
InterestGuiders | guiders, | ||
PacketMempools * | mp, | ||
PacketTxAlign | align | ||
) |
Modify Interest guiders.
[in] | npkt | original Interest packet. |
NULL | allocation failure. |
Packet* InterestTemplate_Encode | ( | const InterestTemplate * | tpl, |
struct rte_mbuf * | m, | ||
LName | suffix, | ||
uint32_t | nonce | ||
) |
Encode Interest with InterestTemplate.
m | a uniquely owned, unsegmented, direct, empty mbuf. It must have InterestTemplateDataroom buffer size. |
m
. Parse Interest.
pkt | a uniquely owned, possibly segmented, direct mbuf that contains Interest TLV. |
parseFor | if set to ParseForApp , skip FwHints. |
bool PInterest_SelectFwHint | ( | PInterest * | interest, |
int | i | ||
) |
Retrieve i-th forwarding hint name.