-
Notifications
You must be signed in to change notification settings - Fork 82
EtherEncap
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
EtherEncap — Click element; encapsulates packets in Ethernet header
EtherEncap(ETHERTYPE, SRC, DST)
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic
Encapsulates each packet in the Ethernet header specified by its arguments. ETHERTYPE should be in host order.
Encapsulate packets in an Ethernet header with type ETHERTYPE_IP (0x0800), source address 1:1:1:1:1:1, and destination address 2:2:2:2:2:2:
EtherEncap(0x0800, 1:1:1:1:1:1, 2:2:2:2:2:2)
For IP packets you probably want to use ARPQuerier instead.
- src (read/write) — Return or set the SRC parameter.
- dst (read/write) — Return or set the DST parameter.
- ethertype (read/write) — Return or set the ETHERTYPE parameter.
EtherVLANEncap, ARPQuerier, EnsureEther, StoreEtherAddress, EtherRewrite
Generated by click-elem2man from ../elements/ethernet/etherencap.hh:8
on 2018/10/03.