Lines Matching refs:unicast_packet
1638 struct batadv_unicast_packet *unicast_packet; in batadv_nc_skb_decode_packet() local
1705 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_nc_skb_decode_packet()
1706 unicast_packet->packet_type = BATADV_UNICAST; in batadv_nc_skb_decode_packet()
1707 unicast_packet->version = BATADV_COMPAT_VERSION; in batadv_nc_skb_decode_packet()
1708 unicast_packet->ttl = ttl; in batadv_nc_skb_decode_packet()
1709 ether_addr_copy(unicast_packet->dest, orig_dest); in batadv_nc_skb_decode_packet()
1710 unicast_packet->ttvn = ttvn; in batadv_nc_skb_decode_packet()
1713 return unicast_packet; in batadv_nc_skb_decode_packet()
1791 struct batadv_unicast_packet *unicast_packet; in batadv_nc_recv_coded_packet() local
1832 unicast_packet = batadv_nc_skb_decode_packet(bat_priv, skb, nc_packet); in batadv_nc_recv_coded_packet()
1833 if (!unicast_packet) { in batadv_nc_recv_coded_packet()