/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | ddp_proto.c | 78 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 D | at_pcb.c | 154 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 D | at_pcb.h | 87 lport, /* local DDP socket */ member in struct:atpcb
|
H A D | ddp_usrreq.c | 220 ddp->src_socket = pcb->lport; 242 ddp->src_socket = pcb->lport; 248 return(ddp_output(&m, pcb->lport, FALSE)); 269 sat->sat_port = pcb->lport;
|
H A D | ddp.c | 170 addr.inet.socket = at_pcb->lport; 436 if (gref->lport == socket && gref->pid == pid) 1054 if (gref->lport == socket &&
|
H A D | atp_write.c | 376 cfgp->inet.socket = atp->atp_gref->lport; 1191 atp->atp_gref->lport = ddp->src_node; 1522 atp->atp_gref->lport = ddp->src_node;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6_pcb.c | 185 u_short lport = 0; local 221 lport = sin6->sin6_port; 259 if (lport) { 263 if (ntohs(lport) < IPV6PORT_RESERVED && p && 273 &sin6->sin6_addr, lport, 292 sin.sin_addr, lport, 309 lport, wild); 321 lport, wild); 338 if (lport == 0) { 346 inp->inp_lport = lport; 929 u_short fport = fport_arg, lport = lport_arg; local 1020 u_short lport = lport_arg; local 1208 u_short fport = fport_arg, lport = lport_arg; local [all...] |
H A D | in6_src.c | 359 u_int16_t lport = 0, first, last, *lastport; local 421 lport = htons(*lastport); 423 &inp->in6p_laddr, lport, wild)); 444 lport = htons(*lastport); 446 &inp->in6p_laddr, lport, wild)); 449 inp->inp_lport = lport;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_pcb.c | 355 u_short lport = 0; local 385 lport = sin->sin_port; 408 if (lport) { 412 if (ntohs(lport) < IPPORT_RESERVED && p && 421 sin->sin_addr, lport, INPLOOKUP_WILDCARD); 446 in_pcb_conflict_post_msg(lport); 457 lport, wild); 478 in_pcb_conflict_post_msg(lport); 489 if (lport == 0) { 536 lport 1120 u_short lport = lport_arg; local 1217 u_short fport = fport_arg, lport = lport_arg; local 1439 in_pcb_grab_port(struct inpcbinfo *pcbinfo, u_short options, struct in_addr laddr, u_short *lport, struct in_addr faddr, u_short fport, u_int cookie, u_char owner_id) argument 1633 in_pcb_letgo_port(struct inpcbinfo *pcbinfo, struct in_addr laddr, u_short lport, struct in_addr faddr, u_short fport, u_char owner_id) argument 1665 in_pcb_get_owner(struct inpcbinfo *pcbinfo, struct in_addr laddr, u_short lport, struct in_addr faddr, u_short fport, u_int *cookie) argument [all...] |
H A D | in_pcb.h | 420 #define INP_PCBHASH(faddr, lport, fport, mask) \ 421 (((faddr) ^ ((faddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask)) 422 #define INP_PCBPORTHASH(lport, mask) \ 423 (ntohs((lport)) & (mask)) 542 u_short *lport, 551 u_short lport, 558 u_short lport,
|
H A D | udp_usrreq.c | 253 lport = 1500; 254 in_pcb_grab_port(&udbinfo, 0, laddr, &lport, faddr, 1600, 0, fake_owner); 266 lport = 1500; 267 stat = in_pcb_grab_port(&udbinfo, 0, laddr, &lport, faddr, 1600, 0, fake_owner); 1007 u_short lport, fport; local 1057 lport = inp->inp_lport; 1066 if (lport == 0) { 1077 lport = inp->inp_lport; 1132 ui->ui_sport = lport;
|