Home
last modified time | relevance | path

Searched refs:NHF_DEFAULT (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/netinet6/
H A Din6_rmx.c102 nhop_set_pxtype_flag(nh, NHF_DEFAULT); in rib6_set_nh_pfxflags()
H A Din6_fib.c194 else if ((nh->nh_flags & NHF_DEFAULT) == 0) in check_urpf_nhop()
H A Dnd6.c1617 if (rc->rc_cmd == RTM_DELETE && (nh->nh_flags & NHF_DEFAULT) != 0) { in check_release_defrouter()
/freebsd/sys/netinet/
H A Din_rmx.c77 nhop_set_pxtype_flag(nh, NHF_DEFAULT); in rib4_set_nh_pfxflags()
H A Din_fib.c185 else if ((nh->nh_flags & NHF_DEFAULT) == 0) in check_urpf_nhop()
H A Dip_fastfwd.c135 if ((nh->nh_flags & (NHF_DEFAULT | NHF_REDIRECT | in ip_redir_alloc()
H A Dip_input.c1028 if (nh != NULL && ((nh->nh_flags & (NHF_REDIRECT|NHF_DEFAULT)) == 0)) { in ip_forward()
/freebsd/sys/net/route/
H A Dnhop_ctl.c934 nh->nh_flags &= ~NHF_DEFAULT; in nhop_set_pxtype_flag()
936 } else if (nh_flag == NHF_DEFAULT) { in nhop_set_pxtype_flag()
937 nh->nh_flags |= NHF_DEFAULT; in nhop_set_pxtype_flag()
941 nh->nh_flags &= ~(NHF_HOST | NHF_DEFAULT); in nhop_set_pxtype_flag()
H A Droute_helpers.c463 nhop_set_pxtype_flag(nh, NHF_DEFAULT); in rib_add_default_route()
/freebsd/sys/net/
H A Droute.h213 #define NHF_DEFAULT 0x0080 /* Default route */ macro
H A Droute.c307 if ((nh == NULL) || (nh->nh_flags & NHF_DEFAULT)) in ifa_ifwithroute()
/freebsd/usr.bin/netstat/
H A Dnhops.c92 { NHF_DEFAULT, 'd', "default" },
/freebsd/sys/netlink/route/
H A Drt.c790 pxflag = NHF_DEFAULT;
796 pxflag = NHF_DEFAULT; in get_op_flags()
H A Dnexthop.c168 nh_flags = nh_flags & (NHF_HOST | NHF_DEFAULT); in nl_find_nhop()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw2.c500 if (ifp == NULL && (nh->nh_flags & NHF_DEFAULT) != 0) in verify_path()
837 if (ifp == NULL && (nh->nh_flags & NHF_DEFAULT) != 0) in verify_path6()