Lines Matching refs:old_inp
1489 sctp_move_pcb_and_assoc(struct sctp_inpcb *old_inp, struct sctp_inpcb *new_inp,
1498 SCTP_INP_WLOCK(old_inp);
1503 old_inp->sctp_ep.time_of_secret_change;
1504 memcpy(new_inp->sctp_ep.secret_key, old_inp->sctp_ep.secret_key,
1505 sizeof(old_inp->sctp_ep.secret_key));
1507 old_inp->sctp_ep.current_secret_number;
1509 old_inp->sctp_ep.last_secret_number;
1510 new_inp->sctp_ep.size_of_a_cookie = old_inp->sctp_ep.size_of_a_cookie;
1513 lport = new_inp->sctp_lport = old_inp->sctp_lport;
1541 /* Subset bound, so copy in the laddr list from the old_inp */
1542 LIST_FOREACH(oladdr, &old_inp->sctp_addr_list, sctp_nxt_addr) {
1568 SCTP_INP_WUNLOCK(old_inp);