Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + func CheckIGMPv2Stats(t *testing.T, s *stack.Stack, reports, leaves, reportsV2 uint64) + func CheckIGMPv3Stats(t *testing.T, s *stack.Stack, reports, leaves, reportsV2 uint64) + func CheckMLDv1Stats(t *testing.T, s *stack.Stack, reports, leaves, reportsV2 uint64) + func CheckMLDv2Stats(t *testing.T, s *stack.Stack, reports, leaves, reportsV2 uint64) + func MakeRandPkt(transportHeaderLength int, extraHeaderReserveLength int, viewSizes []int, ...) *stack.PacketBuffer + func ValidMultipleIGMPv2ReportLeaves(t *testing.T, e *channel.Endpoint, srcAddr tcpip.Address, ...) + func ValidMultipleMLDv1ReportLeaves(t *testing.T, e *channel.Endpoint, srcAddr tcpip.Address, ...) + func ValidateIGMPv3RecordsAcrossReports(t *testing.T, e *channel.Endpoint, srcAddr tcpip.Address, ...) + func ValidateIGMPv3Report(t *testing.T, v *buffer.View, srcAddr tcpip.Address, addrs []tcpip.Address, ...) + func ValidateIGMPv3ReportWithRecords(t *testing.T, v *buffer.View, srcAddr tcpip.Address, ...) + func ValidateMLDv2RecordsAcrossReports(t *testing.T, e *channel.Endpoint, srcAddr tcpip.Address, ...) + func ValidateMLDv2Report(t *testing.T, v *buffer.View, srcAddr tcpip.Address, addrs []tcpip.Address, ...) + func ValidateMLDv2ReportWithRecords(t *testing.T, v *buffer.View, srcAddr tcpip.Address, ...) + type MockLinkEndpoint struct + WrittenPackets []*stack.PacketBuffer + func NewMockLinkEndpoint(mtu uint32, err tcpip.Error, allowPackets int) *MockLinkEndpoint + func (*MockLinkEndpoint) ARPHardwareType() header.ARPHardwareType + func (*MockLinkEndpoint) AddHeader(*stack.PacketBuffer) + func (*MockLinkEndpoint) Attach(stack.NetworkDispatcher) + func (*MockLinkEndpoint) Capabilities() stack.LinkEndpointCapabilities + func (*MockLinkEndpoint) IsAttached() bool + func (*MockLinkEndpoint) LinkAddress() tcpip.LinkAddress + func (*MockLinkEndpoint) MaxHeaderLength() uint16 + func (*MockLinkEndpoint) ParseHeader(*stack.PacketBuffer) bool + func (*MockLinkEndpoint) Wait() + func (ep *MockLinkEndpoint) Close() + func (ep *MockLinkEndpoint) MTU() uint32 + func (ep *MockLinkEndpoint) WritePackets(pkts stack.PacketBufferList) (int, tcpip.Error)