/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fib_frontend.c | 381 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) in __fib_validate_source() 389 dev_match = dev_match || (res.type == RTN_LOCAL && in __fib_validate_source() 893 if (!err && cfg.fc_type == RTN_LOCAL) in inet_rtm_newroute() 1087 if (type != RTN_LOCAL) in fib_magic() 1115 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr() 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() 1308 fib_magic(RTM_DELROUTE, RTN_LOCAL, if 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 | ip_options.c | 621 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr() 635 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 641 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
H A D | arp.c | 352 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit() 360 saddr) == RTN_LOCAL) { in arp_solicit() 808 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL && in arp_process() 821 if (addr_type == RTN_LOCAL) { in arp_process()
|
H A D | fib_semantics.c | 106 [RTN_LOCAL] = { 1191 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw() 1383 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc() 1394 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc() 1399 if (rc != RTN_LOCAL) in fib_valid_prefsrc() 1533 case RTN_LOCAL: in fib_create_info()
|
H A D | ping.c | 323 chk_addr_ret = RTN_LOCAL; in ping_check_bind_addr() 330 chk_addr_ret != RTN_LOCAL) || in ping_check_bind_addr()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | fib_frontend.c | 381 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) in __fib_validate_source() 389 dev_match = dev_match || (res.type == RTN_LOCAL && in __fib_validate_source() 904 if (!err && cfg.fc_type == RTN_LOCAL) in inet_rtm_newroute() 1098 if (type != RTN_LOCAL) in fib_magic() 1126 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr() 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() 1317 fib_magic(RTM_DELROUTE, RTN_LOCAL, if 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 | ip_options.c | 608 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr() 622 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 628 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
H A D | arp.c | 353 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit() 361 saddr) == RTN_LOCAL) { in arp_solicit() 829 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL && in arp_process() 842 if (addr_type == RTN_LOCAL) { in arp_process()
|
H A D | fib_semantics.c | 108 [RTN_LOCAL] = { 1193 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw() 1363 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc() 1374 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc() 1379 if (rc != RTN_LOCAL) in fib_valid_prefsrc() 1513 case RTN_LOCAL: in fib_create_info()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | nft_fib_ipv6.c | 77 ret = RTN_LOCAL; in __nft_fib6_eval_type() 93 ret = RTN_LOCAL; in __nft_fib6_eval_type()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | nft_fib_ipv6.c | 81 ret = RTN_LOCAL; in __nft_fib6_eval_type() 97 ret = RTN_LOCAL; in __nft_fib6_eval_type()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | ipt_rpfilter.c | 42 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
|
H A D | nft_fib_ipv4.c | 130 case RTN_LOCAL: /* Should not see RTN_LOCAL here */ in nft_fib4_eval()
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | ipt_rpfilter.c | 41 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
|
H A D | nft_fib_ipv4.c | 135 case RTN_LOCAL: /* Should not see RTN_LOCAL here */ in nft_fib4_eval()
|
/kernel/linux/linux-6.6/net/mctp/ |
H A D | route.c | 765 if (tmp->dev->dev == dev && tmp->type == RTN_LOCAL && in mctp_route_lookup_null() 1003 case RTN_LOCAL: in mctp_route_add() 1071 return mctp_route_add(mdev, addr, 0, 0, RTN_LOCAL); in mctp_route_add_local() 1076 return mctp_route_remove(mdev, addr, 0, RTN_LOCAL); in mctp_route_remove_local()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | inet_sock.h | 429 addr_type == RTN_LOCAL || in inet_addr_valid_or_nonlocal()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | rtnetlink.h | 240 RTN_LOCAL, /* Accept locally */ enumerator
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | rtnetlink.h | 256 RTN_LOCAL, /* Accept locally */ enumerator
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 192 RTN_LOCAL, enumerator
|
/kernel/linux/linux-6.6/net/l2tp/ |
H A D | l2tp_ip.c | 272 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 164 RTN_LOCAL, enumerator
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 192 RTN_LOCAL, enumerator
|