// $Id$
//
// Copyright (C) 2007
-// Fraunhofer Institute for Open Communication Systems (FOKUS)
-// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Thorsten Horstmann <tho@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
#include <iomanip>
#include <sys/ioctl.h>
#include <linux/sockios.h>
-#include <linux/dvb/dmx.h>
+#include <linux/dvb/dmx.h>
#include <senf/Scheduler/Scheduler.hh>
#include <senf/Packets/DefaultBundle/EthernetPacket.hh>
public:
MySniffer(unsigned short adapter=0, unsigned short device=0)
- : handle( adapter, device )
+ : handle( adapter, device )
{
struct dmx_sct_filter_params sec_filter;
memset(&sec_filter, 0, sizeof (struct dmx_sct_filter_params));
sec_filter.flags |= DMX_CHECK_CRC;
handle.protocol().setSectionFilter( &sec_filter );
-
+
senf::Scheduler::instance().add(
handle, senf::membind(&MySniffer::dumpSection, this));
}