Lines Matching refs:strparser
1 Stream Parser (strparser)
6 The stream parser (strparser) is a utility that parses messages of an
13 The strparser works in one of two modes: receive callback or general
16 In receive callback mode, the strparser is called from the data_ready
20 In general mode, a sequence of skbs are fed to strparser from an
22 processed. This modes allows strparser to be applied to arbitrary
37 strp_init(struct strparser *strp, struct sock *sk,
41 strparser that is allocated by the upper layer. sk is the TCP
46 void strp_pause(struct strparser *strp)
51 void strp_unpause(struct strparser *strp)
55 void strp_stop(struct strparser *strp);
62 void strp_done(struct strparser *strp);
68 int strp_process(struct strparser *strp, struct sk_buff *orig_skb,
78 void strp_data_ready(struct strparser *strp);
81 the lower socket for strparser to process. This should be called
86 void strp_check_rcv(struct strparser *strp);
97 int (*parse_msg)(struct strparser *strp, struct sk_buff *skb);
126 void (*lock)(struct strparser *strp)
129 the strparser is performing an asynchronous operation (such as
134 void (*unlock)(struct strparser *strp)
141 void (*rcv_msg)(struct strparser *strp, struct sk_buff *skb);
153 then full_len since strparser does not trim the skb.
155 int (*read_sock_done)(struct strparser *strp, int err);
163 void (*abort_parser)(struct strparser *strp, int err);