Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/decnet/
Ddn_dev.c252 struct dn_dev *dn_db; in dn_forwarding_proc() local
259 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 …]
Ddn_neigh.c115 struct dn_dev *dn_db; in dn_neigh_construct() local
119 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() local
348 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() local
401 dn_db = rcu_dereference(neigh->dev->dn_ptr); in dn_neigh_router_hello()
[all …]
Ddn_route.c777 struct dn_dev *dn_db = rcu_dereference(dst->dev->dn_ptr); in dn_forward() local
787 header_len = dn_db->use_long ? 21 : 6; in dn_forward()
911 struct dn_dev *dn_db; in dnet_select_source() local
917 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() local
1103 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 …]
Ddn_fib.c635 struct dn_dev *dn_db; in dn_fib_del_ifaddr() local
643 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()
Daf_decnet.c1850 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_mss_from_pmtu() local
1852 if (dn_db->use_long) in dn_mss_from_pmtu()
/kernel/linux/linux-5.10/include/net/
Ddn_dev.h176 struct dn_dev *dn_db; in dn_dev_islocal() local
181 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()