James Kuszmaul | 871d071 | 2021-01-17 11:30:43 -0800 | [diff] [blame^] | 1 | |
2 | |||||
3 | /* RFC 4571 */ | ||||
4 | |||||
5 | |||||
6 | enum { SHIM_HDR_SIZE = 2 }; | ||||
7 | |||||
8 | struct shim; | ||||
9 | |||||
10 | typedef bool (shim_frame_h)(struct mbuf *mb, void *arg); | ||||
11 | |||||
12 | |||||
13 | int shim_insert(struct shim **shimp, struct tcp_conn *tc, int layer, | ||||
14 | shim_frame_h *frameh, void *arg); | ||||
15 | int shim_debug(struct re_printf *pf, const struct shim *shim); |