summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat
ModeNameSize
-rw-r--r--CMakeLists.txt2557logstatsplain
-rw-r--r--FEATURE.yaml714logstatsplain
d---------det44312logstatsplain
d---------dslite446logstatsplain
d---------extras706logstatsplain
-rw-r--r--in2out.c56088logstatsplain
-rw-r--r--in2out_ed.c48778logstatsplain
d---------lib267logstatsplain
-rw-r--r--nat.api36495logstatsplain
-rw-r--r--nat.c135137logstatsplain
-rw-r--r--nat.h47288logstatsplain
d---------nat4477logstatsplain
-rw-r--r--nat44_classify.c14213logstatsplain
-rw-r--r--nat44_cli.c67366logstatsplain
-rw-r--r--nat44_hairpinning.c23256logstatsplain
-rw-r--r--nat44_handoff.c9921logstatsplain
d---------nat64385logstatsplain
d---------nat66269logstatsplain
-rw-r--r--nat_affinity.c7582logstatsplain
-rw-r--r--nat_affinity.h3927logstatsplain
-rw-r--r--nat_all_api_h.h835logstatsplain
-rw-r--r--nat_api.c63950logstatsplain
-rw-r--r--nat_dpo.c1756logstatsplain
-rw-r--r--nat_dpo.h1032logstatsplain
-rw-r--r--nat_format.c8753logstatsplain
-rw-r--r--nat_ha.c31020logstatsplain
-rw-r--r--nat_ha.h5398logstatsplain
-rw-r--r--nat_ha_doc.md2861logstatsplain
-rw-r--r--nat_inlines.h20718logstatsplain
-rw-r--r--nat_msg_enum.h1018logstatsplain
-rw-r--r--nat_syslog.c9530logstatsplain
-rw-r--r--nat_syslog.h2512logstatsplain
-rw-r--r--nat_test.c29481logstatsplain
-rw-r--r--nat_types.api916logstatsplain
-rw-r--r--out2in.c45783logstatsplain
-rw-r--r--out2in_ed.c42590logstatsplain
d---------test249logstatsplain
pan class="p">, 200) def test_select_backend_in_use(self): """ attempt to change backend while sad configured """ params = self.ipv4_params addr_type = params.addr_type is_ipv6 = params.is_ipv6 scapy_tun_sa_id = params.scapy_tun_sa_id scapy_tun_spi = params.scapy_tun_spi auth_algo_vpp_id = params.auth_algo_vpp_id auth_key = params.auth_key crypt_algo_vpp_id = params.crypt_algo_vpp_id crypt_key = params.crypt_key self.vapi.ipsec_sad_entry_add_del(scapy_tun_sa_id, scapy_tun_spi, auth_algo_vpp_id, auth_key, crypt_algo_vpp_id, crypt_key, self.vpp_ah_protocol, self.pg0.local_addr[addr_type], self.pg0.remote_addr[addr_type]) with self.vapi.assert_negative_api_retval(): self.vapi.ipsec_select_backend( protocol=self.vpp_ah_protocol, index=0) self.vapi.ipsec_sad_entry_add_del(scapy_tun_sa_id, scapy_tun_spi, auth_algo_vpp_id, auth_key, crypt_algo_vpp_id, crypt_key, self.vpp_ah_protocol, self.pg0.local_addr[addr_type], self.pg0.remote_addr[addr_type], is_add=0) self.vapi.ipsec_select_backend( protocol=self.vpp_ah_protocol, index=0) if __name__ == '__main__': unittest.main(testRunner=VppTestRunner)