00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef LINUX_IOCTL_H
00016 #define LINUX_IOCTL_H
00017
00018 int linux_set_iface_flags(int sock, const char *ifname, int dev_up);
00019 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr);
00020 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr);
00021 int linux_br_add(int sock, const char *brname);
00022 int linux_br_del(int sock, const char *brname);
00023 int linux_br_add_if(int sock, const char *brname, const char *ifname);
00024 int linux_br_del_if(int sock, const char *brname, const char *ifname);
00025 int linux_br_get(char *brname, const char *ifname);
00026
00027 #endif