Searched refs:RTAX_GATEWAY (Results 1 - 14 of 14) sorted by relevance

/freebsd-9.3-release/sys/net/
H A Drtsock.c601 (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 Droute.c599 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 Droute.h276 #define RTAX_GATEWAY 1 /* gateway sockaddr present */ macro
H A Dif_llatbl.c271 (struct sockaddr_dl *)info->rti_info[RTAX_GATEWAY];
H A Dif.c1481 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 Droute.c376 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 Dgetifmaddrs.c152 case RTAX_GATEWAY:
/freebsd-9.3-release/usr.sbin/rtadvd/
H A Dif.c205 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 DmibII.c1109 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 DmibII_route.c262 mib_sroute_process(rtm, addrs[RTAX_GATEWAY], addrs[RTAX_DST],
/freebsd-9.3-release/release/picobsd/tinyware/ns/
H A Dns.c398 if ((sa = rti_info[RTAX_GATEWAY]) != NULL) {
/freebsd-9.3-release/sbin/routed/
H A Ddefs.h608 #define INFO_GATE(I) ((I)->rti_info[RTAX_GATEWAY])
/freebsd-9.3-release/sys/netinet6/
H A Dnd6_rtr.c461 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway;
/freebsd-9.3-release/usr.sbin/route6d/
H A Droute6d.c1884 if (!rta[RTAX_DST] || !rta[RTAX_GATEWAY]) {
1899 if (rt_del(rta[RTAX_DST], rta[RTAX_GATEWAY],

Completed in 253 milliseconds