Lines Matching refs:rport
892 uint16_t lport, rport; in sctp_tcb_special_locate() local
908 rport = ((struct sockaddr_in *)from)->sin_port; in sctp_tcb_special_locate()
918 rport = ((struct sockaddr_in6 *)from)->sin6_port; in sctp_tcb_special_locate()
927 …ephead = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR((lport | rport), SCTP_BASE_INFO(hash… in sctp_tcb_special_locate()
1052 if (stcb->rport != rport) { in sctp_tcb_special_locate()
1151 uint16_t rport; in sctp_findassociation_ep_addr() local
1157 rport = (((struct sockaddr_in *)remote)->sin_port); in sctp_findassociation_ep_addr()
1162 rport = (((struct sockaddr_in6 *)remote)->sin6_port); in sctp_findassociation_ep_addr()
1213 if (stcb->rport != rport) { in sctp_findassociation_ep_addr()
1311 head = &inp->sctp_tcbhash[SCTP_PCBHASH_ALLADDR(rport, in sctp_findassociation_ep_addr()
1314 if (stcb->rport != rport) { in sctp_findassociation_ep_addr()
1998 struct sctp_inpcb **inp_p, struct sctp_nets **netp, uint16_t rport, in sctp_findassoc_by_vtag() argument
2027 if (stcb->rport != rport) { in sctp_findassoc_by_vtag()
2500 uint16_t lport, rport; in sctp_move_pcb_and_assoc() local
2545 rport = stcb->rport; in sctp_move_pcb_and_assoc()
2553 …head = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR((lport | rport), SCTP_BASE_INFO(hashtc… in sctp_move_pcb_and_assoc()
3740 ((struct sockaddr_in *)&net->ro._l_addr)->sin_port = stcb->rport; in sctp_add_remote_addr()
3745 ((struct sockaddr_in6 *)&net->ro._l_addr)->sin6_port = stcb->rport; in sctp_add_remote_addr()
3939 ntohs(stcb->rport) ^ in sctp_add_remote_addr()
4067 uint16_t rport; in sctp_aloc_assoc_locked() local
4157 rport = sin->sin_port; in sctp_aloc_assoc_locked()
4176 rport = sin6->sin6_port; in sctp_aloc_assoc_locked()
4210 stcb->rport = rport; in sctp_aloc_assoc_locked()
4265 head = &inp->sctp_tcbhash[SCTP_PCBHASH_ALLADDR(stcb->rport, in sctp_aloc_assoc_locked()
4430 sctp_is_in_timewait(uint32_t tag, uint16_t lport, uint16_t rport, time_t now) in sctp_is_in_timewait() argument
4443 (twait_block->vtag_block[i].rport == rport)) { in sctp_is_in_timewait()
4453 uint32_t tag, uint16_t lport, uint16_t rport) in sctp_set_vtag_block() argument
4458 vtag_block->rport = rport; in sctp_set_vtag_block()
4462 sctp_add_vtag_to_timewait(uint32_t tag, uint16_t lport, uint16_t rport) in sctp_add_vtag_to_timewait() argument
4480 sctp_set_vtag_block(twait_block->vtag_block + i, time, tag, lport, rport); in sctp_add_vtag_to_timewait()
4491 sctp_set_vtag_block(twait_block->vtag_block + i, time, tag, lport, rport); in sctp_add_vtag_to_timewait()
4513 sctp_set_vtag_block(twait_block->vtag_block, time, tag, lport, rport); in sctp_add_vtag_to_timewait()
4787 sctp_add_vtag_to_timewait(asoc->my_vtag, inp->sctp_lport, stcb->rport); in sctp_free_assoc()
5920 sin.sin_port = stcb->rport; in sctp_load_addresses_from_init()
5926 sin6.sin6_port = stcb->rport; in sctp_load_addresses_from_init()
6603 sctp_is_vtag_good(uint32_t tag, uint16_t lport, uint16_t rport, struct timeval *now) in sctp_is_vtag_good() argument
6623 if (stcb->rport != rport) { in sctp_is_vtag_good()
6633 return (!sctp_is_in_timewait(tag, lport, rport, now->tv_sec)); in sctp_is_vtag_good()