Lines Matching refs:new_inp

2614 sctp_move_pcb_and_assoc(struct sctp_inpcb *old_inp, struct sctp_inpcb *new_inp,
2626 SCTP_INP_WLOCK(new_inp);
2630 new_inp->sctp_ep.time_of_secret_change =
2632 memcpy(new_inp->sctp_ep.secret_key, old_inp->sctp_ep.secret_key,
2634 new_inp->sctp_ep.current_secret_number =
2636 new_inp->sctp_ep.last_secret_number =
2638 new_inp->sctp_ep.size_of_a_cookie = old_inp->sctp_ep.size_of_a_cookie;
2641 stcb->sctp_socket = new_inp->sctp_socket;
2642 stcb->sctp_ep = new_inp;
2645 lport = new_inp->sctp_lport = old_inp->sctp_lport;
2653 /* Now insert the new_inp into the TCP connected hash */
2656 LIST_INSERT_HEAD(head, new_inp, sctp_hash);
2658 new_inp->sctp_flags &= ~SCTP_PCB_FLAGS_UNBOUND;
2661 LIST_INSERT_HEAD(&new_inp->sctp_asoc_list, stcb, sctp_tcblist);
2670 lhd = &new_inp->sctp_asocidhash[SCTP_PCBHASH_ASOC(stcb->asoc.assoc_id,
2671 new_inp->hashasocidmark)];
2676 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, new_inp,
2681 if (new_inp->sctp_tcbhash != NULL) {
2682 SCTP_HASH_FREE(new_inp->sctp_tcbhash, new_inp->sctp_hashmark);
2683 new_inp->sctp_tcbhash = NULL;
2685 if ((new_inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
2703 LIST_INSERT_HEAD(&new_inp->sctp_addr_list, laddr,
2705 new_inp->laddr_count++;
2714 stcb->asoc.dack_timer.ep = new_inp;
2715 SCTP_INP_INCR_REF(new_inp);
2719 stcb->asoc.asconf_timer.ep = new_inp;
2720 SCTP_INP_INCR_REF(new_inp);
2724 stcb->asoc.strreset_timer.ep = new_inp;
2725 SCTP_INP_INCR_REF(new_inp);
2729 stcb->asoc.shut_guard_timer.ep = new_inp;
2730 SCTP_INP_INCR_REF(new_inp);
2734 stcb->asoc.autoclose_timer.ep = new_inp;
2735 SCTP_INP_INCR_REF(new_inp);
2739 stcb->asoc.delete_prim_timer.ep = new_inp;
2740 SCTP_INP_INCR_REF(new_inp);
2746 net->pmtu_timer.ep = new_inp;
2747 SCTP_INP_INCR_REF(new_inp);
2751 net->hb_timer.ep = new_inp;
2752 SCTP_INP_INCR_REF(new_inp);
2756 net->rxt_timer.ep = new_inp;
2757 SCTP_INP_INCR_REF(new_inp);
2760 SCTP_INP_WUNLOCK(new_inp);