Lines Matching refs:rport
1145 uint16_t lport, rport;
1164 rport = ((struct sockaddr_in *)from)->sin_port;
1174 rport = ((struct sockaddr_in6 *)from)->sin6_port;
1184 rport = ((struct sockaddr_conn *)from)->sconn_port;
1193 ephead = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR((lport | rport), SCTP_BASE_INFO(hashtcpmark))];
1312 if (stcb->rport != rport) {
1427 uint16_t rport;
1433 rport = (((struct sockaddr_in *)remote)->sin_port);
1438 rport = (((struct sockaddr_in6 *)remote)->sin6_port);
1443 rport = (((struct sockaddr_in6 *)remote)->sin6_port);
1519 if (stcb->rport != rport) {
1642 head = &inp->sctp_tcbhash[SCTP_PCBHASH_ALLADDR(rport,
1648 if (stcb->rport != rport) {
2424 struct sctp_inpcb **inp_p, struct sctp_nets **netp, uint16_t rport,
2473 if (stcb->rport != rport) {
3026 uint16_t lport, rport;
3054 rport = stcb->rport;
3062 head = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR((lport | rport), SCTP_BASE_INFO(hashtcpmark))];
4480 ((struct sockaddr_in *)&net->ro._l_addr)->sin_port = stcb->rport;
4488 ((struct sockaddr_in6 *)&net->ro._l_addr)->sin6_port = stcb->rport;
4496 ((struct sockaddr_conn *)&net->ro._l_addr)->sconn_port = stcb->rport;
4670 ntohs(stcb->rport) ^
4823 uint16_t rport;
4914 rport = sin->sin_port;
4933 rport = sin6->sin6_port;
4951 rport = sconn->sconn_port;
4997 stcb->rport = rport;
5072 head = &inp->sctp_tcbhash[SCTP_PCBHASH_ALLADDR(stcb->rport,
5178 sctp_delete_from_timewait(uint32_t tag, uint16_t lport, uint16_t rport)
5190 (twait_block->vtag_block[i].rport == rport)) {
5194 twait_block->vtag_block[i].rport = 0;
5205 sctp_is_in_timewait(uint32_t tag, uint16_t lport, uint16_t rport)
5218 (twait_block->vtag_block[i].rport == rport)) {
5232 sctp_add_vtag_to_timewait(uint32_t tag, uint32_t time, uint16_t lport, uint16_t rport)
5255 twait_block->vtag_block[i].rport = rport;
5263 twait_block->vtag_block[i].rport = 0;
5269 twait_block->vtag_block[i].rport = rport;
5297 twait_block->vtag_block[0].rport = rport;
5582 inp->sctp_lport, stcb->rport);
7023 sin.sin_port = stcb->rport;
7031 sin6.sin6_port = stcb->rport;
7633 sctp_is_vtag_good(uint32_t tag, uint16_t lport, uint16_t rport, struct timeval *now)
7666 if (stcb->rport != rport) {
7696 twait_block->vtag_block[i].rport = 0;
7699 (twait_block->vtag_block[i].rport == rport)) {