Home
last modified time | relevance | path

Searched refs:ipv4_rule (Results 1 – 25 of 57) sorted by relevance

123

/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/test/
Dipa_nat_test022.c54 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule2; in ipa_nat_test022() local
60 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test022()
61 ipv4_rule.target_port = 1234; in ipa_nat_test022()
62 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test022()
63 ipv4_rule.private_port = 5678; in ipa_nat_test022()
64 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test022()
65 ipv4_rule.public_port = 9050; in ipa_nat_test022()
68 ipv4_rule.target_ip = 0xC1171604; /* 193.23.22.4 */ in ipa_nat_test022()
69 ipv4_rule.target_port = 1234; in ipa_nat_test022()
70 ipv4_rule.private_ip = 0xC2171603; /* 194.23.22.3 */ in ipa_nat_test022()
[all …]
Dipa_nat_test020.c51 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test020() local
54 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test020()
55 ipv4_rule.target_port = 1234; in ipa_nat_test020()
56 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test020()
57 ipv4_rule.private_port = 5678; in ipa_nat_test020()
58 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test020()
59 ipv4_rule.public_port = 9050; in ipa_nat_test020()
69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test020()
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test020()
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test020()
[all …]
Dipa_nat_test003.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test003() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test003()
56 ipv4_rule.target_port = 1234; in ipa_nat_test003()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test003()
59 ipv4_rule.private_port = 5678; in ipa_nat_test003()
61 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test003()
62 ipv4_rule.public_port = 9050; in ipa_nat_test003()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test003()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test003()
Dipa_nat_test015.c53 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test015() local
57 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test015()
58 ipv4_rule.target_port = 1234; in ipa_nat_test015()
60 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test015()
61 ipv4_rule.private_port = 5678; in ipa_nat_test015()
62 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test015()
63 ipv4_rule.public_port = 9050; in ipa_nat_test015()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test015()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test015()
79 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test015()
Dipa_nat_test019.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test019() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test019()
57 ipv4_rule.target_port = 1234; in ipa_nat_test019()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test019()
59 ipv4_rule.private_port = 5678; in ipa_nat_test019()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test019()
61 ipv4_rule.public_port = 9050; in ipa_nat_test019()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test019()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test019()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test019()
Dipa_nat_test016.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test016() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test016()
57 ipv4_rule.target_port = 1234; in ipa_nat_test016()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test016()
59 ipv4_rule.private_port = 5678; in ipa_nat_test016()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test016()
61 ipv4_rule.public_port = 9050; in ipa_nat_test016()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test016()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test016()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test016()
Dipa_nat_test018.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test018() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test018()
57 ipv4_rule.target_port = 1234; in ipa_nat_test018()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test018()
59 ipv4_rule.private_port = 5678; in ipa_nat_test018()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test018()
61 ipv4_rule.public_port = 9050; in ipa_nat_test018()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test018()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test018()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test018()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/
Dipa_nat_test022.c54 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule2; in ipa_nat_test022() local
60 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test022()
61 ipv4_rule.target_port = 1234; in ipa_nat_test022()
62 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test022()
63 ipv4_rule.private_port = 5678; in ipa_nat_test022()
64 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test022()
65 ipv4_rule.public_port = 9050; in ipa_nat_test022()
68 ipv4_rule.target_ip = 0xC1171604; /* 193.23.22.4 */ in ipa_nat_test022()
69 ipv4_rule.target_port = 1234; in ipa_nat_test022()
70 ipv4_rule.private_ip = 0xC2171603; /* 194.23.22.3 */ in ipa_nat_test022()
[all …]
Dipa_nat_test020.c51 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test020() local
54 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test020()
55 ipv4_rule.target_port = 1234; in ipa_nat_test020()
56 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test020()
57 ipv4_rule.private_port = 5678; in ipa_nat_test020()
58 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test020()
59 ipv4_rule.public_port = 9050; in ipa_nat_test020()
69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test020()
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test020()
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test020()
[all …]
Dipa_nat_test003.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test003() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test003()
56 ipv4_rule.target_port = 1234; in ipa_nat_test003()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test003()
59 ipv4_rule.private_port = 5678; in ipa_nat_test003()
61 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test003()
62 ipv4_rule.public_port = 9050; in ipa_nat_test003()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test003()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test003()
Dipa_nat_test015.c53 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test015() local
57 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test015()
58 ipv4_rule.target_port = 1234; in ipa_nat_test015()
60 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test015()
61 ipv4_rule.private_port = 5678; in ipa_nat_test015()
62 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test015()
63 ipv4_rule.public_port = 9050; in ipa_nat_test015()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test015()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test015()
79 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test015()
Dipa_nat_test019.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test019() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test019()
57 ipv4_rule.target_port = 1234; in ipa_nat_test019()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test019()
59 ipv4_rule.private_port = 5678; in ipa_nat_test019()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test019()
61 ipv4_rule.public_port = 9050; in ipa_nat_test019()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test019()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test019()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test019()
Dipa_nat_test014.c51 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test014() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test014()
56 ipv4_rule.target_port = 1234; in ipa_nat_test014()
57 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test014()
58 ipv4_rule.private_port = 5678; in ipa_nat_test014()
59 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test014()
60 ipv4_rule.public_port = 9050; in ipa_nat_test014()
70 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test014()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test014()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test014()
Dipa_nat_test016.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test016() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test016()
57 ipv4_rule.target_port = 1234; in ipa_nat_test016()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test016()
59 ipv4_rule.private_port = 5678; in ipa_nat_test016()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test016()
61 ipv4_rule.public_port = 9050; in ipa_nat_test016()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test016()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test016()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test016()
Dipa_nat_test017.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test017() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test017()
57 ipv4_rule.target_port = 1234; in ipa_nat_test017()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test017()
59 ipv4_rule.private_port = 5678; in ipa_nat_test017()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test017()
61 ipv4_rule.public_port = 9050; in ipa_nat_test017()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test017()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test017()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test017()
Dipa_nat_test018.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test018() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test018()
57 ipv4_rule.target_port = 1234; in ipa_nat_test018()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test018()
59 ipv4_rule.private_port = 5678; in ipa_nat_test018()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test018()
61 ipv4_rule.public_port = 9050; in ipa_nat_test018()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test018()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test018()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test018()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/test/
Dipa_nat_test022.c54 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule2; in ipa_nat_test022() local
60 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test022()
61 ipv4_rule.target_port = 1234; in ipa_nat_test022()
62 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test022()
63 ipv4_rule.private_port = 5678; in ipa_nat_test022()
64 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test022()
65 ipv4_rule.public_port = 9050; in ipa_nat_test022()
68 ipv4_rule.target_ip = 0xC1171604; /* 193.23.22.4 */ in ipa_nat_test022()
69 ipv4_rule.target_port = 1234; in ipa_nat_test022()
70 ipv4_rule.private_ip = 0xC2171603; /* 194.23.22.3 */ in ipa_nat_test022()
[all …]
Dipa_nat_test020.c51 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test020() local
54 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test020()
55 ipv4_rule.target_port = 1234; in ipa_nat_test020()
56 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test020()
57 ipv4_rule.private_port = 5678; in ipa_nat_test020()
58 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test020()
59 ipv4_rule.public_port = 9050; in ipa_nat_test020()
69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test020()
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test020()
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test020()
[all …]
Dipa_nat_test003.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test003() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test003()
56 ipv4_rule.target_port = 1234; in ipa_nat_test003()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test003()
59 ipv4_rule.private_port = 5678; in ipa_nat_test003()
61 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test003()
62 ipv4_rule.public_port = 9050; in ipa_nat_test003()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test003()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test003()
Dipa_nat_test016.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test016() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test016()
57 ipv4_rule.target_port = 1234; in ipa_nat_test016()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test016()
59 ipv4_rule.private_port = 5678; in ipa_nat_test016()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test016()
61 ipv4_rule.public_port = 9050; in ipa_nat_test016()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test016()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test016()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test016()
Dipa_nat_test015.c53 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test015() local
57 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test015()
58 ipv4_rule.target_port = 1234; in ipa_nat_test015()
60 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test015()
61 ipv4_rule.private_port = 5678; in ipa_nat_test015()
62 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test015()
63 ipv4_rule.public_port = 9050; in ipa_nat_test015()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test015()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test015()
79 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test015()
Dipa_nat_test017.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test017() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test017()
57 ipv4_rule.target_port = 1234; in ipa_nat_test017()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test017()
59 ipv4_rule.private_port = 5678; in ipa_nat_test017()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test017()
61 ipv4_rule.public_port = 9050; in ipa_nat_test017()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test017()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test017()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test017()
Dipa_nat_test018.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test018() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test018()
57 ipv4_rule.target_port = 1234; in ipa_nat_test018()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test018()
59 ipv4_rule.private_port = 5678; in ipa_nat_test018()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test018()
61 ipv4_rule.public_port = 9050; in ipa_nat_test018()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test018()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test018()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test018()
Dipa_nat_test014.c51 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test014() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test014()
56 ipv4_rule.target_port = 1234; in ipa_nat_test014()
57 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test014()
58 ipv4_rule.private_port = 5678; in ipa_nat_test014()
59 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test014()
60 ipv4_rule.public_port = 9050; in ipa_nat_test014()
70 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test014()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test014()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test014()
Dipa_nat_test019.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test019() local
56 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test019()
57 ipv4_rule.target_port = 1234; in ipa_nat_test019()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test019()
59 ipv4_rule.private_port = 5678; in ipa_nat_test019()
60 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test019()
61 ipv4_rule.public_port = 9050; in ipa_nat_test019()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test019()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test019()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test019()

123