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

Function igmp_save_context

freebsd/netinet/igmp.c:301–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299 "Per-interface IGMPv3 state");
300
301static __inline void
302igmp_save_context(struct mbuf *m, struct ifnet *ifp)
303{
304
305#ifdef VIMAGE
306 m->m_pkthdr.PH_loc.ptr = ifp->if_vnet;
307#endif /* VIMAGE */
308 m->m_pkthdr.rcvif = ifp;
309 m->m_pkthdr.flowid = ifp->if_index;
310}
311
312static __inline void
313igmp_scrub_context(struct mbuf *m)

Callers 3

igmp_v1v2_queue_reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected