Skip to content
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

patch #10345: Implement IPv6 socket options #22

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Commits on Oct 4, 2023

  1. Implement IPV6_UNICAST_HOPS socket option

    Implements the IPV6_UNICAST_HOPS socket option, which sets
    the hop limit for outgoing unicast IPv6 packets.
    
    Based on work from https://savannah.nongnu.org/patch/?9554
    
    Co-authored-by: Christina Schoenrogge <[email protected]>
    Co-authored-by: Chee Bin Hoh <[email protected]>
    Co-authored-by: hanhui <[email protected]>
    4 people committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    64b758d View commit details
    Browse the repository at this point in the history
  2. Implement IPV6_MULTICAST_IF socket option

    Implements the IPV6_MULTICAST_IF socket option, which
    specifies the interface for outgoing multicast packets.
    
    Based on work from https://savannah.nongnu.org/patch/?9554
    
    Co-authored-by: Christina Schoenrogge <[email protected]>
    Co-authored-by: Chee Bin Hoh <[email protected]>
    Co-authored-by: hanhui <[email protected]>
    4 people committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    d96a90a View commit details
    Browse the repository at this point in the history
  3. Use macro to test netconn_type

    Changes two IPv4 multicast socket options to use the
    LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE macro.
    nkarstens committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    e27013a View commit details
    Browse the repository at this point in the history
  4. Implement IPV6_MULTICAST_HOPS socket option

    Implements the IPV6_MULTICAST_HOPS socket option, which sets
    the hop limit for outgoing multicast packets.
    
    Also fixes debug message in getsockopt for IP_MULTICAST_TTL.
    
    Based on work from https://savannah.nongnu.org/patch/?9554
    
    Co-authored-by: Christina Schoenrogge <[email protected]>
    Co-authored-by: Chee Bin Hoh <[email protected]>
    Co-authored-by: hanhui <[email protected]>
    4 people committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    545a57c View commit details
    Browse the repository at this point in the history
  5. Improve getsockopt for IP_MULTICAST_LOOP

    Changes getsockopt handling for IP_MULTICAST_LOOP to
    test for UDP and use macro. Also fixes debug message.
    nkarstens committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    64cd258 View commit details
    Browse the repository at this point in the history
  6. Implement IPV6_MULTICAST_LOOP socket option

    Implements the IPV6_MULTICAST_LOOP socket option, which controls
    if a copy of the packet is looped back for local delivery.
    nkarstens committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    1478098 View commit details
    Browse the repository at this point in the history
  7. Use macros in setsockopt handling of IP_PKTINFO

    Changes setsockopt handling of IP_PKTINFO to use the provided macros.
    nkarstens committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    4dd7e9f View commit details
    Browse the repository at this point in the history
  8. Implement IPV6_RECVPKTINFO socket option

    Implements the IPV6_RECVPKTINFO socket option for receiving ancillary
    data about an IPv6 packet.
    
    Also fixes an issue where the interface index was not being copied
    and updates IP_PKTINFO flag to use netconn flags macros.
    
    Based on work from https://savannah.nongnu.org/patch/?9554
    
    Co-authored-by: Christina Schoenrogge <[email protected]>
    Co-authored-by: Joseph Huang <[email protected]>
    Co-authored-by: Chee Bin Hoh <[email protected]>
    Co-authored-by: hanhui <[email protected]>
    5 people committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    70a730d View commit details
    Browse the repository at this point in the history
  9. Render IPv6 addresses in lower case

    RFC5952 section 4.3 requires text representations
    of IPv6 addresses to use lower case.
    
    Co-authored-by: Chee Bin Hoh <[email protected]>
    nkarstens and cheebinhoh committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    c004029 View commit details
    Browse the repository at this point in the history
  10. Implement IPV6_RECVHOPLIMIT socket option

    Implements the IPV6_RECVHOPLIMIT socket option for receiving the hop
    limit in the IPv6 packet.
    
    Based on work from https://savannah.nongnu.org/patch/?9554
    
    Co-authored-by: Christina Schoenrogge <[email protected]>
    Co-authored-by: hanhui <[email protected]>
    3 people committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    ea53e5a View commit details
    Browse the repository at this point in the history