Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

packet: Correct spelling in if_packet.h

Correct spelling in if_packet.h
As reported by codespell.

Signed-off-by: Simon Horman <horms@kernel.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20240822-net-spell-v1-1-3a98971ce2d2@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Simon Horman and committed by
Jakub Kicinski
d24dac8e 0de45db8

+4 -3
+4 -3
include/uapi/linux/if_packet.h
··· 230 230 * ts_first_pkt: 231 231 * Is always the time-stamp when the block was opened. 232 232 * 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. 235 235 * Case b) Non-zero packets 236 236 * Use the ts of the first packet in the block. 237 237 * ··· 265 265 - struct tpacket_hdr 266 266 - pad to TPACKET_ALIGNMENT=16 267 267 - 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 269 270 - Start+tp_mac: [ Optional MAC header ] 270 271 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16. 271 272 - Pad to align to TPACKET_ALIGNMENT=16