aboutsummaryrefslogtreecommitdiffstats
path: root/examples/l4fwd/netbe.h
diff options
context:
space:
mode:
authorKonstantin Ananyev <konstantin.ananyev@intel.com>2017-03-03 18:40:23 +0000
committerKonstantin Ananyev <konstantin.ananyev@intel.com>2017-03-06 15:06:38 +0000
commit21e7392fca2c430018cf387bb3e368ea4c665446 (patch)
tree82109e1b1af7aa3303d1f9b04c1d063aa3b14873 /examples/l4fwd/netbe.h
parent9cbfd751b210f03fdb2fcbf8cafe59b9db516295 (diff)
Rewrite accept() code-path and make l4fwd not to close() on FIN immediatelly.
Changes in public API: - removes tle_tcp_stream_synreqs() and tle_tcp_reject() - adds tle_tcp_stream_update_cfg Allocates and fills new stream when final ACK for 3-way handshake is received. Changes in l4fwd sample application: prevents l4fwd to call close() on error event immediately: first try to recv/send remaining data. Change-Id: I8c5b9d365353084083731a4ce582197a8268688f Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'examples/l4fwd/netbe.h')
-rw-r--r--examples/l4fwd/netbe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/l4fwd/netbe.h b/examples/l4fwd/netbe.h
index 6d25603..80d1c28 100644
--- a/examples/l4fwd/netbe.h
+++ b/examples/l4fwd/netbe.h
@@ -195,6 +195,7 @@ struct netfe_stream {
uint16_t proto;
uint16_t family;
uint16_t txlen;
+ uint16_t posterr; /* # of time error event handling was postponed */
struct {
uint64_t rxp;
uint64_t rxb;