frag_header 444 net/batman-adv/fragmentation.c struct batadv_frag_packet frag_header; frag_header 447 net/batman-adv/fragmentation.c unsigned int header_size = sizeof(frag_header); frag_header 477 net/batman-adv/fragmentation.c frag_header.packet_type = BATADV_UNICAST_FRAG; frag_header 478 net/batman-adv/fragmentation.c frag_header.version = BATADV_COMPAT_VERSION; frag_header 479 net/batman-adv/fragmentation.c frag_header.ttl = BATADV_TTL; frag_header 480 net/batman-adv/fragmentation.c frag_header.seqno = htons(atomic_inc_return(&bat_priv->frag_seqno)); frag_header 481 net/batman-adv/fragmentation.c frag_header.reserved = 0; frag_header 482 net/batman-adv/fragmentation.c frag_header.no = 0; frag_header 483 net/batman-adv/fragmentation.c frag_header.total_size = htons(skb->len); frag_header 491 net/batman-adv/fragmentation.c frag_header.priority = skb->priority - 256; frag_header 493 net/batman-adv/fragmentation.c frag_header.priority = 0; frag_header 495 net/batman-adv/fragmentation.c ether_addr_copy(frag_header.orig, primary_if->net_dev->dev_addr); frag_header 496 net/batman-adv/fragmentation.c ether_addr_copy(frag_header.dest, orig_node->orig); frag_header 501 net/batman-adv/fragmentation.c if (unlikely(frag_header.no == BATADV_FRAG_MAX_FRAGMENTS - 1)) { frag_header 506 net/batman-adv/fragmentation.c skb_fragment = batadv_frag_create(skb, &frag_header, frag_header 522 net/batman-adv/fragmentation.c frag_header.no++; frag_header 532 net/batman-adv/fragmentation.c memcpy(skb->data, &frag_header, header_size);