Home
last modified time | relevance | path

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

/net/ipv6/
Dndisc.c312 struct inet6_dev *in6_dev; in ndisc_constructor() local
316 in6_dev = in6_dev_get(dev); in ndisc_constructor()
317 if (!in6_dev) { in ndisc_constructor()
321 parms = in6_dev->nd_parms; in ndisc_constructor()
352 in6_dev_put(in6_dev); in ndisc_constructor()
1086 struct inet6_dev *in6_dev; in ndisc_router_discovery() local
1123 in6_dev = __in6_dev_get(skb->dev); in ndisc_router_discovery()
1124 if (!in6_dev) { in ndisc_router_discovery()
1135 if (!ipv6_accept_ra(in6_dev)) { in ndisc_router_discovery()
1152 if (in6_dev->if_flags & IF_RS_SENT) { in ndisc_router_discovery()
[all …]
Daddrconf.c603 struct inet6_dev *in6_dev; in inet6_netconf_get_devconf() local
629 in6_dev = __in6_dev_get(dev); in inet6_netconf_get_devconf()
630 if (!in6_dev) in inet6_netconf_get_devconf()
632 devconf = &in6_dev->cnf; in inet6_netconf_get_devconf()
2395 struct inet6_dev *in6_dev; in addrconf_prefix_rcv() local
2422 in6_dev = in6_dev_get(dev); in addrconf_prefix_rcv()
2424 if (!in6_dev) { in addrconf_prefix_rcv()
2486 if (pinfo->autoconf && in6_dev->cnf.autoconf) { in addrconf_prefix_rcv()
2495 if (!ipv6_addr_any(&in6_dev->token)) { in addrconf_prefix_rcv()
2496 read_lock_bh(&in6_dev->lock); in addrconf_prefix_rcv()
[all …]
Dip6mr.c785 struct inet6_dev *in6_dev; in mif6_delete() local
819 in6_dev = __in6_dev_get(dev); in mif6_delete()
820 if (in6_dev) { in mif6_delete()
821 in6_dev->cnf.mc_forwarding--; in mif6_delete()
824 dev->ifindex, &in6_dev->cnf); in mif6_delete()
936 struct inet6_dev *in6_dev; in mif6_add() local
977 in6_dev = __in6_dev_get(dev); in mif6_add()
978 if (in6_dev) { in mif6_add()
979 in6_dev->cnf.mc_forwarding++; in mif6_add()
982 dev->ifindex, &in6_dev->cnf); in mif6_add()
Droute.c2164 struct inet6_dev *in6_dev; in rt6_do_redirect() local
2194 in6_dev = __in6_dev_get(skb->dev); in rt6_do_redirect()
2195 if (!in6_dev) in rt6_do_redirect()
2197 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()
/net/sctp/
Dipv6.c405 struct inet6_dev *in6_dev; in sctp_v6_copy_addrlist() local
410 if ((in6_dev = __in6_dev_get(dev)) == NULL) { in sctp_v6_copy_addrlist()
415 read_lock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()
416 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in sctp_v6_copy_addrlist()
429 read_unlock_bh(&in6_dev->lock); in sctp_v6_copy_addrlist()