Skip to content

no-pad: add toplevel -p option to disable frame padding#13

Open
jeso-mchp wants to merge 1 commit intomasterfrom
master.add-no-pad-option
Open

no-pad: add toplevel -p option to disable frame padding#13
jeso-mchp wants to merge 1 commit intomasterfrom
master.add-no-pad-option

Conversation

@jeso-mchp
Copy link
Copy Markdown
Contributor

This enables sending runt frames. This is useful for testing on NPI ports and frame injection where IFH is prepended, so the wire length is above 60 bytes, while the frame data may be below.

This enables sending runt frames. This is useful for testing on NPI
ports and frame injection where IFH is prepended, so the wire length is
above 60 bytes, while the frame data may be below.
@jeso-mchp jeso-mchp requested review from igudich April 9, 2026 10:47
Comment on lines +233 to +235
NoPadGuard *gp = &g;
(void)gp; // suppress unused warning
NO_PAD = 0;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't get that. Why to use the guard at all? What does this pointer do? Some trick here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants