Skip to content
Eddie Kohler edited this page Oct 18, 2017 · 1 revision

ToHostSniffers Element Documentation

NAME

ToHostSniffers — Click element; sends packets to Linux packet sniffers

SYNOPSIS

ToHostSniffers([DEVNAME, keywords])

Ports: 1 input, no outputs
Processing: push
Drivers: linuxmodule

DESCRIPTION

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.

NOTES

ToHostSniffers behaves exactly like ToHost, except that the SNIFFERS keyword argument defaults to true.

SEE ALSO

ToHost, FromHost, FromDevice, PollDevice, ToDevice

Generated by click-elem2man from ../../elements/linuxmodule/tohostsniffers.hh:6 on 2017/10/17.

Clone this wiki locally