Searched refs:bcast_packet (Results 1 – 4 of 4) sorted by relevance
761 struct batadv_bcast_packet *bcast_packet; in batadv_add_bcast_packet_to_list() local782 bcast_packet = (struct batadv_bcast_packet *)newskb->data; in batadv_add_bcast_packet_to_list()783 bcast_packet->ttl--; in batadv_add_bcast_packet_to_list()855 struct batadv_bcast_packet *bcast_packet; in batadv_send_outstanding_bcast_packet() local881 bcast_packet = (struct batadv_bcast_packet *)forw_packet->skb->data; in batadv_send_outstanding_bcast_packet()902 ret = batadv_hardif_no_broadcast(hard_iface, bcast_packet->orig, in batadv_send_outstanding_bcast_packet()923 bcast_packet->orig, in batadv_send_outstanding_bcast_packet()
186 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; 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()
1192 struct batadv_bcast_packet *bcast_packet; in batadv_recv_bcast_packet() local1194 int hdr_size = sizeof(*bcast_packet); in batadv_recv_bcast_packet()1217 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_recv_bcast_packet()1220 if (batadv_is_my_mac(bat_priv, bcast_packet->orig)) in batadv_recv_bcast_packet()1223 if (bcast_packet->ttl < 2) in batadv_recv_bcast_packet()1226 orig_node = batadv_orig_hash_find(bat_priv, bcast_packet->orig); in batadv_recv_bcast_packet()1233 seqno = ntohl(bcast_packet->seqno); in batadv_recv_bcast_packet()
1709 struct batadv_bcast_packet *bcast_packet; in batadv_bla_check_bcast_duplist() local1712 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_bla_check_bcast_duplist()1713 payload_ptr = (u8 *)(bcast_packet + 1); in batadv_bla_check_bcast_duplist()1716 bcast_packet->orig); in batadv_bla_check_bcast_duplist()