1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Added get_fd() to BaseSniffer.

Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com>
This commit is contained in:
Bruno Nery
2013-01-29 15:07:23 -08:00
committed by Matias Fontanini
parent 931a86eff9
commit c6dc18d215
2 changed files with 9 additions and 0 deletions

View File

@@ -159,6 +159,11 @@ namespace Tins {
* \brief Stops sniffing loops.
*/
void stop_sniff();
/**
* \brief Gets the file descriptor associated with the sniffer.
*/
int get_fd();
protected:
/**
* Default constructor.