Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Dfib_frontend.c230 ret = RTN_UNICAST; in __inet_dev_addr_type()
324 if (res.type != RTN_UNICAST && in __fib_validate_source()
358 if (res.type == RTN_UNICAST) in __fib_validate_source()
462 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config()
499 inet_addr_type(net, addr) == RTN_UNICAST) in rtentry_to_fib_config()
777 if (type == RTN_UNICAST) in fib_magic()
827 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
874 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
Dip_options.c144 if (inet_addr_type(dev_net(skb_dst(skb)->dev), addr) != RTN_UNICAST) { in __ip_options_echo()
402 if (inet_addr_type(net, addr) == RTN_UNICAST) in ip_options_compile()
624 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr()
644 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
Dfib_semantics.c97 [RTN_UNICAST] = {
600 if (inet_addr_type(net, nh->nh_gw) != RTN_UNICAST) in fib_check_nh()
631 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in fib_check_nh()
901 case RTN_UNICAST: in fib_create_info()
1174 fa->fa_type != RTN_UNICAST) in fib_select_default()
Dnetfilter.c32 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
Darp.c775 if (addr_type == RTN_UNICAST && in arp_process()
810 inet_addr_type(net, sip) == RTN_UNICAST; in arp_process()
814 inet_addr_type(net, sip) == RTN_UNICAST) || is_garp)) in arp_process()
Droute.c744 if (inet_addr_type(net, new_gw) != RTN_UNICAST) in __ip_do_redirect()
1783 if (res.type != RTN_UNICAST) in ip_route_input_slow()
2202 res.type = RTN_UNICAST; in __ip_route_output_key()
2229 res.type == RTN_UNICAST && !fl4->flowi4_oif) in __ip_route_output_key()
Dfib_trie.c2340 [RTN_UNICAST] = "UNICAST",
/linux-4.1.27/net/decnet/
Ddn_fib.c69 [RTN_UNICAST] = { .error = 0, .scope = RT_SCOPE_UNIVERSE },
204 if (dnet_addr_type(nh->nh_gw) != RTN_UNICAST) in dn_fib_check_nh()
228 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in dn_fib_check_nh()
427 case RTN_UNICAST: in dn_fib_semantic_match()
584 if (type == RTN_UNICAST) in fib_magic()
Ddn_rules.c184 unsigned int ret = RTN_UNICAST; in dnet_addr_type()
Ddn_route.c978 struct dn_fib_res res = { .fi = NULL, .type = RTN_UNICAST }; in dn_route_output_slow()
1383 if (res.type != RTN_UNICAST) in dn_route_input_slow()
1392 case RTN_UNICAST: in dn_route_input_slow()
1474 case RTN_UNICAST: in dn_route_input_slow()
/linux-4.1.27/net/phonet/
Dpn_netlink.c189 rtm->rtm_type = RTN_UNICAST; in fill_route()
251 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
/linux-4.1.27/net/ipv4/netfilter/
Dipt_rpfilter.c46 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
/linux-4.1.27/include/uapi/linux/
Drtnetlink.h200 RTN_UNICAST, /* Gateway or direct route */ enumerator
/linux-4.1.27/net/mpls/
Daf_mpls.c709 if (rtm->rtm_type != RTN_UNICAST) in rtm_to_route_config()
837 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
/linux-4.1.27/drivers/net/ipvlan/
Dipvlan_core.c356 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
/linux-4.1.27/Documentation/networking/
Dipvs-sysctl.txt69 address is not local (iph->daddr is RTN_UNICAST). It is mostly
/linux-4.1.27/net/atm/
Dclip.c296 if (neigh->type != RTN_UNICAST) in clip_constructor()
/linux-4.1.27/net/ipv6/
Dndisc.c322 neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST; in ndisc_constructor()
Dsit.c902 if (rt->rt_type != RTN_UNICAST) { in ipip6_tunnel_xmit()
Droute.c2807 rtm->rtm_type = RTN_UNICAST; in rt6_fill_node()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_core.c551 unicast = (inet_addr_type(net, iph->daddr.ip) == RTN_UNICAST); in ip_vs_leave()
Dip_vs_ctl.c883 if (atype != RTN_LOCAL && atype != RTN_UNICAST) in ip_vs_new_dest()
/linux-4.1.27/drivers/net/
Dvxlan.c335 ndm->ndm_type = RTN_UNICAST; in vxlan_fdb_info()
/linux-4.1.27/net/core/
Dneighbour.c2209 ndm->ndm_type = RTN_UNICAST; in pneigh_fill_info()