func (ti *testInterface) setBroadcast(suffix int) error { … } func (ti *testInterface) setLinkLocal(suffix int) error { … } func (ti *testInterface) setPointToPoint(suffix int) error { … } const numOfTestIPv4MCAddrs … const numOfTestIPv6MCAddrs … var igmpInterfaceTable … var igmp6InterfaceTable … func TestParseProcNet(t *testing.T) { … }