Content-Length: 261421 | pFad | https://github.com/python/cpython/issues/95389

59 Expose some of ETH_P_* consts to ease raw socket creation · Issue #95389 · python/cpython · GitHub
Skip to content

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

@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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/95389

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy