Lines Matching defs:new_inp
2481 sctp_move_pcb_and_assoc(struct sctp_inpcb *old_inp, struct sctp_inpcb *new_inp,
2493 SCTP_INP_WLOCK(new_inp);
2499 new_inp->ip_inp.inp.inp_flags |= old_inp->ip_inp.inp.inp_flags & INP_CONTROLOPTS;
2501 new_inp->ip_inp.inp.in6p_outputopts = ip6_copypktopts(old_inp->ip_inp.inp.in6p_outputopts, M_NOWAIT);
2510 new_inp->ip_inp.inp.inp_ip_tos = old_inp->ip_inp.inp.inp_ip_tos;
2511 new_inp->ip_inp.inp.inp_ip_ttl = old_inp->ip_inp.inp.inp_ip_ttl;
2514 new_inp->sctp_ep.time_of_secret_change =
2516 memcpy(new_inp->sctp_ep.secret_key, old_inp->sctp_ep.secret_key,
2518 new_inp->sctp_ep.current_secret_number =
2520 new_inp->sctp_ep.last_secret_number =
2522 new_inp->sctp_ep.size_of_a_cookie = old_inp->sctp_ep.size_of_a_cookie;
2525 stcb->sctp_socket = new_inp->sctp_socket;
2526 stcb->sctp_ep = new_inp;
2529 lport = new_inp->sctp_lport = old_inp->sctp_lport;
2537 /* Now insert the new_inp into the TCP connected hash */
2540 LIST_INSERT_HEAD(head, new_inp, sctp_hash);
2542 new_inp->sctp_flags &= ~SCTP_PCB_FLAGS_UNBOUND;
2545 LIST_INSERT_HEAD(&new_inp->sctp_asoc_list, stcb, sctp_tcblist);
2554 lhd = &new_inp->sctp_asocidhash[SCTP_PCBHASH_ASOC(stcb->asoc.assoc_id,
2555 new_inp->hashasocidmark)];
2560 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, new_inp,
2565 if (new_inp->sctp_tcbhash != NULL) {
2566 SCTP_HASH_FREE(new_inp->sctp_tcbhash, new_inp->sctp_hashmark);
2567 new_inp->sctp_tcbhash = NULL;
2569 if ((new_inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
2587 LIST_INSERT_HEAD(&new_inp->sctp_addr_list, laddr,
2589 new_inp->laddr_count++;
2598 stcb->asoc.dack_timer.ep = new_inp;
2599 SCTP_INP_INCR_REF(new_inp);
2603 stcb->asoc.asconf_timer.ep = new_inp;
2604 SCTP_INP_INCR_REF(new_inp);
2608 stcb->asoc.strreset_timer.ep = new_inp;
2609 SCTP_INP_INCR_REF(new_inp);
2613 stcb->asoc.shut_guard_timer.ep = new_inp;
2614 SCTP_INP_INCR_REF(new_inp);
2618 stcb->asoc.autoclose_timer.ep = new_inp;
2619 SCTP_INP_INCR_REF(new_inp);
2623 stcb->asoc.delete_prim_timer.ep = new_inp;
2624 SCTP_INP_INCR_REF(new_inp);
2630 net->pmtu_timer.ep = new_inp;
2631 SCTP_INP_INCR_REF(new_inp);
2635 net->hb_timer.ep = new_inp;
2636 SCTP_INP_INCR_REF(new_inp);
2640 net->rxt_timer.ep = new_inp;
2641 SCTP_INP_INCR_REF(new_inp);
2644 SCTP_INP_WUNLOCK(new_inp);