Re: [PATCH net-next 1/3] strparser: Stream parser for messages

2016-07-28 Thread David Ahern
On 7/27/16 3:03 PM, Tom Herbert wrote: diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c new file mode 100644 index 000..d7aec13 --- /dev/null +++ b/net/strparser/strparser.c @@ -0,0 +1,492 @@ missing copyright header? +#include +#include +#include +#include +#include

[PATCH net-next 1/3] strparser: Stream parser for messages

2016-07-27 Thread Tom Herbert
This patch introduces a utility for parsing application layer protocol messages in a TCP stream. This is a generalization of the mechanism implemented of Kernel Connection Multiplexor. The API includes a context structure, a set of callbacks, utility functions, and a data ready function. A stream