diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 11:21:48 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 11:22:25 +0200 |
commit | a66fe185ab6a3eb7a483fd9888b54ee43328836e (patch) | |
tree | 527c53135af3c6d2c9b27e6de628c1ac5e2e2754 /xutils.h | |
parent | 0b65b09f15783b067343f7a2dcf67ae1f1e27dc7 (diff) |
sock: add socket management functions
Remove them from xutils, and add them to socket management.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xutils.h')
-rw-r--r-- | xutils.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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); |