Home
last modified time | relevance | path

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

/linux-2.6.39/net/decnet/
Ddn_dev.c263 struct dn_dev *dn_db; in dn_forwarding_proc() local
270 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 …]
Ddn_neigh.c135 struct dn_dev *dn_db; in dn_neigh_construct() local
139 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() local
394 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 …]
Ddn_route.c751 struct dn_dev *dn_db = rcu_dereference(dst->dev->dn_ptr); in dn_forward() local
764 header_len = dn_db->use_long ? 21 : 6; in dn_forward()
868 struct dn_dev *dn_db; in dnet_select_source() local
874 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() local
1057 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() local
1281 if ((dn_db = rcu_dereference(in_dev->dn_ptr)) == NULL) in dn_route_input_slow()
[all …]
Ddn_fib.c606 struct dn_dev *dn_db; in dn_fib_del_ifaddr() local
614 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()
Daf_decnet.c1853 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_mss_from_pmtu() local
1855 if (dn_db->use_long) in dn_mss_from_pmtu()
/linux-2.6.39/include/net/
Ddn_dev.h175 struct dn_dev *dn_db; in dn_dev_islocal() local
180 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()