Searched refs:in6_dev (Results 1 – 5 of 5) sorted by relevance
312 struct inet6_dev *in6_dev; in ndisc_constructor() local316 in6_dev = in6_dev_get(dev); in ndisc_constructor()317 if (!in6_dev) { in ndisc_constructor()321 parms = in6_dev->nd_parms; in ndisc_constructor()352 in6_dev_put(in6_dev); in ndisc_constructor()1086 struct inet6_dev *in6_dev; in ndisc_router_discovery() local1123 in6_dev = __in6_dev_get(skb->dev); in ndisc_router_discovery()1124 if (!in6_dev) { in ndisc_router_discovery()1135 if (!ipv6_accept_ra(in6_dev)) { in ndisc_router_discovery()1152 if (in6_dev->if_flags & IF_RS_SENT) { in ndisc_router_discovery()[all …]
603 struct inet6_dev *in6_dev; in inet6_netconf_get_devconf() local629 in6_dev = __in6_dev_get(dev); in inet6_netconf_get_devconf()630 if (!in6_dev) in inet6_netconf_get_devconf()632 devconf = &in6_dev->cnf; in inet6_netconf_get_devconf()2395 struct inet6_dev *in6_dev; in addrconf_prefix_rcv() local2422 in6_dev = in6_dev_get(dev); in addrconf_prefix_rcv()2424 if (!in6_dev) { in addrconf_prefix_rcv()2486 if (pinfo->autoconf && in6_dev->cnf.autoconf) { in addrconf_prefix_rcv()2495 if (!ipv6_addr_any(&in6_dev->token)) { in addrconf_prefix_rcv()2496 read_lock_bh(&in6_dev->lock); in addrconf_prefix_rcv()[all …]
785 struct inet6_dev *in6_dev; in mif6_delete() local819 in6_dev = __in6_dev_get(dev); in mif6_delete()820 if (in6_dev) { in mif6_delete()821 in6_dev->cnf.mc_forwarding--; in mif6_delete()824 dev->ifindex, &in6_dev->cnf); in mif6_delete()936 struct inet6_dev *in6_dev; in mif6_add() local977 in6_dev = __in6_dev_get(dev); in mif6_add()978 if (in6_dev) { in mif6_add()979 in6_dev->cnf.mc_forwarding++; in mif6_add()982 dev->ifindex, &in6_dev->cnf); in mif6_add()
2164 struct inet6_dev *in6_dev; in rt6_do_redirect() local2194 in6_dev = __in6_dev_get(skb->dev); in rt6_do_redirect()2195 if (!in6_dev) in rt6_do_redirect()2197 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()
405 struct inet6_dev *in6_dev; in sctp_v6_copy_addrlist() local410 if ((in6_dev = __in6_dev_get(dev)) == NULL) { in sctp_v6_copy_addrlist()415 read_lock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()416 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in sctp_v6_copy_addrlist()429 read_unlock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()