Searched refs:l3mdev (Results 1 – 17 of 17) sorted by relevance
/kernel/linux/linux-5.10/net/ipv4/ |
D | inet_hashtables.c | 77 int l3mdev) in inet_bind_bucket_create() argument 83 tb->l3mdev = l3mdev; in inet_bind_bucket_create() 148 int l3mdev; in __inet_inherit_port() local 157 l3mdev = inet_sk_bound_l3mdev(sk); in __inet_inherit_port() 166 tb->l3mdev == l3mdev && tb->port == port) in __inet_inherit_port() 172 l3mdev); in __inet_inherit_port() 755 int l3mdev; in __inet_hash_connect() local 775 l3mdev = inet_sk_bound_l3mdev(sk); in __inet_hash_connect() 808 if (net_eq(ib_net(tb), net) && tb->l3mdev == l3mdev && in __inet_hash_connect() 822 net, head, port, l3mdev); in __inet_hash_connect()
|
D | inet_connection_sock.c | 197 int l3mdev; in inet_csk_find_open_port() local 199 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_find_open_port() 236 if (net_eq(ib_net(tb), net) && tb->l3mdev == l3mdev && in inet_csk_find_open_port() 367 int l3mdev; in inet_csk_get_port() local 369 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_get_port() 383 if (net_eq(ib_net(tb), net) && tb->l3mdev == l3mdev && in inet_csk_get_port() 388 net, head, port, l3mdev); in inet_csk_get_port()
|
D | fib_rules.c | 60 rule->l3mdev) in fib4_rule_default() 243 if (rule->table == RT_TABLE_UNSPEC && !rule->l3mdev) { in fib4_rule_configure()
|
/kernel/linux/linux-5.10/net/core/ |
D | fib_rules.c | 277 if (rule->l3mdev && !l3mdev_fib_rule_match(rule->fr_net, fl, arg)) in fib_rule_match() 463 if (rule->l3mdev && r->l3mdev != rule->l3mdev) in rule_find() 499 nlrule->l3mdev = nla_get_u8(nla); in fib_nl2rule_l3mdev() 500 if (nlrule->l3mdev != 1) { in fib_nl2rule_l3mdev() 632 if (nlrule->l3mdev && nlrule->table) { in fib_nl2rule() 725 if (r->l3mdev != rule->l3mdev) in rule_exists() 1041 (rule->l3mdev && in fib_nl_fill_rule() 1042 nla_put_u8(skb, FRA_L3MDEV, rule->l3mdev)) || in fib_nl_fill_rule()
|
D | lwt_bpf.c | 175 struct net_device *l3mdev = l3mdev_master_dev_rcu(skb_dst(skb)->dev); in bpf_lwt_xmit_reroute() local 176 int oif = l3mdev ? l3mdev->ifindex : 0; in bpf_lwt_xmit_reroute()
|
/kernel/linux/linux-5.10/net/l3mdev/ |
D | Makefile | 6 obj-$(CONFIG_NET_L3_MASTER_DEV) += l3mdev.o
|
/kernel/linux/linux-5.10/include/net/ |
D | fib_rules.h | 29 u8 l3mdev; member 141 return rule->l3mdev ? arg->table : rule->table; in fib_rule_get_table()
|
D | inet_hashtables.h | 78 int l3mdev; member 203 const unsigned short snum, int l3mdev);
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | vrf.rst | 72 2. An l3mdev FIB rule directs lookups to the table associated with the device. 73 A single l3mdev rule is sufficient for all VRFs. The VRF device adds the 74 l3mdev rule for IPv4 and IPv6 when the first device is created with a 122 arriving on interfaces enslaved to an l3mdev and processes may bind to 123 the same port if they bind to an l3mdev. 161 As of v4.8 the kernel supports the l3mdev FIB rule where a single rule 162 covers all VRFs. The l3mdev rule is created for IPv4 and IPv6 on first
|
/kernel/linux/linux-5.10/net/ |
D | Makefile | 85 obj-y += l3mdev/
|
D | Kconfig | 244 source "net/l3mdev/Kconfig"
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | fib6_rules.c | 43 rule->l3mdev) in fib6_rule_default() 356 if (rule->action == FR_ACT_TO_TBL && !rule->l3mdev) { in fib6_rule_configure()
|
D | addrconf.c | 1909 struct net_device *l3mdev, *ndev; in __ipv6_chk_addr_and_flags() local 1915 l3mdev = l3mdev_master_dev_rcu(dev); in __ipv6_chk_addr_and_flags() 1924 if (l3mdev_master_dev_rcu(ndev) != l3mdev) in __ipv6_chk_addr_and_flags()
|
D | ip6mr.c | 284 rule->table == RT6_TABLE_DFLT && !rule->l3mdev; in ip6mr_rule_default()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 6181 if (!fib4_rule_default(rule) && !rule->l3mdev) in mlxsw_sp_router_fib_rule_event() 6185 if (!fib6_rule_default(rule) && !rule->l3mdev) in mlxsw_sp_router_fib_rule_event() 6189 if (!ipmr_rule_default(rule) && !rule->l3mdev) in mlxsw_sp_router_fib_rule_event() 6193 if (!ip6mr_rule_default(rule) && !rule->l3mdev) in mlxsw_sp_router_fib_rule_event()
|
/kernel/linux/linux-5.10/ |
D | MAINTAINERS | 9822 F: include/net/l3mdev.h 9823 F: net/l3mdev
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 25630 int l3mdev;
|