New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional Linux AF_PACKET options (libc 0.2) #3540
base: libc-0.2
Are you sure you want to change the base?
Conversation
r? @JohnTitor (rustbot has picked a reviewer for you, use r? to override) |
375d15a
to
c7a3466
Compare
Sorry but could you add cfgs here? 0.2's MSRV is 1.13 and we need to add them, see https://github.com/rust-lang/libc/tree/libc-0.2#rust-version-support. |
c7a3466
to
37539c6
Compare
Added cfgs for union types in latest force-push |
CI fails, seems you also need |
37539c6
to
3f3b9b6
Compare
Added libc_align cfg to any structs that use |
d48b986
to
d0e72e9
Compare
8b168d1
to
e5e8b78
Compare
e5e8b78
to
a319b9e
Compare
Resolved other issues with |
} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems this diff is unintended.
a319b9e
to
0c21266
Compare
0c21266
to
74a8a3d
Compare
Removed the unintentional semicolon and rebased |
Added socket options, structs and other miscellaneous constants that make memory-mapped packet sockets possible in Linux--PACKET_TX_RING, PACKET_RX_RING, etc.
(adding this to libc 0.2 as 0.3 is in early development)