Home
last modified time | relevance | path

Searched refs:in6_dev (Results 1 – 6 of 6) sorted by relevance

/net/ipv6/
Dndisc.c299 struct inet6_dev *in6_dev; in ndisc_constructor() local
303 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() local
1094 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 …]
Daddrconf.c583 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()
[all …]
Dip6mr.c776 struct inet6_dev *in6_dev; in mif6_delete() local
810 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() local
968 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()
Droute.c1649 struct inet6_dev *in6_dev; in rt6_do_redirect() local
1679 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()
/net/sctp/
Dipv6.c392 struct inet6_dev *in6_dev; in sctp_v6_copy_addrlist() local
397 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()
/net/core/
Dnetpoll.c652 struct inet6_dev *in6_dev = NULL; in netpoll_neigh_reply() local
655 in6_dev = in6_dev_get(skb->dev); in netpoll_neigh_reply()
656 if (!in6_dev || !in6_dev->cnf.accept_ra) in netpoll_neigh_reply()