Home
last modified time | relevance | path

Searched refs:in6_dev (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/net/ipv6/
Dndisc.c331 struct inet6_dev *in6_dev; in ndisc_constructor() local
335 in6_dev = in6_dev_get(dev); in ndisc_constructor()
336 if (!in6_dev) { in ndisc_constructor()
340 parms = in6_dev->nd_parms; in ndisc_constructor()
371 in6_dev_put(in6_dev); in ndisc_constructor()
1239 struct inet6_dev *in6_dev; in ndisc_router_discovery() local
1270 in6_dev = __in6_dev_get(skb->dev); in ndisc_router_discovery()
1271 if (!in6_dev) { in ndisc_router_discovery()
1280 if (!ipv6_accept_ra(in6_dev)) { in ndisc_router_discovery()
1297 if (in6_dev->if_flags & IF_RS_SENT) { in ndisc_router_discovery()
[all …]
Daddrconf.c652 struct inet6_dev *in6_dev = NULL; in inet6_netconf_get_devconf() local
679 in6_dev = in6_dev_get(dev); in inet6_netconf_get_devconf()
680 if (!in6_dev) in inet6_netconf_get_devconf()
682 devconf = &in6_dev->cnf; in inet6_netconf_get_devconf()
703 if (in6_dev) in inet6_netconf_get_devconf()
704 in6_dev_put(in6_dev); in inet6_netconf_get_devconf()
2617 struct inet6_dev *in6_dev, in addrconf_prefix_rcv_add_addr() argument
2626 int max_addresses = in6_dev->cnf.max_addresses; in addrconf_prefix_rcv_add_addr()
2639 in6_dev->cnf.optimistic_dad) && in addrconf_prefix_rcv_add_addr()
2648 ipv6_count_addresses(in6_dev) < max_addresses) in addrconf_prefix_rcv_add_addr()
[all …]
Dip6mr.c704 struct inet6_dev *in6_dev; in mif6_delete() local
741 in6_dev = __in6_dev_get(dev); in mif6_delete()
742 if (in6_dev) { in mif6_delete()
743 atomic_dec(&in6_dev->cnf.mc_forwarding); in mif6_delete()
746 dev->ifindex, &in6_dev->cnf); in mif6_delete()
868 struct inet6_dev *in6_dev; in mif6_add() local
909 in6_dev = __in6_dev_get(dev); in mif6_add()
910 if (in6_dev) { in mif6_add()
911 atomic_inc(&in6_dev->cnf.mc_forwarding); in mif6_add()
914 dev->ifindex, &in6_dev->cnf); in mif6_add()
Droute.c4112 struct inet6_dev *in6_dev; in rt6_do_redirect() local
4142 in6_dev = __in6_dev_get(skb->dev); in rt6_do_redirect()
4143 if (!in6_dev) in rt6_do_redirect()
4145 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()
/linux-6.6.21/drivers/infiniband/core/
Droce_gid_mgmt.c379 struct inet6_dev *in6_dev; in enum_netdev_ipv6_ips() local
392 in6_dev = in6_dev_get(ndev); in enum_netdev_ipv6_ips()
393 if (!in6_dev) in enum_netdev_ipv6_ips()
396 read_lock_bh(&in6_dev->lock); in enum_netdev_ipv6_ips()
397 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in enum_netdev_ipv6_ips()
407 read_unlock_bh(&in6_dev->lock); in enum_netdev_ipv6_ips()
409 in6_dev_put(in6_dev); in enum_netdev_ipv6_ips()
/linux-6.6.21/drivers/net/usb/
Dcdc_mbim.c314 struct inet6_dev *in6_dev; in do_neigh_solicit() local
339 in6_dev = in6_dev_get(netdev); in do_neigh_solicit()
340 if (!in6_dev) in do_neigh_solicit()
342 is_router = !!in6_dev->cnf.forwarding; in do_neigh_solicit()
343 in6_dev_put(in6_dev); in do_neigh_solicit()
/linux-6.6.21/net/6lowpan/
Dndisc.c199 struct inet6_dev *in6_dev, in lowpan_ndisc_prefix_rcv_add_addr() argument
212 err = addrconf_prefix_rcv_add_addr(net, dev, pinfo, in6_dev, in lowpan_ndisc_prefix_rcv_add_addr()
/linux-6.6.21/include/net/
Dndisc.h218 struct inet6_dev *in6_dev,
297 struct inet6_dev *in6_dev, in ndisc_ops_prefix_rcv_add_addr() argument
306 dev->ndisc_ops->prefix_rcv_add_addr(net, dev, pinfo, in6_dev, in ndisc_ops_prefix_rcv_add_addr()
Daddrconf.h135 struct inet6_dev *in6_dev,
/linux-6.6.21/net/batman-adv/
Dmulticast.c135 struct inet6_dev *in6_dev = __in6_dev_get(dev); in batadv_mcast_mla_rtr_flags_softif_get_ipv6() local
137 if (in6_dev && atomic_read(&in6_dev->cnf.mc_forwarding)) in batadv_mcast_mla_rtr_flags_softif_get_ipv6()
409 struct inet6_dev *in6_dev; in batadv_mcast_mla_softif_get_ipv6() local
419 in6_dev = __in6_dev_get(dev); in batadv_mcast_mla_softif_get_ipv6()
420 if (!in6_dev) { in batadv_mcast_mla_softif_get_ipv6()
425 for (pmc6 = rcu_dereference(in6_dev->mc_list); in batadv_mcast_mla_softif_get_ipv6()
/linux-6.6.21/net/smc/
Dsmc_clc.c529 struct inet6_dev *in6_dev = __in6_dev_get(dst->dev); in smc_clc_prfx_set6_rcu() local
533 if (!in6_dev) in smc_clc_prfx_set6_rcu()
536 list_for_each_entry(ifa, &in6_dev->addr_list, if_list) { in smc_clc_prfx_set6_rcu()
620 struct inet6_dev *in6_dev = __in6_dev_get(dev); in smc_clc_prfx_match6_rcu() local
625 if (!in6_dev) in smc_clc_prfx_match6_rcu()
630 list_for_each_entry(ifa, &in6_dev->addr_list, if_list) { in smc_clc_prfx_match6_rcu()
/linux-6.6.21/net/sctp/
Dipv6.c461 struct inet6_dev *in6_dev; in sctp_v6_copy_addrlist() local
466 if ((in6_dev = __in6_dev_get(dev)) == NULL) { in sctp_v6_copy_addrlist()
471 read_lock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()
472 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in sctp_v6_copy_addrlist()
485 read_unlock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()
/linux-6.6.21/drivers/s390/net/
Dqeth_l3_main.c1054 struct inet6_dev *in6_dev; in qeth_l3_add_mcast_rtnl() local
1097 in6_dev = __in6_dev_get(dev); in qeth_l3_add_mcast_rtnl()
1098 if (!in6_dev) in qeth_l3_add_mcast_rtnl()
1105 for (im6 = rtnl_dereference(in6_dev->mc_list); in qeth_l3_add_mcast_rtnl()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c2007 struct inet6_dev *in6_dev; in neigh_reduce() local
2012 in6_dev = __in6_dev_get(dev); in neigh_reduce()
2013 if (!in6_dev) in neigh_reduce()