Skip to content

Expose some of ETH_P_* consts to ease raw socket creation #95389

Closed
@noamcohen97

Description

@noamcohen97

Feature or enhancement

Expose some of ETH_P_* consts to ease raw socket creation

Pitch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions