Home
last modified time | relevance | path

Searched refs:frag_header (Results 1 – 1 of 1) sorted by relevance

/linux/net/batman-adv/
H A Dfragmentation.c440 struct batadv_frag_packet frag_header; in batadv_frag_send_packet() local
443 unsigned int header_size = sizeof(frag_header); in batadv_frag_send_packet()
484 frag_header.packet_type = BATADV_UNICAST_FRAG; in batadv_frag_send_packet()
485 frag_header.version = BATADV_COMPAT_VERSION; in batadv_frag_send_packet()
486 frag_header.ttl = BATADV_TTL; in batadv_frag_send_packet()
487 frag_header.seqno = htons(atomic_inc_return(&bat_priv->frag_seqno)); in batadv_frag_send_packet()
488 frag_header.reserved = 0; in batadv_frag_send_packet()
489 frag_header.no = 0; in batadv_frag_send_packet()
490 frag_header.total_size = htons(skb->len); in batadv_frag_send_packet()
498 frag_header.priority = skb->priority - 256; in batadv_frag_send_packet()
[all …]