• Mikio Hara's avatar
    x/net/ipv6: add support for source-specific multicast · 40ad15ca
    Mikio Hara authored
    This CL introduces methods for the manipulation of source-specifc
    group into PacketConn as follows:
    
    JoinSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error
    LeaveSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error
    ExcludeSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error
    IncludeSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error
    
    Fixes golang/go#8752.
    
    LGTM=iant
    R=iant
    CC=golang-codereviews
    https://golang.org/cl/169510043
    40ad15ca
multicast_test.go 6.83 KB