summaryrefslogtreecommitdiff
path: root/promisc.h
AgeCommit message (Collapse)AuthorFilesLines
2013-08-09dev: Integrate `promisc' module into `dev' moduleTobias Klauser1-7/+0
Since entering/leaving promiscuous mode also is a device specific function and all users of the `promisc' module also use `dev', integrate it there. Also rename the functions to have a `device_' prefix like the other functions in the module. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2013-08-09promisc: Constify `ifname' parameters to {enter,leave}_promiscuous_mode()Tobias Klauser1-2/+2
The parameter `ifname' to {enter,leave}_promiscuous_mode() is never modified inside the functions, thus mark it as const. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2013-06-04xutils: break out promisc mode functionsDaniel Borkmann1-0/+7
Put them separately for the sake of maintanence. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>