Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
OnosSystemTest
/
fdcbfc4328c52c7a8332f9377da9f1b6b00167b9
/
.
/
TestON
/
tests
/
FUNC
/
FUNCflow
/
dependencies
/
mplsClass.py
blob: 30b27e8542fdf10da27c4fe01c36fc753fc4bbb5 [
file
] [
log
] [
blame
]
import
scapy
class
MPLS
(
Packet
):
name
=
"MPLS"
fields_desc
=
[
BitField
(
"label"
,
3
,
20
),
BitField
(
"experimental_bits"
,
0
,
3
),
BitField
(
"bottom_of_label_stack"
,
1
,
1
),
# Now we're at the bottom
ByteField
(
"TTL"
,
255
)
]