Lines Matching +full:layer +full:- +full:buffer +full:- +full:offset
1 .. SPDX-License-Identifier: GPL-2.0
11 application layer protocol running over a data stream. The stream
12 parser works in conjunction with an upper layer in the kernel to provide
13 kernel support for application layer messages. For instance, Kernel
47 strparser that is allocated by the upper layer. sk is the TCP
57 and no new messages are delivered to the upper layer.
71 error, and it is called from the upper layer to stop parsing
98 The upper layer calls strp_tcp_data_ready when data is ready on
102 buffer and message timeout is the receive timeout for the socket.
122 in the stream. The upper layer must implement this function. It
124 next application layer message in the stream.
126 The skb->cb in the input skb is a struct strp_msg. Only
127 the offset field is relevant in parse_msg and gives the offset
135 -ESTRPIPE current message should not be processed by the
146 -ESTRPIPE and the stream parser had previously read some bytes for
179 The skb->cb in the input skb is a struct strp_msg. This
180 struct contains two fields: offset and full_len. Offset is
182 the length of the message. skb->len - offset may be greater
191 sock->ops->read_sock, if provided.
210 to non-NULL in strp_init.
235 buffer size of the associated TCP socket. If the length returned by
236 parse_msg is greater than the socket buffer size then the stream parser