corking: break out udp/tcp cork functions
[netsniff-ng.git] / corking.h
blobb24059576203ca13adcf00817a23a7c4263b1a0a
1 #ifndef CORKING_H
2 #define CORKING_H
4 extern void set_tcp_cork(int fd);
5 extern void set_tcp_uncork(int fd);
6 extern void set_udp_cork(int fd);
7 extern void set_udp_uncork(int fd);
8 extern void set_sock_cork(int fd, int udp);
9 extern void set_sock_uncork(int fd, int udp);
11 #endif /* CORKING_H */