Home
last modified time | relevance | path

Searched refs:BGPNLRI_IPv4 (Results 1 – 2 of 2) sorted by relevance

/external/scapy/scapy/contrib/
Dbgp.uts7 ################################ BGPNLRI_IPv4 ################################
8 + BGPNLRI_IPv4 class tests
10 = BGPNLRI_IPv4 - Instantiation
11 raw(BGPNLRI_IPv4()) == b'\x00'
13 = BGPNLRI_IPv4 - Instantiation with specific values (1)
14 raw(BGPNLRI_IPv4(prefix = '255.255.255.255/32')) == b' \xff\xff\xff\xff'
16 = BGPNLRI_IPv4 - Instantiation with specific values (2)
17 raw(BGPNLRI_IPv4(prefix = '0.0.0.0/0')) == b'\x00'
19 = BGPNLRI_IPv4 - Instantiation with specific values (3)
20 raw(BGPNLRI_IPv4(prefix = '192.0.2.0/24')) == b'\x18\xc0\x00\x02'
[all …]
Dbgp.py201 class BGPNLRI_IPv4(Packet): class
2115 BGPNLRI_IPv4,
2130 BGPNLRIPacketListField("nlri", [], BGPNLRI_IPv4)
2330 ret = BGPNLRI_IPv4(m)