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()
189 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; 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()
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()
1719 struct batadv_bcast_packet *bcast_packet; in batadv_bla_check_bcast_duplist() local1722 bcast_packet = (struct batadv_bcast_packet *)skb->data; in batadv_bla_check_bcast_duplist()1723 payload_ptr = (u8 *)(bcast_packet + 1); in batadv_bla_check_bcast_duplist()1726 bcast_packet->orig); in batadv_bla_check_bcast_duplist()