Lines Matching refs:new_inp

2640 sctp_move_pcb_and_assoc(struct sctp_inpcb *old_inp, struct sctp_inpcb *new_inp,
2652 SCTP_INP_WLOCK(new_inp);
2656 new_inp->sctp_ep.time_of_secret_change =
2658 memcpy(new_inp->sctp_ep.secret_key, old_inp->sctp_ep.secret_key,
2660 new_inp->sctp_ep.current_secret_number =
2662 new_inp->sctp_ep.last_secret_number =
2664 new_inp->sctp_ep.size_of_a_cookie = old_inp->sctp_ep.size_of_a_cookie;
2667 stcb->sctp_socket = new_inp->sctp_socket;
2668 stcb->sctp_ep = new_inp;
2671 lport = new_inp->sctp_lport = old_inp->sctp_lport;
2679 /* Now insert the new_inp into the TCP connected hash */
2682 LIST_INSERT_HEAD(head, new_inp, sctp_hash);
2684 new_inp->sctp_flags &= ~SCTP_PCB_FLAGS_UNBOUND;
2687 LIST_INSERT_HEAD(&new_inp->sctp_asoc_list, stcb, sctp_tcblist);
2696 lhd = &new_inp->sctp_asocidhash[SCTP_PCBHASH_ASOC(stcb->asoc.assoc_id,
2697 new_inp->hashasocidmark)];
2702 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, new_inp,
2707 if (new_inp->sctp_tcbhash != NULL) {
2708 SCTP_HASH_FREE(new_inp->sctp_tcbhash, new_inp->sctp_hashmark);
2709 new_inp->sctp_tcbhash = NULL;
2711 if ((new_inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
2729 LIST_INSERT_HEAD(&new_inp->sctp_addr_list, laddr,
2731 new_inp->laddr_count++;
2739 * care if they are running or not just blast in the new_inp into
2743 stcb->asoc.dack_timer.ep = (void *)new_inp;
2744 stcb->asoc.asconf_timer.ep = (void *)new_inp;
2745 stcb->asoc.strreset_timer.ep = (void *)new_inp;
2746 stcb->asoc.shut_guard_timer.ep = (void *)new_inp;
2747 stcb->asoc.autoclose_timer.ep = (void *)new_inp;
2748 stcb->asoc.delete_prim_timer.ep = (void *)new_inp;
2751 net->pmtu_timer.ep = (void *)new_inp;
2752 net->hb_timer.ep = (void *)new_inp;
2753 net->rxt_timer.ep = (void *)new_inp;
2755 SCTP_INP_WUNLOCK(new_inp);