Searched refs:RTAX_GATEWAY (Results 1 - 15 of 15) sorted by relevance
/freebsd-10.0-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-10.0-release/sys/net/ |
H A D | rtsock.c | 614 (info.rti_info[RTAX_GATEWAY] != NULL && 615 info.rti_info[RTAX_GATEWAY]->sa_family >= AF_MAX)) 636 if (info.rti_info[RTAX_GATEWAY] != NULL && 637 info.rti_info[RTAX_GATEWAY]->sa_family != AF_LINK) { 641 gw_ro.ro_dst = *info.rti_info[RTAX_GATEWAY]; 667 if (info.rti_info[RTAX_GATEWAY] == NULL) 672 if (info.rti_info[RTAX_GATEWAY]->sa_family == AF_LINK && 699 if (info.rti_info[RTAX_GATEWAY] && 700 (info.rti_info[RTAX_GATEWAY]->sa_family == AF_LINK) && 739 * we require users to specify a matching RTAX_GATEWAY [all...] |
H A D | route.c | 584 info.rti_info[RTAX_GATEWAY] = gateway; 635 info.rti_info[RTAX_GATEWAY] = gateway; 785 info.rti_info[RTAX_GATEWAY] = gateway; 795 #define gateway info->rti_info[RTAX_GATEWAY] 885 info.rti_info[RTAX_GATEWAY] = rt->rt_ifa->ifa_addr; 924 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; 947 * a matching RTAX_GATEWAY. 1551 info.rti_info[RTAX_GATEWAY] = 1554 info.rti_info[RTAX_GATEWAY] = ifa->ifa_addr;
|
H A D | route.h | 277 #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 | 1458 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl; 1490 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl;
|
/freebsd-10.0-release/lib/libc/net/ |
H A D | getifmaddrs.c | 146 case RTAX_GATEWAY:
|
/freebsd-10.0-release/sbin/route/ |
H A D | route.c | 871 getaddr(RTAX_GATEWAY, *++argv, 0, nrflags); 923 getaddr(RTAX_GATEWAY, *argv, &hp, nrflags); 1177 case RTAX_GATEWAY: 1511 NEXTADDR(RTA_GATEWAY, so[RTAX_GATEWAY]); 1721 if (sp[RTAX_GATEWAY] && (rtm->rtm_flags & RTF_GATEWAY)) 1722 (void)printf(" gateway: %s\n", routename(sp[RTAX_GATEWAY]));
|
/freebsd-10.0-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.0-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.0-release/release/picobsd/tinyware/ns/ |
H A D | ns.c | 398 if ((sa = rti_info[RTAX_GATEWAY]) != NULL) {
|
/freebsd-10.0-release/sbin/routed/ |
H A D | defs.h | 608 #define INFO_GATE(I) ((I)->rti_info[RTAX_GATEWAY])
|
/freebsd-10.0-release/sys/netinet6/ |
H A D | nd6_rtr.c | 453 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway;
|
/freebsd-10.0-release/usr.sbin/route6d/ |
H A D | route6d.c | 1863 if (!rta[RTAX_DST] || !rta[RTAX_GATEWAY]) { 1878 if (rt_del(rta[RTAX_DST], rta[RTAX_GATEWAY],
|
Completed in 132 milliseconds