Searched refs:ifm_index (Results 1 – 17 of 17) sorted by relevance
/freebsd/usr.sbin/ppp/ |
H A D | route.c | 250 if (ifm->ifm_index > 0) { in Index2Nam() 251 if (ifm->ifm_index > have) { in Index2Nam() 255 have = ifm->ifm_index + 5; in Index2Nam() 273 if (ifs[ifm->ifm_index-1] == NULL) { in Index2Nam() 274 ifs[ifm->ifm_index-1] = (char *)malloc(dl->sdl_nlen+1); in Index2Nam() 275 if (ifs[ifm->ifm_index-1] == NULL) in Index2Nam() 277 ifm->ifm_index); in Index2Nam() 279 memcpy(ifs[ifm->ifm_index-1], dl->sdl_data, dl->sdl_nlen); in Index2Nam() 280 ifs[ifm->ifm_index-1][dl->sdl_nlen] = '\0'; in Index2Nam() 281 if (route_nifs < ifm->ifm_index) in Index2Nam() [all …]
|
H A D | iface.c | 153 iface->index = ifm->ifm_index; in iface_Create()
|
/freebsd/usr.sbin/rtadvd/ |
H A D | if.c | 487 "ifm_index = %d, ifindex = %d", in update_ifinfo() 488 __func__, ifm->ifm_index, ifindex); in update_ifinfo() 492 ifindex != ifm->ifm_index) in update_ifinfo() 496 if (if_indextoname(ifm->ifm_index, ifname) == NULL) { in update_ifinfo() 499 __func__, ifm->ifm_index); in update_ifinfo() 505 if (ifm->ifm_index == ifi->ifi_ifindex) in update_ifinfo() 514 __func__, ifm->ifm_index); in update_ifinfo() 522 ifi->ifi_ifindex = ifm->ifm_index; in update_ifinfo()
|
H A D | rtadvd.c | 522 ifindex = (int)((struct if_msghdr *)next)->ifm_index; in rtmsg_input()
|
/freebsd/lib/libc/net/ |
H A D | getifaddrs.c | 142 idx = ifm->ifm_index; in getifaddrs() 229 idx = ifm->ifm_index; in getifaddrs()
|
/freebsd/sys/net/ |
H A D | if.h | 331 u_short ifm_index; /* index for associated ifp */ member 354 u_short ifm_index; /* index for associated ifp */ member
|
H A D | rtsock.c | 92 uint16_t ifm_index; member 103 uint16_t ifm_index; member 1980 ifm->ifm_index = ifp->if_index; in rtsock_ifmsg() 2338 ifm32->ifm_index = ifp->if_index; in sysctl_iflist_ifml() 2349 ifm->ifm_index = ifp->if_index; in sysctl_iflist_ifml() 2378 ifm32->ifm_index = ifp->if_index; in sysctl_iflist_ifm() 2386 ifm->ifm_index = ifp->if_index; in sysctl_iflist_ifm()
|
/freebsd/tools/tools/net80211/wlanwatch/ |
H A D | wlanwatch.c | 303 cnow, ifm->ifm_index); in print_rtmsg()
|
/freebsd/sbin/natd/ |
H A D | natd.c | 819 if (ifMsg.ifm_index == mip->ifIndex) { in HandleRoutingInfo() 934 mip->ifIndex = ifm->ifm_index; in SetAliasAddressFromIfName()
|
/freebsd/sbin/routed/ |
H A D | table.c | 1189 ifp = ifwithindex(m.ifm.ifm_index, in read_rt() 1196 m.ifm.ifm_index); in read_rt()
|
H A D | if.c | 716 ifs0.int_index = ifm->ifm_index; in ifinit()
|
/freebsd/sbin/ipfw/ |
H A D | nat.c | 129 ifIndex = ifm->ifm_index; in set_addr_dynamic()
|
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII.c | 1137 if ((ifp = mib_find_if_sys(ifm->ifm_index)) == NULL) in handle_rtmsg()
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_bsd.c | 899 drv = bsd_get_drvindex(global, ifm->ifm_index); in bsd_wireless_event_receive()
|
/freebsd/sbin/route/ |
H A D | route.c | 1722 (void)printf("if# %d, ", ifm->ifm_index); in print_rtmsg()
|
/freebsd/usr.sbin/route6d/ |
H A D | route6d.c | 2455 if (ifindex != ifm->ifm_index) { in getifmtu()
|
/freebsd/sbin/dhclient/ |
H A D | dhclient.c | 295 if (ifm->ifm_index != ifi->index) in routehandler()
|