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

Class BGPPAExtCommRedirectIPv4

scapy/contrib/bgp.py:1663–1674  ·  view source on GitHub ↗

Packet handling the (FlowSpec) "redirect IPv4" extended community. (RFC 7674). References: RFC 7674

Source from the content-addressed store, hash-verified

1661
1662
1663class BGPPAExtCommRedirectIPv4(Packet):
1664 """
1665 Packet handling the (FlowSpec) "redirect IPv4" extended community.
1666 (RFC 7674).
1667 References: RFC 7674
1668 """
1669
1670 name = "FlowSpec redirect IPv4 extended community"
1671 fields_desc = [
1672 IntField("ip_addr", 0),
1673 ShortField("value", 0)
1674 ]
1675
1676
1677class BGPPAExtCommRedirectAS4Byte(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…