Home
last modified time | relevance | path

Searched refs:old_inp (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.bin/systat/
H A Difstat.c272 uint64_t new_inp, new_outp, old_inp, old_outp = 0; in fetchifstat() local
281 old_inp = ifp->if_mib.ifmd_data.ifi_ipackets; in fetchifstat()
298 old_inp = ifp->if_mib.ifmd_data.ifi_ipackets; in fetchifstat()
326 ifp->if_in_curpps = new_inp - old_inp; in fetchifstat()
/freebsd/sys/netinet/
H A Dsctp_pcb.c2481 sctp_move_pcb_and_assoc(struct sctp_inpcb *old_inp, struct sctp_inpcb *new_inp, in sctp_move_pcb_and_assoc() argument
2492 SCTP_INP_WLOCK(old_inp); in sctp_move_pcb_and_assoc()
2498 if (old_inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_move_pcb_and_assoc()
2499 new_inp->ip_inp.inp.inp_flags |= old_inp->ip_inp.inp.inp_flags & INP_CONTROLOPTS; in sctp_move_pcb_and_assoc()
2500 if (old_inp->ip_inp.inp.in6p_outputopts) { in sctp_move_pcb_and_assoc()
2501 …new_inp->ip_inp.inp.in6p_outputopts = ip6_copypktopts(old_inp->ip_inp.inp.in6p_outputopts, M_NOWAI… in sctp_move_pcb_and_assoc()
2510 new_inp->ip_inp.inp.inp_ip_tos = old_inp->ip_inp.inp.inp_ip_tos; in sctp_move_pcb_and_assoc()
2511 new_inp->ip_inp.inp.inp_ip_ttl = old_inp->ip_inp.inp.inp_ip_ttl; in sctp_move_pcb_and_assoc()
2515 old_inp->sctp_ep.time_of_secret_change; in sctp_move_pcb_and_assoc()
2516 memcpy(new_inp->sctp_ep.secret_key, old_inp->sctp_ep.secret_key, in sctp_move_pcb_and_assoc()
[all …]
H A Dsctputil.h144 sctp_pull_off_control_to_new_inp(struct sctp_inpcb *old_inp,
H A Dsctputil.c4792 sctp_pull_off_control_to_new_inp(struct sctp_inpcb *old_inp, in sctp_pull_off_control_to_new_inp() argument
4807 old_so = old_inp->sctp_socket; in sctp_pull_off_control_to_new_inp()
4824 SCTP_INP_READ_LOCK(old_inp); in sctp_pull_off_control_to_new_inp()
4825 TAILQ_FOREACH_SAFE(control, &old_inp->read_queue, next, nctl) { in sctp_pull_off_control_to_new_inp()
4829 TAILQ_REMOVE(&old_inp->read_queue, control, next); in sctp_pull_off_control_to_new_inp()
4844 SCTP_INP_READ_UNLOCK(old_inp); in sctp_pull_off_control_to_new_inp()