Search the packet info list for the next packet info with same source interface index :param src_index: source interface index to search for :param info: packet info - where to start the search :returns: packet info or None
(self, src_index, info)
| 402 | return self._packet_infos[next_index] |
| 403 | |
| 404 | def get_next_packet_info_for_interface(self, src_index, info): |
| 405 | """ |
| 406 | Search the packet info list for the next packet info with same source |
| 407 | interface index |
| 408 | |
| 409 | :param src_index: source interface index to search for |
| 410 | :param info: packet info - where to start the search |
| 411 | :returns: packet info or None |
| 412 | |
| 413 | """ |
| 414 | while True: |
| 415 | info = self.get_next_packet_info(info) |
| 416 | if info is None: |
| 417 | return None |
| 418 | if info.src == src_index: |
| 419 | return info |
| 420 | |
| 421 | def get_next_packet_info_for_interface2(self, src_index, dst_index, info): |
| 422 | """ |
no test coverage detected