MCPcopy Create free account
hub / github.com/secdev/scapy / VTPTimeStampField

Class VTPTimeStampField

scapy/contrib/vtp.py:142–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141
142class VTPTimeStampField(StrFixedLenField):
143 def __init__(self, name, default):
144 StrFixedLenField.__init__(self, name, default, 12)
145
146 def i2repr(self, pkt, x):
147 return "%s-%s-%s %s:%s:%s" % (x[:2], x[2:4], x[4:6], x[6:8], x[8:10], x[10:12]) # noqa: E501
148
149
150class VTP(Packet):

Callers 1

VTPClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…