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

Class BGPPAExtCommRedirectAS4Byte

scapy/contrib/bgp.py:1677–1688  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1675
1676
1677class BGPPAExtCommRedirectAS4Byte(Packet):
1678 """
1679 Packet handling the (FlowSpec) "redirect AS-4byte" extended community.
1680 (RFC 7674).
1681 References: RFC 7674
1682 """
1683
1684 name = "FlowSpec redirect AS-4byte extended community"
1685 fields_desc = [
1686 IntField("asn", 0),
1687 ShortField("value", 0)
1688 ]
1689
1690
1691class BGPPAExtCommTrafficMarking(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…