summaryrefslogtreecommitdiffhomepage
path: root/test/util/platform_util.h
diff options
context:
space:
mode:
authorBruno Dal Bo <brunodalbo@google.com>2020-06-22 10:30:21 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-22 10:31:45 -0700
commit282a6aea1b375d447fdf502c6660e92eb5e19cd4 (patch)
tree3c90df2c74369144427c289b3e3b320956e7b52d /test/util/platform_util.h
parenta480b4faf4befb029bf905fdb604996c8312a6a2 (diff)
Extract common nested LinkEndpoint pattern
... and unify logic for detached netsted endpoints. sniffer.go caused crashes if a packet delivery is attempted when the dispatcher is nil. Extracted the endpoint nesting logic into a common composable type so it can be used by the Fuchsia Netstack (the pattern is widespread there). PiperOrigin-RevId: 317682842
Diffstat (limited to 'test/util/platform_util.h')
0 files changed, 0 insertions, 0 deletions