#include <pktfilter.h>
List of all members.
Public Member Functions |
| pktfilter () |
| ~pktfilter () |
Static Public Member Functions |
static pktfilter * | make_ethertype (unsigned short ethertype) |
| Return a filter that harvests packets with the specified ethertype.
|
static pktfilter * | make_ethertype_inbound (unsigned short ethertype, const unsigned char *our_mac) |
| Return a filter that harvests inbound packets with the specified ethertype.
|
static pktfilter * | make_ethertype_inbound_target (unsigned short ethertype, const unsigned char *usrp_mac) |
| Return a filter that harvests inbound packets with the specified ethertype and source MAC address.
|
Public Attributes |
unsigned | d_len |
struct sock_filter * | d_inst |
Constructor & Destructor Documentation
usrp2::pktfilter::pktfilter |
( |
| ) |
|
usrp2::pktfilter::~pktfilter |
( |
| ) |
|
Member Function Documentation
static pktfilter* usrp2::pktfilter::make_ethertype |
( |
unsigned short |
ethertype | ) |
[static] |
Return a filter that harvests packets with the specified ethertype.
- Parameters:
-
ethertype | the ethertype we're looking for. |
static pktfilter* usrp2::pktfilter::make_ethertype_inbound |
( |
unsigned short |
ethertype, |
|
|
const unsigned char * |
our_mac |
|
) |
| [static] |
Return a filter that harvests inbound packets with the specified ethertype.
- Parameters:
-
ethertype | the ethertype we're looking for |
our_mac | our MAC address so we can avoid pkts we sent |
static pktfilter* usrp2::pktfilter::make_ethertype_inbound_target |
( |
unsigned short |
ethertype, |
|
|
const unsigned char * |
usrp_mac |
|
) |
| [static] |
Return a filter that harvests inbound packets with the specified ethertype and source MAC address.
- Parameters:
-
ethertype | the ethertype we're looking for |
usrp_mac | the source MAC address |
Member Data Documentation
The documentation for this class was generated from the following file: