Home
last modified time | relevance | path

Searched refs:l3mdev (Results 1 – 11 of 11) sorted by relevance

/net/ipv4/
Dinet_hashtables.c68 int l3mdev) in inet_bind_bucket_create() argument
74 tb->l3mdev = l3mdev; in inet_bind_bucket_create()
139 int l3mdev; in __inet_inherit_port() local
148 l3mdev = inet_sk_bound_l3mdev(sk); in __inet_inherit_port()
157 tb->l3mdev == l3mdev && tb->port == port) in __inet_inherit_port()
163 l3mdev); in __inet_inherit_port()
746 int l3mdev; in __inet_hash_connect() local
756 l3mdev = inet_sk_bound_l3mdev(sk); in __inet_hash_connect()
790 if (net_eq(ib_net(tb), net) && tb->l3mdev == l3mdev && in __inet_hash_connect()
804 net, head, port, l3mdev); in __inet_hash_connect()
Dinet_connection_sock.c204 int l3mdev; in inet_csk_find_open_port() local
206 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_find_open_port()
243 if (net_eq(ib_net(tb), net) && tb->l3mdev == l3mdev && in inet_csk_find_open_port()
374 int l3mdev; in inet_csk_get_port() local
376 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_get_port()
390 if (net_eq(ib_net(tb), net) && tb->l3mdev == l3mdev && in inet_csk_get_port()
395 net, head, port, l3mdev); in inet_csk_get_port()
Dfib_rules.c60 rule->l3mdev) in fib4_rule_default()
243 if (rule->table == RT_TABLE_UNSPEC && !rule->l3mdev) { in fib4_rule_configure()
/net/core/
Dfib_rules.c277 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()
Dlwt_bpf.c174 struct net_device *l3mdev = l3mdev_master_dev_rcu(skb_dst(skb)->dev); in bpf_lwt_xmit_reroute() local
175 int oif = l3mdev ? l3mdev->ifindex : 0; in bpf_lwt_xmit_reroute()
/net/l3mdev/
DMakefile6 obj-y += l3mdev.o
/net/
DMakefile75 obj-$(CONFIG_NET_L3_MASTER_DEV) += l3mdev/
DKconfig242 source "net/l3mdev/Kconfig"
/net/ipv6/
Dfib6_rules.c43 rule->l3mdev) in fib6_rule_default()
356 if (rule->action == FR_ACT_TO_TBL && !rule->l3mdev) { in fib6_rule_configure()
Daddrconf.c1919 struct net_device *l3mdev, *ndev; in __ipv6_chk_addr_and_flags() local
1925 l3mdev = l3mdev_master_dev_rcu(dev); in __ipv6_chk_addr_and_flags()
1934 if (l3mdev_master_dev_rcu(ndev) != l3mdev) in __ipv6_chk_addr_and_flags()
Dip6mr.c286 rule->table == RT6_TABLE_DFLT && !rule->l3mdev; in ip6mr_rule_default()