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
230 * ts_first_pkt:230 * ts_first_pkt:
231 * Is always the time-stamp when the block was opened.231 * Is always the time-stamp when the block was opened.
232 * Case a) ZERO packets232 * Case a) ZERO packets
233 * No packets to deal with but atleast you know the233 * No packets to deal with but at least you know
234 * time-interval of this block.234 * the time-interval of this block.
235 * Case b) Non-zero packets235 * Case b) Non-zero packets
236 * Use the ts of the first packet in the block.236 * Use the ts of the first packet in the block.
237 *237 *
@@ -265,7 +265,8 @@ enum tpacket_versions { · 27 unmodified lines
265 - struct tpacket_hdr265 - struct tpacket_hdr
266 - pad to TPACKET_ALIGNMENT=16266 - pad to TPACKET_ALIGNMENT=16
267 - struct sockaddr_ll267 - struct sockaddr_ll
268 - Gap, chosen so that packet data (Start+tp_net) alignes to TPACKET_ALIGNMENT=16268 - Gap, chosen so that packet data (Start+tp_net) aligns to
269 TPACKET_ALIGNMENT=16
269 - Start+tp_mac: [ Optional MAC header ]270 - Start+tp_mac: [ Optional MAC header ]
270 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.271 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.
271 - Pad to align to TPACKET_ALIGNMENT=16272 - Pad to align to TPACKET_ALIGNMENT=16