History

Merge tag 'batadv-next-for-davem-20200630' of git://git.open-mesh.org/linux-merge

Simon Wunderlich says: ==================== This feature/cleanup patchset includes the following patches: - bump version strings, by Simon Wunderlich - update mailing list URL, by Sven Eckelmann - fix typos and grammar in documentation, by Sven Eckelmann - introduce a configurable per interface hop penalty, by Linus Luessing ====================

David S. Miller committed 6 years ago

Commit d9b8b982 parents 65951a9 3bda14d24 files · +156 −128Browse files

Showing the changes to include/uapi/linux (2 of 24 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/batadv_packet.h +25 −25
  2. include/uapi/linux/batman_adv.h +4 −3
include/uapi/linux/batadv_packet.h+25−25
@@ -72,8 +72,8 @@ enum batadv_subtype { · 71 unmodified lines
7272
7373 /**
7474 * enum batadv_iv_flags - flags used in B.A.T.M.A.N. IV OGM packets
75− * @BATADV_NOT_BEST_NEXT_HOP: flag is set when ogm packet is forwarded and was
76− * previously received from someone else than the best neighbor.
75+ * @BATADV_NOT_BEST_NEXT_HOP: flag is set when the ogm packet is forwarded and
76+ * was previously received from someone other than the best neighbor.
7777 * @BATADV_PRIMARIES_FIRST_HOP: flag unused.
7878 * @BATADV_DIRECTLINK: flag is for the first hop or if rebroadcasted from a
7979 * one hop neighbor on the interface where it was originally received.
@@ -195,8 +195,8 @@ struct batadv_bla_claim_dst { · 115 unmodified lines
195195 /**
196196 * struct batadv_ogm_packet - ogm (routing protocol) packet
197197 * @packet_type: batman-adv packet type, part of the general header
198− * @version: batman-adv protocol version, part of the genereal header
199− * @ttl: time to live for this packet, part of the genereal header
198+ * @version: batman-adv protocol version, part of the general header
199+ * @ttl: time to live for this packet, part of the general header
200200 * @flags: contains routing relevant flags - see enum batadv_iv_flags
201201 * @seqno: sequence identification
202202 * @orig: address of the source node
@@ -247,7 +247,7 @@ struct batadv_ogm2_packet { · 44 unmodified lines
247247 /**
248248 * struct batadv_elp_packet - elp (neighbor discovery) packet
249249 * @packet_type: batman-adv packet type, part of the general header
250− * @version: batman-adv protocol version, part of the genereal header
250+ * @version: batman-adv protocol version, part of the general header
251251 * @orig: originator mac address
252252 * @seqno: sequence number
253253 * @elp_interval: currently used ELP sending interval in ms
@@ -265,15 +265,15 @@ struct batadv_elp_packet { · 11 unmodified lines
265265 /**
266266 * struct batadv_icmp_header - common members among all the ICMP packets
267267 * @packet_type: batman-adv packet type, part of the general header
268− * @version: batman-adv protocol version, part of the genereal header
269− * @ttl: time to live for this packet, part of the genereal header
268+ * @version: batman-adv protocol version, part of the general header
269+ * @ttl: time to live for this packet, part of the general header
270270 * @msg_type: ICMP packet type
271271 * @dst: address of the destination node
272272 * @orig: address of the source node
273273 * @uid: local ICMP socket identifier
274274 * @align: not used - useful for alignment purposes only
275275 *
276− * This structure is used for ICMP packets parsing only and it is never sent
276+ * This structure is used for ICMP packet parsing only and it is never sent
277277 * over the wire. The alignment field at the end is there to ensure that
278278 * members are padded the same way as they are in real packets.
279279 */
@@ -291,8 +291,8 @@ struct batadv_icmp_header { · 11 unmodified lines
291291 /**
292292 * struct batadv_icmp_packet - ICMP packet
293293 * @packet_type: batman-adv packet type, part of the general header
294− * @version: batman-adv protocol version, part of the genereal header
295− * @ttl: time to live for this packet, part of the genereal header
294+ * @version: batman-adv protocol version, part of the general header
295+ * @ttl: time to live for this packet, part of the general header
296296 * @msg_type: ICMP packet type
297297 * @dst: address of the destination node
298298 * @orig: address of the source node
@@ -315,8 +315,8 @@ struct batadv_icmp_packet { · 16 unmodified lines
315315 /**
316316 * struct batadv_icmp_tp_packet - ICMP TP Meter packet
317317 * @packet_type: batman-adv packet type, part of the general header
318− * @version: batman-adv protocol version, part of the genereal header
319− * @ttl: time to live for this packet, part of the genereal header
318+ * @version: batman-adv protocol version, part of the general header
319+ * @ttl: time to live for this packet, part of the general header
320320 * @msg_type: ICMP packet type
321321 * @dst: address of the destination node
322322 * @orig: address of the source node
@@ -358,8 +358,8 @@ enum batadv_icmp_tp_subtype { · 35 unmodified lines
358358 /**
359359 * struct batadv_icmp_packet_rr - ICMP RouteRecord packet
360360 * @packet_type: batman-adv packet type, part of the general header
361− * @version: batman-adv protocol version, part of the genereal header
362− * @ttl: time to live for this packet, part of the genereal header
361+ * @version: batman-adv protocol version, part of the general header
362+ * @ttl: time to live for this packet, part of the general header
363363 * @msg_type: ICMP packet type
364364 * @dst: address of the destination node
365365 * @orig: address of the source node
@@ -397,8 +397,8 @@ struct batadv_icmp_packet_rr { · 31 unmodified lines
397397 /**
398398 * struct batadv_unicast_packet - unicast packet for network payload
399399 * @packet_type: batman-adv packet type, part of the general header
400− * @version: batman-adv protocol version, part of the genereal header
401− * @ttl: time to live for this packet, part of the genereal header
400+ * @version: batman-adv protocol version, part of the general header
401+ * @ttl: time to live for this packet, part of the general header
402402 * @ttvn: translation table version number
403403 * @dest: originator destination of the unicast packet
404404 */
@@ -433,8 +433,8 @@ struct batadv_unicast_4addr_packet { · 28 unmodified lines
433433 /**
434434 * struct batadv_frag_packet - fragmented packet
435435 * @packet_type: batman-adv packet type, part of the general header
436− * @version: batman-adv protocol version, part of the genereal header
437− * @ttl: time to live for this packet, part of the genereal header
436+ * @version: batman-adv protocol version, part of the general header
437+ * @ttl: time to live for this packet, part of the general header
438438 * @dest: final destination used when routing fragments
439439 * @orig: originator of the fragment used when merging the packet
440440 * @no: fragment number within this sequence
@@ -467,8 +467,8 @@ struct batadv_frag_packet { · 26 unmodified lines
467467 /**
468468 * struct batadv_bcast_packet - broadcast packet for network payload
469469 * @packet_type: batman-adv packet type, part of the general header
470− * @version: batman-adv protocol version, part of the genereal header
471− * @ttl: time to live for this packet, part of the genereal header
470+ * @version: batman-adv protocol version, part of the general header
471+ * @ttl: time to live for this packet, part of the general header
472472 * @reserved: reserved byte for alignment
473473 * @seqno: sequence identification
474474 * @orig: originator of the broadcast packet
@@ -488,10 +488,10 @@ struct batadv_bcast_packet { · 13 unmodified lines
488488 /**
489489 * struct batadv_coded_packet - network coded packet
490490 * @packet_type: batman-adv packet type, part of the general header
491− * @version: batman-adv protocol version, part of the genereal header
492− * @ttl: time to live for this packet, part of the genereal header
491+ * @version: batman-adv protocol version, part of the general header
492+ * @ttl: time to live for this packet, part of the general header
493493 * @first_source: original source of first included packet
494− * @first_orig_dest: original destinal of first included packet
494+ * @first_orig_dest: original destination of first included packet
495495 * @first_crc: checksum of first included packet
496496 * @first_ttvn: tt-version number of first included packet
497497 * @second_ttl: ttl of second packet
@@ -523,8 +523,8 @@ struct batadv_coded_packet { · 25 unmodified lines
523523 /**
524524 * struct batadv_unicast_tvlv_packet - generic unicast packet with tvlv payload
525525 * @packet_type: batman-adv packet type, part of the general header
526− * @version: batman-adv protocol version, part of the genereal header
527− * @ttl: time to live for this packet, part of the genereal header
526+ * @version: batman-adv protocol version, part of the general header
527+ * @ttl: time to live for this packet, part of the general header
528528 * @reserved: reserved field (for packet alignment)
529529 * @src: address of the source
530530 * @dst: address of the destination
include/uapi/linux/batman_adv.h+4−3
@@ -69,7 +69,7 @@ enum batadv_tt_client_flags { · 68 unmodified lines
6969
7070 /**
7171 * @BATADV_TT_CLIENT_TEMP: this global client has been detected to be
72− * part of the network but no nnode has already announced it
72+ * part of the network but no node has already announced it
7373 */
7474 BATADV_TT_CLIENT_TEMP = (1 << 11),
7575 };
@@ -131,7 +131,7 @@ enum batadv_gw_modes { · 55 unmodified lines
131131 /** @BATADV_GW_MODE_CLIENT: send DHCP requests to gw servers */
132132 BATADV_GW_MODE_CLIENT,
133133
134− /** @BATADV_GW_MODE_SERVER: announce itself as gatway server */
134+ /** @BATADV_GW_MODE_SERVER: announce itself as gateway server */
135135 BATADV_GW_MODE_SERVER,
136136 };
137137
@@ -427,7 +427,8 @@ enum batadv_nl_attrs { · 289 unmodified lines
427427
428428 /**
429429 * @BATADV_ATTR_HOP_PENALTY: defines the penalty which will be applied
430− * to an originator message's tq-field on every hop.
430+ * to an originator message's tq-field on every hop and/or per
431+ * hard interface
431432 */
432433 BATADV_ATTR_HOP_PENALTY,
433434