diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-09-01 17:09:49 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-01 17:12:24 -0700 |
commit | ae3bd32011889fe59bb89946532dd7ee14973696 (patch) | |
tree | aebfc760ab1ea6911d9376914e6551f1dfd6de27 /pkg/tcpip/transport/BUILD | |
parent | 5032f4f57d9d46a3dfebb50523907724713e0001 (diff) |
Extract network datagram endpoint common facilities
...from the UDP endpoint.
Datagram-based transport endpoints (e.g. UDP, RAW IP) can share a lot
of their write path due to the datagram-based nature of these endpoints.
Extract the common facilities from UDP so they can be shared with other
transport endpoints (in a later change).
Test: UDP syscall tests.
PiperOrigin-RevId: 394347774
Diffstat (limited to 'pkg/tcpip/transport/BUILD')
-rw-r--r-- | pkg/tcpip/transport/BUILD | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/BUILD b/pkg/tcpip/transport/BUILD new file mode 100644 index 000000000..af332ed91 --- /dev/null +++ b/pkg/tcpip/transport/BUILD @@ -0,0 +1,13 @@ +load("//tools:defs.bzl", "go_library") + +package(licenses = ["notice"]) + +go_library( + name = "transport", + srcs = [ + "datagram.go", + "transport.go", + ], + visibility = ["//visibility:public"], + deps = ["//pkg/tcpip"], +) |