Searched refs:dn_db (Results 1 – 6 of 6) sorted by relevance
263 struct dn_dev *dn_db; in dn_forwarding_proc() local270 dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_forwarding_proc()271 old = dn_db->parms.forwarding; in dn_forwarding_proc()276 if (dn_db->parms.forwarding < 0) in dn_forwarding_proc()277 dn_db->parms.forwarding = 0; in dn_forwarding_proc()278 if (dn_db->parms.forwarding > 2) in dn_forwarding_proc()279 dn_db->parms.forwarding = 2; in dn_forwarding_proc()286 tmp = dn_db->parms.forwarding; in dn_forwarding_proc()287 dn_db->parms.forwarding = old; in dn_forwarding_proc()288 if (dn_db->parms.down) in dn_forwarding_proc()[all …]
135 struct dn_dev *dn_db; in dn_neigh_construct() local139 dn_db = rcu_dereference(dev->dn_ptr); in dn_neigh_construct()140 if (dn_db == NULL) { in dn_neigh_construct()145 parms = dn_db->neigh_parms; in dn_neigh_construct()154 if (dn_db->use_long) in dn_neigh_construct()381 struct dn_dev *dn_db; in dn_neigh_router_hello() local394 dn_db = rcu_dereference(neigh->dev->dn_ptr); in dn_neigh_router_hello()419 if (!dn_db->router) { in dn_neigh_router_hello()420 dn_db->router = neigh_clone(neigh); in dn_neigh_router_hello()422 if (msg->priority > ((struct dn_neigh *)dn_db->router)->priority) in dn_neigh_router_hello()[all …]
751 struct dn_dev *dn_db = rcu_dereference(dst->dev->dn_ptr); in dn_forward() local764 header_len = dn_db->use_long ? 21 : 6; in dn_forward()868 struct dn_dev *dn_db; in dnet_select_source() local874 dn_db = rcu_dereference(dev->dn_ptr); in dnet_select_source()875 for (ifa = rcu_dereference(dn_db->ifa_list); in dnet_select_source()1013 struct dn_dev *dn_db; in dn_route_output_slow() local1057 dn_db = rcu_dereference_raw(dev_out->dn_ptr); in dn_route_output_slow()1067 neigh = neigh_clone(dn_db->router); in dn_route_output_slow()1262 struct dn_dev *dn_db; in dn_route_input_slow() local1281 if ((dn_db = rcu_dereference(in_dev->dn_ptr)) == NULL) in dn_route_input_slow()[all …]
606 struct dn_dev *dn_db; in dn_fib_del_ifaddr() local614 dn_db = rcu_dereference(dev->dn_ptr); in dn_fib_del_ifaddr()615 if (dn_db == NULL) in dn_fib_del_ifaddr()617 for (ifa2 = rcu_dereference(dn_db->ifa_list); in dn_fib_del_ifaddr()
1853 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_mss_from_pmtu() local1855 if (dn_db->use_long) in dn_mss_from_pmtu()
175 struct dn_dev *dn_db; in dn_dev_islocal() local180 dn_db = rcu_dereference(dev->dn_ptr); in dn_dev_islocal()181 if (dn_db == NULL) { in dn_dev_islocal()186 for (ifa = rcu_dereference(dn_db->ifa_list); in dn_dev_islocal()