Searched refs:dn_db (Results 1 – 6 of 6) sorted by relevance
252 struct dn_dev *dn_db; in dn_forwarding_proc() local259 dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_forwarding_proc()260 old = dn_db->parms.forwarding; in dn_forwarding_proc()265 if (dn_db->parms.forwarding < 0) in dn_forwarding_proc()266 dn_db->parms.forwarding = 0; in dn_forwarding_proc()267 if (dn_db->parms.forwarding > 2) in dn_forwarding_proc()268 dn_db->parms.forwarding = 2; in dn_forwarding_proc()275 tmp = dn_db->parms.forwarding; in dn_forwarding_proc()276 dn_db->parms.forwarding = old; in dn_forwarding_proc()277 if (dn_db->parms.down) in dn_forwarding_proc()[all …]
115 struct dn_dev *dn_db; in dn_neigh_construct() local119 dn_db = rcu_dereference(dev->dn_ptr); in dn_neigh_construct()120 if (dn_db == NULL) { in dn_neigh_construct()125 parms = dn_db->neigh_parms; in dn_neigh_construct()344 struct dn_dev *dn_db; in dn_to_neigh_output() local348 dn_db = rcu_dereference(neigh->dev->dn_ptr); in dn_to_neigh_output()349 if (dn_db == NULL) { in dn_to_neigh_output()353 use_long = dn_db->use_long; in dn_to_neigh_output()388 struct dn_dev *dn_db; in dn_neigh_router_hello() local401 dn_db = rcu_dereference(neigh->dev->dn_ptr); in dn_neigh_router_hello()[all …]
777 struct dn_dev *dn_db = rcu_dereference(dst->dev->dn_ptr); in dn_forward() local787 header_len = dn_db->use_long ? 21 : 6; in dn_forward()911 struct dn_dev *dn_db; in dnet_select_source() local917 dn_db = rcu_dereference(dev->dn_ptr); in dnet_select_source()918 for (ifa = rcu_dereference(dn_db->ifa_list); in dnet_select_source()1059 struct dn_dev *dn_db; in dn_route_output_slow() local1103 dn_db = rcu_dereference_raw(dev_out->dn_ptr); in dn_route_output_slow()1104 if (!dn_db) in dn_route_output_slow()1115 neigh = neigh_clone(dn_db->router); in dn_route_output_slow()1308 struct dn_dev *dn_db; in dn_route_input_slow() local[all …]
635 struct dn_dev *dn_db; in dn_fib_del_ifaddr() local643 dn_db = rcu_dereference(dev->dn_ptr); in dn_fib_del_ifaddr()644 if (dn_db == NULL) in dn_fib_del_ifaddr()646 for (ifa2 = rcu_dereference(dn_db->ifa_list); in dn_fib_del_ifaddr()
1850 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_mss_from_pmtu() local1852 if (dn_db->use_long) in dn_mss_from_pmtu()
176 struct dn_dev *dn_db; in dn_dev_islocal() local181 dn_db = rcu_dereference(dev->dn_ptr); in dn_dev_islocal()182 if (dn_db == NULL) { in dn_dev_islocal()187 for (ifa = rcu_dereference(dn_db->ifa_list); in dn_dev_islocal()