• Home
  • Raw
  • Download

Lines Matching refs:in6_dev

583 	struct inet6_dev *in6_dev;  in inet6_netconf_get_devconf()  local
609 in6_dev = __in6_dev_get(dev); in inet6_netconf_get_devconf()
610 if (in6_dev == NULL) in inet6_netconf_get_devconf()
612 devconf = &in6_dev->cnf; in inet6_netconf_get_devconf()
2130 struct inet6_dev *in6_dev; in addrconf_prefix_rcv() local
2157 in6_dev = in6_dev_get(dev); in addrconf_prefix_rcv()
2159 if (in6_dev == NULL) { in addrconf_prefix_rcv()
2221 if (pinfo->autoconf && in6_dev->cnf.autoconf) { in addrconf_prefix_rcv()
2230 if (!ipv6_addr_any(&in6_dev->token)) { in addrconf_prefix_rcv()
2231 read_lock_bh(&in6_dev->lock); in addrconf_prefix_rcv()
2233 in6_dev->token.s6_addr + 8, 8); in addrconf_prefix_rcv()
2234 read_unlock_bh(&in6_dev->lock); in addrconf_prefix_rcv()
2237 ipv6_inherit_eui64(addr.s6_addr + 8, in6_dev)) { in addrconf_prefix_rcv()
2238 in6_dev_put(in6_dev); in addrconf_prefix_rcv()
2245 in6_dev_put(in6_dev); in addrconf_prefix_rcv()
2253 int max_addresses = in6_dev->cnf.max_addresses; in addrconf_prefix_rcv()
2257 if (in6_dev->cnf.optimistic_dad && in addrconf_prefix_rcv()
2266 ipv6_count_addresses(in6_dev) < max_addresses) in addrconf_prefix_rcv()
2267 ifp = ipv6_add_addr(in6_dev, &addr, pinfo->prefix_len, in addrconf_prefix_rcv()
2272 in6_dev_put(in6_dev); in addrconf_prefix_rcv()
2351 read_lock_bh(&in6_dev->lock); in addrconf_prefix_rcv()
2353 list_for_each_entry(ift, &in6_dev->tempaddr_list, in addrconf_prefix_rcv()
2373 max_valid = in6_dev->cnf.temp_valid_lft - age; in addrconf_prefix_rcv()
2377 max_prefered = in6_dev->cnf.temp_prefered_lft - in addrconf_prefix_rcv()
2378 in6_dev->cnf.max_desync_factor - in addrconf_prefix_rcv()
2402 if ((create || list_empty(&in6_dev->tempaddr_list)) && in6_dev->cnf.use_tempaddr > 0) { in addrconf_prefix_rcv()
2410 read_unlock_bh(&in6_dev->lock); in addrconf_prefix_rcv()
2413 read_unlock_bh(&in6_dev->lock); in addrconf_prefix_rcv()
2420 inet6_prefix_notify(RTM_NEWPREFIX, in6_dev, pinfo); in addrconf_prefix_rcv()
2421 in6_dev_put(in6_dev); in addrconf_prefix_rcv()