Searched refs:strparser (Results 1 – 18 of 18) sorted by relevance
/linux/include/net/ |
H A D | strparser.h | 40 struct strparser; 44 int (*parse_msg)(struct strparser *strp, struct sk_buff *skb); 45 void (*rcv_msg)(struct strparser *strp, struct sk_buff *skb); 46 int (*read_sock)(struct strparser *strp, read_descriptor_t *desc, 48 int (*read_sock_done)(struct strparser *strp, int err); 49 void (*abort_parser)(struct strparser *strp, int err); 50 void (*lock)(struct strparser *strp); 51 void (*unlock)(struct strparser *strp); 91 struct strparser { struct 110 static inline void strp_pause(struct strparser *str argument [all...] |
H A D | espintcp.h | 5 #include <net/strparser.h> 22 struct strparser strp;
|
H A D | kcm.h | 91 struct strparser strp;
|
/linux/net/strparser/ |
H A D | strparser.c | 24 #include <net/strparser.h> 37 static void strp_abort_strp(struct strparser *strp, int err) in strp_abort_strp() 57 static void strp_start_timer(struct strparser *strp, long timeo) in strp_start_timer() 64 static void strp_parser_err(struct strparser *strp, int err, in strp_parser_err() 73 static inline int strp_peek_len(struct strparser *strp) in strp_peek_len() 82 * Return int max to avoid stopping the strparser. in strp_peek_len() 93 struct strparser *strp = (struct strparser *)desc->arg.data; in __strp_recv() 317 int strp_process(struct strparser *strp, struct sk_buff *orig_skb, in strp_process() 333 struct strparser *str in strp_recv() [all...] |
H A D | Makefile | 2 obj-$(CONFIG_STREAM_PARSER) += strparser.o
|
/linux/Documentation/networking/ |
H A D | strparser.rst | 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 *str [all...] |
H A D | index.rst | 116 strparser
|
H A D | tls-offload.rst | 58 and the ``strparser`` mechanism is used to delineate the records. Upon read
|
/linux/drivers/net/ovpn/ |
H A D | peer.h | 14 #include <net/strparser.h> 78 struct strparser strp;
|
H A D | tcp.c | 36 static int ovpn_tcp_parse(struct strparser *strp, struct sk_buff *skb) in ovpn_tcp_parse() 73 static void ovpn_tcp_rcv(struct strparser *strp, struct sk_buff *skb) in ovpn_tcp_rcv() 88 /* strparser does not trim the skb for us, therefore we do it now */ in ovpn_tcp_rcv()
|
/linux/net/ |
H A D | Makefile | 38 obj-$(CONFIG_STREAM_PARSER) += strparser/
|
H A D | Kconfig | 420 source "net/strparser/Kconfig"
|
/linux/Documentation/translations/zh_CN/networking/ |
H A D | index.rst | 133 * strparser
|
/linux/net/xfrm/ |
H A D | espintcp.c | 3 #include <net/strparser.h> 54 static void espintcp_rcv(struct strparser *strp, struct sk_buff *skb) in espintcp_rcv() 114 static int espintcp_parse(struct strparser *strp, struct sk_buff *skb) in espintcp_parse()
|
/linux/net/core/ |
H A D | skmsg.c | 1085 static void sk_psock_strp_read(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_read() 1114 static int sk_psock_strp_read_done(struct strparser *strp, int err) in sk_psock_strp_read_done() 1119 static int sk_psock_strp_parse(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_parse()
|
/linux/net/kcm/ |
H A D | kcmsock.c | 366 static void kcm_rcv_strparser(struct strparser *strp, struct sk_buff *skb) in kcm_rcv_strparser() 387 static int kcm_parse_func_strparser(struct strparser *strp, struct sk_buff *skb) in kcm_parse_func_strparser() 397 static int kcm_read_sock_done(struct strparser *strp, int err) in kcm_read_sock_done()
|
/linux/include/linux/ |
H A D | skmsg.h | 14 #include <net/strparser.h> 93 struct strparser strp;
|
/linux/net/ipv4/ |
H A D | tcp_bpf.c | 650 int tcp_bpf_strp_read_sock(struct strparser *strp, read_descriptor_t *desc, in tcp_bpf_strp_read_sock()
|