Searched refs:l3mdev (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/net/l3mdev/
H A DMakefile6 obj-y += l3mdev.o
H A Dl3mdev.c3 * net/l3mdev/l3mdev.c - L3 master device implementation
10 #include <net/l3mdev.h>
/linux-master/net/ipv4/
H A Dinet_hashtables.c68 int l3mdev)
74 tb->l3mdev = l3mdev;
96 unsigned short port, int l3mdev)
99 tb->l3mdev == l3mdev;
109 tb2->l3mdev = tb->l3mdev;
226 int bhash, l3mdev; local
242 l3mdev
64 inet_bind_bucket_create(struct kmem_cache *cachep, struct net *net, struct inet_bind_hashbucket *head, const unsigned short snum, int l3mdev) argument
95 inet_bind_bucket_match(const struct inet_bind_bucket *tb, const struct net *net, unsigned short port, int l3mdev) argument
814 inet_bind2_bucket_match(const struct inet_bind2_bucket *tb, const struct net *net, unsigned short port, int l3mdev, const struct sock *sk) argument
825 inet_bind2_bucket_match_addr_any(const struct inet_bind2_bucket *tb, const struct net *net, unsigned short port, int l3mdev, const struct sock *sk) argument
848 inet_bind2_bucket_find(const struct inet_bind_hashbucket *head, const struct net *net, unsigned short port, int l3mdev, const struct sock *sk) argument
894 int l3mdev = inet_sk_bound_l3mdev(sk); local
1009 int step, l3mdev; local
[all...]
H A Dinet_connection_sock.c289 static bool inet_bhash2_addr_any_conflict(const struct sock *sk, int port, int l3mdev, argument
311 if (!inet_bind2_bucket_match_addr_any(tb2, net, port, l3mdev, sk))
336 int i, low, high, attempt_half, port, l3mdev; local
344 l3mdev = inet_sk_bound_l3mdev(sk);
381 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, relax, false))
387 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk);
389 if (inet_bind_bucket_match(tb, net, port, l3mdev)) {
521 int ret = -EADDRINUSE, port = snum, l3mdev; local
528 l3mdev = inet_sk_bound_l3mdev(sk);
545 if (inet_bind_bucket_match(tb, net, port, l3mdev))
[all...]
H A Dfib_rules.c61 rule->l3mdev)
90 /* update flow if oif or iif point to device enslaved to l3mdev */
246 if (rule->table == RT_TABLE_UNSPEC && !rule->l3mdev) {
H A Dxfrm4_policy.c18 #include <net/l3mdev.h>
H A Dip_fragment.c52 #include <net/l3mdev.h>
H A Dicmp.c94 #include <net/l3mdev.h>
H A Dfib_frontend.c46 #include <net/l3mdev.h>
H A Daf_inet.c120 #include <net/l3mdev.h>
/linux-master/include/net/
H A Dinet_hashtables.h79 int l3mdev; member in struct:inet_bind_bucket
96 int l3mdev; member in struct:inet_bind2_bucket
228 const unsigned short snum, int l3mdev);
234 int l3mdev);
248 unsigned short port, int l3mdev,
253 int l3mdev, const struct sock *sk);
H A Dfib_rules.h29 u8 l3mdev; member in struct:fib_rule
120 return rule->l3mdev ? arg->table : rule->table;
H A Dinet_sock.h26 #include <net/l3mdev.h>
/linux-master/net/
H A DMakefile75 obj-$(CONFIG_NET_L3_MASTER_DEV) += l3mdev/
/linux-master/net/core/
H A Dfib_rules.c276 if (rule->l3mdev && !l3mdev_fib_rule_match(rule->fr_net, fl, arg))
462 if (rule->l3mdev && r->l3mdev != rule->l3mdev)
498 nlrule->l3mdev = nla_get_u8(nla);
499 if (nlrule->l3mdev != 1) {
500 NL_SET_ERR_MSG(extack, "Invalid l3mdev attribute");
510 NL_SET_ERR_MSG(extack, "l3mdev support is not enabled in kernel");
630 if (nlrule->l3mdev && nlrule->table) {
631 NL_SET_ERR_MSG(extack, "l3mdev an
[all...]
H A Dlwt_bpf.c175 struct net_device *l3mdev = l3mdev_master_dev_rcu(skb_dst(skb)->dev); local
176 int oif = l3mdev ? l3mdev->ifindex : 0;
/linux-master/drivers/net/ipvlan/
H A Dipvlan.h28 #include <net/l3mdev.h>
/linux-master/net/ipv6/
H A Dfib6_rules.c44 rule->l3mdev)
105 /* update flow if oif or iif point to device enslaved to l3mdev */
360 if (rule->action == FR_ACT_TO_TBL && !rule->l3mdev) {
H A Dxfrm6_policy.c24 #include <net/l3mdev.h>
H A Dicmp.c68 #include <net/l3mdev.h>
H A Daddrconf.c81 #include <net/l3mdev.h>
1975 struct net_device *l3mdev, *ndev; local
1981 l3mdev = l3mdev_master_dev_rcu(dev);
1988 if (l3mdev_master_dev_rcu(ndev) != l3mdev)
H A Dip6mr.c149 /* update flow if oif or iif point to device enslaved to l3mdev */
287 rule->table == RT6_TABLE_DFLT && !rule->l3mdev;
H A Dip6_output.c56 #include <net/l3mdev.h>
/linux-master/drivers/net/
H A Dvrf.c35 #include <net/l3mdev.h>
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c32 #include <net/l3mdev.h>
8082 if (!fib4_rule_default(rule) && !rule->l3mdev)
8086 if (!fib6_rule_default(rule) && !rule->l3mdev)
8090 if (!ipmr_rule_default(rule) && !rule->l3mdev)
8094 if (!ip6mr_rule_default(rule) && !rule->l3mdev)

Completed in 272 milliseconds

12