/freebsd/tests/sys/netinet/libalias/ |
H A D | 2_natout.c | 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)); [all …]
|
H A D | perf.c | 74 uint16_t sport, dport, aport; in main() member 122 int aport = htons(rand_range(1000, 2000)); in main() local 127 LibAliasRedirectPort(la, prv2, sport, ANY_ADDR, 0, masq, aport, IPPROTO_UDP); in main() 160 batch[i].aport = htons(u->uh_sport); in main() 240 u = set_udp(p, batch[k].dport, batch[k].aport); in main() 258 u->uh_sport == htons(batch[k].aport) && in main()
|
/freebsd/sys/contrib/xen/ |
H A D | argo.h | 63 xen_argo_port_t aport; member 90 xen_argo_port_t aport; member 98 xen_argo_port_t aport; member
|
/freebsd/lib/libc/net/ |
H A D | rcmd.c | 87 int s, aport, lport, timo, error; in rcmd_af() local 250 aport = ntohs(((struct sockaddr_in *)&from)->sin_port); in rcmd_af() 254 aport = ntohs(((struct sockaddr_in6 *)&from)->sin6_port); in rcmd_af() 258 aport = 0; /* error */ in rcmd_af() 265 if (aport == 20) { in rcmd_af() 277 if (aport >= IPPORT_RESERVED || aport < IPPORT_RESERVED / 2) { in rcmd_af()
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.h | 144 int nat64_do_handle_ip6(struct mbuf *m, uint32_t aaddr, uint16_t aport, 147 uint16_t aport, struct nat64_config *cfg, void *logdata);
|
H A D | nat64_translate.c | 1337 nat64_handle_icmp6(struct mbuf *m, int hlen, uint32_t aaddr, uint16_t aport, in nat64_handle_icmp6() argument 1558 nat64_do_handle_ip6(struct mbuf *m, uint32_t aaddr, uint16_t aport, in nat64_do_handle_ip6() argument 1651 return (nat64_handle_icmp6(m, hlen, aaddr, aport, in nat64_do_handle_ip6() 1678 if (aport != 0) { in nat64_do_handle_ip6() 1680 *csum = cksum_adjust(*csum, tcp->th_sport, aport); in nat64_do_handle_ip6() 1681 tcp->th_sport = aport; in nat64_do_handle_ip6() 1687 if (aport != 0) { in nat64_do_handle_ip6() 1689 *csum = cksum_adjust(*csum, udp->uh_sport, aport); in nat64_do_handle_ip6() 1690 udp->uh_sport = aport; in nat64_do_handle_ip6() 1707 if (aport != 0) { in nat64_do_handle_ip6() [all …]
|
H A D | nat64lsn.h | 54 uint16_t aport; member
|
H A D | nat64lsn_control.c | 589 s->aport = state->aport; in nat64lsn_export_states_v1()
|
H A D | nat64lsn.c | 186 plog->subrulenr = htonl((uint32_t)(state->aport << 16) | in nat64lsn_log() 376 state->aport = pg->base_port + offset - 1; in nat64lsn_get_state6to4() 1477 htons(state->aport), &cfg->base, logdata); in nat64lsn_translate6_internal()
|
/freebsd/sys/netinet6/ |
H A D | ip_fw_nat64.h | 164 uint16_t aport; /* Local alias port */ member 186 uint16_t aport; /* Local alias port */ member
|
/freebsd/sys/netinet/libalias/ |
H A D | alias_nbt.c | 83 ah->aaddr == NULL || ah->aport == NULL) in fingerprint1() 94 return (AliasHandleUdpNbt(la, pip, ah->lnk, ah->aaddr, *ah->aport)); in protohandler1() 101 ah->aaddr == NULL || ah->aport == NULL) in fingerprint2() 112 AliasHandleUdpNbtNS(la, pip, ah->lnk, ah->aaddr, ah->aport, in protohandler2in() 121 ah->aaddr, ah->aport)); in protohandler2out()
|
H A D | alias_mod.h | 68 uint16_t *aport; /* Alias port. */ member
|
H A D | alias.c | 770 .aport = &alias_port, in UdpAliasIn() 890 .aport = &alias_port, in UdpAliasOut() 972 .aport = NULL, in TcpAliasIn() 998 .aport = &alias_port, in TcpAliasIn() 1124 .aport = &alias_port, in TcpAliasOut() 1378 .aport = NULL, in LibAliasInLocked() 1532 .aport = NULL, in LibAliasOutLocked()
|
H A D | alias_smedia.c | 137 if (ah->dport != NULL && ah->aport != NULL && ah->sport != NULL && in fingerprint() 156 *ah->sport, *ah->aport, IPPROTO_UDP); in protohandler()
|
/freebsd/sbin/ipfw/ |
H A D | nat64lsn.c | 139 s, ste->sport, a, ste->aport, proto, in nat64lsn_print_states()
|
/freebsd/share/dict/ |
H A D | web2 | 11616 aport
|