blob: 30b27e8542fdf10da27c4fe01c36fc753fc4bbb5 [file] [log] [blame]
GlennRC956ea742015-11-05 16:14:15 -08001import scapy
2
3class MPLS(Packet):
4 name = "MPLS"
5 fields_desc = [
6 BitField("label", 3, 20),
7 BitField("experimental_bits", 0, 3),
8 BitField("bottom_of_label_stack", 1, 1), # Now we're at the bottom
9 ByteField("TTL", 255)
10 ]