• Home
  • Raw
  • Download

Lines Matching refs:in6_dev

299 	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()
1120 in6_dev->if_flags |= IF_RA_RCVD; in ndisc_router_discovery()
1127 in6_dev->if_flags = (in6_dev->if_flags & ~(IF_RA_MANAGED | in ndisc_router_discovery()
1134 if (!in6_dev->cnf.accept_ra_defrtr) in ndisc_router_discovery()
1137 if (ipv6_chk_addr(dev_net(in6_dev->dev), &ipv6_hdr(skb)->saddr, NULL, 0)) in ndisc_router_discovery()
1146 !in6_dev->cnf.accept_ra_rtr_pref) in ndisc_router_discovery()
1197 if (in6_dev->cnf.hop_limit < ra_msg->icmph.icmp6_hop_limit) { in ndisc_router_discovery()
1198 in6_dev->cnf.hop_limit = ra_msg->icmph.icmp6_hop_limit; in ndisc_router_discovery()
1213 if (in6_dev->nd_parms) { in ndisc_router_discovery()
1220 in6_dev->nd_parms->retrans_time = rtime; in ndisc_router_discovery()
1221 in6_dev->tstamp = jiffies; in ndisc_router_discovery()
1222 inet6_ifinfo_notify(RTM_NEWLINK, in6_dev); in ndisc_router_discovery()
1232 if (rtime != in6_dev->nd_parms->base_reachable_time) { in ndisc_router_discovery()
1233 in6_dev->nd_parms->base_reachable_time = rtime; in ndisc_router_discovery()
1234 in6_dev->nd_parms->gc_staletime = 3 * rtime; in ndisc_router_discovery()
1235 in6_dev->nd_parms->reachable_time = neigh_rand_reach_time(rtime); in ndisc_router_discovery()
1236 in6_dev->tstamp = jiffies; in ndisc_router_discovery()
1237 inet6_ifinfo_notify(RTM_NEWLINK, in6_dev); in ndisc_router_discovery()
1269 if (!ipv6_accept_ra(in6_dev)) in ndisc_router_discovery()
1273 if (ipv6_chk_addr(dev_net(in6_dev->dev), &ipv6_hdr(skb)->saddr, NULL, 0)) in ndisc_router_discovery()
1276 if (in6_dev->cnf.accept_ra_rtr_pref && ndopts.nd_opts_ri) { in ndisc_router_discovery()
1287 if (ri->prefix_len < in6_dev->cnf.accept_ra_rt_info_min_plen) in ndisc_router_discovery()
1289 if (ri->prefix_len > in6_dev->cnf.accept_ra_rt_info_max_plen) in ndisc_router_discovery()
1305 if (in6_dev->cnf.accept_ra_pinfo && ndopts.nd_opts_pi) { in ndisc_router_discovery()
1325 } else if (in6_dev->cnf.mtu6 != mtu) { in ndisc_router_discovery()
1326 in6_dev->cnf.mtu6 = mtu; in ndisc_router_discovery()