Searched refs:strparser (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/include/net/ |
D | strparser.h | 43 struct strparser; 47 int (*parse_msg)(struct strparser *strp, struct sk_buff *skb); 48 void (*rcv_msg)(struct strparser *strp, struct sk_buff *skb); 49 int (*read_sock_done)(struct strparser *strp, int err); 50 void (*abort_parser)(struct strparser *strp, int err); 51 void (*lock)(struct strparser *strp); 52 void (*unlock)(struct strparser *strp); 67 struct strparser { struct 86 static inline void strp_pause(struct strparser *strp) in strp_pause() argument 92 void strp_unpause(struct strparser *strp); [all …]
|
D | kcm.h | 94 struct strparser strp;
|
D | tls.h | 120 struct strparser strp;
|
/Linux-v4.19/net/strparser/ |
D | strparser.c | 47 static void strp_abort_strp(struct strparser *strp, int err) in strp_abort_strp() 67 static void strp_start_timer(struct strparser *strp, long timeo) in strp_start_timer() 74 static void strp_parser_err(struct strparser *strp, int err, in strp_parser_err() 83 static inline int strp_peek_len(struct strparser *strp) in strp_peek_len() 103 struct strparser *strp = (struct strparser *)desc->arg.data; in __strp_recv() 333 int strp_process(struct strparser *strp, struct sk_buff *orig_skb, in strp_process() 349 struct strparser *strp = (struct strparser *)desc->arg.data; in strp_recv() 355 static int default_read_sock_done(struct strparser *strp, int err) in default_read_sock_done() 361 static int strp_read_sock(struct strparser *strp) in strp_read_sock() 382 void strp_data_ready(struct strparser *strp) in strp_data_ready() [all …]
|
D | Makefile | 1 obj-$(CONFIG_STREAM_PARSER) += strparser.o
|
/Linux-v4.19/Documentation/networking/ |
D | strparser.txt | 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) [all …]
|
/Linux-v4.19/net/ |
D | Makefile | 39 obj-$(CONFIG_STREAM_PARSER) += strparser/
|
D | Kconfig | 362 source "net/strparser/Kconfig"
|
/Linux-v4.19/kernel/bpf/ |
D | sockmap.c | 120 struct strparser strp; 1360 static void smap_read_sock_strparser(struct strparser *strp, in smap_read_sock_strparser() 1506 static int smap_parse_func_strparser(struct strparser *strp, in smap_parse_func_strparser() 1537 static int smap_read_sock_done(struct strparser *strp, int err) in smap_read_sock_done()
|
/Linux-v4.19/net/kcm/ |
D | kcmsock.c | 359 static void kcm_rcv_strparser(struct strparser *strp, struct sk_buff *skb) in kcm_rcv_strparser() 380 static int kcm_parse_func_strparser(struct strparser *strp, struct sk_buff *skb) in kcm_parse_func_strparser() 388 static int kcm_read_sock_done(struct strparser *strp, int err) in kcm_read_sock_done()
|
/Linux-v4.19/net/tls/ |
D | tls_sw.c | 1025 static int tls_read_size(struct strparser *strp, struct sk_buff *skb) in tls_read_size() 1084 static void tls_queue(struct strparser *strp, struct sk_buff *skb) in tls_queue()
|