Searched refs:in6_dev (Results 1 – 6 of 6) sorted by relevance
299 struct inet6_dev *in6_dev; in ndisc_constructor() local303 in6_dev = in6_dev_get(dev); in ndisc_constructor()304 if (in6_dev == NULL) { in ndisc_constructor()308 parms = in6_dev->nd_parms; in ndisc_constructor()339 in6_dev_put(in6_dev); in ndisc_constructor()1063 struct inet6_dev *in6_dev; in ndisc_router_discovery() local1094 in6_dev = __in6_dev_get(skb->dev); in ndisc_router_discovery()1095 if (in6_dev == NULL) { in ndisc_router_discovery()1106 if (!ipv6_accept_ra(in6_dev)) in ndisc_router_discovery()1115 if (in6_dev->if_flags & IF_RS_SENT) { in ndisc_router_discovery()[all …]
583 struct inet6_dev *in6_dev; in inet6_netconf_get_devconf() local609 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() local2157 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()[all …]
776 struct inet6_dev *in6_dev; in mif6_delete() local810 in6_dev = __in6_dev_get(dev); in mif6_delete()811 if (in6_dev) { in mif6_delete()812 in6_dev->cnf.mc_forwarding--; in mif6_delete()815 dev->ifindex, &in6_dev->cnf); in mif6_delete()927 struct inet6_dev *in6_dev; in mif6_add() local968 in6_dev = __in6_dev_get(dev); in mif6_add()969 if (in6_dev) { in mif6_add()970 in6_dev->cnf.mc_forwarding++; in mif6_add()973 dev->ifindex, &in6_dev->cnf); in mif6_add()
1649 struct inet6_dev *in6_dev; in rt6_do_redirect() local1679 in6_dev = __in6_dev_get(skb->dev); in rt6_do_redirect()1680 if (!in6_dev) in rt6_do_redirect()1682 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()
392 struct inet6_dev *in6_dev; in sctp_v6_copy_addrlist() local397 if ((in6_dev = __in6_dev_get(dev)) == NULL) { in sctp_v6_copy_addrlist()402 read_lock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()403 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in sctp_v6_copy_addrlist()417 read_unlock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()
652 struct inet6_dev *in6_dev = NULL; in netpoll_neigh_reply() local655 in6_dev = in6_dev_get(skb->dev); in netpoll_neigh_reply()656 if (!in6_dev || !in6_dev->cnf.accept_ra) in netpoll_neigh_reply()