Lines Matching refs:sa_info
637 def assertReceivedPacket(self, tunnel, sa_info): argument
641 sa_info.seq_num += 1
643 def assertSentPacket(self, tunnel, sa_info): argument
647 sa_info.seq_num += 1
650 sa_info=None, expect_fail=False): argument
652 if sa_info is None:
653 sa_info = tunnel.in_sa
658 local_inner, tunnel.local, local_port, sa_info.spi, sa_info.seq_num)
666 self.assertReceivedPacket(tunnel, sa_info)
671 remote_inner, sa_info=None): argument
673 if sa_info is None:
674 sa_info = tunnel.out_sa
680 pkt = self._ExpectEspPacketOn(tunnel.underlying_netid, sa_info.spi,
681 sa_info.seq_num, None, tunnel.local,
698 tunnel.remote, _TEST_REMOTE_PORT, sa_info.spi, sa_info.seq_num,
703 self.assertSentPacket(tunnel, sa_info)
762 sa_info=None): argument
764 if sa_info is None:
765 sa_info = tunnel.out_sa
775 pkt = self._ExpectEspPacketOn(tunnel.underlying_netid, sa_info.spi,
776 sa_info.seq_num, None, tunnel.local,
778 self.assertSentPacket(tunnel, sa_info)