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

Class BGPPAExtCommFourOctetASSpecific

scapy/contrib/bgp.py:1584–1593  ·  view source on GitHub ↗

Packet handling the Four-Octet AS Specific Extended Community attribute value. References: RFC 5668

Source from the content-addressed store, hash-verified

1582
1583
1584class BGPPAExtCommFourOctetASSpecific(Packet):
1585 """
1586 Packet handling the Four-Octet AS Specific Extended Community
1587 attribute value.
1588 References: RFC 5668
1589 """
1590
1591 name = "Four-Octet AS Specific Extended Community"
1592 fields_desc = [
1593 IntField("global_administrator", 0), ShortField("local_administrator", 0)] # noqa: E501
1594
1595
1596class BGPPAExtCommIPv4AddressSpecific(Packet):

Callers 1

m2iMethod · 0.85

Calls 2

IntFieldClass · 0.90
ShortFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…