blob: f5966a68179945c149c7d23d6aeed4dbaaf2438f [file] [log] [blame]
James Kuszmaul871d0712021-01-17 11:30:43 -08001
2
3/* RFC 4571 */
4
5
6enum { SHIM_HDR_SIZE = 2 };
7
8struct shim;
9
10typedef bool (shim_frame_h)(struct mbuf *mb, void *arg);
11
12
13int shim_insert(struct shim **shimp, struct tcp_conn *tc, int layer,
14 shim_frame_h *frameh, void *arg);
15int shim_debug(struct re_printf *pf, const struct shim *shim);