Lines Matching refs:lport

1004 	uint16_t lport, rport;
1019 lport = ((struct sockaddr_in *)to)->sin_port;
1029 lport = ((struct sockaddr_in6 *)to)->sin6_port;
1039 ephead = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR((lport | rport), SCTP_BASE_INFO(hashtcpmark))];
1052 if (lport != inp->sctp_lport) {
1595 uint16_t lport, uint32_t vrf_id)
1640 (inp->sctp_lport == lport)) {
1731 if (inp->sctp_lport != lport) {
1787 sctp_isport_inuse(struct sctp_inpcb *inp, uint16_t lport, uint32_t vrf_id)
1793 head = &SCTP_BASE_INFO(sctp_ephash)[SCTP_PCBHASH_ALLADDR(lport,
1796 if (t_inp->sctp_lport != lport) {
1894 int lport;
1907 lport = sin->sin_port;
1913 lport = sin6->sin6_port;
1928 head = &SCTP_BASE_INFO(sctp_ephash)[SCTP_PCBHASH_ALLADDR(lport,
1930 inp = sctp_endpoint_probe(nam, head, lport, vrf_id);
1945 inp = sctp_endpoint_probe(nam, head, lport, vrf_id);
2111 uint16_t lport, int skip_src_check, uint32_t vrf_id, uint32_t remote_tag)
2143 if (stcb->sctp_ep->sctp_lport != lport) {
2612 uint16_t lport, rport;
2656 lport = new_inp->sctp_lport = old_inp->sctp_lport;
2665 head = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR((lport | rport), SCTP_BASE_INFO(hashtcpmark))];
2831 uint16_t lport;
2838 lport = 0;
2879 lport = sin->sin_port;
2910 lport = sin6->sin6_port;
2944 if (lport) {
2950 if (ntohs(lport) < IPPORT_RESERVED &&
3016 /* verify that no lport is not used by a singleton */
3018 (inp_tmp = sctp_isport_inuse(inp, lport, vrf_id))) {
3060 lport = htons(candidate);
3202 head = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR(lport, SCTP_BASE_INFO(hashtcpmark))];
3205 head = &SCTP_BASE_INFO(sctp_ephash)[SCTP_PCBHASH_ALLADDR(lport, SCTP_BASE_INFO(hashmark))];
3210 (void *)head, ntohs(lport), port_reuse_active);
3212 inp->sctp_lport = lport;
4544 sctp_is_in_timewait(uint32_t tag, uint16_t lport, uint16_t rport, time_t now)
4556 (twait_block->vtag_block[i].lport == lport) &&
4567 uint32_t tag, uint16_t lport, uint16_t rport)
4571 vtag_block->lport = lport;
4576 sctp_add_vtag_to_timewait(uint32_t tag, uint16_t lport, uint16_t rport)
4594 sctp_set_vtag_block(twait_block->vtag_block + i, time, tag, lport, rport);
4605 sctp_set_vtag_block(twait_block->vtag_block + i, time, tag, lport, rport);
4627 sctp_set_vtag_block(twait_block->vtag_block, time, tag, lport, rport);
6718 sctp_is_vtag_good(uint32_t tag, uint16_t lport, uint16_t rport, struct timeval *now)
6741 if (stcb->sctp_ep->sctp_lport != lport) {
6748 return (!sctp_is_in_timewait(tag, lport, rport, now->tv_sec));