MCPcopy Create free account
hub / github.com/FDio/vpp / get_next_packet_info_for_interface2

Method get_next_packet_info_for_interface2

test/framework.py:421–437  ·  view source on GitHub ↗

Search the packet info list for the next packet info with same source and destination interface indexes :param src_index: source interface index to search for :param dst_index: destination interface index to search for :param info: packet info - where to sta

(self, src_index, dst_index, info)

Source from the content-addressed store, hash-verified

419 return info
420
421 def get_next_packet_info_for_interface2(self, src_index, dst_index, info):
422 """
423 Search the packet info list for the next packet info with same source
424 and destination interface indexes
425
426 :param src_index: source interface index to search for
427 :param dst_index: destination interface index to search for
428 :param info: packet info - where to start the search
429 :returns: packet info or None
430
431 """
432 while True:
433 info = self.get_next_packet_info_for_interface(src_index, info)
434 if info is None:
435 return None
436 if info.dst == dst_index:
437 return info
438
439 def assert_packet_checksums_valid(self, packet, ignore_zero_udp_checksums=True):
440 received = packet.__class__(scapy.compat.raw(packet))

Callers 15

verify_captureMethod · 0.80
verify_captureMethod · 0.80
verify_captureMethod · 0.80
verify_captureMethod · 0.80
verify_captured_pktsMethod · 0.80
verify_captureMethod · 0.80
verify_captureFunction · 0.80
verify_captureMethod · 0.80
verify_captureMethod · 0.80
verify_captured_pktsMethod · 0.80
verify_captureMethod · 0.80

Tested by 15

verify_captureMethod · 0.64
verify_captureMethod · 0.64
verify_captureMethod · 0.64
verify_captureMethod · 0.64
verify_captured_pktsMethod · 0.64
verify_captureMethod · 0.64
verify_captureFunction · 0.64
verify_captureMethod · 0.64
verify_captureMethod · 0.64
verify_captured_pktsMethod · 0.64
verify_captureMethod · 0.64