Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dfib_frontend.c232 ret = RTN_UNICAST; in __inet_dev_addr_type()
352 if (res.type != RTN_UNICAST && in __fib_validate_source()
389 if (res.type == RTN_UNICAST) in __fib_validate_source()
493 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config()
533 addr_type == RTN_UNICAST) in rtentry_to_fib_config()
821 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic()
870 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
922 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] = {
746 if (addr_type != RTN_UNICAST) in fib_check_nh()
792 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in fib_check_nh()
1121 case RTN_UNICAST: in fib_create_info()
1458 fa->fa_type != RTN_UNICAST) in fib_select_default()
1596 res->type == RTN_UNICAST && !fl4->flowi4_oif) in fib_select_path()
Dnetfilter.c31 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
Darp.c800 if (addr_type == RTN_UNICAST && in arp_process()
838 addr_type == RTN_UNICAST; in arp_process()
842 addr_type == RTN_UNICAST) || is_garp)) in arp_process()
Droute.c746 if (inet_addr_type(net, new_gw) != RTN_UNICAST) in __ip_do_redirect()
1860 if (res.type != RTN_UNICAST) in ip_route_input_slow()
2284 res.type = RTN_UNICAST; in __ip_route_output_key_hash()
Dfib_trie.c2360 [RTN_UNICAST] = "UNICAST",
/linux-4.4.14/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.c976 struct dn_fib_res res = { .fi = NULL, .type = RTN_UNICAST }; in dn_route_output_slow()
1388 if (res.type != RTN_UNICAST) in dn_route_input_slow()
1397 case RTN_UNICAST: in dn_route_input_slow()
1479 case RTN_UNICAST: in dn_route_input_slow()
/linux-4.4.14/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.4.14/net/ipv4/netfilter/
Dipt_rpfilter.c45 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
/linux-4.4.14/include/uapi/linux/
Drtnetlink.h200 RTN_UNICAST, /* Gateway or direct route */ enumerator
/linux-4.4.14/drivers/net/
Dvrf.c280 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in vrf_send_v4_prep()
591 rth->rt_type = RTN_UNICAST; in vrf_rtable_create()
Dvxlan.c301 ndm->ndm_type = RTN_UNICAST; in vxlan_fdb_info()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c364 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
/linux-4.4.14/Documentation/networking/
Dipvs-sysctl.txt69 address is not local (iph->daddr is RTN_UNICAST). It is mostly
/linux-4.4.14/net/mpls/
Daf_mpls.c1130 if (rtm->rtm_type != RTN_UNICAST) in rtm_to_route_config()
1239 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
/linux-4.4.14/net/atm/
Dclip.c296 if (neigh->type != RTN_UNICAST) in clip_constructor()
/linux-4.4.14/net/ipv6/
Dndisc.c324 neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST; in ndisc_constructor()
Dsit.c902 if (rt->rt_type != RTN_UNICAST) { in ipip6_tunnel_xmit()
Droute.c3103 rtm->rtm_type = RTN_UNICAST; in rt6_fill_node()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_core.c557 return (inet_addr_type(net, addr->ip) == RTN_UNICAST); in ip_vs_addr_is_unicast()
Dip_vs_ctl.c880 if (atype != RTN_LOCAL && atype != RTN_UNICAST) in ip_vs_new_dest()
/linux-4.4.14/net/core/
Dneighbour.c2217 ndm->ndm_type = RTN_UNICAST; in pneigh_fill_info()