Searched refs:bcast_packet (Results 1 – 4 of 4) sorted by relevance
184 struct batadv_bcast_packet *bcast_packet; in batadv_interface_tx() local330 if (batadv_skb_head_push(skb, sizeof(*bcast_packet)) < 0) in batadv_interface_tx()333 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_interface_tx()334 bcast_packet->version = BATADV_COMPAT_VERSION; in batadv_interface_tx()335 bcast_packet->ttl = BATADV_TTL - 1; in batadv_interface_tx()338 bcast_packet->packet_type = BATADV_BCAST; in batadv_interface_tx()339 bcast_packet->reserved = 0; in batadv_interface_tx()344 ether_addr_copy(bcast_packet->orig, in batadv_interface_tx()349 bcast_packet->seqno = htonl(seqno); in batadv_interface_tx()
1171 struct batadv_bcast_packet *bcast_packet; in batadv_recv_bcast_packet() local1173 int hdr_size = sizeof(*bcast_packet); in batadv_recv_bcast_packet()1196 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_recv_bcast_packet()1199 if (batadv_is_my_mac(bat_priv, bcast_packet->orig)) in batadv_recv_bcast_packet()1202 if (bcast_packet->ttl-- < 2) in batadv_recv_bcast_packet()1205 orig_node = batadv_orig_hash_find(bat_priv, bcast_packet->orig); in batadv_recv_bcast_packet()1212 seqno = ntohl(bcast_packet->seqno); in batadv_recv_bcast_packet()
854 struct batadv_bcast_packet *bcast_packet; in batadv_send_no_broadcast() local866 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_send_no_broadcast()869 ret = batadv_hardif_no_broadcast(if_out, bcast_packet->orig, in batadv_send_no_broadcast()895 bcast_packet->orig, in batadv_send_no_broadcast()
1713 struct batadv_bcast_packet *bcast_packet; in batadv_bla_check_bcast_duplist() local1716 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_bla_check_bcast_duplist()1717 payload_ptr = (u8 *)(bcast_packet + 1); in batadv_bla_check_bcast_duplist()1720 bcast_packet->orig); in batadv_bla_check_bcast_duplist()