man: bpf: also mention that bpfc can be used for seccomp-BPF
[netsniff-ng.git] / dev.h
blobcebcee4877d5556f90ff4b541062e0d43fa7852e
1 #ifndef DEV_H
2 #define DEV_H
4 #include <sys/socket.h>
5 #include "built_in.h"
7 extern int device_mtu(const char *ifname);
8 extern int device_address(const char *ifname, int af, struct sockaddr_storage *ss);
9 extern int device_ifindex(const char *ifname);
10 extern short device_get_flags(const char *ifname);
11 extern void device_set_flags(const char *ifname, const short flags);
12 extern int device_up_and_running(char *ifname);
13 extern u32 device_bitrate(const char *ifname);
15 #endif /* DEV_H */