func (c *dgramOpt) MulticastHopLimit() (int, error) {
	if !c.ok() {
		return 0, errInvalidConn
	}
	so, ok := sockOpts[ssoMulticastHopLimit]
	if !ok {
		return 0, errNotImplemented
	}
	return so.GetInt(c.Conn)
}
MulticastHopLimit returns the hop limit field value for outgoing
multicast packets.
package ipv6
import (
	"net"
	"golang.org/x/net/bpf"
)