Searched refs:aport (Results 1 - 16 of 16) sorted by relevance

/freebsd-13-stable/sys/xen/interface/
H A Dargo.h63 xen_argo_port_t aport; member in struct:xen_argo_addr
90 xen_argo_port_t aport; member in struct:xen_argo_register_ring
98 xen_argo_port_t aport; member in struct:xen_argo_unregister_ring
/freebsd-13-stable/tests/sys/netinet/libalias/
H A D2_natout.c136 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
255 uint16_t sport, dport, aport; member in struct:__anon16195
[all...]
H A Dperf.c74 uint16_t sport, dport, aport; member in struct:__anon16196
122 int aport = htons(rand_range(1000, 2000)); local
127 LibAliasRedirectPort(la, prv2, sport, ANY_ADDR, 0, masq, aport, IPPROTO_UDP);
160 batch[i].aport = htons(u->uh_sport);
240 u = set_udp(p, batch[k].dport, batch[k].aport);
258 u->uh_sport == htons(batch[k].aport) &&
/freebsd-13-stable/sys/netinet/libalias/
H A Dalias_mod.h70 uint16_t *aport; /* Alias port. */ member in struct:alias_data
H A Dalias_nbt.c85 ah->aaddr == NULL || ah->aport == NULL)
96 return (AliasHandleUdpNbt(la, pip, ah->lnk, ah->aaddr, *ah->aport));
103 ah->aaddr == NULL || ah->aport == NULL)
114 AliasHandleUdpNbtNS(la, pip, ah->lnk, ah->aaddr, ah->aport,
123 ah->aaddr, ah->aport));
H A Dalias_smedia.c139 if (ah->dport != NULL && ah->aport != NULL && ah->sport != NULL &&
158 *ah->sport, *ah->aport, IPPROTO_UDP);
H A Dalias.c756 .aport = &alias_port,
882 .aport = &alias_port,
964 .aport = NULL,
990 .aport = &alias_port,
1116 .aport = &alias_port,
1365 .aport = NULL,
1518 .aport = NULL,
/freebsd-13-stable/sys/netinet6/
H A Dip_fw_nat64.h166 uint16_t aport; /* Local alias port */ member in struct:_ipfw_nat64lsn_state
188 uint16_t aport; /* Local alias port */ member in struct:_ipfw_nat64lsn_state_v1
/freebsd-13-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.h146 int nat64_do_handle_ip6(struct mbuf *m, uint32_t aaddr, uint16_t aport,
149 uint16_t aport, struct nat64_config *cfg, void *logdata);
H A Dnat64_translate.c1347 nat64_handle_icmp6(struct mbuf *m, int hlen, uint32_t aaddr, uint16_t aport, argument
1568 nat64_do_handle_ip6(struct mbuf *m, uint32_t aaddr, uint16_t aport, argument
1661 return (nat64_handle_icmp6(m, hlen, aaddr, aport,
1693 if (aport != 0) {
1695 *csum = cksum_adjust(*csum, tcp->th_sport, aport);
1696 tcp->th_sport = aport;
1702 if (aport != 0) {
1704 *csum = cksum_adjust(*csum, udp->uh_sport, aport);
1705 udp->uh_sport = aport;
1722 if (aport !
[all...]
H A Dnat64lsn.h56 uint16_t aport; member in struct:nat64lsn_state
H A Dnat64lsn_control.c592 s->aport = state->aport;
H A Dnat64lsn.c189 plog->subrulenr = htonl((uint32_t)(state->aport << 16) |
379 state->aport = pg->base_port + offset - 1;
1480 htons(state->aport), &cfg->base, logdata);
/freebsd-13-stable/lib/libc/net/
H A Drcmd.c93 int s, aport, lport, timo, error; local
256 aport = ntohs(((struct sockaddr_in *)&from)->sin_port);
260 aport = ntohs(((struct sockaddr_in6 *)&from)->sin6_port);
264 aport = 0; /* error */
271 if (aport == 20) {
283 if (aport >= IPPORT_RESERVED || aport < IPPORT_RESERVED / 2) {
/freebsd-13-stable/sys/dev/twe/
H A Dtwereg.h211 u_int8_t aport; member in struct:__anon14388
363 #define TWE_PARAM_DRIVESUMMARY_Status 3 /* array giving drive status per aport */
/freebsd-13-stable/sbin/ipfw/
H A Dnat64lsn.c142 s, ste->sport, a, ste->aport, proto,

Completed in 114 milliseconds