Home
last modified time | relevance | path

Searched refs:if_incoming (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.1/net/batman-adv/
Dbat_iv_ogm.c359 forw_packet->if_incoming == hard_iface) in batadv_iv_ogm_send_to_if()
402 if (!forw_packet->if_incoming) { in batadv_iv_ogm_emit()
407 soft_iface = forw_packet->if_incoming->soft_iface; in batadv_iv_ogm_emit()
417 if (forw_packet->if_incoming->if_status != BATADV_IF_ACTIVE) in batadv_iv_ogm_emit()
443 const struct batadv_hard_iface *if_incoming, in batadv_iv_ogm_can_aggregate() argument
498 forw_packet->if_incoming == primary_if)) { in batadv_iv_ogm_can_aggregate()
508 forw_packet->if_incoming == if_incoming && in batadv_iv_ogm_can_aggregate()
516 forw_packet->if_incoming != primary_if))) { in batadv_iv_ogm_can_aggregate()
540 struct batadv_hard_iface *if_incoming, in batadv_iv_ogm_aggregate_new() argument
544 struct batadv_priv *bat_priv = netdev_priv(if_incoming->soft_iface); in batadv_iv_ogm_aggregate_new()
[all …]
Dbat_v_ogm.c475 struct batadv_hard_iface *if_incoming, in batadv_v_forward_penalty() argument
479 int if_hop_penalty = atomic_read(&if_incoming->hop_penalty); in batadv_v_forward_penalty()
496 if_incoming == if_outgoing && in batadv_v_forward_penalty()
497 !(if_incoming->bat_v.flags & BATADV_FULL_DUPLEX)) in batadv_v_forward_penalty()
521 struct batadv_hard_iface *if_incoming, in batadv_v_ogm_forward() argument
582 ogm_forward->ttl, if_incoming->net_dev->name); in batadv_v_ogm_forward()
610 struct batadv_hard_iface *if_incoming, in batadv_v_ogm_metric_update() argument
657 path_throughput = batadv_v_forward_penalty(bat_priv, if_incoming, in batadv_v_ogm_metric_update()
692 struct batadv_hard_iface *if_incoming, in batadv_v_ogm_route_update() argument
786 struct batadv_hard_iface *if_incoming, in batadv_v_ogm_process_per_outif() argument
[all …]
Dbat_v_elp.c69 struct batadv_hard_iface *hard_iface = neigh->if_incoming; in batadv_v_elp_get_throughput()
195 struct batadv_hard_iface *hard_iface = neigh->if_incoming; in batadv_v_elp_wifi_neigh_probe()
450 struct batadv_hard_iface *if_incoming, in batadv_v_elp_neigh_update() argument
465 if_incoming, neigh_addr); in batadv_v_elp_neigh_update()
469 hardif_neigh = batadv_hardif_neigh_get(if_incoming, neigh_addr); in batadv_v_elp_neigh_update()
504 struct batadv_hard_iface *if_incoming) in batadv_v_elp_packet_recv() argument
506 struct batadv_priv *bat_priv = netdev_priv(if_incoming->soft_iface); in batadv_v_elp_packet_recv()
513 res = batadv_check_management_packet(skb, if_incoming, BATADV_ELP_HLEN); in batadv_v_elp_packet_recv()
537 batadv_v_elp_neigh_update(bat_priv, ethhdr->h_source, if_incoming, in batadv_v_elp_packet_recv()
Doriginator.c248 spin_lock_bh(&hardif_neigh->if_incoming->neigh_list_lock); in batadv_hardif_neigh_release()
250 spin_unlock_bh(&hardif_neigh->if_incoming->neigh_list_lock); in batadv_hardif_neigh_release()
252 batadv_hardif_put(hardif_neigh->if_incoming); in batadv_hardif_neigh_release()
276 batadv_hardif_put(neigh_node->if_incoming); in batadv_neigh_node_release()
491 if (tmp_neigh_node->if_incoming != hard_iface) in batadv_neigh_node_get()
536 hardif_neigh->if_incoming = hard_iface; in batadv_hardif_neigh_create()
646 neigh_node->if_incoming = hard_iface; in batadv_neigh_node_create()
1081 struct batadv_hard_iface *if_incoming; in batadv_purge_orig_neighbors() local
1089 if_incoming = neigh_node->if_incoming; in batadv_purge_orig_neighbors()
1092 if_incoming->if_status == BATADV_IF_INACTIVE || in batadv_purge_orig_neighbors()
[all …]
Dsend.c147 ret = batadv_send_skb_packet(skb, neigh->if_incoming, neigh->addr); in batadv_send_unicast_skb()
150 hardif_neigh = batadv_hardif_neigh_get(neigh->if_incoming, neigh->addr); in batadv_send_unicast_skb()
195 skb->len > neigh_node->if_incoming->net_dev->mtu) { in batadv_send_skb_to_orig()
473 batadv_hardif_put(forw_packet->if_incoming); in batadv_forw_packet_free()
495 batadv_forw_packet_alloc(struct batadv_hard_iface *if_incoming, in batadv_forw_packet_alloc() argument
523 if (if_incoming) in batadv_forw_packet_alloc()
524 kref_get(&if_incoming->refcount); in batadv_forw_packet_alloc()
533 forw_packet->if_incoming = if_incoming; in batadv_forw_packet_alloc()
619 forw_packet->if_incoming != hard_iface && in batadv_forw_packet_list_steal()
1063 bat_priv = netdev_priv(forw_packet->if_incoming->soft_iface); in batadv_send_outstanding_bcast_packet()
Dbat_v.c149 hardif_neigh->if_incoming->net_dev->name) || in batadv_v_neigh_dump_neigh()
151 hardif_neigh->if_incoming->net_dev->ifindex) || in batadv_v_neigh_dump_neigh()
291 if_outgoing != neigh_node->if_incoming) in batadv_v_orig_dump_subentry()
303 neigh_node->if_incoming->net_dev->name) || in batadv_v_orig_dump_subentry()
305 neigh_node->if_incoming->net_dev->ifindex) || in batadv_v_orig_dump_subentry()
734 router->if_incoming->net_dev->name)) { in batadv_v_gw_dump_entry()
740 router->if_incoming->net_dev->ifindex)) { in batadv_v_gw_dump_entry()
Dbat_v_elp.h21 struct batadv_hard_iface *if_incoming);
Dbat_v_ogm.h25 struct batadv_hard_iface *if_incoming);
Dsend.h21 batadv_forw_packet_alloc(struct batadv_hard_iface *if_incoming,
Dtypes.h620 struct batadv_hard_iface *if_incoming; member
657 struct batadv_hard_iface *if_incoming; member
2103 struct batadv_hard_iface *if_incoming; member
Dfragmentation.c373 if (total_size > neigh_node->if_incoming->net_dev->mtu) { in batadv_frag_skb_fwd()
443 struct net_device *net_dev = neigh_node->if_incoming->net_dev; in batadv_frag_send_packet()
Dnetwork-coding.c1411 struct net_device *netdev = neigh_node->if_incoming->soft_iface; in batadv_nc_skb_dst_search()
1498 const struct net_device *netdev = neigh_node->if_incoming->soft_iface; in batadv_nc_skb_forward()