File: corking.h

package info (click to toggle)
netsniff-ng 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,408 kB
  • ctags: 5,166
  • sloc: ansic: 45,369; yacc: 1,786; sh: 741; makefile: 519; lex: 390; python: 61
file content (13 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CORKING_H
#define CORKING_H

#include <stdbool.h>

extern void set_tcp_cork(int fd);
extern void set_tcp_uncork(int fd);
extern void set_udp_cork(int fd);
extern void set_udp_uncork(int fd);
extern void set_sock_cork(int fd, bool is_udp);
extern void set_sock_uncork(int fd, bool is_udp);

#endif /* CORKING_H */