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

Function m_gethdr

tools/compat/include/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

nothing calls this directly

Calls 1

uma_zalloc_argFunction · 0.85

Tested by

no test coverage detected