summaryrefslogtreecommitdiff
path: root/xutils.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:46:38 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:47:28 +0200
commit23bd5ecbd11766088784507a56e32975b4c755a2 (patch)
tree86dc0078bac5d8a0d21cfd39ac72278e94e8173a /xutils.h
parentac5fd9168efaa4e149340340805b1be7425d8834 (diff)
xutils: move device management functions out of xutils
Move those functions out so that they can be more easily maintained in its separate file. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xutils.h')
-rw-r--r--xutils.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/xutils.h b/xutils.h
index 8cf1af2..7911110 100644
--- a/xutils.h
+++ b/xutils.h
@@ -31,14 +31,8 @@ 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 u32 device_bitrate(const char *ifname);
extern int ethtool_drvinf(const char *ifname, struct ethtool_drvinfo *drvinf);
extern int ethtool_link(const char *ifname);
-extern int device_mtu(const char *ifname);
-extern int device_address(const char *ifname, int af, struct sockaddr_storage *ss);
-extern int device_ifindex(const char *ifname);
-extern short device_get_flags(const char *ifname);
-extern void device_set_flags(const char *ifname, const short flags);
extern void drop_privileges(bool enforce, uid_t uid, gid_t gid);
extern void set_nonblocking(int fd);
extern int set_nonblocking_sloppy(int fd);
@@ -52,7 +46,6 @@ 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 int device_up_and_running(char *ifname);
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 cpu_affinity(int cpu);