Home
last modified time | relevance | path

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

/linux-3.4.99/net/batman-adv/
Dunicast.c41 struct unicast_packet *unicast_packet; in frag_merge_packet() local
42 int hdr_len = sizeof(*unicast_packet); in frag_merge_packet()
69 unicast_packet = (struct unicast_packet *)skb_pull(skb, uni_diff); in frag_merge_packet()
70 unicast_packet->header.packet_type = BAT_UNICAST; in frag_merge_packet()
181 struct unicast_frag_packet *unicast_packet = in frag_reassemble_skb() local
186 orig_node = orig_hash_find(bat_priv, unicast_packet->orig); in frag_reassemble_skb()
199 unicast_packet); in frag_reassemble_skb()
222 struct unicast_packet tmp_uc, *unicast_packet; in frag_send_skb() local
226 int uc_hdr_len = sizeof(*unicast_packet); in frag_send_skb()
241 unicast_packet = (struct unicast_packet *)skb->data; in frag_send_skb()
[all …]
Dunicast.h39 const struct unicast_frag_packet *unicast_packet; in frag_can_reassemble() local
43 unicast_packet = (struct unicast_frag_packet *)skb->data; in frag_can_reassemble()
45 if (unicast_packet->flags & UNI_FRAG_LARGETAIL) { in frag_can_reassemble()
46 if (unicast_packet->flags & UNI_FRAG_HEAD) in frag_can_reassemble()
52 merged_size = (skb->len - sizeof(*unicast_packet)) * 2; in frag_can_reassemble()
53 merged_size += sizeof(struct unicast_packet) + uneven_correction; in frag_can_reassemble()
Drouting.c808 struct unicast_packet *unicast_packet; in route_unicast_packet() local
813 unicast_packet = (struct unicast_packet *)skb->data; in route_unicast_packet()
816 if (unicast_packet->header.ttl < 2) { in route_unicast_packet()
818 ethhdr->h_source, unicast_packet->dest); in route_unicast_packet()
823 orig_node = orig_hash_find(bat_priv, unicast_packet->dest); in route_unicast_packet()
838 unicast_packet = (struct unicast_packet *)skb->data; in route_unicast_packet()
840 if (unicast_packet->header.packet_type == BAT_UNICAST && in route_unicast_packet()
848 if (unicast_packet->header.packet_type == BAT_UNICAST_FRAG && in route_unicast_packet()
863 unicast_packet = (struct unicast_packet *)skb->data; in route_unicast_packet()
867 unicast_packet->header.ttl--; in route_unicast_packet()
[all …]
Dsoft-interface.c690 struct unicast_packet *unicast_packet; in interface_rx() local
726 unicast_packet = (struct unicast_packet *)skb->data; in interface_rx()
728 if ((unicast_packet->header.packet_type != BAT_UNICAST) && in interface_rx()
729 (unicast_packet->header.packet_type != BAT_UNICAST_FRAG)) in interface_rx()
734 memcpy(unicast_packet->dest, in interface_rx()
Dtypes.h31 ((sizeof(struct unicast_packet) > sizeof(struct bcast_packet) ? \
32 sizeof(struct unicast_packet) : \
Dpacket.h139 struct unicast_packet { struct
/linux-3.4.99/drivers/staging/rtl8192u/
Dr8192U_core.c5444 bool unicast_packet = false; in rtl8192_rx_nomal() local
5488 unicast_packet = false; in rtl8192_rx_nomal()
5495 unicast_packet = true; in rtl8192_rx_nomal()
5502 if(unicast_packet) { in rtl8192_rx_nomal()
5548 unicast_packet = false; in rtl8192_rx_nomal()
5555 unicast_packet = true; in rtl8192_rx_nomal()
5561 if(unicast_packet) { in rtl8192_rx_nomal()
/linux-3.4.99/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c2315 bool unicast_packet = false; in rtl8192_rx_normal() local
2364 unicast_packet = true; in rtl8192_rx_normal()
2389 if (unicast_packet) in rtl8192_rx_normal()