Searched refs:orig_ifinfo (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/net/batman-adv/ |
D | originator.c | 347 struct batadv_orig_ifinfo *orig_ifinfo; in batadv_orig_router_get() local 351 hlist_for_each_entry_rcu(orig_ifinfo, &orig_node->ifinfo_list, list) { in batadv_orig_router_get() 352 if (orig_ifinfo->if_outgoing != if_outgoing) in batadv_orig_router_get() 355 router = rcu_dereference(orig_ifinfo->router); in batadv_orig_router_get() 379 struct batadv_orig_ifinfo *tmp, *orig_ifinfo = NULL; in batadv_orig_ifinfo_get() local 390 orig_ifinfo = tmp; in batadv_orig_ifinfo_get() 395 return orig_ifinfo; in batadv_orig_ifinfo_get() 413 struct batadv_orig_ifinfo *orig_ifinfo; in batadv_orig_ifinfo_new() local 418 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, if_outgoing); in batadv_orig_ifinfo_new() 419 if (orig_ifinfo) in batadv_orig_ifinfo_new() [all …]
|
D | bat_v_ogm.c | 338 struct batadv_orig_ifinfo *orig_ifinfo = NULL; in batadv_v_ogm_forward() local 350 orig_ifinfo = batadv_orig_ifinfo_new(orig_node, if_outgoing); in batadv_v_ogm_forward() 351 if (!orig_ifinfo) in batadv_v_ogm_forward() 362 if (orig_ifinfo->last_seqno_forwarded == ntohl(ogm_received->seqno)) in batadv_v_ogm_forward() 365 orig_ifinfo->last_seqno_forwarded = ntohl(ogm_received->seqno); in batadv_v_ogm_forward() 400 if (orig_ifinfo) in batadv_v_ogm_forward() 401 batadv_orig_ifinfo_put(orig_ifinfo); in batadv_v_ogm_forward() 429 struct batadv_orig_ifinfo *orig_ifinfo; in batadv_v_ogm_metric_update() local 436 orig_ifinfo = batadv_orig_ifinfo_new(orig_node, if_outgoing); in batadv_v_ogm_metric_update() 437 if (!orig_ifinfo) in batadv_v_ogm_metric_update() [all …]
|
D | bat_iv_ogm.c | 1017 struct batadv_orig_ifinfo *orig_ifinfo, in batadv_iv_ogm_orig_update() argument 1107 orig_ifinfo->last_ttl = batadv_ogm_packet->ttl; in batadv_iv_ogm_orig_update() 1331 struct batadv_orig_ifinfo *orig_ifinfo = NULL; in batadv_iv_ogm_update_seqnos() local 1348 orig_ifinfo = batadv_orig_ifinfo_new(orig_node, if_outgoing); in batadv_iv_ogm_update_seqnos() 1349 if (WARN_ON(!orig_ifinfo)) { in batadv_iv_ogm_update_seqnos() 1355 seq_diff = seqno - orig_ifinfo->last_real_seqno; in batadv_iv_ogm_update_seqnos() 1361 &orig_ifinfo->batman_seqno_reset, NULL)) { in batadv_iv_ogm_update_seqnos() 1375 orig_ifinfo->last_real_seqno, in batadv_iv_ogm_update_seqnos() 1405 orig_ifinfo->last_real_seqno, seqno); in batadv_iv_ogm_update_seqnos() 1406 orig_ifinfo->last_real_seqno = seqno; in batadv_iv_ogm_update_seqnos() [all …]
|
D | routing.c | 71 struct batadv_orig_ifinfo *orig_ifinfo; in _batadv_update_route() local 74 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, recv_if); in _batadv_update_route() 75 if (!orig_ifinfo) in _batadv_update_route() 86 curr_router = rcu_dereference_protected(orig_ifinfo->router, true); in _batadv_update_route() 92 rcu_assign_pointer(orig_ifinfo->router, neigh_node); in _batadv_update_route() 94 batadv_orig_ifinfo_put(orig_ifinfo); in _batadv_update_route()
|
D | originator.h | 70 void batadv_orig_ifinfo_put(struct batadv_orig_ifinfo *orig_ifinfo);
|
D | network-coding.c | 772 struct batadv_orig_ifinfo *orig_ifinfo; in batadv_can_nc_with_orig() local 776 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, BATADV_IF_DEFAULT); in batadv_can_nc_with_orig() 777 if (!orig_ifinfo) in batadv_can_nc_with_orig() 780 last_ttl = orig_ifinfo->last_ttl; in batadv_can_nc_with_orig() 781 last_real_seqno = orig_ifinfo->last_real_seqno; in batadv_can_nc_with_orig() 782 batadv_orig_ifinfo_put(orig_ifinfo); in batadv_can_nc_with_orig()
|