-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Expose some of ETH_P_* consts to ease raw socket creation #95389
Comments
It would help us understand your cause if you could provide real-world examples for each of the constants. How are they used? |
As stated in manpage packet(7), in the |
Is running |
|
…95390) Co-authored-by: Erlend E. Aasland <[email protected]> Co-authored-by: CAM Gerlach <[email protected]>
Feature or enhancement
Expose some of
ETH_P_*
consts to ease raw socket creationPitch
Creating a raw socket requires setting protocol to one of the
ETH_P_*
constants, which are not exposed by the socket module as for now.I suggest we expose some of those values in the
socket
module.The text was updated successfully, but these errors were encountered: