History

batman-adv: uapi: keep kernel-doc in struct member order

The order of the members of struct batadv_coded_packet and struct batadv_unicast_tvlv_packet didn't match the kernel doc. This is the case for all other structures and should also be done the same way for these two.

Sven Eckelmann committed 5 months ago

Commit f3ff3eb1 parent 219b4c41 file · +3 −3Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/batadv_packet.h+3−3
@@ -518,16 +518,16 @@ struct batadv_mcast_packet { · 517 unmodified lines
518 * @packet_type: batman-adv packet type, part of the general header518 * @packet_type: batman-adv packet type, part of the general header
519 * @version: batman-adv protocol version, part of the general header519 * @version: batman-adv protocol version, part of the general header
520 * @ttl: time to live for this packet, part of the general header520 * @ttl: time to live for this packet, part of the general header
521 * @first_ttvn: tt-version number of first included packet
521 * @first_source: original source of first included packet522 * @first_source: original source of first included packet
522 * @first_orig_dest: original destination of first included packet523 * @first_orig_dest: original destination of first included packet
523 * @first_crc: checksum of first included packet524 * @first_crc: checksum of first included packet
524 * @first_ttvn: tt-version number of first included packet
525 * @second_ttl: ttl of second packet525 * @second_ttl: ttl of second packet
526 * @second_ttvn: tt version number of second included packet
526 * @second_dest: second receiver of this coded packet527 * @second_dest: second receiver of this coded packet
527 * @second_source: original source of second included packet528 * @second_source: original source of second included packet
528 * @second_orig_dest: original destination of second included packet529 * @second_orig_dest: original destination of second included packet
529 * @second_crc: checksum of second included packet530 * @second_crc: checksum of second included packet
530 * @second_ttvn: tt version number of second included packet
531 * @coded_len: length of network coded part of the payload531 * @coded_len: length of network coded part of the payload
532 */532 */
533struct batadv_coded_packet {533struct batadv_coded_packet {
@@ -554,8 +554,8 @@ struct batadv_coded_packet { · 20 unmodified lines
554 * @version: batman-adv protocol version, part of the general header554 * @version: batman-adv protocol version, part of the general header
555 * @ttl: time to live for this packet, part of the general header555 * @ttl: time to live for this packet, part of the general header
556 * @reserved: reserved field (for packet alignment)556 * @reserved: reserved field (for packet alignment)
557 * @src: address of the source
558 * @dst: address of the destination557 * @dst: address of the destination
558 * @src: address of the source
559 * @tvlv_len: length of tvlv data following the unicast tvlv header559 * @tvlv_len: length of tvlv data following the unicast tvlv header
560 * @align: 2 bytes to align the header to a 4 byte boundary560 * @align: 2 bytes to align the header to a 4 byte boundary
561 */561 */