Searched refs:in6_dev (Results 1 – 4 of 4) sorted by relevance
368 struct inet6_dev *in6_dev; in ndisc_constructor() local373 in6_dev = in6_dev_get(dev); in ndisc_constructor()374 if (in6_dev == NULL) { in ndisc_constructor()379 parms = in6_dev->nd_parms; in ndisc_constructor()411 in6_dev_put(in6_dev); in ndisc_constructor()1116 struct inet6_dev *in6_dev; in ndisc_router_discovery() local1150 in6_dev = in6_dev_get(skb->dev); in ndisc_router_discovery()1151 if (in6_dev == NULL) { in ndisc_router_discovery()1157 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_ra) { in ndisc_router_discovery()1158 in6_dev_put(in6_dev); in ndisc_router_discovery()[all …]
487 struct inet6_dev *in6_dev; in mif6_delete() local520 in6_dev = __in6_dev_get(dev); in mif6_delete()521 if (in6_dev) in mif6_delete()522 in6_dev->cnf.mc_forwarding--; in mif6_delete()633 struct inet6_dev *in6_dev; in mif6_add() local674 in6_dev = __in6_dev_get(dev); in mif6_add()675 if (in6_dev) in mif6_add()676 in6_dev->cnf.mc_forwarding++; in mif6_add()
1777 struct inet6_dev *in6_dev; in addrconf_prefix_rcv() local1804 in6_dev = in6_dev_get(dev); in addrconf_prefix_rcv()1806 if (in6_dev == NULL) { in addrconf_prefix_rcv()1868 if (pinfo->autoconf && in6_dev->cnf.autoconf) { in addrconf_prefix_rcv()1877 ipv6_inherit_eui64(addr.s6_addr + 8, in6_dev)) { in addrconf_prefix_rcv()1878 in6_dev_put(in6_dev); in addrconf_prefix_rcv()1886 in6_dev_put(in6_dev); in addrconf_prefix_rcv()1894 int max_addresses = in6_dev->cnf.max_addresses; in addrconf_prefix_rcv()1898 if (in6_dev->cnf.optimistic_dad && in addrconf_prefix_rcv()1907 ipv6_count_addresses(in6_dev) < max_addresses) in addrconf_prefix_rcv()[all …]
364 struct inet6_dev *in6_dev; in sctp_v6_copy_addrlist() local369 if ((in6_dev = __in6_dev_get(dev)) == NULL) { in sctp_v6_copy_addrlist()374 read_lock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()375 for (ifp = in6_dev->addr_list; ifp; ifp = ifp->if_next) { in sctp_v6_copy_addrlist()390 read_unlock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()