Home
last modified time | relevance | path

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

/external/scapy/scapy/contrib/
Dbgp.uts338 ################################### BGPOpen ###################################
339 + BGPOpen class tests
341 = BGPOpen - Instantiation
342 raw(BGPOpen()) == b'\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00'
344 = BGPOpen - Instantiation with specific values (1)
345 raw(BGPOpen(my_as = 64501, bgp_id = "192.0.2.1")) == b'\x04\xfb\xf5\x00\x00\xc0\x00\x02\x01\x00'
347 = BGPOpen - Instantiation with specific values (2)
349 raw(BGPOpen(my_as = 64501, bgp_id = "192.0.2.1", opt_params = [opt])) == b'\x04\xfb\xf5\x00\x00\xc0…
351 = BGPOpen - Instantiation with specific values (3)
362 raw(BGPOpen(my_as = 64503, bgp_id = "192.168.100.3", hold_time = 30, opt_params = capabilities)) ==…
[all …]
Dbgp.py930 class BGPOpen(BGP): class
2512 bind_layers(BGPHeader, BGPOpen, {"type": 1})