/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_options.c | 144 if (inet_addr_type(net, addr) != RTN_UNICAST) { in __ip_options_echo() 400 if (inet_addr_type(net, addr) == RTN_UNICAST) in __ip_options_compile() 615 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr() 635 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
|
H A D | fib_frontend.c | 223 ret = RTN_UNICAST; in __inet_dev_addr_type() 380 if (res.type != RTN_UNICAST && in __fib_validate_source() 403 if (res.type == RTN_UNICAST) in __fib_validate_source() 522 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config() 572 addr_type == RTN_UNICAST) in rtentry_to_fib_config() 1079 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic() 1131 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1160 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1165 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1209 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr() [all...] |
H A D | netfilter.c | 36 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
H A D | arp.c | 667 if (*addr_type != RTN_UNICAST) in arp_is_garp() 839 if (addr_type == RTN_UNICAST && in arp_process() 883 (addr_type == RTN_UNICAST || in arp_process() 887 RTN_UNICAST))))) in arp_process()
|
H A D | fib_semantics.c | 102 [RTN_UNICAST] = { 1142 if (addr_type != RTN_UNICAST) { in fib_check_nh_v4_gw() 1191 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw() 1532 case RTN_UNICAST: in fib_create_info() 2102 fa->fa_type != RTN_UNICAST) in fib_select_default() 2284 res->type == RTN_UNICAST) in fib_select_path()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_options.c | 131 if (inet_addr_type(net, addr) != RTN_UNICAST) { in __ip_options_echo() 387 if (inet_addr_type(net, addr) == RTN_UNICAST) in __ip_options_compile() 602 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr() 622 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
|
H A D | fib_frontend.c | 224 ret = RTN_UNICAST; in __inet_dev_addr_type() 380 if (res.type != RTN_UNICAST && in __fib_validate_source() 403 if (res.type == RTN_UNICAST) in __fib_validate_source() 525 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config() 575 addr_type == RTN_UNICAST) in rtentry_to_fib_config() 1090 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic() 1142 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1169 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1174 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1218 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr() [all...] |
H A D | netfilter.c | 36 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
H A D | arp.c | 688 if (*addr_type != RTN_UNICAST) in arp_is_garp() 860 if (addr_type == RTN_UNICAST && in arp_process() 904 (addr_type == RTN_UNICAST || in arp_process() 908 RTN_UNICAST))))) in arp_process()
|
H A D | fib_semantics.c | 104 [RTN_UNICAST] = { 1144 if (addr_type != RTN_UNICAST) { in fib_check_nh_v4_gw() 1193 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw() 1512 case RTN_UNICAST: in fib_create_info() 2087 fa->fa_type != RTN_UNICAST) in fib_select_default() 2269 res->type == RTN_UNICAST) in fib_select_path()
|
/kernel/linux/linux-5.10/net/phonet/ |
H A D | pn_netlink.c | 178 rtm->rtm_type = RTN_UNICAST; in fill_route() 242 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
|
/kernel/linux/linux-6.6/net/phonet/ |
H A D | pn_netlink.c | 178 rtm->rtm_type = RTN_UNICAST; in fill_route() 242 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | ipt_rpfilter.c | 41 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
|
H A D | nft_fib_ipv4.c | 74 * for oif 3 will get RTN_UNICAST result even if the daddr exits in nft_fib4_eval() 128 case RTN_UNICAST: in nft_fib4_eval()
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | ipt_rpfilter.c | 40 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
|
H A D | nft_fib_ipv4.c | 75 * for oif 3 will get RTN_UNICAST result even if the daddr exits in nft_fib4_eval() 133 case RTN_UNICAST: in nft_fib4_eval()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 182 if (fi->fib_type != RTN_UNICAST) in prestera_fi_is_direct() 190 if (fi->fib_type != RTN_UNICAST) in prestera_fi_is_nh() 206 if (fi->fib6_type != RTN_UNICAST) in prestera_fi6_is_direct() 214 if (fi->fib6_type != RTN_UNICAST) in prestera_fi6_is_nh() 866 case RTN_UNICAST: in __prestera_pr_k_arb_fc_lpm_info_calc()
|
/kernel/linux/linux-6.6/net/mctp/ |
H A D | route.c | 1006 case RTN_UNICAST: in mctp_route_add() 1256 if (rtm->rtm_type != RTN_UNICAST) { in mctp_newroute() 1257 NL_SET_ERR_MSG(extack, "rtm_type must be RTN_UNICAST"); in mctp_newroute() 1291 if (rtm->rtm_type != RTN_UNICAST) in mctp_delroute() 1294 rc = mctp_route_remove(mdev, daddr_start, rtm->rtm_dst_len, RTN_UNICAST); in mctp_delroute()
|
H A D | neigh.c | 227 hdr->ndm_type = RTN_UNICAST; // TODO: is loopback RTN_LOCAL? in mctp_fill_neigh()
|
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | qeth_l3_main.c | 1581 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1590 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1593 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1595 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1666 cast_type = RTN_UNICAST; in qeth_l3_fill_header()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | nft_fib_ipv6.c | 105 return RTN_UNICAST; in __nft_fib6_eval_type()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | nft_fib_ipv6.c | 109 return RTN_UNICAST; in __nft_fib6_eval_type()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | qeth_l3_main.c | 1600 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1609 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1612 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1692 cast_type = RTN_UNICAST; in qeth_l3_fill_header()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | udpgso.c | 390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | rtnetlink.h | 239 RTN_UNICAST, /* Gateway or direct route */ enumerator
|