Searched refs:RTAX_GATEWAY (Results 1 – 20 of 20) sorted by relevance
| /f-stack/lib/ |
| H A D | ff_route.c | 274 if (info->rti_info[RTAX_GATEWAY] != NULL) in cleanup_xaddrs_inet() 310 if (info->rti_info[RTAX_GATEWAY] != NULL) in cleanup_xaddrs_inet6() 494 info->rti_info[RTAX_GATEWAY] = &saun->sa; in fill_blackholeinfo() 550 if (info->rti_info[RTAX_GATEWAY] != NULL && in fill_addrinfo() 561 gdst = info->rti_info[RTAX_GATEWAY]; in fill_addrinfo() 952 info->rti_info[RTAX_GATEWAY] = &nh->gw_sa; in update_rtm_from_rc() 1300 (info.rti_info[RTAX_GATEWAY] != NULL && 1313 if (info.rti_info[RTAX_GATEWAY] != NULL && 1323 gdst = info.rti_info[RTAX_GATEWAY]; 1350 if (info.rti_info[RTAX_GATEWAY] == NULL) [all …]
|
| H A D | ff_veth.c | 421 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&gw; in ff_veth_set_gateway() 535 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&gw; in ff_veth_set_gateway6()
|
| H A D | ff_syscall_wrapper.c | 1359 info.rti_info[RTAX_GATEWAY] = psa_gw; in ff_route_ctl()
|
| /f-stack/freebsd/net/ |
| H A D | route.c | 214 info.rti_info[RTAX_GATEWAY] = gateway; in rib_add_redirect() 239 info.rti_info[RTAX_GATEWAY] = gateway; in rib_add_redirect() 370 dst = info->rti_info[RTAX_GATEWAY]; in rt_exportinfo() 386 info->rti_info[RTAX_GATEWAY] = &nh->gw_sa; in rt_exportinfo() 520 gateway = info->rti_info[RTAX_GATEWAY]; in rt_getifa_fib()
|
| H A D | rtsock.c | 609 info->rti_info[RTAX_GATEWAY] = &saun->sa; in fill_blackholeinfo() 665 if (info->rti_info[RTAX_GATEWAY] != NULL && in fill_addrinfo() 676 gdst = info->rti_info[RTAX_GATEWAY]; in fill_addrinfo() 907 info->rti_info[RTAX_GATEWAY] = &nh->gw_sa; in update_rtm_from_rc() 1076 if (info.rti_info[RTAX_GATEWAY] == NULL) in route_output() 1448 if (info->rti_info[RTAX_GATEWAY] != NULL) in cleanup_xaddrs_inet() 1485 if (info->rti_info[RTAX_GATEWAY] != NULL) in cleanup_xaddrs_inet6() 1902 info.rti_info[RTAX_GATEWAY] = &nh->gw_sa; in rtsock_routemsg() 1976 info.rti_info[RTAX_GATEWAY] = ifma->ifma_lladdr; in rt_newmaddrmsg() 2161 info.rti_info[RTAX_GATEWAY] = &nh->gw_sa; in sysctl_dumpnhop() [all …]
|
| H A D | route.h | 332 #define RTAX_GATEWAY 1 /* gateway sockaddr present */ macro
|
| H A D | if_llatbl.c | 682 (struct sockaddr_dl *)info->rti_info[RTAX_GATEWAY]; in lla_rt_output()
|
| /f-stack/freebsd/net/route/ |
| H A D | mpath_ctl.c | 181 if ((info->rti_info[RTAX_GATEWAY] == NULL) && (info->rti_filter == NULL)) in del_route_mpath()
|
| H A D | nhop_ctl.c | 219 gw = info->rti_info[RTAX_GATEWAY]; in set_nhop_gw_from_info() 324 if (info->rti_info[RTAX_GATEWAY] == NULL) in nhop_create_from_info() 364 gateway = info->rti_info[RTAX_GATEWAY]; in get_nhop() 423 info_gw = info->rti_info[RTAX_GATEWAY]; in alter_nhop_from_info()
|
| H A D | route_ifaddrs.c | 165 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl; in ifa_maintain_loopback_route()
|
| H A D | route_ctl.c | 453 const struct sockaddr *gw = info->rti_info[RTAX_GATEWAY]; in check_info_match_nhop() 586 gateway = info->rti_info[RTAX_GATEWAY]; in create_rtentry() 881 (info->rti_info[RTAX_GATEWAY] == NULL)) { in rib_change_route() 935 info->rti_info[RTAX_GATEWAY] != NULL) || in change_nhop()
|
| /f-stack/tools/compat/ |
| H A D | getifmaddrs.c | 143 case RTAX_GATEWAY: in getifmaddrs()
|
| /f-stack/tools/route/ |
| H A D | route.c | 996 getaddr(RTAX_GATEWAY, *++argv, 0, nrflags); in newroute() 1048 getaddr(RTAX_GATEWAY, *argv, &hp, nrflags); in newroute() 1286 case RTAX_GATEWAY: in getaddr() 1605 NEXTADDR(RTA_GATEWAY, so[RTAX_GATEWAY]); 1849 if (sp[RTAX_GATEWAY] && (rtm->rtm_flags & RTF_GATEWAY)) 1850 (void)printf(" gateway: %s\n", routename(sp[RTAX_GATEWAY]));
|
| /f-stack/tools/compat/include/net/ |
| H A D | route.h | 330 #define RTAX_GATEWAY 1 /* gateway sockaddr present */ macro
|
| /f-stack/freebsd/netinet6/ |
| H A D | nd6_rtr.c | 695 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&gate; in defrouter_addreq() 735 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&gate; in defrouter_delreq() 2048 [RTAX_GATEWAY] = (struct sockaddr *)&sdl, in nd6_prefix_rtrequest()
|
| H A D | in6.c | 185 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&gateway; in in6_newaddrmsg() 1285 [RTAX_GATEWAY] = (struct sockaddr *)&sdl, in in6_handle_dstaddr_rtrequest()
|
| H A D | nd6_nbr.c | 270 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&rt_gateway; in nd6_ns_input()
|
| H A D | nd6.c | 198 rtinfo.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&gw; in nd6_lle_event()
|
| /f-stack/tools/netstat/ |
| H A D | route.c | 335 protrusion = p_sockaddr("gateway", addr[RTAX_GATEWAY], NULL, RTF_HOST, in p_rtentry_sysctl()
|
| /f-stack/freebsd/netinet/ |
| H A D | in.c | 742 [RTAX_GATEWAY] = (struct sockaddr *)&sdl, in in_handle_prefix_route() 1392 info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&rt_gateway; in in_lltable_rtcheck()
|