Symbol: RTAX_GATEWAY
lib/libc/net/getifmaddrs.c
145
case RTAX_GATEWAY:
sbin/dumpon/dumpon.c
154
case RTAX_GATEWAY:
sbin/ipfw/ipfw2.c
6203
(hdr->rtm_addrs & (1 << RTAX_GATEWAY)) == 0 ||
sbin/route/route.c
1013
getaddr(RTAX_GATEWAY, *argv, nrflags);
sbin/route/route.c
1238
case RTAX_GATEWAY:
sbin/route/route.c
1597
NEXTADDR(RTA_GATEWAY, so[RTAX_GATEWAY]);
sbin/route/route.c
1830
if (sp[RTAX_GATEWAY] && (rtm->rtm_flags & RTF_GATEWAY))
sbin/route/route.c
1831
(void)printf(" gateway: %s\n", routename(sp[RTAX_GATEWAY]));
sbin/route/route.c
961
getaddr(RTAX_GATEWAY, *++argv, nrflags);
sbin/route/route_netlink.c
172
struct sockaddr *gw = get_addr(so, rtm_addrs, RTAX_GATEWAY);
sbin/routed/defs.h
575
#define INFO_GATE(I) ((I)->rti_info[RTAX_GATEWAY])
sys/fs/nfsclient/nfs_clvfsops.c
522
info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&nd->mygateway;
sys/net/if_llatbl.c
967
(struct sockaddr_dl *)info->rti_info[RTAX_GATEWAY];
sys/net/route.c
238
.rti_info[RTAX_GATEWAY] = gateway,
sys/net/route.c
406
const struct sockaddr *gw = info->rti_info[RTAX_GATEWAY];
sys/net/route.c
440
gateway = info->rti_info[RTAX_GATEWAY];
sys/net/route/nhop_ctl.c
194
gw = info->rti_info[RTAX_GATEWAY];
sys/net/route/nhop_ctl.c
265
if (info->rti_info[RTAX_GATEWAY] == NULL) {
sys/net/route/nhop_ctl.c
410
info_gw = info->rti_info[RTAX_GATEWAY];
sys/net/route/route_ctl.c
1036
(info->rti_info[RTAX_GATEWAY] == NULL)) {
sys/net/route/route_ctl.c
1089
info->rti_info[RTAX_GATEWAY] != NULL) ||
sys/net/route/route_ctl.c
317
const struct sockaddr *gw = info->rti_info[RTAX_GATEWAY];
sys/net/route/route_ctl.c
719
gateway = info->rti_info[RTAX_GATEWAY];
sys/net/route/route_ctl.c
934
struct gw_filter_data gwd = { .gw = info->rti_info[RTAX_GATEWAY] };
sys/net/route/route_ifaddrs.c
156
info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl;
sys/net/rtsock.c
1163
if (info.rti_info[RTAX_GATEWAY] == NULL) {
sys/net/rtsock.c
1422
struct sockaddr_dl *sdl = (struct sockaddr_dl *)info->rti_info[RTAX_GATEWAY];
sys/net/rtsock.c
1443
struct sockaddr *gw = info->rti_info[RTAX_GATEWAY];
sys/net/rtsock.c
1465
info->rti_info[RTAX_GATEWAY] = sa;
sys/net/rtsock.c
1503
info->rti_info[RTAX_GATEWAY] = sa;
sys/net/rtsock.c
1576
if (info->rti_info[RTAX_GATEWAY] != NULL)
sys/net/rtsock.c
1639
if (info->rti_info[RTAX_GATEWAY] != NULL)
sys/net/rtsock.c
2061
info.rti_info[RTAX_GATEWAY] = &nh->gw_sa;
sys/net/rtsock.c
2135
info.rti_info[RTAX_GATEWAY] = ifma->ifma_lladdr;
sys/net/rtsock.c
2288
info.rti_info[RTAX_GATEWAY] = &nh->gw_sa;
sys/net/rtsock.c
2554
info.rti_info[RTAX_GATEWAY] =
sys/net/rtsock.c
670
info->rti_info[RTAX_GATEWAY] = &saun->sa;
sys/net/rtsock.c
723
if (info->rti_info[RTAX_GATEWAY] != NULL &&
sys/net/rtsock.c
724
info->rti_info[RTAX_GATEWAY]->sa_family != AF_LINK) {
sys/net/rtsock.c
737
nh = rib_lookup(fibnum, info->rti_info[RTAX_GATEWAY], NHR_NONE, 0);
sys/net/rtsock.c
817
nh = select_nhop(rt_get_raw_nhop(rc->rc_rt), info->rti_info[RTAX_GATEWAY]);
sys/net/rtsock.c
855
nh = select_nhop(rt_get_raw_nhop(rc->rc_rt), info->rti_info[RTAX_GATEWAY]);
sys/net/rtsock.c
995
info->rti_info[RTAX_GATEWAY] = &nh->gw_sa;
sys/netinet/in.c
899
[RTAX_GATEWAY] = (struct sockaddr *)&sdl,
sys/netinet6/in6.c
1198
[RTAX_GATEWAY] = (struct sockaddr *)&sdl,
sys/netinet6/in6.c
203
info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&gateway;
sys/netinet6/nd6.c
210
rtinfo.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&gw;
sys/netinet6/nd6_rtr.c
2081
[RTAX_GATEWAY] = (struct sockaddr *)&sdl,
sys/netpfil/ipfw/ip_fw_log.c
698
&info->rti_info[RTAX_GATEWAY],
sys/nfs/bootp_subr.c
1018
info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&ifctx->gw;
sys/nfs/bootp_subr.c
990
info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&ifctx->gw;
usr.bin/netstat/route.c
324
protrusion = p_sockaddr("gateway", addr[RTAX_GATEWAY], NULL, RTF_HOST,
usr.sbin/ppp/route.c
362
if (sa[RTAX_DST] && sa[RTAX_GATEWAY]) {
usr.sbin/ppp/route.c
364
p_sockaddr(arg->prompt, sa[RTAX_GATEWAY], NULL, 20);
usr.sbin/ppp/route.c
430
sa[RTAX_DST] && sa[RTAX_GATEWAY] &&
usr.sbin/ppp/route.c
441
ncpaddr_setsa(&gw, sa[RTAX_GATEWAY]);
usr.sbin/ppp/route.c
445
if (sa[RTAX_GATEWAY]->sa_family == AF_INET ||
usr.sbin/ppp/route.c
447
sa[RTAX_GATEWAY]->sa_family == AF_INET6 ||
usr.sbin/ppp/route.c
449
sa[RTAX_GATEWAY]->sa_family == AF_LINK) {
usr.sbin/ppp/route.c
458
sa[RTAX_GATEWAY]->sa_family);
usr.sbin/ppp/route.c
513
sa[RTAX_GATEWAY] && rtm->rtm_index == bundle->iface->index) {
usr.sbin/ppp/route.c
520
rt_Update(bundle, sa[RTAX_DST], sa[RTAX_GATEWAY], sa[RTAX_NETMASK],
usr.sbin/route6d/route6d.c
1874
if (!rta[RTAX_DST] || !rta[RTAX_GATEWAY]) {
usr.sbin/route6d/route6d.c
1889
if (rt_del(rta[RTAX_DST], rta[RTAX_GATEWAY],
usr.sbin/rtadvd/if.c
207
if ((gw = rti_info[RTAX_GATEWAY]) == NULL ||
usr.sbin/rtadvd/if.c
278
return (((struct sockaddr_dl *)rti_info[RTAX_GATEWAY])->sdl_index);