Lines Matching defs:in6_dev
663 struct inet6_dev *in6_dev = NULL;
690 in6_dev = in6_dev_get(dev);
691 if (!in6_dev)
693 devconf = &in6_dev->cnf;
714 if (in6_dev)
715 in6_dev_put(in6_dev);
2674 struct inet6_dev *in6_dev,
2683 int max_addresses = READ_ONCE(in6_dev->cnf.max_addresses);
2696 READ_ONCE(in6_dev->cnf.optimistic_dad)) &&
2705 ipv6_count_addresses(in6_dev) < max_addresses)
2706 ifp = ipv6_add_addr(in6_dev, &cfg, false, NULL);
2745 if (update_lft && !READ_ONCE(in6_dev->cnf.ra_honor_pio_life)) {
2764 manage_tempaddrs(in6_dev, ifp, valid_lft, prefered_lft,
2783 struct inet6_dev *in6_dev;
2811 in6_dev = in6_dev_get(dev);
2813 if (!in6_dev) {
2819 if (valid_lft != 0 && valid_lft < in6_dev->cnf.accept_ra_min_lft)
2888 ignore_autoconf = READ_ONCE(in6_dev->cnf.ra_honor_pio_pflag) && pinfo->preferpd;
2889 if (pinfo->autoconf && in6_dev->cnf.autoconf && !ignore_autoconf) {
2896 if (!ipv6_addr_any(&in6_dev->token)) {
2897 read_lock_bh(&in6_dev->lock);
2899 in6_dev->token.s6_addr + 8, 8);
2900 read_unlock_bh(&in6_dev->lock);
2902 } else if (is_addr_mode_generate_stable(in6_dev) &&
2904 in6_dev)) {
2908 ipv6_inherit_eui64(addr.s6_addr + 8, in6_dev)) {
2920 err = addrconf_prefix_rcv_add_addr(net, dev, pinfo, in6_dev,
2931 ndisc_ops_prefix_rcv_add_addr(net, dev, pinfo, in6_dev, &addr,
2937 inet6_prefix_notify(RTM_NEWPREFIX, in6_dev, pinfo);
2939 in6_dev_put(in6_dev);