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

Function print_vhid

tools/ifconfig/ifconfig.c:1651–1664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1649}
1650
1651void
1652print_vhid(const struct ifaddrs *ifa, const char *s)
1653{
1654 struct if_data *ifd;
1655
1656 if (ifa->ifa_data == NULL)
1657 return;
1658
1659 ifd = ifa->ifa_data;
1660 if (ifd->ifi_vhid == 0)
1661 return;
1662
1663 printf(" vhid %d", ifd->ifi_vhid);
1664}
1665
1666void
1667ifmaybeload(const char *name)

Callers 2

in_statusFunction · 0.85
af_inet6.cFile · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected