Lines Matching refs:unicast_packet
1042 * batadv_nc_code_packets() - code a received unicast_packet with an nc packet
1654 struct batadv_unicast_packet *unicast_packet;
1721 unicast_packet = (struct batadv_unicast_packet *)skb->data;
1722 unicast_packet->packet_type = BATADV_UNICAST;
1723 unicast_packet->version = BATADV_COMPAT_VERSION;
1724 unicast_packet->ttl = ttl;
1725 ether_addr_copy(unicast_packet->dest, orig_dest);
1726 unicast_packet->ttvn = ttvn;
1729 return unicast_packet;
1810 struct batadv_unicast_packet *unicast_packet;
1851 unicast_packet = batadv_nc_skb_decode_packet(bat_priv, skb, nc_packet);
1852 if (!unicast_packet) {