Home
last modified time | relevance | path

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

/minix3/sbin/route/
H A Droute.c573 (void)getaddr(RTA_GATEWAY, *++argv, 0, soup); in newroute()
613 } else if ((rtm_addrs & RTA_GATEWAY) == 0) { in newroute()
615 (void)getaddr(RTA_GATEWAY, *argv, &hp, soup); in newroute()
645 if (*cmd == 'a' && (rtm_addrs & RTA_GATEWAY) == 0) in newroute()
814 case RTA_GATEWAY: in getaddr()
1205 NEXTADDR(RTA_GATEWAY, soup->so_gate); in rtmsg()
1506 case RTA_GATEWAY: in print_getmsg()
1591 #define RTA_IGN (RTA_DST|RTA_GATEWAY|RTA_NETMASK|RTA_IFP|RTA_IFA|RTA_BRD) in print_getmsg()
/minix3/external/bsd/dhcpcd/dist/
H A Dif-bsd.c459 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_copyrt()
575 rtm.hdr.rtm_addrs |= RTA_GATEWAY; in if_route()
635 if (rtm.hdr.rtm_addrs & RTA_GATEWAY) { in if_route()
837 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_copyrt6()
983 rtm.hdr.rtm_addrs |= RTA_GATEWAY; in if_route6()
988 if (rtm.hdr.rtm_addrs & RTA_GATEWAY) { in if_route6()
1215 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_managelink()
/minix3/tests/net/config/
H A Dnetconfig.c149 rtm.rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK; in netcfg_rump_route()
/minix3/usr.sbin/arp/
H A Darp.c649 rtm->rtm_addrs |= RTA_GATEWAY; in rtmsg()
672 NEXTADDR(RTA_GATEWAY, *sdl); in rtmsg()
/minix3/sys/net/
H A Droute.h249 #define RTA_GATEWAY 0x2 /* gateway sockaddr present */ macro
/minix3/usr.sbin/ndp/
H A Dndp.c814 rtm->rtm_addrs |= RTA_GATEWAY; in rtmsg()
837 NEXTADDR(RTA_GATEWAY, sdl_m); in rtmsg()
/minix3/minix/tests/
H A Dtest93.c402 rtm.rtm_addrs |= RTA_GATEWAY; in test93_route_cmd()