summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/raw
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2019-05-03 11:51:59 -0700
committerShentubot <shentubot@google.com>2019-05-03 11:52:59 -0700
commit0e1cc476dbc51646a1eed5f9de9319286c65fbf9 (patch)
tree4380f2753f7ef5ba0a29b46fc2c5378e33dfc16c /pkg/tcpip/transport/raw
parent4edd6f5ccfc5e48defae26145548b745903ca492 (diff)
Fix transport/raw copybara export
- include packet_list.go - exclude state.go (by renaming to include an underscore) Also rename raw.go to endpoint.go for consistency. PiperOrigin-RevId: 246547912 Change-Id: I19c8331c794ba683a940cc96a8be6497b53ff24d
Diffstat (limited to 'pkg/tcpip/transport/raw')
-rw-r--r--pkg/tcpip/transport/raw/BUILD4
-rw-r--r--pkg/tcpip/transport/raw/endpoint.go (renamed from pkg/tcpip/transport/raw/raw.go)0
-rw-r--r--pkg/tcpip/transport/raw/endpoint_state.go (renamed from pkg/tcpip/transport/raw/state.go)0
3 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/transport/raw/BUILD b/pkg/tcpip/transport/raw/BUILD
index 005079639..52f6b9759 100644
--- a/pkg/tcpip/transport/raw/BUILD
+++ b/pkg/tcpip/transport/raw/BUILD
@@ -18,9 +18,9 @@ go_template_instance(
go_library(
name = "raw",
srcs = [
+ "endpoint.go",
+ "endpoint_state.go",
"packet_list.go",
- "raw.go",
- "state.go",
],
importpath = "gvisor.googlesource.com/gvisor/pkg/tcpip/transport/raw",
imports = ["gvisor.googlesource.com/gvisor/pkg/tcpip/buffer"],
diff --git a/pkg/tcpip/transport/raw/raw.go b/pkg/tcpip/transport/raw/endpoint.go
index 7004c7ff4..7004c7ff4 100644
--- a/pkg/tcpip/transport/raw/raw.go
+++ b/pkg/tcpip/transport/raw/endpoint.go
diff --git a/pkg/tcpip/transport/raw/state.go b/pkg/tcpip/transport/raw/endpoint_state.go
index e8907ebb1..e8907ebb1 100644
--- a/pkg/tcpip/transport/raw/state.go
+++ b/pkg/tcpip/transport/raw/endpoint_state.go