diff options
author | Adin Scannell <ascannell@google.com> | 2018-09-04 09:18:00 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-04 09:19:11 -0700 |
commit | c09f9acd7c7a2e85472b1ee47bf26f7c89ded43e (patch) | |
tree | 27965206558459ba7505053cbfe9fd3d0e7167fb /pkg/tcpip/transport/ping | |
parent | 66c03b3dd79c45014da19f36973a85290e9a4458 (diff) |
Distinguish Element and Linker for ilist.
Furthermore, allow for the specification of an ElementMapper. This allows a
single "Element" type to exist on multiple inline lists, and work without
having to embed the entry type.
This is a requisite change for supporting a per-Inode list of Dirents.
PiperOrigin-RevId: 211467497
Change-Id: If2768999b43e03fdaecf8ed15f435fe37518d163
Diffstat (limited to 'pkg/tcpip/transport/ping')
-rw-r--r-- | pkg/tcpip/transport/ping/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/ping/BUILD b/pkg/tcpip/transport/ping/BUILD index 117532fea..982b6795c 100644 --- a/pkg/tcpip/transport/ping/BUILD +++ b/pkg/tcpip/transport/ping/BUILD @@ -10,6 +10,7 @@ go_template_instance( prefix = "pingPacket", template = "//pkg/ilist:generic_list", types = { + "Element": "*pingPacket", "Linker": "*pingPacket", }, ) |