Home
last modified time | relevance | path

Searched refs:strparser (Results 1 – 16 of 16) sorted by relevance

/linux/include/net/
H A Dstrparser.h39 struct strparser;
43 int (*parse_msg)(struct strparser *strp, struct sk_buff *skb);
44 void (*rcv_msg)(struct strparser *strp, struct sk_buff *skb);
45 int (*read_sock)(struct strparser *strp, read_descriptor_t *desc,
47 int (*read_sock_done)(struct strparser *strp, int err);
87 struct strparser { in strp_msg()
105 static inline void strp_pause(struct strparser *strp)
111 void strp_unpause(struct strparser *strp); in strp_pause()
113 static inline void save_strp_stats(struct strparser *strp, in strp_pause()
152 void strp_done(struct strparser *str in aggregate_strp_stats()
91 struct strparser { global() struct
110 cbstrparser strp_pause() argument
[all...]
H A Despintcp.h22 struct strparser strp;
H A Dkcm.h91 struct strparser strp;
H A Dtcp.h2888 struct strparser;
2889 int tcp_bpf_strp_read_sock(struct strparser *strp, read_descriptor_t *desc,
/linux/net/strparser/
H A Dstrparser.c24 #include <net/strparser.h>
37 static void strp_abort_strp(struct strparser *strp, int err) in strp_abort_strp()
63 static void strp_start_timer(struct strparser *strp, long timeo) in strp_abort_strp()
70 static void strp_parser_err(struct strparser *strp, int err,
79 static inline int strp_peek_len(struct strparser *strp) in strp_parser_err()
90 struct strparser *strp = (struct strparser *)desc->arg.data; in strp_peek_len()
315 static int default_read_sock_done(struct strparser *strp, int err) in __strp_recv()
321 static int strp_read_sock(struct strparser *strp) in __strp_recv()
348 void strp_data_ready(struct strparser *str in default_read_sock_done()
[all...]
H A DMakefile2 obj-$(CONFIG_STREAM_PARSER) += strparser.o
/linux/Documentation/networking/
H A Dstrparser.rst4 Stream Parser (strparser)
10 The stream parser (strparser) is a utility that parses messages of an
17 The strparser is called from the data_ready callback of a TCP
35 int strp_init(struct strparser *strp, struct sock *sk,
39 strparser that is allocated by the upper layer. sk is the TCP
45 void strp_pause(struct strparser *strp)
52 void strp_unpause(struct strparser *strp)
58 void strp_stop(struct strparser *strp);
67 void strp_done(struct strparser *strp);
75 void strp_data_ready(struct strparser *str
[all...]
H A Dindex.rst115 strparser
/linux/drivers/net/ovpn/
H A Dpeer.h93 struct strparser strp;
H A Dtcp.c36 static int ovpn_tcp_parse(struct strparser *strp, struct sk_buff *skb) in ovpn_tcp_parse()
102 static void ovpn_tcp_rcv(struct strparser *strp, struct sk_buff *skb) in ovpn_tcp_rcv()
/linux/Documentation/translations/zh_CN/networking/
H A Dindex.rst133 * strparser
/linux/net/xfrm/
H A Despintcp.c61 static void espintcp_rcv(struct strparser *strp, struct sk_buff *skb) in espintcp_rcv()
121 static int espintcp_parse(struct strparser *strp, struct sk_buff *skb) in espintcp_parse()
/linux/net/core/
H A Dskmsg.c1079 static void sk_psock_strp_read(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_read()
1108 static int sk_psock_strp_read_done(struct strparser *strp, int err) in sk_psock_strp_read_done()
1113 static int sk_psock_strp_parse(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_parse()
/linux/net/kcm/
H A Dkcmsock.c368 static void kcm_rcv_strparser(struct strparser *strp, struct sk_buff *skb) in kcm_rcv_strparser()
389 static int kcm_parse_func_strparser(struct strparser *strp, struct sk_buff *skb) in kcm_parse_func_strparser()
401 static int kcm_read_sock_done(struct strparser *strp, int err) in kcm_read_sock_done()
/linux/include/linux/
H A Dskmsg.h94 struct strparser strp;
/linux/net/ipv4/
H A Dtcp_bpf.c688 int tcp_bpf_strp_read_sock(struct strparser *strp, read_descriptor_t *desc,