Home
last modified time | relevance | path

Searched refs:RTF_HOST (Results 1 – 25 of 26) sorted by relevance

12

/f-stack/freebsd/netinet/
H A Din_rmx.c66 if (rt_flags & RTF_HOST) { in rib4_preadd()
98 if ((rt_flags & RTF_HOST) == 0 && mask4 != NULL && in rib4_preadd()
H A Din.c738 .rti_flags = RTF_PINNED | ((netmask != NULL) ? 0 : RTF_HOST), in in_handle_prefix_route()
1406 if (!(rt_flags & RTF_HOST) || !info.rti_ifp || in in_lltable_rtcheck()
1424 if (!(rt_flags & RTF_HOST) && info.rti_ifp != ifp) { in in_lltable_rtcheck()
1656 arpc.rtm.rtm_flags |= (RTF_HOST | RTF_LLDATA); in in_lltable_dump_entry()
H A Draw_ip.c864 flags |= RTF_HOST; in rip_ctlinput()
/f-stack/freebsd/net/route/
H A Droute_ifaddrs.c124 error = ((info->rti_flags & RTF_HOST) ? in rib_handle_ifaddr_info()
163 info.rti_flags = ifa->ifa_flags | RTF_HOST | RTF_STATIC | RTF_PINNED; in ifa_maintain_loopback_route()
H A Dnhop.h75 (RTF_GATEWAY | RTF_HOST | RTF_REJECT | RTF_BLACKHOLE | \
H A Droute_var.h197 #define NHOP_RT_FLAG_MASK (RTF_GATEWAY | RTF_HOST | RTF_REJECT | RTF_DYNAMIC | \
202 #define RTE_RT_FLAG_MASK (RTF_UP | RTF_HOST)
H A Droute_ctl.c255 return (rt->rte_flags & RTF_HOST); in rt_is_host()
555 if (info->rti_flags & RTF_HOST) in rib_add_route()
H A Dnhop_ctl.c267 res |= (rt_flags & RTF_HOST) ? NHF_HOST : 0; in convert_rt_to_nh_flags()
/f-stack/freebsd/netinet6/
H A Din6_rmx.c121 if ((nhop_get_rtflags(nh) & RTF_HOST) == 0 && mask6 != NULL && in rib6_preadd()
H A Din6.c183 info.rti_flags = ifa->ifa_flags | RTF_HOST | RTF_STATIC | RTF_PINNED; in in6_newaddrmsg()
1282 .rti_flags = RTF_PINNED | RTF_HOST, in in6_handle_dstaddr_rtrequest()
2446 ndpc.rtm.rtm_flags |= (RTF_HOST | RTF_LLDATA); in in6_lltable_dump_entry()
H A Dnd6_rtr.c2044 .rti_flags = RTF_PINNED | ((netmask != NULL) ? 0 : RTF_HOST), in nd6_prefix_rtrequest()
2400 if ((nh_rt_flags & RTF_HOST) == 0) in rt6_deleteroute()
/f-stack/tools/compat/include/net/route/
H A Dnhop.h75 (RTF_GATEWAY | RTF_HOST | RTF_REJECT | RTF_BLACKHOLE | \
/f-stack/tools/netstat/
H A Droute.c85 { RTF_HOST, 'H', "host" },
335 protrusion = p_sockaddr("gateway", addr[RTAX_GATEWAY], NULL, RTF_HOST, in p_rtentry_sysctl()
429 if (flags & RTF_HOST) in fmt_sockaddr()
H A Dnhops.c279 protrusion = p_sockaddr("ifa", sa_ifa, NULL, RTF_HOST, wid_dst); in print_nhop_entry_sysctl()
283 cp = fmt_sockaddr(sa_gw, NULL, RTF_HOST); in print_nhop_entry_sysctl()
H A Dnhgrp.c303 cp = fmt_sockaddr(sa_gw, NULL, RTF_HOST); in update_global_map()
/f-stack/freebsd/net/
H A Droute.c205 flags |= RTF_HOST | RTF_DYNAMIC; in rib_add_redirect()
283 if (flags & RTF_HOST) in ifa_ifwithroute()
656 if (!(rt->rt_flags & RTF_HOST)) {
H A Droute.h174 #define RTF_HOST 0x4 /* host entry (net otherwise) */ macro
H A Dif_var.h565 #define IFA_RTSELF RTF_HOST /* loopback route to self installed */
H A Drtsock.c1411 info->rti_flags |= RTF_HOST; in remove_netmask()
1919 if (info->rti_flags & RTF_HOST) in rtsock_routemsg_info()
2162 info.rti_info[RTAX_NETMASK] = (rtflags & RTF_HOST) ? NULL : w->mask; in sysctl_dumpnhop()
/f-stack/tools/compat/include/net/
H A Droute.h172 #define RTF_HOST 0x4 /* host entry (net otherwise) */ macro
/f-stack/tools/ndp/
H A Dndp.c710 if (!(rtm->rtm_flags & RTF_HOST)) in dump()
961 rtm->rtm_flags |= (RTF_HOST | RTF_STATIC | RTF_LLDATA); in rtmsg()
/f-stack/tools/arp/
H A Darp.c805 rtm->rtm_flags |= (RTF_HOST | RTF_STATIC | RTF_LLDATA); in rtmsg()
/f-stack/lib/
H A Dff_route.c238 info->rti_flags |= RTF_HOST; in remove_netmask()
1484 if ((rt->rt_flags & RTF_HOST) == 0
H A Dff_syscall_wrapper.c1343 rtflag = RTF_HOST; in ff_route_ctl()
/f-stack/tools/route/
H A Droute.c570 printf("%-20.20s ", rtm->rtm_flags & RTF_HOST ? in flushroutes_fib()
1081 flags |= RTF_HOST; in newroute()

12