Home
last modified time | relevance | path

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

/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_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_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_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_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_test005.c52 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test005() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test005()
56 ipv4_rule.target_port = 1234; in ipa_nat_test005()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test005()
59 ipv4_rule.private_port = 5678; in ipa_nat_test005()
61 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test005()
62 ipv4_rule.public_port = 9050; in ipa_nat_test005()
69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test005()
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test005()
Dipa_nat_test006.c51 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test006() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test006()
56 ipv4_rule.target_port = 1234; in ipa_nat_test006()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test006()
59 ipv4_rule.private_port = 5678; in ipa_nat_test006()
61 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test006()
62 ipv4_rule.public_port = 9050; in ipa_nat_test006()
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test006()
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test006()
Dipa_nat_test007.c51 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test007() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test007()
56 ipv4_rule.target_port = 1234; in ipa_nat_test007()
57 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test007()
58 ipv4_rule.private_port = 5678; in ipa_nat_test007()
59 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test007()
60 ipv4_rule.public_port = 9050; in ipa_nat_test007()
70 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test007()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test007()
Dipa_nat_test001.c50 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test001() local
53 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test001()
54 ipv4_rule.target_port = 1234; in ipa_nat_test001()
56 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test001()
57 ipv4_rule.private_port = 5678; in ipa_nat_test001()
59 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test001()
60 ipv4_rule.public_port = 9050; in ipa_nat_test001()
69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test001()
Dipa_nat_test002.c51 ipa_nat_ipv4_rule ipv4_rule; in ipa_nat_test002() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test002()
56 ipv4_rule.target_port = 1234; in ipa_nat_test002()
58 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test002()
59 ipv4_rule.private_port = 5678; in ipa_nat_test002()
61 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test002()
62 ipv4_rule.public_port = 9050; in ipa_nat_test002()
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test002()
Dipa_nat_test009.c51 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule1; in ipa_nat_test009() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test009()
56 ipv4_rule.target_port = 1234; in ipa_nat_test009()
57 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test009()
58 ipv4_rule.private_port = 5678; in ipa_nat_test009()
59 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test009()
60 ipv4_rule.public_port = 9050; in ipa_nat_test009()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test009()
Dipa_nat_test008.c51 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule1; in ipa_nat_test008() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test008()
56 ipv4_rule.target_port = 1234; in ipa_nat_test008()
57 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test008()
58 ipv4_rule.private_port = 5678; in ipa_nat_test008()
59 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test008()
60 ipv4_rule.public_port = 9050; in ipa_nat_test008()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test008()
Dipa_nat_test012.c52 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule1, ipv4_rule2; in ipa_nat_test012() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test012()
56 ipv4_rule.target_port = 1234; in ipa_nat_test012()
57 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test012()
58 ipv4_rule.private_port = 5678; in ipa_nat_test012()
59 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test012()
60 ipv4_rule.public_port = 9050; in ipa_nat_test012()
84 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test012()
Dipa_nat_test011.c51 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule1, ipv4_rule2; in ipa_nat_test011() local
54 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test011()
55 ipv4_rule.target_port = 1234; in ipa_nat_test011()
56 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test011()
57 ipv4_rule.private_port = 5678; in ipa_nat_test011()
58 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test011()
59 ipv4_rule.public_port = 9050; in ipa_nat_test011()
83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test011()
Dipa_nat_test010.c51 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule1, ipv4_rule2; in ipa_nat_test010() local
55 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test010()
56 ipv4_rule.target_port = 1234; in ipa_nat_test010()
57 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test010()
58 ipv4_rule.private_port = 5678; in ipa_nat_test010()
59 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test010()
60 ipv4_rule.public_port = 9050; in ipa_nat_test010()
83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test010()
Dipa_nat_test013.c51 ipa_nat_ipv4_rule ipv4_rule, ipv4_rule1, ipv4_rule2; in ipa_nat_test013() local
54 ipv4_rule.target_ip = 0xC1171601; /* 193.23.22.1 */ in ipa_nat_test013()
55 ipv4_rule.target_port = 1234; in ipa_nat_test013()
56 ipv4_rule.private_ip = 0xC2171601; /* 194.23.22.1 */ in ipa_nat_test013()
57 ipv4_rule.private_port = 5678; in ipa_nat_test013()
58 ipv4_rule.protocol = IPPROTO_TCP; in ipa_nat_test013()
59 ipv4_rule.public_port = 9050; in ipa_nat_test013()
83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); in ipa_nat_test013()