summaryrefslogtreecommitdiff
path: root/xutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'xutils.h')
-rw-r--r--xutils.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/xutils.h b/xutils.h
index 83d710a..bfb24f1 100644
--- a/xutils.h
+++ b/xutils.h
@@ -25,30 +25,16 @@
#include "built_in.h"
-extern int af_socket(int af);
-extern int pf_socket(void);
extern int wireless_sigqual(const char *ifname, struct iw_statistics *stats);
extern int wireless_rangemax_sigqual(const char *ifname);
extern u32 wireless_bitrate(const char *ifname);
extern u32 ethtool_bitrate(const char *ifname);
extern int ethtool_drvinf(const char *ifname, struct ethtool_drvinfo *drvinf);
extern int ethtool_link(const char *ifname);
-extern void set_nonblocking(int fd);
-extern int set_nonblocking_sloppy(int fd);
-extern int set_reuseaddr(int fd);
-extern void set_sock_prio(int fd, int prio);
-extern void set_tcp_nodelay(int fd);
-extern void set_socket_keepalive(int fd);
-extern int set_ipv6_only(int fd);
-extern void set_mtu_disc_dont(int fd);
-extern int get_system_socket_mem(int which);
-extern void set_system_socket_mem(int which, int val);
extern void register_signal(int signal, void (*handler)(int));
extern void register_signal_f(int signal, void (*handler)(int), int flags);
extern void set_epoll_descriptor(int fd_epoll, int action, int fd_toadd, int events);
extern int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events);
-extern void set_system_socket_memory(int *vals, size_t len);
-extern void reset_system_socket_memory(int *vals, size_t len);
extern void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec,
unsigned long usec);