#include #include #include #include "promisc.h" #include "dev.h" short enter_promiscuous_mode(char *ifname) { short ifflags; if (!strncmp("any", ifname, strlen("any"))) return 0; ifflags = device_get_flags(ifname); device_set_flags(ifname, ifflags | IFF_PROMISC); return ifflags; } void leave_promiscuous_mode(char *ifname, short oldflags) { if (!strncmp("any", ifname, strlen("any"))) return; device_set_flags(ifname, oldflags); } ///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
7ac487f246963dd2f&id2=546125d1614264d26080817d0c8cddb9b25081fa'>line6/Makefile
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
Diffstat (limited to 'sound/usb/line6/Makefile')