Home
last modified time | relevance | path

Searched refs:rtm_flags (Results 1 – 24 of 24) sorted by relevance

/NextBSD/usr.sbin/ndp/
HDndp.c431 !(rtm->rtm_flags & RTF_GATEWAY)) { in set()
520 !(rtm->rtm_flags & RTF_GATEWAY)) { in delete()
537 rtm->rtm_flags |= RTF_LLDATA; in delete()
625 if (!(rtm->rtm_flags & RTF_HOST)) in dump()
646 if (rtm->rtm_flags & RTF_WASCLONED) in dump()
649 if (rtm->rtm_flags & RTF_CLONED) in dump()
652 if (rtm->rtm_flags & RTF_PINNED) in dump()
716 isrouter = rtm->rtm_flags & RTF_GATEWAY; in dump()
725 (rtm->rtm_flags & RTF_ANNOUNCE) ? "p" : ""); in dump()
734 (rtm->rtm_flags & RTF_ANNOUNCE) ? "p" : ""); in dump()
[all …]
/NextBSD/libexec/bootpd/
HDrtmsg.c151 !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) {
188 rtm->rtm_flags = flags;
200 rtm->rtm_flags |= (RTF_HOST | RTF_STATIC | RTF_LLDATA);
203 rtm->rtm_flags &= ~RTF_HOST;
/NextBSD/usr.sbin/arp/
HDarp.c399 (rtm->rtm_flags & RTF_GATEWAY) || in set()
478 !(rtm->rtm_flags & RTF_GATEWAY) && in delete()
495 rtm->rtm_flags |= RTF_LLDATA; in delete()
628 if (rtm->rtm_flags & RTF_ANNOUNCE) in print_entry()
680 if (rtm->rtm_flags & RTF_PINNED) in nuke_entry()
737 rtm->rtm_flags = flags; in rtmsg()
747 rtm->rtm_flags |= (RTF_HOST | RTF_STATIC | RTF_LLDATA); in rtmsg()
750 rtm->rtm_flags &= ~RTF_HOST; in rtmsg()
/NextBSD/contrib/bsnmp/snmp_mibII/
HDmibII_route.c111 if (rtm->rtm_flags & RTF_HOST) in mib_sroute_process()
188 r->type = (rtm->rtm_flags & RTF_REJECT) ? 2 : 4; in mib_sroute_process()
191 r->proto = (rtm->rtm_flags & RTF_LOCAL) ? 2 : in mib_sroute_process()
192 (rtm->rtm_flags & RTF_STATIC) ? 3 : in mib_sroute_process()
193 (rtm->rtm_flags & RTF_DYNAMIC) ? 4 : 10; in mib_sroute_process()
256 !(rtm->rtm_flags & RTF_UP)) in mib_fetch_route()
HDmibII.c1107 if (rtm->rtm_flags & RTF_LLINFO) { in handle_rtmsg()
1117 if (rtm->rtm_errno == 0 && (rtm->rtm_flags & RTF_UP)) in handle_rtmsg()
1126 if (rtm->rtm_errno == 0 && (rtm->rtm_flags & RTF_UP)) in handle_rtmsg()
1153 msg->rtm_flags = 0; in mib_send_rtmsg()
/NextBSD/sbin/routed/
HDtable.c702 w.w_rtm.rtm_flags = flags; in rtioctl()
718 w.w_rtm.rtm_flags |= RTF_HOST; in rtioctl()
892 if (rtm->rtm_flags & RTF_HOST) { in rtm_add()
924 if (rtm->rtm_flags & RTF_GATEWAY) in rtm_add()
926 if (rtm->rtm_flags & RTF_STATIC) in rtm_add()
929 if (0 != (rtm->rtm_flags & (RTF_DYNAMIC | RTF_MODIFIED))) { in rtm_add()
1109 if (rtm->rtm_flags & RTF_LLINFO) in flush_kern()
1115 if (rtm->rtm_flags & RTF_WASCLONED) in flush_kern()
1252 : (m.r.rtm.rtm_flags & RTF_HOST) in read_rt()
1265 if (m.r.rtm.rtm_flags & RTF_LLINFO) { in read_rt()
[all …]
/NextBSD/sys/net/
HDrtsock.c590 info.rti_flags = rtm->rtm_flags; in route_output()
658 (rtm->rtm_flags & RTF_LLDATA) != 0) { in route_output()
684 (rtm->rtm_flags & RTF_LLDATA) != 0) { in route_output()
753 if (rtm->rtm_flags & RTF_ANNOUNCE) { in route_output()
840 rtm->rtm_flags = RTF_GATEWAY | in route_output()
843 rtm->rtm_flags = rt->rt_flags; in route_output()
891 rtm->rtm_flags |= RTF_DONE; in route_output()
1228 rtm->rtm_flags = RTF_DONE | flags; in rt_missmsg_fib()
1344 rtm->rtm_flags |= rt->rt_flags; in rtsock_routemsg()
1536 rtm->rtm_flags = RTF_GATEWAY | in sysctl_dumpentry()
[all …]
HDroute.h255 int rtm_flags; /* flags, incl. kern & message, e.g. DONE */ member
HDif_llatbl.c768 if ((rtm->rtm_flags & RTF_ANNOUNCE)) in lla_rt_output()
/NextBSD/usr.sbin/route6d/
HDroute6d.c1865 if ((rtm->rtm_flags & RTF_HOST) != 0) { in rtrecv()
2493 if (rtm->rtm_flags & (f)) \ in rtflags()
2642 if ((rtm->rtm_flags & RTF_UP) == 0 || rtm->rtm_flags & in rt_entry()
2648 if (rtm->rtm_flags & RTF_WASCLONED) in rt_entry()
2652 if (rtm->rtm_flags & RTF_CLONED) in rt_entry()
2656 if (!(rtm->rtm_flags & (RTF_GATEWAY|RTF_HOST|RTF_STATIC))) in rt_entry()
2662 if (rtm->rtm_flags & RTF_DYNAMIC) in rt_entry()
2705 if (aflag == 0 && (rtm->rtm_flags & RTF_STATIC)) in rt_entry()
2707 if (rtm->rtm_flags & Pflag) in rt_entry()
2709 if ((rtm->rtm_flags & (RTF_HOST|RTF_GATEWAY)) == RTF_HOST) in rt_entry()
[all …]
/NextBSD/sys/netinet/
HDin.c1356 arpc.rtm.rtm_flags = RTF_UP; in in_lltable_dump_entry()
1361 arpc.rtm.rtm_flags |= RTF_ANNOUNCE; in in_lltable_dump_entry()
1378 arpc.rtm.rtm_flags |= (RTF_HOST | RTF_LLDATA); in in_lltable_dump_entry()
1380 arpc.rtm.rtm_flags |= RTF_STATIC; in in_lltable_dump_entry()
1382 arpc.rtm.rtm_flags |= RTF_PINNED; in in_lltable_dump_entry()
/NextBSD/sbin/route/
HDroute.c474 if ((rtm->rtm_flags & RTF_GATEWAY) == 0) in flushroutes_fib()
504 printf("%-20.20s ", rtm->rtm_flags & RTF_HOST ? in flushroutes_fib()
1509 rtm.rtm_flags = flags; in rtmsg()
1685 printb(rtm->rtm_flags, routeflags); in print_rtmsg()
1736 if (sp[RTAX_GATEWAY] && (rtm->rtm_flags & RTF_GATEWAY)) in print_getmsg()
1745 printb(rtm->rtm_flags, routeflags); in print_getmsg()
/NextBSD/sbin/atm/atmconfig/
HDnatm.c89 r->flags = rtm->rtm_flags; in store_route()
264 if ((rtm->rtm_flags & (RTF_UP | RTF_HOST | in natm_route_fetch()
306 msg.h.rtm_flags = flags; in do_route()
/NextBSD/usr.sbin/ppp/
HDroute.c366 p_flags(arg->prompt, rtm->rtm_flags, 6); in route_Show()
436 (all || (rtm->rtm_flags & RTF_GATEWAY))) { in route_IfDelete()
759 rtmes.m_rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC; in rt_Set()
879 rtmes.m_rtm.rtm_flags = RTF_UP | RTF_STATIC; in rt_Update()
HDarp.c122 arpmsg.hdr.rtm_flags = RTF_ANNOUNCE | RTF_HOST | RTF_STATIC | RTF_LLDATA; in arp_ProxySub()
/NextBSD/contrib/netbsd-tests/net/if_loop/
HDt_pr.c94 rtm.rtm_flags = RTF_STATIC; in setup()
/NextBSD/contrib/netbsd-tests/net/config/
HDnetconfig.c146 rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC; in netcfg_rump_route()
/NextBSD/sys/netinet6/
HDin6.c2355 ndpc.rtm.rtm_flags = RTF_UP; in in6_lltable_dump_entry()
2362 ndpc.rtm.rtm_flags |= RTF_ANNOUNCE; in in6_lltable_dump_entry()
2377 ndpc.rtm.rtm_flags |= (RTF_HOST | RTF_LLDATA); in in6_lltable_dump_entry()
2379 ndpc.rtm.rtm_flags |= RTF_STATIC; in in6_lltable_dump_entry()
2381 ndpc.rtm.rtm_flags |= RTF_PINNED; in in6_lltable_dump_entry()
2383 ndpc.rtm.rtm_flags |= RTF_GATEWAY; in in6_lltable_dump_entry()
/NextBSD/usr.bin/netstat/
HDroute.c367 rtm->rtm_flags, wid_dst); in p_rtentry_sysctl()
372 p_flags(rtm->rtm_flags, buffer); in p_rtentry_sysctl()
/NextBSD/release/picobsd/tinyware/ns/
HDns.c402 get_flags(fbuf, rtm->rtm_flags); in print_routing()
/NextBSD/usr.sbin/rarpd/
HDrarpd.c786 rt->rtm_flags = RTF_HOST | RTF_STATIC; in update_arptab()
/NextBSD/usr.sbin/uhsoctl/
HDuhsoctl.c952 r.rtm.rtm_flags = RTF_UP | RTF_STATIC; in at_async_owandata()
/NextBSD/contrib/wpa/src/drivers/
HDdriver_bsd.c1300 if ((rtm->rtm_flags & RTF_UP) == 0) { in wpa_driver_bsd_event_receive()
/NextBSD/sbin/dhclient/
HDdhclient.c280 if ((rtm->rtm_flags & RTF_UP) == 0) { in routehandler()