Searched refs:unicast_packet (Results 1 – 3 of 3) sorted by relevance
680 struct batadv_unicast_packet *unicast_packet; in batadv_route_unicast_packet() local685 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()763 struct batadv_unicast_packet *unicast_packet, in batadv_reroute_unicast_packet() argument783 if (batadv_compare_eth(orig_node->orig, unicast_packet->dest)) in batadv_reroute_unicast_packet()[all …]
238 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_push_fill_unicast() local244 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()339 struct batadv_unicast_packet *unicast_packet; in batadv_send_skb_unicast() local368 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_send_skb_unicast()376 unicast_packet->ttvn = unicast_packet->ttvn - 1; in batadv_send_skb_unicast()
1648 struct batadv_unicast_packet *unicast_packet; in batadv_nc_skb_decode_packet() local1715 unicast_packet = (struct batadv_unicast_packet *)skb->data; in batadv_nc_skb_decode_packet()1716 unicast_packet->packet_type = BATADV_UNICAST; in batadv_nc_skb_decode_packet()1717 unicast_packet->version = BATADV_COMPAT_VERSION; in batadv_nc_skb_decode_packet()1718 unicast_packet->ttl = ttl; in batadv_nc_skb_decode_packet()1719 ether_addr_copy(unicast_packet->dest, orig_dest); in batadv_nc_skb_decode_packet()1720 unicast_packet->ttvn = ttvn; in batadv_nc_skb_decode_packet()1723 return unicast_packet; in batadv_nc_skb_decode_packet()1804 struct batadv_unicast_packet *unicast_packet; in batadv_nc_recv_coded_packet() local1845 unicast_packet = batadv_nc_skb_decode_packet(bat_priv, skb, nc_packet); in batadv_nc_recv_coded_packet()[all …]