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

Class BGPPAExtCommTwoOctetASSpecific

scapy/contrib/bgp.py:1572–1581  ·  view source on GitHub ↗

Packet handling the Two-Octet AS Specific Extended Community attribute value. References: RFC 4360

Source from the content-addressed store, hash-verified

1570#
1571
1572class BGPPAExtCommTwoOctetASSpecific(Packet):
1573 """
1574 Packet handling the Two-Octet AS Specific Extended Community attribute
1575 value.
1576 References: RFC 4360
1577 """
1578
1579 name = "Two-Octet AS Specific Extended Community"
1580 fields_desc = [
1581 ShortField("global_administrator", 0), IntField("local_administrator", 0)] # noqa: E501
1582
1583
1584class BGPPAExtCommFourOctetASSpecific(Packet):

Callers 1

m2iMethod · 0.85

Calls 2

ShortFieldClass · 0.90
IntFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…