in6_dev 378 drivers/infiniband/core/roce_gid_mgmt.c struct inet6_dev *in6_dev; in6_dev 391 drivers/infiniband/core/roce_gid_mgmt.c in6_dev = in6_dev_get(ndev); in6_dev 392 drivers/infiniband/core/roce_gid_mgmt.c if (!in6_dev) in6_dev 395 drivers/infiniband/core/roce_gid_mgmt.c read_lock_bh(&in6_dev->lock); in6_dev 396 drivers/infiniband/core/roce_gid_mgmt.c list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in6_dev 406 drivers/infiniband/core/roce_gid_mgmt.c read_unlock_bh(&in6_dev->lock); in6_dev 408 drivers/infiniband/core/roce_gid_mgmt.c in6_dev_put(in6_dev); in6_dev 312 drivers/net/usb/cdc_mbim.c struct inet6_dev *in6_dev; in6_dev 337 drivers/net/usb/cdc_mbim.c in6_dev = in6_dev_get(netdev); in6_dev 338 drivers/net/usb/cdc_mbim.c if (!in6_dev) in6_dev 340 drivers/net/usb/cdc_mbim.c is_router = !!in6_dev->cnf.forwarding; in6_dev 341 drivers/net/usb/cdc_mbim.c in6_dev_put(in6_dev); in6_dev 1990 drivers/net/vxlan.c struct inet6_dev *in6_dev; in6_dev 1994 drivers/net/vxlan.c in6_dev = __in6_dev_get(dev); in6_dev 1995 drivers/net/vxlan.c if (!in6_dev) in6_dev 1199 drivers/s390/net/qeth_l3_main.c struct inet6_dev *in6_dev) in6_dev 1211 drivers/s390/net/qeth_l3_main.c for (im6 = in6_dev->mc_list; im6 != NULL; im6 = im6->next) { in6_dev 1271 drivers/s390/net/qeth_l3_main.c struct inet6_dev *in6_dev; in6_dev 1277 drivers/s390/net/qeth_l3_main.c in6_dev = in6_dev_get(card->dev); in6_dev 1278 drivers/s390/net/qeth_l3_main.c if (!in6_dev) in6_dev 1282 drivers/s390/net/qeth_l3_main.c read_lock_bh(&in6_dev->lock); in6_dev 1283 drivers/s390/net/qeth_l3_main.c qeth_l3_add_mc6_to_hash(card, in6_dev); in6_dev 1285 drivers/s390/net/qeth_l3_main.c read_unlock_bh(&in6_dev->lock); in6_dev 1287 drivers/s390/net/qeth_l3_main.c in6_dev_put(in6_dev); in6_dev 121 include/net/addrconf.h struct inet6_dev *in6_dev, in6_dev 217 include/net/ndisc.h struct inet6_dev *in6_dev, in6_dev 296 include/net/ndisc.h struct inet6_dev *in6_dev, in6_dev 305 include/net/ndisc.h dev->ndisc_ops->prefix_rcv_add_addr(net, dev, pinfo, in6_dev, in6_dev 199 net/6lowpan/ndisc.c struct inet6_dev *in6_dev, in6_dev 212 net/6lowpan/ndisc.c err = addrconf_prefix_rcv_add_addr(net, dev, pinfo, in6_dev, in6_dev 136 net/batman-adv/multicast.c struct inet6_dev *in6_dev = __in6_dev_get(dev); in6_dev 138 net/batman-adv/multicast.c if (in6_dev && in6_dev->cnf.mc_forwarding) in6_dev 441 net/batman-adv/multicast.c struct inet6_dev *in6_dev; in6_dev 451 net/batman-adv/multicast.c in6_dev = __in6_dev_get(dev); in6_dev 452 net/batman-adv/multicast.c if (!in6_dev) { in6_dev 457 net/batman-adv/multicast.c read_lock_bh(&in6_dev->lock); in6_dev 458 net/batman-adv/multicast.c for (pmc6 = in6_dev->mc_list; pmc6; pmc6 = pmc6->next) { in6_dev 487 net/batman-adv/multicast.c read_unlock_bh(&in6_dev->lock); in6_dev 642 net/ipv6/addrconf.c struct inet6_dev *in6_dev = NULL; in6_dev 669 net/ipv6/addrconf.c in6_dev = in6_dev_get(dev); in6_dev 670 net/ipv6/addrconf.c if (!in6_dev) in6_dev 672 net/ipv6/addrconf.c devconf = &in6_dev->cnf; in6_dev 693 net/ipv6/addrconf.c if (in6_dev) in6_dev 694 net/ipv6/addrconf.c in6_dev_put(in6_dev); in6_dev 2559 net/ipv6/addrconf.c struct inet6_dev *in6_dev, in6_dev 2568 net/ipv6/addrconf.c int max_addresses = in6_dev->cnf.max_addresses; in6_dev 2580 net/ipv6/addrconf.c in6_dev->cnf.optimistic_dad) && in6_dev 2589 net/ipv6/addrconf.c ipv6_count_addresses(in6_dev) < max_addresses) in6_dev 2590 net/ipv6/addrconf.c ifp = ipv6_add_addr(in6_dev, &cfg, false, NULL); in6_dev 2647 net/ipv6/addrconf.c manage_tempaddrs(in6_dev, ifp, valid_lft, prefered_lft, in6_dev 2665 net/ipv6/addrconf.c struct inet6_dev *in6_dev; in6_dev 2692 net/ipv6/addrconf.c in6_dev = in6_dev_get(dev); in6_dev 2694 net/ipv6/addrconf.c if (!in6_dev) { in6_dev 2757 net/ipv6/addrconf.c if (pinfo->autoconf && in6_dev->cnf.autoconf) { in6_dev 2764 net/ipv6/addrconf.c if (!ipv6_addr_any(&in6_dev->token)) { in6_dev 2765 net/ipv6/addrconf.c read_lock_bh(&in6_dev->lock); in6_dev 2767 net/ipv6/addrconf.c in6_dev->token.s6_addr + 8, 8); in6_dev 2768 net/ipv6/addrconf.c read_unlock_bh(&in6_dev->lock); in6_dev 2770 net/ipv6/addrconf.c } else if (is_addr_mode_generate_stable(in6_dev) && in6_dev 2772 net/ipv6/addrconf.c in6_dev)) { in6_dev 2776 net/ipv6/addrconf.c ipv6_inherit_eui64(addr.s6_addr + 8, in6_dev)) { in6_dev 2788 net/ipv6/addrconf.c err = addrconf_prefix_rcv_add_addr(net, dev, pinfo, in6_dev, in6_dev 2799 net/ipv6/addrconf.c ndisc_ops_prefix_rcv_add_addr(net, dev, pinfo, in6_dev, &addr, in6_dev 2805 net/ipv6/addrconf.c inet6_prefix_notify(RTM_NEWPREFIX, in6_dev, pinfo); in6_dev 2807 net/ipv6/addrconf.c in6_dev_put(in6_dev); in6_dev 696 net/ipv6/ip6mr.c struct inet6_dev *in6_dev; in6_dev 735 net/ipv6/ip6mr.c in6_dev = __in6_dev_get(dev); in6_dev 736 net/ipv6/ip6mr.c if (in6_dev) { in6_dev 737 net/ipv6/ip6mr.c in6_dev->cnf.mc_forwarding--; in6_dev 740 net/ipv6/ip6mr.c dev->ifindex, &in6_dev->cnf); in6_dev 862 net/ipv6/ip6mr.c struct inet6_dev *in6_dev; in6_dev 903 net/ipv6/ip6mr.c in6_dev = __in6_dev_get(dev); in6_dev 904 net/ipv6/ip6mr.c if (in6_dev) { in6_dev 905 net/ipv6/ip6mr.c in6_dev->cnf.mc_forwarding++; in6_dev 908 net/ipv6/ip6mr.c dev->ifindex, &in6_dev->cnf); in6_dev 326 net/ipv6/ndisc.c struct inet6_dev *in6_dev; in6_dev 330 net/ipv6/ndisc.c in6_dev = in6_dev_get(dev); in6_dev 331 net/ipv6/ndisc.c if (!in6_dev) { in6_dev 335 net/ipv6/ndisc.c parms = in6_dev->nd_parms; in6_dev 366 net/ipv6/ndisc.c in6_dev_put(in6_dev); in6_dev 1171 net/ipv6/ndisc.c struct inet6_dev *in6_dev; in6_dev 1209 net/ipv6/ndisc.c in6_dev = __in6_dev_get(skb->dev); in6_dev 1210 net/ipv6/ndisc.c if (!in6_dev) { in6_dev 1221 net/ipv6/ndisc.c if (!ipv6_accept_ra(in6_dev)) { in6_dev 1238 net/ipv6/ndisc.c if (in6_dev->if_flags & IF_RS_SENT) { in6_dev 1243 net/ipv6/ndisc.c in6_dev->if_flags |= IF_RA_RCVD; in6_dev 1250 net/ipv6/ndisc.c old_if_flags = in6_dev->if_flags; in6_dev 1251 net/ipv6/ndisc.c in6_dev->if_flags = (in6_dev->if_flags & ~(IF_RA_MANAGED | in6_dev 1258 net/ipv6/ndisc.c if (old_if_flags != in6_dev->if_flags) in6_dev 1261 net/ipv6/ndisc.c if (!in6_dev->cnf.accept_ra_defrtr) { in6_dev 1271 net/ipv6/ndisc.c net = dev_net(in6_dev->dev); in6_dev 1272 net/ipv6/ndisc.c if (!in6_dev->cnf.accept_ra_from_local && in6_dev 1273 net/ipv6/ndisc.c ipv6_chk_addr(net, &ipv6_hdr(skb)->saddr, in6_dev->dev, 0)) { in6_dev 1286 net/ipv6/ndisc.c !in6_dev->cnf.accept_ra_rtr_pref) in6_dev 1339 net/ipv6/ndisc.c if (in6_dev->cnf.accept_ra_min_hop_limit < 256 && in6_dev 1341 net/ipv6/ndisc.c if (in6_dev->cnf.accept_ra_min_hop_limit <= ra_msg->icmph.icmp6_hop_limit) { in6_dev 1342 net/ipv6/ndisc.c in6_dev->cnf.hop_limit = ra_msg->icmph.icmp6_hop_limit; in6_dev 1356 net/ipv6/ndisc.c if (in6_dev->nd_parms) { in6_dev 1363 net/ipv6/ndisc.c NEIGH_VAR_SET(in6_dev->nd_parms, RETRANS_TIME, rtime); in6_dev 1364 net/ipv6/ndisc.c in6_dev->tstamp = jiffies; in6_dev 1375 net/ipv6/ndisc.c if (rtime != NEIGH_VAR(in6_dev->nd_parms, BASE_REACHABLE_TIME)) { in6_dev 1376 net/ipv6/ndisc.c NEIGH_VAR_SET(in6_dev->nd_parms, in6_dev 1378 net/ipv6/ndisc.c NEIGH_VAR_SET(in6_dev->nd_parms, in6_dev 1380 net/ipv6/ndisc.c in6_dev->nd_parms->reachable_time = neigh_rand_reach_time(rtime); in6_dev 1381 net/ipv6/ndisc.c in6_dev->tstamp = jiffies; in6_dev 1391 net/ipv6/ndisc.c inet6_ifinfo_notify(RTM_NEWLINK, in6_dev); in6_dev 1421 net/ipv6/ndisc.c if (!ipv6_accept_ra(in6_dev)) { in6_dev 1429 net/ipv6/ndisc.c if (!in6_dev->cnf.accept_ra_from_local && in6_dev 1430 net/ipv6/ndisc.c ipv6_chk_addr(dev_net(in6_dev->dev), &ipv6_hdr(skb)->saddr, in6_dev 1431 net/ipv6/ndisc.c in6_dev->dev, 0)) { in6_dev 1438 net/ipv6/ndisc.c if (in6_dev->cnf.accept_ra_rtr_pref && ndopts.nd_opts_ri) { in6_dev 1450 net/ipv6/ndisc.c !in6_dev->cnf.accept_ra_defrtr) in6_dev 1452 net/ipv6/ndisc.c if (ri->prefix_len < in6_dev->cnf.accept_ra_rt_info_min_plen) in6_dev 1454 net/ipv6/ndisc.c if (ri->prefix_len > in6_dev->cnf.accept_ra_rt_info_max_plen) in6_dev 1474 net/ipv6/ndisc.c if (in6_dev->cnf.accept_ra_pinfo && ndopts.nd_opts_pi) { in6_dev 1485 net/ipv6/ndisc.c if (ndopts.nd_opts_mtu && in6_dev->cnf.accept_ra_mtu) { in6_dev 1494 net/ipv6/ndisc.c } else if (in6_dev->cnf.mtu6 != mtu) { in6_dev 1495 net/ipv6/ndisc.c in6_dev->cnf.mtu6 = mtu; in6_dev 3982 net/ipv6/route.c struct inet6_dev *in6_dev; in6_dev 4012 net/ipv6/route.c in6_dev = __in6_dev_get(skb->dev); in6_dev 4013 net/ipv6/route.c if (!in6_dev) in6_dev 4015 net/ipv6/route.c if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in6_dev 413 net/sctp/ipv6.c struct inet6_dev *in6_dev; in6_dev 418 net/sctp/ipv6.c if ((in6_dev = __in6_dev_get(dev)) == NULL) { in6_dev 423 net/sctp/ipv6.c read_lock_bh(&in6_dev->lock); in6_dev 424 net/sctp/ipv6.c list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in6_dev 437 net/sctp/ipv6.c read_unlock_bh(&in6_dev->lock); in6_dev 122 net/smc/smc_clc.c struct inet6_dev *in6_dev = __in6_dev_get(dst->dev); in6_dev 126 net/smc/smc_clc.c if (!in6_dev) in6_dev 129 net/smc/smc_clc.c list_for_each_entry(ifa, &in6_dev->addr_list, if_list) { in6_dev 213 net/smc/smc_clc.c struct inet6_dev *in6_dev = __in6_dev_get(dev); in6_dev 218 net/smc/smc_clc.c if (!in6_dev) in6_dev 223 net/smc/smc_clc.c list_for_each_entry(ifa, &in6_dev->addr_list, if_list) {