Home
last modified time | relevance | path

Searched refs:RTA_GATEWAY (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_rts.c192 int rtm_addrs = (RTA_DST | RTA_NETMASK | RTA_GATEWAY); in ip_rts_rtmsg()
486 if ((found_addrs & RTA_GATEWAY) == 0) { in ip_rts_request_common()
603 if ((found_addrs & RTA_GATEWAY) == 0) { in ip_rts_request_common()
660 if ((found_addrs & RTA_GATEWAY) != 0) in ip_rts_request_common()
683 if ((found_addrs & RTA_GATEWAY) && in ip_rts_request_common()
781 if ((found_addrs & RTA_GATEWAY) != 0 && in ip_rts_request_common()
847 if ((found_addrs & RTA_GATEWAY) != 0 && in ip_rts_request_common()
1278 rtm_addrs = (RTA_DST | RTA_GATEWAY | RTA_NETMASK); in rts_rtmget()
1663 case RTA_GATEWAY: in rts_getaddrs()
1758 case RTA_GATEWAY: in rts_fill_msg()
[all …]
H A Dip6_rts.c116 case RTA_GATEWAY: in rts_fill_msg_v6()
H A Dip_ire.c481 (RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_IFA), in ip_ire_delete()
H A Dip6.c1210 (RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_AUTHOR), ipst); in icmp_redirect_v6()
H A Dip.c2724 (RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_AUTHOR), ipst); in icmp_redirect_v4()
H A Dip_if.c6200 RTA_DST | RTA_GATEWAY | RTA_NETMASK, rt->rt_flags, NULL, B_TRUE, in ip_siocdelrt()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c740 rtm->rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK; in delRouteEntry()
1324 if (!getaddr(rcip, RTA_GATEWAY, tok, atype)) { in args_to_rtcmd()
1419 } else if ((rcip->ri_addrs & RTA_GATEWAY) == 0) { in args_to_rtcmd()
1426 if (!getaddr(rcip, RTA_GATEWAY, tok, atype)) { in args_to_rtcmd()
1461 (rcip->ri_addrs & RTA_GATEWAY) == 0) { in args_to_rtcmd()
2049 if (which == RTA_GATEWAY) { in getaddr()
2063 case RTA_GATEWAY: in getaddr()
2128 case RTA_GATEWAY: in getaddr()
2162 case RTA_GATEWAY: in getaddr()
2470 NEXTADDR(RTA_GATEWAY, newrt->ri_gate); in rtmsg()
[all …]
H A D6to4relay.c125 rt_msg.rt_hdr.rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK; in modifyroute()
H A Dndp.c401 case RTA_GATEWAY: in ndp_extract_sockaddrs()
/illumos-gate/usr/src/uts/common/net/
H A Droute.h199 #define RTA_GATEWAY 0x2 /* gateway sockaddr present */ macro
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Drouting_events.c414 setaddr(RTA_GATEWAY, &rtm->rtm_addrs, &addrs, gateway); in nwamd_add_route()
481 if (mask & RTA_GATEWAY) in printaddrs()
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c100 w.w_rtm.rtm_addrs = RTA_DST|RTA_GATEWAY; in i_ipadm_rtioctl4()
178 w.w_rtm.rtm_addrs = RTA_DST|RTA_GATEWAY; in i_ipadm_rtioctl6()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c349 rtmsg.rm_mh.rtm_addrs = RTA_GATEWAY | RTA_DST | RTA_NETMASK | RTA_IFP; in update_default_route()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtables.c661 rt_msg->rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_IFP; in setup_rtsock()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_timers.c628 (RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_IFA), in tcp_ip_notify()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c827 w.w_rtm.rtm_addrs = RTA_DST|RTA_GATEWAY; in rtioctl()
1509 info.rti_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK; in sync_kern()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c1493 rt_msg->rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_IFP; in setup_rtsock()