Correct spelling in if_packet.h As reported by codespell.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -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 packets | 232 | * Case a) ZERO packets |
| 233 | * No packets to deal with but atleast you know the | 233 | * 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 packets | 235 | * 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_hdr | 265 | - struct tpacket_hdr |
| 266 | - pad to TPACKET_ALIGNMENT=16 | 266 | - pad to TPACKET_ALIGNMENT=16 |
| 267 | - struct sockaddr_ll | 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 | - 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=16 | 272 | - Pad to align to TPACKET_ALIGNMENT=16 |