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

Function in_domifattach

freebsd/netinet/in.c:1690–1701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1688}
1689
1690void *
1691in_domifattach(struct ifnet *ifp)
1692{
1693 struct in_ifinfo *ii;
1694
1695 ii = malloc(sizeof(struct in_ifinfo), M_IFADDR, M_WAITOK|M_ZERO);
1696
1697 ii->ii_llt = in_lltattach(ifp);
1698 ii->ii_igmp = igmp_domifattach(ifp);
1699
1700 return (ii);
1701}
1702
1703void
1704in_domifdetach(struct ifnet *ifp, void *aux)

Callers

nothing calls this directly

Calls 3

mallocFunction · 0.85
in_lltattachFunction · 0.85
igmp_domifattachFunction · 0.85

Tested by

no test coverage detected