-
Notifications
You must be signed in to change notification settings - Fork 82
StoreEtherAddress
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
StoreEtherAddress — Click element; stores Ethernet address in packet
StoreEtherAddress(ADDR, OFFSET)
Batching: Batching natively supported
Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push
Writes an Ethernet address ADDR into the packet at offset OFFSET. If OFFSET is out of range, the input packet is dropped or emitted on optional output 1.
The OFFSET argument may be 'src' or 'dst'. These strings are equivalent to offsets 6 and 0, respectively, which are the offsets into an Ethernet header of the source and destination Ethernet addresses.
- addr (read/write) — Return or set the ADDR argument.
Generated by click-elem2man from ../elements/ethernet/storeetheraddress.hh:7
on 2018/10/03.