⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tohostsniffers.hh

📁 Click is a modular router toolkit. To use it you ll need to know how to compile and install the sof
💻 HH
字号:
// -*- mode: c++; c-basic-offset: 4 -*-#ifndef CLICK_TOHOSTSNIFFERS_HH#define CLICK_TOHOSTSNIFFERS_HH#include "elements/linuxmodule/tohost.hh"/* * =c * ToHostSniffers([DEVNAME, I<keywords>]) * =s comm * sends packets to Linux packet sniffers * =d * * Hands packets to any packet sniffers registered with Linux, such as packet * sockets. Packets are not passed to the ordinary Linux networking stack. * * If DEVNAME is present, each packet is marked to appear as if it originated * from that network device. As with ToDevice, DEVNAME can be an Ethernet * address. * * If TYPE is ETHER, then expects packets with Ethernet headers; this is the * default.  If TYPE is IP, then expects packets with raw IP headers. * * This element is only available in the Linux kernel module. * * =n * * ToHostSniffers behaves exactly like ToHost, except that the SNIFFERS * keyword argument defaults to true. * * =a ToHost, FromHost, FromDevice, PollDevice, ToDevice */class ToHostSniffers : public ToHost { public:    ToHostSniffers();    ~ToHostSniffers();    const char *class_name() const		{ return "ToHostSniffers"; }};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -