func (ms matches4) matchIPsOnly(q *packet.Parsed) bool {
	for _, m := range ms {
		if !ip4InList(q.SrcIP4, m.srcs) {
			continue
		}
		for _, dst := range m.dsts {
			if dst.net.Contains(q.DstIP4) {
				return true
			}
		}
	}
	return false
}
// matchIPsOnly returns whether q's source and destination IP match
// any of ms.
matchIPsOnly returns whether q's source and destination IP match
any of ms.
// matchIPsOnly returns whether q ' s source and destination IP match // any of ms .
func (ms matches4) matchIPsOnly(q *packet.Parsed) bool {
	for _, m := range ms {
		if !ip4InList(q.SrcIP4, m.srcs) {
			continue
		}
		for _, dst := range m.dsts {
			if dst.net.Contains(q.DstIP4) {
				return true
			}
		}
	}
	return false
}
func ( ms matches4 ) matchIPsOnly ( q * packet . Parsed ) bool { for _ , m := range ms { if ! ip4InList ( q . SrcIP4 , m . srcs ) { continue } for _ , dst := range m . dsts { if dst . net . Contains ( q . DstIP4 ) { return true } } } return false }
matchIPsOnly returns whether q's source and destination IP match
any of ms.
matchIPsOnly returns whether q ' s source and destination IP match any of ms .