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

Class BGPPAExtCommRedirectAS2Byte

scapy/contrib/bgp.py:1649–1660  ·  view source on GitHub ↗

Packet handling the (FlowSpec) "redirect AS-2byte" extended community (RFC 7674). References: RFC 7674

Source from the content-addressed store, hash-verified

1647
1648
1649class BGPPAExtCommRedirectAS2Byte(Packet):
1650 """
1651 Packet handling the (FlowSpec) "redirect AS-2byte" extended community
1652 (RFC 7674).
1653 References: RFC 7674
1654 """
1655
1656 name = "FlowSpec redirect AS-2byte extended community"
1657 fields_desc = [
1658 ShortField("asn", 0),
1659 IntField("value", 0)
1660 ]
1661
1662
1663class BGPPAExtCommRedirectIPv4(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…