Searched refs:if_unit (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dgetifname.c61 if (netif.if_unit < 10)
63 else if (netif.if_unit < 1000)
65 else if (netif.if_unit < 10000)
70 sprintf(buf + strlen(buf), "%d", netif.if_unit % 10000);
/illumos-gate/usr/src/lib/libbc/inc/include/net/
H A Dif.h47 short if_unit; /* sub-unit for lower level driver */ member in struct:ifnet
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c547 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit);
690 ifp->if_unit = atoi(s);
704 ifp->if_unit = -1;
726 sprintf(ifname, "%s%d", ifp->if_name, ifp->if_unit);
755 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit);
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h639 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
717 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
793 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
873 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
1014 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
1041 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
1067 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
1179 # define if_unit ifindex macro
1203 int if_unit; member in struct:ifnet
1322 ((struct ifnet *)fin->fin_ifp)->if_unit)
[all...]
/illumos-gate/usr/src/uts/common/net/
H A Dif.h64 short if_unit; /* sub-unit for lower level driver */ member in struct:ifnet
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_log.c343 ipfl.fl_unit = (u_int)ifp->if_unit;
H A Dfil.c5572 unit = ifp->if_unit;

Completed in 206 milliseconds