Lines Matching refs:parser

6 The stream parser (strparser) is a utility that parses messages of an
8 parser works in conjunction with an upper layer in the kernel to provide
40 Called to initialize a stream parser. strp is a struct of type
42 socket associated with the stream parser for use with receive
44 are called by the stream parser (the callbacks are listed below).
48 Temporarily pause a stream parser. Message parsing is suspended
53 Unpause a paused stream parser.
57 strp_stop is called to completely stop stream parser operations.
58 This is called internally when the stream parser encounters an
65 parser instance. This must be called after the stream processor
72 strp_process is called in general mode for a stream parser to
76 parser will parse. timeo is timeout for completing a message.
89 This is normally called at initialization of a stream parser
120 zero) and the parser is in receive callback mode, then it will set
122 -ESTRPIPE and the stream parser had previously read some bytes for
157 read_sock_done is called when the stream parser is done reading
158 the TCP socket in receive callback mode. The stream parser may
165 This function is called when stream parser encounters an error
166 in parsing. The default function stops the stream parser and
167 sets the error in the socket if the parser is in receive callback
174 Various counters are kept for each stream parser instance. These are in
176 accumulating statistics for multiple stream parser instances.
183 The stream parser provide mechanisms to limit the resources consumed by
190 the stream parser is aborted and the ETIMEDOUT error is set on the TCP
195 parse_msg is greater than the socket buffer size then the stream parser
198 parser to be 2*sk_rcvbuf of the TCP socket.