MCPcopy Create free account
hub / github.com/F-Stack/f-stack / m_gethdr

Function m_gethdr

freebsd/sys/mbuf.h:963–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

961}
962
963static __inline struct mbuf *
964m_gethdr(int how, short type)
965{
966 struct mbuf *m;
967 struct mb_args args;
968
969 args.flags = M_PKTHDR;
970 args.type = type;
971 m = uma_zalloc_arg(zone_mbuf, &args, how);
972 MBUF_PROBE3(m__gethdr, how, type, m);
973 return (m);
974}
975
976static __inline struct mbuf *
977m_getcl(int how, short type, int flags)

Callers 15

pf_send_tcpFunction · 0.50
dyn_mgethdrFunction · 0.50
ieee80211_deliver_l2ufFunction · 0.50
ieee80211_mbuf_adjustFunction · 0.50
ieee80211_alloc_rtsFunction · 0.50
ieee80211_alloc_ctsFunction · 0.50
ieee80211_getmgtframeFunction · 0.50
ieee80211_realignFunction · 0.50
tcp_output.cFile · 0.50
tcp_m_copymFunction · 0.50
arprequest_internalFunction · 0.50
syncache_respondFunction · 0.50

Calls 1

uma_zalloc_argFunction · 0.85

Tested by

no test coverage detected