Lines Matching refs:aport

136 	uint16_t aport;  variable
145 aport = ntohs(uo->uh_sport);
147 ATF_CHECK(aport != sport);
151 UDP_UNNAT_CHECK(pi, ui, ext, dport, masq, aport, prv1, sport);
156 ATF_CHECK(uo->uh_sport != htons(aport));
163 UDP_UNNAT_CHECK(pi, ui, ext, dport, masq, aport, prv1, sport);
178 uint16_t aport; variable
187 aport = ntohs(u->uh_sport);
189 ATF_CHECK(aport == sport);
194 ATF_CHECK(u->uh_sport != htons(aport));
208 uint16_t aport; variable
219 aport = ntohs(uo->uh_sport);
221 ATF_CHECK(aport == sport);
225 UDP_UNNAT_CHECK(po, uo, ext, dport, masq, aport, prv1, sport);
232 UDP_UNNAT_FAIL(pi, ui, ext, dport, masq, aport);
237 ATF_CHECK(uo->uh_sport == htons(aport));
255 uint16_t sport, dport, aport; member
290 batch[i].aport = htons(u->uh_sport);
298 masq, batch[i].aport,
316 uint16_t aport; variable
325 aport = ntohs(uo->uh_sport);
326 ATF_CHECK(aport >= 0x8000);
332 aport = ntohs(uo->uh_sport);
333 ATF_CHECK(aport >= 2000 && aport < 3000);
339 aport = ntohs(uo->uh_sport);
340 ATF_CHECK(aport >= 4000 && aport <= 4001);
344 aport = ntohs(uo->uh_sport);
345 ATF_CHECK(aport >= 4000 && aport <= 4001);
355 aport = ntohs(uo->uh_sport);
356 ATF_CHECK(aport >= 0x8000);
371 uint16_t aport, aport2, aport3; variable
379 aport = ntohs(uo->uh_sport);
385 ATF_CHECK_EQ_MSG(aport, aport2,
387 aport, aport2);
393 ATF_CHECK_EQ_MSG(aport, aport3, "NAT uses address-dependent mapping");
410 uint16_t aport; variable
418 aport = ntohs(uo->uh_sport);
422 UDP_UNNAT_CHECK(po2, uo2, pub, dport2, masq, aport, prv1, sport);
426 UDP_UNNAT_CHECK(po3, uo3, pub2, dport2, masq, aport, prv1, sport);
443 uint16_t aport; variable
454 aport = ntohs(uo->uh_sport);
459 set_udp(po2, dport, aport);
467 set_udp(po3, dport2, aport);
476 set_udp(po4, dport2, aport);