4 extern int af_socket(int af
);
5 extern int pf_socket(void);
6 extern int pf_socket_type(uint32_t type
);
7 extern void set_nonblocking(int fd
);
8 extern int set_nonblocking_sloppy(int fd
);
9 extern int set_reuseaddr(int fd
);
10 extern void set_sock_qdisc_bypass(int fd
, int verbose
);
11 extern void set_sock_prio(int fd
, int prio
);
12 extern void set_tcp_nodelay(int fd
);
13 extern void set_socket_keepalive(int fd
);
14 extern int set_ipv6_only(int fd
);
15 extern void set_mtu_disc_dont(int fd
);
16 extern void set_system_socket_memory(int *vals
, size_t len
);
17 extern void reset_system_socket_memory(int *vals
, size_t len
);