Lines Matching refs:strparser
4 Stream Parser (strparser)
10 The stream parser (strparser) is a utility that parses messages of an
17 The strparser works in one of two modes: receive callback or general
20 In receive callback mode, the strparser is called from the data_ready
24 In general mode, a sequence of skbs are fed to strparser from an
26 processed. This modes allows strparser to be applied to arbitrary
43 strp_init(struct strparser *strp, struct sock *sk,
47 strparser that is allocated by the upper layer. sk is the TCP
54 void strp_pause(struct strparser *strp)
61 void strp_unpause(struct strparser *strp)
67 void strp_stop(struct strparser *strp);
76 void strp_done(struct strparser *strp);
84 int strp_process(struct strparser *strp, struct sk_buff *orig_skb,
96 void strp_data_ready(struct strparser *strp);
99 the lower socket for strparser to process. This should be called
106 void strp_check_rcv(struct strparser *strp);
119 int (*parse_msg)(struct strparser *strp, struct sk_buff *skb);
152 void (*lock)(struct strparser *strp)
155 the strparser is performing an asynchronous operation (such as
162 void (*unlock)(struct strparser *strp)
171 void (*rcv_msg)(struct strparser *strp, struct sk_buff *skb);
183 then full_len since strparser does not trim the skb.
187 int (*read_sock_done)(struct strparser *strp, int err);
197 void (*abort_parser)(struct strparser *strp, int err);