Searched refs:RTAX_GATEWAY (Results 1 - 15 of 15) sorted by relevance
/freebsd-10.1-release/usr.sbin/ppp/ |
H A D | route.c | 362 if (sa[RTAX_DST] && sa[RTAX_GATEWAY]) { 364 p_sockaddr(arg->prompt, sa[RTAX_GATEWAY], NULL, 20); 430 sa[RTAX_DST] && sa[RTAX_GATEWAY] && 441 ncpaddr_setsa(&gw, sa[RTAX_GATEWAY]); 445 if (sa[RTAX_GATEWAY]->sa_family == AF_INET || 447 sa[RTAX_GATEWAY]->sa_family == AF_INET6 || 449 sa[RTAX_GATEWAY]->sa_family == AF_LINK) { 458 sa[RTAX_GATEWAY]->sa_family); 513 sa[RTAX_GATEWAY] && rtm->rtm_index == bundle->iface->index) { 520 rt_Update(bundle, sa[RTAX_DST], sa[RTAX_GATEWAY], s [all...] |
/freebsd-10.1-release/sys/net/ |
H A D | rtsock.c | 606 (info.rti_info[RTAX_GATEWAY] != NULL && 607 info.rti_info[RTAX_GATEWAY]->sa_family >= AF_MAX)) 628 if (info.rti_info[RTAX_GATEWAY] != NULL && 629 info.rti_info[RTAX_GATEWAY]->sa_family != AF_LINK) { 633 gw_ro.ro_dst = *info.rti_info[RTAX_GATEWAY]; 659 if (info.rti_info[RTAX_GATEWAY] == NULL) 664 if (info.rti_info[RTAX_GATEWAY]->sa_family == AF_LINK && 690 if (info.rti_info[RTAX_GATEWAY] && 691 (info.rti_info[RTAX_GATEWAY]->sa_family == AF_LINK) && 744 * we require users to specify a matching RTAX_GATEWAY [all...] |
H A D | route.c | 635 info.rti_info[RTAX_GATEWAY] = gateway; 686 info.rti_info[RTAX_GATEWAY] = gateway; 836 info.rti_info[RTAX_GATEWAY] = gateway; 846 #define gateway info->rti_info[RTAX_GATEWAY] 936 info.rti_info[RTAX_GATEWAY] = rt->rt_ifa->ifa_addr; 975 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; 1049 * a matching RTAX_GATEWAY. 1636 info.rti_info[RTAX_GATEWAY] = 1639 info.rti_info[RTAX_GATEWAY] = ifa->ifa_addr;
|
H A D | route.h | 249 #define RTAX_GATEWAY 1 /* gateway sockaddr present */ macro
|
H A D | if_llatbl.c | 268 (struct sockaddr_dl *)info->rti_info[RTAX_GATEWAY];
|
H A D | if.c | 1460 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl; 1492 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl;
|
/freebsd-10.1-release/lib/libc/net/ |
H A D | getifmaddrs.c | 146 case RTAX_GATEWAY:
|
/freebsd-10.1-release/sbin/route/ |
H A D | route.c | 907 getaddr(RTAX_GATEWAY, *++argv, 0, nrflags); 959 getaddr(RTAX_GATEWAY, *argv, &hp, nrflags); 1213 case RTAX_GATEWAY: 1547 NEXTADDR(RTA_GATEWAY, so[RTAX_GATEWAY]); 1758 if (sp[RTAX_GATEWAY] && (rtm->rtm_flags & RTF_GATEWAY)) 1759 (void)printf(" gateway: %s\n", routename(sp[RTAX_GATEWAY]));
|
/freebsd-10.1-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-10.1-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 | 261 mib_sroute_process(rtm, addrs[RTAX_GATEWAY], addrs[RTAX_DST],
|
/freebsd-10.1-release/release/picobsd/tinyware/ns/ |
H A D | ns.c | 398 if ((sa = rti_info[RTAX_GATEWAY]) != NULL) {
|
/freebsd-10.1-release/sbin/routed/ |
H A D | defs.h | 608 #define INFO_GATE(I) ((I)->rti_info[RTAX_GATEWAY])
|
/freebsd-10.1-release/sys/netinet6/ |
H A D | nd6_rtr.c | 461 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway;
|
/freebsd-10.1-release/usr.sbin/route6d/ |
H A D | route6d.c | 1861 if (!rta[RTAX_DST] || !rta[RTAX_GATEWAY]) { 1876 if (rt_del(rta[RTAX_DST], rta[RTAX_GATEWAY],
|
Completed in 142 milliseconds