Searched refs:bcast_packet (Results 1 – 4 of 4) sorted by relevance
186 struct batadv_bcast_packet *bcast_packet; in batadv_interface_tx() local335 if (batadv_skb_head_push(skb, sizeof(*bcast_packet)) < 0) in batadv_interface_tx()338 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_interface_tx()339 bcast_packet->version = BATADV_COMPAT_VERSION; in batadv_interface_tx()340 bcast_packet->ttl = BATADV_TTL - 1; in batadv_interface_tx()343 bcast_packet->packet_type = BATADV_BCAST; in batadv_interface_tx()344 bcast_packet->reserved = 0; in batadv_interface_tx()349 ether_addr_copy(bcast_packet->orig, in batadv_interface_tx()354 bcast_packet->seqno = htonl(seqno); in batadv_interface_tx()
1170 struct batadv_bcast_packet *bcast_packet; in batadv_recv_bcast_packet() local1172 int hdr_size = sizeof(*bcast_packet); in batadv_recv_bcast_packet()1195 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_recv_bcast_packet()1198 if (batadv_is_my_mac(bat_priv, bcast_packet->orig)) in batadv_recv_bcast_packet()1201 if (bcast_packet->ttl-- < 2) in batadv_recv_bcast_packet()1204 orig_node = batadv_orig_hash_find(bat_priv, bcast_packet->orig); in batadv_recv_bcast_packet()1211 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()