Searched refs:RTAX_GATEWAY (Results 1 - 14 of 14) sorted by relevance
/freebsd-9.3-release/sys/net/ |
H A D | rtsock.c | 601 (info.rti_info[RTAX_GATEWAY] != NULL && 602 info.rti_info[RTAX_GATEWAY]->sa_family >= AF_MAX)) 623 if (info.rti_info[RTAX_GATEWAY] != NULL && 624 info.rti_info[RTAX_GATEWAY]->sa_family != AF_LINK) { 628 gw_ro.ro_dst = *info.rti_info[RTAX_GATEWAY]; 652 if (info.rti_info[RTAX_GATEWAY] == NULL) 657 if (info.rti_info[RTAX_GATEWAY]->sa_family == AF_LINK && 677 if (info.rti_info[RTAX_GATEWAY] && 678 (info.rti_info[RTAX_GATEWAY]->sa_family == AF_LINK) && 723 * we require users to specify a matching RTAX_GATEWAY [all...] |
H A D | route.c | 599 info.rti_info[RTAX_GATEWAY] = gateway; 650 info.rti_info[RTAX_GATEWAY] = gateway; 800 info.rti_info[RTAX_GATEWAY] = gateway; 810 #define gateway info->rti_info[RTAX_GATEWAY] 900 info.rti_info[RTAX_GATEWAY] = rt->rt_ifa->ifa_addr; 939 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; 1013 * a matching RTAX_GATEWAY. 1620 info.rti_info[RTAX_GATEWAY] = 1623 info.rti_info[RTAX_GATEWAY] = ifa->ifa_addr;
|
H A D | route.h | 276 #define RTAX_GATEWAY 1 /* gateway sockaddr present */ macro
|
H A D | if_llatbl.c | 271 (struct sockaddr_dl *)info->rti_info[RTAX_GATEWAY];
|
H A D | if.c | 1481 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl; 1513 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl;
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | route.c | 376 if (sa[RTAX_DST] && sa[RTAX_GATEWAY]) { 378 p_sockaddr(arg->prompt, sa[RTAX_GATEWAY], NULL, 20); 444 sa[RTAX_DST] && sa[RTAX_GATEWAY] && 455 ncpaddr_setsa(&gw, sa[RTAX_GATEWAY]); 459 if (sa[RTAX_GATEWAY]->sa_family == AF_INET || 461 sa[RTAX_GATEWAY]->sa_family == AF_INET6 || 463 sa[RTAX_GATEWAY]->sa_family == AF_LINK) { 473 sa[RTAX_GATEWAY]->sa_family); 528 sa[RTAX_GATEWAY] && rtm->rtm_index == bundle->iface->index) { 535 rt_Update(bundle, sa[RTAX_DST], sa[RTAX_GATEWAY], s [all...] |
/freebsd-9.3-release/lib/libc/net/ |
H A D | getifmaddrs.c | 152 case RTAX_GATEWAY:
|
/freebsd-9.3-release/usr.sbin/rtadvd/ |
H A D | if.c | 205 if ((gw = rti_info[RTAX_GATEWAY]) == NULL || 276 return (((struct sockaddr_dl *)rti_info[RTAX_GATEWAY])->sdl_index);
|
/freebsd-9.3-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII.c | 1109 addrs[RTAX_GATEWAY] == NULL || 1111 addrs[RTAX_GATEWAY]->sa_family != AF_LINK) 1114 (struct sockaddr_dl *)(void *)addrs[RTAX_GATEWAY], 1118 mib_sroute_process(rtm, addrs[RTAX_GATEWAY], 1127 mib_sroute_process(rtm, addrs[RTAX_GATEWAY],
|
H A D | mibII_route.c | 262 mib_sroute_process(rtm, addrs[RTAX_GATEWAY], addrs[RTAX_DST],
|
/freebsd-9.3-release/release/picobsd/tinyware/ns/ |
H A D | ns.c | 398 if ((sa = rti_info[RTAX_GATEWAY]) != NULL) {
|
/freebsd-9.3-release/sbin/routed/ |
H A D | defs.h | 608 #define INFO_GATE(I) ((I)->rti_info[RTAX_GATEWAY])
|
/freebsd-9.3-release/sys/netinet6/ |
H A D | nd6_rtr.c | 461 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway;
|
/freebsd-9.3-release/usr.sbin/route6d/ |
H A D | route6d.c | 1884 if (!rta[RTAX_DST] || !rta[RTAX_GATEWAY]) { 1899 if (rt_del(rta[RTAX_DST], rta[RTAX_GATEWAY],
|
Completed in 253 milliseconds