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

/darwin-on-arm/xnu/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.c431 u_short lport = 0, rand_port = 0; local
464 lport = sin->sin_port;
490 if (lport) {
495 if (ntohs(lport) < IPPORT_RESERVED) {
509 sin->sin_addr, lport, INPLOOKUP_WILDCARD);
529 in_pcb_conflict_post_msg(lport);
539 lport, wild);
559 in_pcb_conflict_post_msg(lport);
571 if (lport == 0) {
633 lport
1272 u_short lport = lport_arg; local
1371 u_short fport = fport_arg, lport = lport_arg; local
1507 u_short fport = fport_arg, lport = lport_arg; local
[all...]
H A Din_pcb.h532 #define INP_PCBHASH(faddr, lport, fport, mask) \
533 (((faddr) ^ ((faddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
534 #define INP_PCBPORTHASH(lport, mask) \
535 (ntohs((lport)) & (mask))
H A Dudp_usrreq.c1306 u_short lport, fport; local
1427 lport = inp->inp_lport;
1436 if (lport == 0) {
1450 lport = inp->inp_lport;
1509 ui->ui_sport = lport;
H A Dtcp_usrreq.c1279 uint16_t lport = inp->inp_lport; local
1287 finp = in6_pcblookup_hash(&tcbinfo, &laddr6, lport, &faddr6, fport, 0, NULL);
1293 finp = in_pcblookup_hash(&tcbinfo, laddr4, lport, faddr4, fport, 0, NULL);
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_pcb.c188 u_short lport = 0; local
231 lport = sin6->sin6_port;
273 if (lport) {
278 if (ntohs(lport) < IPV6PORT_RESERVED) {
293 &sin6->sin6_addr, lport,
313 sin.sin_addr, lport,
330 lport, wild);
342 lport, wild);
360 if (lport == 0) {
368 inp->inp_lport = lport;
789 u_short fport = fport_arg, lport = lport_arg; local
897 u_short lport = lport_arg; local
1053 u_short fport = fport_arg, lport = lport_arg; local
1158 u_short fport = fport_arg, lport = lport_arg; local
[all...]
H A Din6_src.c1196 u_int16_t lport = 0, first, last, *lastport; local
1263 lport = htons(*lastport);
1265 &inp->in6p_laddr, lport, wild));
1287 lport = htons(*lastport);
1289 &inp->in6p_laddr, lport, wild));
1292 inp->inp_lport = lport;
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_proto.c78 if ((gref == 0) || (gref->lport == 0)) {
87 if ((gref == 0) || (gref->lport == 0)) {
93 if ((error = ddp_output(&mp, gref->lport, 0)) != 0) {
131 cfgp->inet.socket = gref->lport;
H A Dat_pcb.c154 if (pcb->lport) {
155 ddp_notify_nbp(pcb->lport, pcb->pid, pcb->ddptype);
156 pcb->lport = 0;
181 if (pcb->lport == ddpsock &&
198 if (pcb->lport != ATADDR_ANYPORT ||
225 pcb->lport = ddpsock;
H A Dat_pcb.h87 lport, /* local DDP socket */ member in struct:atpcb
H A Dddp_usrreq.c222 ddp->src_socket = pcb->lport;
244 ddp->src_socket = pcb->lport;
250 return(ddp_output(&m, pcb->lport, FALSE));
271 sat->sat_port = pcb->lport;
H A Dddp.c170 addr.inet.socket = at_pcb->lport;
441 if (gref->lport == socket && gref->pid == pid)
1059 if (gref->lport == socket &&
H A Datp_write.c376 cfgp->inet.socket = atp->atp_gref->lport;
1191 atp->atp_gref->lport = ddp->src_node;
1522 atp->atp_gref->lport = ddp->src_node;

Completed in 100 milliseconds