/macosx-10.10/xnu-2782.1.97/bsd/netinet/ |
H A D | tcp_lro.h | 77 #define LRO_HASH(faddr, laddr, fport, lport, mask) \ 78 (((faddr) ^ ((laddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
|
H A D | in_pcb.c | 703 u_short lport = 0, rand_port = 0; local 740 lport = SIN(nam)->sin_port; 782 if (lport != 0) { 786 if (ntohs(lport) < IPPORT_RESERVED) { 800 inp->inp_pcbinfo, SIN(nam)->sin_addr, lport, 817 in_pcb_conflict_post_msg(lport); 823 SIN(nam)->sin_addr, lport, wild); 842 in_pcb_conflict_post_msg(lport); 850 if (lport == 0) { 916 lport 1701 u_short lport = lport_arg; local 1796 u_short fport = fport_arg, lport = lport_arg; local 1919 u_short fport = fport_arg, lport = lport_arg; local [all...] |
H A D | in_pcb.h | 586 #define INP_PCBHASH(faddr, lport, fport, mask) \ 587 (((faddr) ^ ((faddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask)) 588 #define INP_PCBPORTHASH(lport, mask) \ 589 (ntohs((lport)) & (mask))
|
/macosx-10.10/remote_cmds-47/rlogin.tproj/ |
H A D | kcmd.c | 113 int lport = IPPORT_RESERVED - 1; local 115 int lport = START_PORT; local 141 s = getport(&lport); 163 lport--; 196 lport--; 199 lport = 0; 202 int s2 = getport(&lport), s3; 210 (void) sprintf(num, "%d", lport); 221 lport = 0; 288 if (lport) [all...] |
/macosx-10.10/OpenSSH-189/openssh/regress/ |
H A D | addrmatch.sh | 10 user="$1"; addr="$2"; host="$3"; laddr="$4"; lport="$5" 15 -C user=${user},addr=${addr},host=${host},laddr=${laddr},lport=${lport} | \
|
/macosx-10.10/dtrace-147/DTTk/Bin/ |
H A D | tcpsnoop.d | 129 self->lport = self->connp->u_port.tcpu_ports.tcpu_lport; 132 self->lport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_lport); 177 tlport[(int)self->connp] = self->lport; 237 self->lport = (uint16_t)arg0; 240 self->lport = BSWAP_16((uint16_t)arg0); 243 self->lport = BE16_TO_U16(arg0); 258 self->uid, self->pid, self->laddr, self->lport, self->dir, 262 self->uid, self->pid, self->laddr, self->lport, self->dir, 285 self->lport = tlport[(int)self->conn_p]; 314 self->lport [all...] |
/macosx-10.10/dtrace-147/DTTk/Net/ |
H A D | tcpsnoop.d | 129 self->lport = self->connp->u_port.tcpu_ports.tcpu_lport; 132 self->lport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_lport); 177 tlport[(int)self->connp] = self->lport; 237 self->lport = (uint16_t)arg0; 240 self->lport = BSWAP_16((uint16_t)arg0); 243 self->lport = BE16_TO_U16(arg0); 258 self->uid, self->pid, self->laddr, self->lport, self->dir, 262 self->uid, self->pid, self->laddr, self->lport, self->dir, 285 self->lport = tlport[(int)self->conn_p]; 314 self->lport [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/netinet6/ |
H A D | in6_pcb.c | 190 u_short lport = 0; local 221 lport = SIN6(nam)->sin6_port; 287 if (lport != 0) { 292 if (ntohs(lport) < IPV6PORT_RESERVED) { 306 &sin6.sin6_addr, lport, 326 pcbinfo, sin.sin_addr, lport, 343 &sin6.sin6_addr, lport, wild); 356 sin.sin_addr, lport, wild); 381 if (lport == 0) { 391 inp->inp_lport = lport; 856 u_short fport = fport_arg, lport = lport_arg; local 959 u_short lport = lport_arg; local 1100 u_short fport = fport_arg, lport = lport_arg; local 1197 u_short fport = fport_arg, lport = lport_arg; local [all...] |
H A D | in6_src.c | 1269 u_int16_t lport = 0, first, last, *lastport; local 1349 lport = htons(*lastport); 1350 } while (in6_pcblookup_local(pcbinfo, &inp->in6p_laddr, lport, 1371 lport = htons(*lastport); 1372 } while (in6_pcblookup_local(pcbinfo, &inp->in6p_laddr, lport, 1376 inp->inp_lport = lport;
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | helper.h | 79 extern void mDNSSendKeepalive(v6addr_t sadd, v6addr_t dadd, uint16_t lport, uint16_t rport, unsigned seq, unsigned ack, uint16_t win); 80 extern int mDNSRetrieveTCPInfo(int family, v6addr_t laddr, uint16_t lport, v6addr_t raddr, uint16_t rport, uint32_t *seq, uint32_t *ack, uint16_t *win, int32_t *intfid);
|
H A D | helpermsg.defs | 113 lport : uint16_t; 124 lport : uint16_t;
|
H A D | helper-stubs.c | 395 void mDNSSendKeepalive(v6addr_t sadd, v6addr_t dadd, uint16_t lport, uint16_t rport, unsigned seq, unsigned ack, uint16_t win) argument 421 kr = proxy_mDNSSendKeepalive(getHelperPort(retry), (uint8_t *)addr.sadd, (uint8_t *)addr.dadd, lport, rport, seq, ack, win); 428 int mDNSRetrieveTCPInfo(int family, v6addr_t laddr, uint16_t lport, v6addr_t raddr, uint16_t rport, uint32_t *seq, uint32_t *ack, uint16_t *win, int32_t *intfid) argument 433 kr = proxy_mDNSRetrieveTCPInfo(getHelperPort(retry), family, (uint8_t *)laddr, lport, (uint8_t *)raddr, rport, seq, ack, win, intfid);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/uwin/ |
H A D | rcmd.c | 109 int lport = IPPORT_RESERVED - 1; local 141 s = rresvport(&lport); 180 lport--; 228 lport--; 231 lport = 0; 234 int s2 = rresvport(&lport), s3; 240 (void) snprintf(num, sizeof(num), "%d", lport); 262 lport = 0; 305 if (lport)
|
/macosx-10.10/Libinfo-459/util.subproj/ |
H A D | rcmd.c | 125 int s, aport, lport, timo, error; local 160 for (timo = 1, lport = IPPORT_RESERVED - 1;;) { 161 s = rresvport_af(&lport, ai->ai_family); 182 lport--; 230 lport--; 234 lport = 0; 237 int s2 = rresvport_af(&lport, ai->ai_family), s3; 244 (void)snprintf(num, sizeof(num), "%d", lport); 300 lport = 0; 330 if (lport) [all...] |
/macosx-10.10/cups-408/cups/backend/ |
H A D | lpd.c | 663 int lport; /* LPD connection local port */ local 704 for (lport = reserve == RESERVE_RFC1179 ? 732 : 1024, addr = addrlist, 722 lport --; 724 if (lport < 721 && reserve == RESERVE_RFC1179) 725 lport = 731; 726 else if (lport < 1) 727 lport = 1023; 747 lport = 0; 753 * priviledged lport between 721 and 731... 756 if ((fd = rresvport_af(&lport, add [all...] |
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/ |
H A D | chat2.pl | 79 local($fam,$lport); 80 ($fam,$lport,$thisaddr) = unpack($sockaddr, getsockname(S));
|
/macosx-10.10/zsh-61/zsh/Src/Modules/ |
H A D | tcp.c | 397 int lport = 0; local 406 lport = srv->s_port; 408 lport = htons(atoi(args[0])); 409 if (!lport) { zwarnnam(nam, "bad service name or port number"); 429 sess->sock.in.sin_port = lport; 435 convbase(buf, (zlong)ntohs(lport), 10);
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | servconf.h | 194 int lport; /* local port */ member in struct:connection_info
|
H A D | servconf.c | 595 ci.lport = get_local_port(); 676 "laddr %s lport %d", cp, ci->user ? ci->user : "(null)", 679 ci->laddress ? ci->laddress : "(null)", ci->lport); 759 if (ci == NULL || ci->lport == 0) { 764 if (port == ci->lport) 1686 } else if (strncmp(p, "lport=", 6) == 0) { 1687 ci->lport = a2port(p + 6); 1688 if (ci->lport == -1) {
|
/macosx-10.10/xnu-2782.1.97/bsd/net/ |
H A D | pktap.c | 837 u_short fport, lport; local 862 lport = th.th_dport; 877 lport = uh.uh_dport; 884 laddr, lport, wildcard, outgoing ? NULL : ifp); 901 u_short fport, lport; local 925 lport = th.th_dport; 941 lport = uh.uh_dport; 948 laddr, lport, wildcard, outgoing ? NULL : ifp);
|
H A D | packet_mangler.c | 85 uint16_t lport; member in struct:packet_mangler 436 *(uint16_t *)data = p_pkt_mnglr->lport; 599 if (p_pkt_mnglr->lport != 0) { 602 p_pkt_mnglr->lport); 606 p_pkt_mnglr->lport = *(uint16_t *)data; 897 if (p_pkt_mnglr->lport && (p_pkt_mnglr->lport != tcp.th_dport)) {
|
/macosx-10.10/postfix-255/postfix/src/xsasl/ |
H A D | xsasl_cyrus_client.c | 110 #define SASL_CLIENT_NEW(srv, fqdn, lport, rport, prompt, secflags, pconn) \ 122 #define SASL_CLIENT_NEW(srv, fqdn, lport, rport, prompt, secflags, pconn) \ 123 sasl_client_new(srv, fqdn, lport, rport, prompt, secflags, pconn)
|
H A D | xsasl_cyrus_server.c | 107 #define SASL_SERVER_NEW(srv, fqdn, rlm, lport, rport, cb, secflags, pconn) \ 124 #define SASL_SERVER_NEW(srv, fqdn, rlm, lport, rport, cb, secflags, pconn) \ 125 sasl_server_new(srv, fqdn, rlm, lport, rport, cb, secflags, pconn)
|
/macosx-10.10/network_cmds-457/traceroute6.tproj/ |
H A D | traceroute6.c | 367 u_long probe, hops, lport; local 484 lport = strtoul(optarg, &ep, 0); 489 if (lport == 0 || lport != (lport & 0xffff)) { 494 port = lport & 0xffff;
|
/macosx-10.10/Libnotify-133.1.1/notifyd/ |
H A D | notify_proc.c | 148 long lport = (long)px; local 155 port = (mach_port_t)lport; 186 long lport = (long)px; local 187 mach_port_t port = (mach_port_t)lport; 196 long lport = (long)px; local 201 port = (mach_port_t)lport; 237 long lport; local 260 lport = c->port; 261 dispatch_set_context(src, (void *)lport);
|