Home
last modified time | relevance | path

Searched refs:unicast_packet (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/batman-adv/
H A Drouting.c680 struct batadv_unicast_packet *unicast_packet; in batadv_route_unicast_packet() local
685 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_route_unicast_packet()
688 if (unicast_packet->ttl < 2) { in batadv_route_unicast_packet()
690 ethhdr->h_source, unicast_packet->dest); in batadv_route_unicast_packet()
695 orig_node = batadv_orig_hash_find(bat_priv, unicast_packet->dest); in batadv_route_unicast_packet()
705 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_route_unicast_packet()
706 unicast_packet->ttl--; in batadv_route_unicast_packet()
708 switch (unicast_packet->packet_type) { in batadv_route_unicast_packet()
751 * @unicast_packet: the unicast header to be updated
763 struct batadv_unicast_packet *unicast_packet, in batadv_reroute_unicast_packet()
762 batadv_reroute_unicast_packet(struct batadv_priv *bat_priv, struct sk_buff *skb, struct batadv_unicast_packet *unicast_packet, u8 *dst_addr, unsigned short vid) batadv_reroute_unicast_packet() argument
809 struct batadv_unicast_packet *unicast_packet; batadv_check_unicast_ttvn() local
931 struct batadv_unicast_packet *unicast_packet; batadv_recv_unhandled_unicast_packet() local
962 struct batadv_unicast_packet *unicast_packet; batadv_recv_unicast_packet() local
[all...]
H A Dsend.c238 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_push_fill_unicast() local
244 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_send_skb_push_fill_unicast()
245 unicast_packet->version = BATADV_COMPAT_VERSION; in batadv_send_skb_push_fill_unicast()
247 unicast_packet->packet_type = BATADV_UNICAST; in batadv_send_skb_push_fill_unicast()
249 unicast_packet->ttl = BATADV_TTL; in batadv_send_skb_push_fill_unicast()
251 ether_addr_copy(unicast_packet->dest, orig_node->orig); in batadv_send_skb_push_fill_unicast()
253 unicast_packet->ttvn = ttvn; in batadv_send_skb_push_fill_unicast()
296 /* Pull the header space and fill the unicast_packet substructure. in batadv_send_skb_prepare_unicast_4addr()
298 * is of type struct unicast_packet in batadv_send_skb_prepare_unicast_4addr()
339 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_unicast() local
[all...]
H A Dnetwork-coding.c1042 * batadv_nc_code_packets() - code a received unicast_packet with an nc packet
1654 struct batadv_unicast_packet *unicast_packet; in batadv_nc_skb_decode_packet() local
1721 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_nc_skb_decode_packet()
1722 unicast_packet->packet_type = BATADV_UNICAST; in batadv_nc_skb_decode_packet()
1723 unicast_packet->version = BATADV_COMPAT_VERSION; in batadv_nc_skb_decode_packet()
1724 unicast_packet->ttl = ttl; in batadv_nc_skb_decode_packet()
1725 ether_addr_copy(unicast_packet->dest, orig_dest); in batadv_nc_skb_decode_packet()
1726 unicast_packet->ttvn = ttvn; in batadv_nc_skb_decode_packet()
1729 return unicast_packet; in batadv_nc_skb_decode_packet()
1810 struct batadv_unicast_packet *unicast_packet; in batadv_nc_recv_coded_packet() local
[all...]
/kernel/linux/linux-6.6/net/batman-adv/
H A 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()
732 * @unicast_packet: the unicast header to be updated
744 struct batadv_unicast_packet *unicast_packet, in batadv_reroute_unicast_packet()
743 batadv_reroute_unicast_packet(struct batadv_priv *bat_priv, struct sk_buff *skb, struct batadv_unicast_packet *unicast_packet, u8 *dst_addr, unsigned short vid) batadv_reroute_unicast_packet() argument
789 struct batadv_unicast_packet *unicast_packet; batadv_check_unicast_ttvn() local
911 struct batadv_unicast_packet *unicast_packet; batadv_recv_unhandled_unicast_packet() local
942 struct batadv_unicast_packet *unicast_packet; batadv_recv_unicast_packet() local
[all...]
H A 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()
295 /* Pull the header space and fill the unicast_packet substructure. in batadv_send_skb_prepare_unicast_4addr()
297 * is of type struct unicast_packet in batadv_send_skb_prepare_unicast_4addr()
337 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_unicast() local
[all...]
H A Dnetwork-coding.c1033 * batadv_nc_code_packets() - code a received unicast_packet with an nc packet
1641 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
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_core.c1997 bool unicast_packet = false; in _rtl92e_rx_normal() local
2042 unicast_packet = true; in _rtl92e_rx_normal()
2067 if (unicast_packet) in _rtl92e_rx_normal()
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_core.c1747 bool unicast_packet = false; in _rtl92e_rx_normal() local
1788 unicast_packet = true; in _rtl92e_rx_normal()
1795 if (unicast_packet) in _rtl92e_rx_normal()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
H A Dr8192U_core.c4536 bool unicast_packet = false; in rtl8192_rx_nomal() local
4549 unicast_packet = false; in rtl8192_rx_nomal()
4556 unicast_packet = true; in rtl8192_rx_nomal()
4563 if (unicast_packet) in rtl8192_rx_nomal()
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/
H A 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()

Completed in 27 milliseconds