Home
last modified time | relevance | path

Searched refs:unicast_packet (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/net/batman-adv/
Drouting.c661 struct batadv_unicast_packet *unicast_packet; in batadv_route_unicast_packet() local
666 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_route_unicast_packet()
669 if (unicast_packet->ttl < 2) { in batadv_route_unicast_packet()
671 ethhdr->h_source, unicast_packet->dest); in batadv_route_unicast_packet()
676 orig_node = batadv_orig_hash_find(bat_priv, unicast_packet->dest); in batadv_route_unicast_packet()
686 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_route_unicast_packet()
687 unicast_packet->ttl--; in batadv_route_unicast_packet()
689 switch (unicast_packet->packet_type) { in batadv_route_unicast_packet()
744 struct batadv_unicast_packet *unicast_packet, in batadv_reroute_unicast_packet() argument
765 if (batadv_compare_eth(orig_node->orig, unicast_packet->dest)) in batadv_reroute_unicast_packet()
[all …]
Dsend.c237 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_push_fill_unicast() local
243 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_send_skb_push_fill_unicast()
244 unicast_packet->version = BATADV_COMPAT_VERSION; in batadv_send_skb_push_fill_unicast()
246 unicast_packet->packet_type = BATADV_UNICAST; in batadv_send_skb_push_fill_unicast()
248 unicast_packet->ttl = BATADV_TTL; in batadv_send_skb_push_fill_unicast()
250 ether_addr_copy(unicast_packet->dest, orig_node->orig); in batadv_send_skb_push_fill_unicast()
252 unicast_packet->ttvn = ttvn; in batadv_send_skb_push_fill_unicast()
337 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_unicast() local
366 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_send_skb_unicast()
374 unicast_packet->ttvn = unicast_packet->ttvn - 1; in batadv_send_skb_unicast()
Dnetwork-coding.c1641 struct batadv_unicast_packet *unicast_packet; in batadv_nc_skb_decode_packet() local
1708 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_nc_skb_decode_packet()
1709 unicast_packet->packet_type = BATADV_UNICAST; in batadv_nc_skb_decode_packet()
1710 unicast_packet->version = BATADV_COMPAT_VERSION; in batadv_nc_skb_decode_packet()
1711 unicast_packet->ttl = ttl; in batadv_nc_skb_decode_packet()
1712 ether_addr_copy(unicast_packet->dest, orig_dest); in batadv_nc_skb_decode_packet()
1713 unicast_packet->ttvn = ttvn; in batadv_nc_skb_decode_packet()
1716 return unicast_packet; in batadv_nc_skb_decode_packet()
1797 struct batadv_unicast_packet *unicast_packet; in batadv_nc_recv_coded_packet() local
1838 unicast_packet = batadv_nc_skb_decode_packet(bat_priv, skb, nc_packet); in batadv_nc_recv_coded_packet()
[all …]
/Linux-v6.1/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c1898 bool unicast_packet = false; in _rtl92e_rx_normal() local
1943 unicast_packet = true; in _rtl92e_rx_normal()
1968 if (unicast_packet) in _rtl92e_rx_normal()
/Linux-v6.1/drivers/staging/rtl8192u/
Dr8192U_core.c4349 bool unicast_packet = false; in rtl8192_rx_nomal() local
4362 unicast_packet = false; in rtl8192_rx_nomal()
4369 unicast_packet = true; in rtl8192_rx_nomal()
4376 if (unicast_packet) in rtl8192_rx_nomal()