• Mikio Hara's avatar
    x/net/ipv4: add support for source-specific multicast · a33e90a7
    Mikio Hara authored
    This CL introduces methods for the manipulation of source-specifc
    group into both PacketConn and RawConn 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#8266.
    
    LGTM=iant
    R=iant
    CC=golang-codereviews
    https://golang.org/cl/174030043
    a33e90a7
dgramopt_stub.go 1.39 KB