Searched refs:lport (Results 1 - 25 of 38) sorted by relevance

12

/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Dtcp_lro.h77 #define LRO_HASH(faddr, laddr, fport, lport, mask) \
78 (((faddr) ^ ((laddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
H A Din_pcb.c664 u_short lport = 0, rand_port = 0; local
696 lport = SIN(nam)->sin_port;
738 if (lport != 0) {
743 if (ntohs(lport) < IPPORT_RESERVED) {
757 inp->inp_pcbinfo, SIN(nam)->sin_addr, lport,
774 in_pcb_conflict_post_msg(lport);
780 SIN(nam)->sin_addr, lport, wild);
799 in_pcb_conflict_post_msg(lport);
808 if (lport == 0) {
881 lport
1628 u_short lport = lport_arg; local
1723 u_short fport = fport_arg, lport = lport_arg; local
1854 u_short fport = fport_arg, lport = lport_arg; local
[all...]
H A Din_pcb.h565 #define INP_PCBHASH(faddr, lport, fport, mask) \
566 (((faddr) ^ ((faddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
567 #define INP_PCBPORTHASH(lport, mask) \
568 (ntohs((lport)) & (mask))
H A Dudp_usrreq.c1304 u_short lport, fport; local
1432 lport = inp->inp_lport;
1441 if (lport == 0) {
1462 lport = inp->inp_lport;
1534 ui->ui_sport = lport;
/macosx-10.9.5/remote_cmds-41.90.1/rlogin.tproj/
H A Dkcmd.c113 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.9.5/OpenSSH-186/openssh/regress/
H A Daddrmatch.sh10 user="$1"; addr="$2"; host="$3"; laddr="$4"; lport="$5"
15 -C user=${user},addr=${addr},host=${host},laddr=${laddr},lport=${lport} | \
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/
H A Dtcpsnoop.d129 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.9.5/dtrace-118.1/DTTk/Net/
H A Dtcpsnoop.d129 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.9.5/xnu-2422.115.4/bsd/netinet6/
H A Din6_pcb.c185 u_short lport = 0; local
215 lport = SIN6(nam)->sin6_port;
282 if (lport != 0) {
287 if (ntohs(lport) < IPV6PORT_RESERVED) {
301 &sin6.sin6_addr, lport,
321 pcbinfo, sin.sin_addr, lport,
338 &sin6.sin6_addr, lport, wild);
351 sin.sin_addr, lport, wild);
366 if (lport == 0) {
373 inp->inp_lport = lport;
823 u_short fport = fport_arg, lport = lport_arg; local
926 u_short lport = lport_arg; local
1067 u_short fport = fport_arg, lport = lport_arg; local
1172 u_short fport = fport_arg, lport = lport_arg; local
[all...]
H A Din6_src.c1220 u_int16_t lport = 0, first, last, *lastport; local
1287 lport = htons(*lastport);
1288 } while (in6_pcblookup_local(pcbinfo, &inp->in6p_laddr, lport,
1309 lport = htons(*lastport);
1310 } while (in6_pcblookup_local(pcbinfo, &inp->in6p_laddr, lport,
1314 inp->inp_lport = lport;
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/
H A Dhelper.h79 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 Dhelpermsg.defs113 lport : uint16_t;
124 lport : uint16_t;
H A Dhelper-stubs.c395 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.9.5/ksh-20/ksh/src/lib/libast/uwin/
H A Drcmd.c109 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.9.5/Libinfo-449.1.3/util.subproj/
H A Drcmd.c125 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.9.5/cups-372.4/cups/backend/
H A Dlpd.c672 int lport; /* LPD connection local port */ local
713 for (lport = reserve == RESERVE_RFC1179 ? 732 : 1024, addr = addrlist,
731 lport --;
733 if (lport < 721 && reserve == RESERVE_RFC1179)
734 lport = 731;
735 else if (lport < 1)
736 lport = 1023;
756 lport = 0;
762 * priviledged lport between 721 and 731...
765 if ((fd = rresvport_af(&lport, add
[all...]
/macosx-10.9.5/CPANInternal-140/Perl4-CoreLibs-0.003/lib/
H A Dchat2.pl79 local($fam,$lport);
80 ($fam,$lport,$thisaddr) = unpack($sockaddr, getsockname(S));
/macosx-10.9.5/zsh-60/zsh/Src/Modules/
H A Dtcp.c397 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.9.5/OpenSSH-186/openssh/
H A Dservconf.h194 int lport; /* local port */ member in struct:connection_info
H A Dservconf.c595 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.9.5/xnu-2422.115.4/bsd/net/
H A Dpktap.c776 u_short fport, lport; local
800 lport = th.th_dport;
814 lport = uh.uh_dport;
821 laddr, lport, wildcard, outgoing ? NULL : ifp);
837 u_short fport, lport; local
860 lport = th.th_dport;
875 lport = uh.uh_dport;
882 laddr, lport, wildcard, outgoing ? NULL : ifp);
/macosx-10.9.5/postfix-252/postfix/src/xsasl/
H A Dxsasl_cyrus_client.c110 #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 Dxsasl_cyrus_server.c112 #define SASL_SERVER_NEW(srv, fqdn, rlm, lport, rport, cb, secflags, pconn) \
129 #define SASL_SERVER_NEW(srv, fqdn, rlm, lport, rport, cb, secflags, pconn) \
130 sasl_server_new(srv, fqdn, rlm, lport, rport, cb, secflags, pconn)
/macosx-10.9.5/network_cmds-433/traceroute6.tproj/
H A Dtraceroute6.c374 u_long probe, hops, lport; local
491 lport = strtoul(optarg, &ep, 0);
496 if (lport == 0 || lport != (lport & 0xffff)) {
501 port = lport & 0xffff;
/macosx-10.9.5/Libnotify-121.20.1/notifyd/
H A Dnotify_proc.c148 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);

Completed in 335 milliseconds

12