History

packet: Correct spelling in if_packet.h

Correct spelling in if_packet.h As reported by codespell.

Simon Horman committed 2 years ago

Commit d24dac81 parent 0de45db1 file · +4 −3Browse files

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

Unified · Split

include/uapi/linux/if_packet.h+4−3
@@ -230,8 +230,8 @@ struct tpacket_hdr_v1 { · 229 unmodified lines
230230 * ts_first_pkt:
231231 * Is always the time-stamp when the block was opened.
232232 * Case a) ZERO packets
233− * No packets to deal with but atleast you know the
234− * time-interval of this block.
233+ * No packets to deal with but at least you know
234+ * the time-interval of this block.
235235 * Case b) Non-zero packets
236236 * Use the ts of the first packet in the block.
237237 *
@@ -265,7 +265,8 @@ enum tpacket_versions { · 27 unmodified lines
265265 - struct tpacket_hdr
266266 - pad to TPACKET_ALIGNMENT=16
267267 - struct sockaddr_ll
268− - Gap, chosen so that packet data (Start+tp_net) alignes to TPACKET_ALIGNMENT=16
268+ - Gap, chosen so that packet data (Start+tp_net) aligns to
269+ TPACKET_ALIGNMENT=16
269270 - Start+tp_mac: [ Optional MAC header ]
270271 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.
271272 - Pad to align to TPACKET_ALIGNMENT=16