Home
last modified time | relevance | path

Searched refs:RTF_GATEWAY (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtables.c285 rt->rt_flags |= RTF_GATEWAY; in rtadd()
371 rt->rt_flags |= RTF_GATEWAY; in rtchange()
373 rt->rt_flags &= ~RTF_GATEWAY; in rtchange()
534 { RTF_GATEWAY, "GATEWAY" }, in rtdumpentry()
574 if (rt->rt_flags & (RTF_UP | RTF_GATEWAY)) { in rtdumpentry()
H A Dtrace.c146 { RTF_GATEWAY, "GATEWAY" }, in traceaction()
196 if (rt->rt_flags & (RTF_UP | RTF_GATEWAY)) { in traceaction()
/illumos-gate/usr/src/uts/common/net/
H A Droute.h115 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c332 defrouter, 0, link, RTF_GATEWAY); in i_ipadm_create_ngz_route()
336 gw4.s_addr, 0, link, 0, RTF_GATEWAY); in i_ipadm_create_ngz_route()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A D6to4relay.c129 rt_msg.rt_hdr.rtm_flags = RTF_STATIC | RTF_GATEWAY; in modifyroute()
H A Dhostconfig.c298 route.rt_flags = RTF_GATEWAY | RTF_UP;
H A Droute.c738 rtm->rtm_flags |= RTF_GATEWAY; in delRouteEntry()
1468 rcip->ri_flags |= RTF_GATEWAY; in args_to_rtcmd()
2707 if (gate != NULL && rtm->rtm_flags & RTF_GATEWAY) in print_getmsg()
/illumos-gate/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c152 route.rt_flags = RTF_GATEWAY | RTF_UP; in kdlifconfig()
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Drouting_events.c409 rtm->rtm_flags = RTF_UP | RTF_STATIC | RTF_GATEWAY; in nwamd_add_route()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c1182 if (rtm->rtm_flags & RTF_GATEWAY) in rtm_add()
1727 !(m.r.rtm.rtm_flags & RTF_GATEWAY) && in read_rt()
2152 KS_DYNAMIC))) ? RTF_GATEWAY : 0)); in fix_kern()
2156 KS_DYNAMIC))) ? RTF_GATEWAY : 0)); in fix_kern()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_if.c450 flags &= ~RTF_GATEWAY; in ip_rt_add_v6()
519 flags &= ~RTF_GATEWAY; in ip_rt_add_v6()
570 if (!(flags & RTF_GATEWAY)) { in ip_rt_add_v6()
H A Dip6.c1151 (RTF_DYNAMIC | RTF_GATEWAY | RTF_HOST), in icmp_redirect_v6()
1209 (RTF_DYNAMIC | RTF_GATEWAY | RTF_HOST), 0, in icmp_redirect_v6()
H A Dip_rts.c507 if ((rtm->rtm_flags & RTF_GATEWAY) == 0) { in ip_rts_request_common()
H A Dip_if.c5469 flags &= ~RTF_GATEWAY; in ip_rt_add()
5536 flags &= ~RTF_GATEWAY; in ip_rt_add()
5587 if (!(flags & RTF_GATEWAY)) { in ip_rt_add()
H A Dip.c2701 (RTF_DYNAMIC | RTF_GATEWAY | RTF_HOST), in icmp_redirect_v4()
2723 (RTF_DYNAMIC | RTF_GATEWAY | RTF_HOST), 0, in icmp_redirect_v4()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c348 rtmsg.rm_mh.rtm_flags = RTF_GATEWAY | RTF_STATIC | flags; in update_default_route()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c791 rtentry.rt_flags = RTF_GATEWAY | RTF_UP; in whoami()
1142 rtentry.rt_flags = RTF_GATEWAY | RTF_UP; in dhcpinit()
2301 rtentry.rt_flags = RTF_GATEWAY | RTF_UP; in bp_netconfig()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c2246 rt_msg->rtm_flags = RTF_GATEWAY; in router_add_k()
2290 rt_msg->rtm_flags = RTF_GATEWAY; in router_delete_k()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c910 { "GATEWAY", RTF_GATEWAY, RTF_GATEWAY }, in ire_format()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c2205 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c2545 rt.rt_flags = (RTF_GATEWAY|RTF_STATIC); in sifroute()