mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
16b08367a5
This isn't optional: TCP streams must carry a unique, hard-to-guess, non-zero label for each direction. Linux, probably among others, will otherwise refuse to associate packets in a given stream to the same connection. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
6 lines
284 B
C
6 lines
284 B
C
void tap_ip_send(struct ctx *c, struct in6_addr *src, uint8_t proto,
|
|
char *in, size_t len, uint32_t flow);
|
|
int tap_send(struct ctx *c, void *data, size_t len, int vnet_pre);
|
|
void tap_handler(struct ctx *c, uint32_t events, struct timespec *now);
|
|
void tap_sock_init(struct ctx *c);
|