Searched refs:orig_ifinfo (Results 1 – 6 of 6) sorted by relevance
/net/batman-adv/ |
D | originator.c | 301 struct batadv_orig_ifinfo *orig_ifinfo; in batadv_orig_router_get() local 305 hlist_for_each_entry_rcu(orig_ifinfo, &orig_node->ifinfo_list, list) { in batadv_orig_router_get() 306 if (orig_ifinfo->if_outgoing != if_outgoing) in batadv_orig_router_get() 309 router = rcu_dereference(orig_ifinfo->router); in batadv_orig_router_get() 333 struct batadv_orig_ifinfo *tmp, *orig_ifinfo = NULL; in batadv_orig_ifinfo_get() local 344 orig_ifinfo = tmp; in batadv_orig_ifinfo_get() 349 return orig_ifinfo; in batadv_orig_ifinfo_get() 367 struct batadv_orig_ifinfo *orig_ifinfo = NULL; in batadv_orig_ifinfo_new() local 372 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, if_outgoing); in batadv_orig_ifinfo_new() 373 if (orig_ifinfo) in batadv_orig_ifinfo_new() [all …]
|
D | bat_v_ogm.c | 312 struct batadv_orig_ifinfo *orig_ifinfo = NULL; in batadv_v_ogm_forward() local 324 orig_ifinfo = batadv_orig_ifinfo_new(orig_node, if_outgoing); in batadv_v_ogm_forward() 325 if (!orig_ifinfo) in batadv_v_ogm_forward() 336 if (orig_ifinfo->last_seqno_forwarded == ntohl(ogm_received->seqno)) in batadv_v_ogm_forward() 339 orig_ifinfo->last_seqno_forwarded = ntohl(ogm_received->seqno); in batadv_v_ogm_forward() 375 if (orig_ifinfo) in batadv_v_ogm_forward() 376 batadv_orig_ifinfo_put(orig_ifinfo); in batadv_v_ogm_forward() 404 struct batadv_orig_ifinfo *orig_ifinfo = NULL; in batadv_v_ogm_metric_update() local 411 orig_ifinfo = batadv_orig_ifinfo_new(orig_node, if_outgoing); in batadv_v_ogm_metric_update() 412 if (!orig_ifinfo) in batadv_v_ogm_metric_update() [all …]
|
D | bat_iv_ogm.c | 1012 struct batadv_orig_ifinfo *orig_ifinfo, in batadv_iv_ogm_orig_update() argument 1101 orig_ifinfo->last_ttl = batadv_ogm_packet->ttl; in batadv_iv_ogm_orig_update() 1325 struct batadv_orig_ifinfo *orig_ifinfo = NULL; in batadv_iv_ogm_update_seqnos() local 1342 orig_ifinfo = batadv_orig_ifinfo_new(orig_node, if_outgoing); in batadv_iv_ogm_update_seqnos() 1343 if (WARN_ON(!orig_ifinfo)) { in batadv_iv_ogm_update_seqnos() 1349 seq_diff = seqno - orig_ifinfo->last_real_seqno; in batadv_iv_ogm_update_seqnos() 1355 &orig_ifinfo->batman_seqno_reset, NULL)) { in batadv_iv_ogm_update_seqnos() 1369 orig_ifinfo->last_real_seqno, in batadv_iv_ogm_update_seqnos() 1399 orig_ifinfo->last_real_seqno, seqno); in batadv_iv_ogm_update_seqnos() 1400 orig_ifinfo->last_real_seqno = seqno; in batadv_iv_ogm_update_seqnos() [all …]
|
D | routing.c | 70 struct batadv_orig_ifinfo *orig_ifinfo; in _batadv_update_route() local 73 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, recv_if); in _batadv_update_route() 74 if (!orig_ifinfo) in _batadv_update_route() 85 curr_router = rcu_dereference_protected(orig_ifinfo->router, true); in _batadv_update_route() 91 rcu_assign_pointer(orig_ifinfo->router, neigh_node); in _batadv_update_route() 93 batadv_orig_ifinfo_put(orig_ifinfo); in _batadv_update_route()
|
D | network-coding.c | 763 struct batadv_orig_ifinfo *orig_ifinfo; in batadv_can_nc_with_orig() local 767 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, BATADV_IF_DEFAULT); in batadv_can_nc_with_orig() 768 if (!orig_ifinfo) in batadv_can_nc_with_orig() 771 last_ttl = orig_ifinfo->last_ttl; in batadv_can_nc_with_orig() 772 last_real_seqno = orig_ifinfo->last_real_seqno; in batadv_can_nc_with_orig() 773 batadv_orig_ifinfo_put(orig_ifinfo); in batadv_can_nc_with_orig()
|
D | originator.h | 75 void batadv_orig_ifinfo_put(struct batadv_orig_ifinfo *orig_ifinfo);
|