Skip to content

IPV6_RECVPKTINFO and IP_PKTINFO support #890

Closed
@mcginty

Description

@mcginty

This feature would include both new SockOpts and new ControlMessages to be used with sendmsg and recvmsg.

I have an unclean patch here: master...mcginty:ipv6-pktinfo, and will be happy to turn this into a nicer PR if the devs think it could get merged.

The only really gross part is that libc doesn't have the constants for IPV6_RECVPKTINFO or IP_PKTINFO, so I had to grab them out of the header files for macOS and Linux (the two platforms I tested on).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions