diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-02-08 08:01:53 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-02-23 13:23:53 +0100 |
commit | d1dfc01a4068e3c15a1195f804448a9a3dee5b2b (patch) | |
tree | e0043241653c749215c52db74ed14b96b01abc50 /built_in.h | |
parent | 116835ed0d245f3e73173f2f2057265827416ce6 (diff) |
trafgen: parser: Add syntax for MPLS header creating
Add 'mpls()' function for creating MPLS header with parameters:
lbl|label MPLS label
last Indicates the last label on MPLS stack
tc|tclass|exp Traffic Class (TC)
ttl TTL (Time To Live)
Currently only unicast MPLS is supported, but multicast might be set
via 'eth()' function.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'built_in.h')
0 files changed, 0 insertions, 0 deletions