summaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp_error.def
diff options
context:
space:
mode:
authorPierre Pfister <ppfister@cisco.com>2017-09-20 08:48:36 +0200
committerDave Wallace <dwallacelf@gmail.com>2017-09-20 13:43:36 +0000
commit7fe51f3e3e80ed6ffe989df1c6963527166afc25 (patch)
tree4b007227cfb4949066901cbaca6a1158e235303a /src/vnet/tcp/tcp_error.def
parent440751b91804947a7c9b533570531cac79629016 (diff)
tcp: add option to punt traffic
Until now, if the stack didn't find a connection for a packet, it sent back a reset. With the punt option enabled, packets are now enqueued to error-punt where they can be handed off to the host os. Change-Id: I12dea8694b8bd24c92b0d601412928aa7b8046cb Signed-off-by: Florin Coras <fcoras@cisco.com> Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'src/vnet/tcp/tcp_error.def')
-rw-r--r--src/vnet/tcp/tcp_error.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_error.def b/src/vnet/tcp/tcp_error.def
index 08922315c99..a179717ff13 100644
--- a/src/vnet/tcp/tcp_error.def
+++ b/src/vnet/tcp/tcp_error.def
@@ -39,4 +39,5 @@ tcp_error (RST_SENT, "Resets sent")
tcp_error (INVALID_CONNECTION, "Invalid connection")
tcp_error (NO_WND, "No window")
tcp_error (CONNECTION_CLOSED, "Connection closed")
-tcp_error (CREATE_EXISTS, "Connection already exists") \ No newline at end of file
+tcp_error (CREATE_EXISTS, "Connection already exists")
+tcp_error (PUNT, "Packets punted") \ No newline at end of file