Searched refs:unicast_packet (Results 1 – 8 of 8) sorted by relevance
41 struct unicast_packet *unicast_packet; in frag_merge_packet() local42 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() local186 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() local226 int uc_hdr_len = sizeof(*unicast_packet); in frag_send_skb()241 unicast_packet = (struct unicast_packet *)skb->data; in frag_send_skb()[all …]
39 const struct unicast_frag_packet *unicast_packet; in frag_can_reassemble() local43 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()
808 struct unicast_packet *unicast_packet; in route_unicast_packet() local813 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 …]
690 struct unicast_packet *unicast_packet; in interface_rx() local726 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()
31 ((sizeof(struct unicast_packet) > sizeof(struct bcast_packet) ? \32 sizeof(struct unicast_packet) : \
139 struct unicast_packet { struct
5444 bool unicast_packet = false; in rtl8192_rx_nomal() local5488 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()
2315 bool unicast_packet = false; in rtl8192_rx_normal() local2364 unicast_packet = true; in rtl8192_rx_normal()2389 if (unicast_packet) in rtl8192_rx_normal()