MCPcopy Index your code
hub / github.com/F-Stack/f-stack / ff_mbuf_mtod

Function ff_mbuf_mtod

lib/ff_veth.c:1099–1104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1097}
1098
1099void * ff_mbuf_mtod(void* bsd_mbuf)
1100{
1101 if ( !bsd_mbuf )
1102 return NULL;
1103 return (void*)((struct mbuf *)bsd_mbuf)->m_data;
1104}
1105
1106// get source rte_mbuf from ext cluster, which carry rte_mbuf while recving pkt, such as arp.
1107void* ff_rte_frm_extcl(void* mbuf)

Callers 1

ff_if_send_onepktFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected