summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2021-02-17 18:22:27 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-17 18:24:34 -0800
commit1fc2c5f750bc90d75a3ac19fc95145a748a3811f (patch)
treeaf4b2ba7a72f7bfc5d05acc0868093aea4d2bf81 /pkg/tcpip
parentf051ec64639b83faabcfe766ff078072def3c2aa (diff)
Move Name() out of netstack Matcher. It can live in the sentry.
PiperOrigin-RevId: 358078157
Diffstat (limited to 'pkg/tcpip')
-rw-r--r--pkg/tcpip/stack/iptables_types.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/tcpip/stack/iptables_types.go b/pkg/tcpip/stack/iptables_types.go
index fd9d61e39..b0d84befb 100644
--- a/pkg/tcpip/stack/iptables_types.go
+++ b/pkg/tcpip/stack/iptables_types.go
@@ -332,9 +332,6 @@ func filterAddress(addr, mask, filterAddr tcpip.Address, invert bool) bool {
// A Matcher is the interface for matching packets.
type Matcher interface {
- // Name returns the name of the Matcher.
- Name() string
-
// Match returns whether the packet matches and whether the packet
// should be "hotdropped", i.e. dropped immediately. This is usually
// used for suspicious packets.