Skip to content
Tom Barbette edited this page Aug 6, 2018 · 2 revisions

WifiDecap Element Documentation

NAME

WifiDecap — Click element; Turns 802.11 packets into ethernet packets.

SYNOPSIS

WifiDecap

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Strips the 802.11 frame header and llc header off the packet and pushes an ethernet header onto the packet. Discards packets that are shorter than the length of the 802.11 frame header and llc header.

  • ETHER — Boolean. If true (this is the default), then push an Ethernet header onto the packet after removing the wifi header.

EXAMPLES

FromDevice(ath0) -> ExtraDecap() -> FilterTX() -> FilterPhyErr() -> wifi_cl :: Classifier (0/08%0c); //data packets -> wifi_decap :: WifiDecap() -> HostEtherFilter(ath0, DROP_OTHER true, DROP_OWN true) ...

SEE ALSO

WifiEncap

Generated by click-elem2man from ../elements/wifi/wifidecap.hh:7 on 2018/08/06.

Clone this wiki locally