Lines Matching defs:lport
242 uint16_t lport, rport;
254 lport = ((struct sockaddr_in *)to)->sin_port;
257 lport = ((struct sockaddr_in6 *)to)->sin6_port;
263 (lport + rport), sctppcbinfo.hashtcpmark)];
274 if (lport != inp->sctp_lport) {
662 uint16_t lport)
689 (inp->sctp_lport == lport)) {
726 printf("Ok, there is NO bound-all available for port:%x\n", ntohs(lport));
739 if (inp->sctp_lport != lport) {
833 int lport;
842 lport = ((struct sockaddr_in *)nam)->sin_port;
844 lport = ((struct sockaddr_in6 *)nam)->sin6_port;
858 head = &sctppcbinfo.sctp_ephash[SCTP_PCBHASH_ALLADDR(lport,
865 inp = sctp_endpoint_probe(nam, head, lport);
890 inp = sctp_endpoint_probe(nam, head, lport);
1056 uint16_t lport)
1088 if (stcb->sctp_ep->sctp_lport != lport) {
1492 uint16_t lport, rport;
1513 lport = new_inp->sctp_lport = old_inp->sctp_lport;
1520 head = &sctppcbinfo.sctp_tcpephash[SCTP_PCBHASH_ALLADDR((lport + rport),
1572 sctp_isport_inuse(struct sctp_inpcb *inp, uint16_t lport)
1577 head = &sctppcbinfo.sctp_ephash[SCTP_PCBHASH_ALLADDR(lport,
1580 if (t_inp->sctp_lport != lport) {
1619 uint16_t lport;
1622 lport = 0;
1654 lport = sin->sin_port;
1671 lport = sin6->sin6_port;
1708 if (lport) {
1714 if (ntohs(lport) < IPPORT_RESERVED)
1746 /* verify that no lport is not used by a singleton */
1747 lport)) {
1815 lport = htons(port_attempt);
1917 head = &sctppcbinfo.sctp_ephash[SCTP_PCBHASH_ALLADDR(lport,
1923 printf("Main hash to bind at head:%p, bound port:%d\n", head, ntohs(lport));
1927 inp->sctp_lport = lport;