Lines Matching defs:old_inp
2645 sctp_move_pcb_and_assoc(struct sctp_inpcb *old_inp, struct sctp_inpcb *new_inp,
2656 SCTP_INP_WLOCK(old_inp);
2662 old_inp->sctp_ep.time_of_secret_change;
2663 memcpy(new_inp->sctp_ep.secret_key, old_inp->sctp_ep.secret_key,
2664 sizeof(old_inp->sctp_ep.secret_key));
2666 old_inp->sctp_ep.current_secret_number;
2668 old_inp->sctp_ep.last_secret_number;
2669 new_inp->sctp_ep.size_of_a_cookie = old_inp->sctp_ep.size_of_a_cookie;
2676 lport = new_inp->sctp_lport = old_inp->sctp_lport;
2717 /* Subset bound, so copy in the laddr list from the old_inp */
2718 LIST_FOREACH(oladdr, &old_inp->sctp_addr_list, sctp_nxt_addr) {
2743 if (stcb->asoc.dack_timer.ep == old_inp) {
2744 SCTP_INP_DECR_REF(old_inp);
2748 if (stcb->asoc.asconf_timer.ep == old_inp) {
2749 SCTP_INP_DECR_REF(old_inp);
2753 if (stcb->asoc.strreset_timer.ep == old_inp) {
2754 SCTP_INP_DECR_REF(old_inp);
2758 if (stcb->asoc.shut_guard_timer.ep == old_inp) {
2759 SCTP_INP_DECR_REF(old_inp);
2763 if (stcb->asoc.autoclose_timer.ep == old_inp) {
2764 SCTP_INP_DECR_REF(old_inp);
2768 if (stcb->asoc.delete_prim_timer.ep == old_inp) {
2769 SCTP_INP_DECR_REF(old_inp);
2775 if (net->pmtu_timer.ep == old_inp) {
2776 SCTP_INP_DECR_REF(old_inp);
2780 if (net->hb_timer.ep == old_inp) {
2781 SCTP_INP_DECR_REF(old_inp);
2785 if (net->rxt_timer.ep == old_inp) {
2786 SCTP_INP_DECR_REF(old_inp);
2792 SCTP_INP_WUNLOCK(old_inp);