Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 19 of 19) sorted by relevance

/illumos-kvm-cmd/slirp/
H A Dtcp_output.c76 idle = (tp->snd_max == tp->snd_una); in tcp_output()
83 tp->snd_cwnd = tp->t_maxseg; in tcp_output()
86 off = tp->snd_nxt - tp->snd_una; in tcp_output()
87 win = min(tp->snd_wnd, tp->snd_cwnd); in tcp_output()
142 tp->snd_nxt = tp->snd_una; in tcp_output()
193 (tp->rcv_adv - tp->rcv_nxt); in tcp_output()
216 ((tp->t_flags & TF_SENTFIN) == 0 || tp->snd_nxt == tp->snd_una)) in tcp_output()
264 tp->snd_nxt = tp->iss; in tcp_output()
332 tp->snd_nxt == tp->snd_max) in tcp_output()
410 tp->snd_max = tp->snd_nxt; in tcp_output()
[all …]
H A Dtcp_timer.c87 if (tp->t_timer[i] && --tp->t_timer[i] == 0) { in tcp_slowtimo()
141 tp = tcp_close(tp); in tcp_timers()
178 tp = tcp_drop(tp, tp->t_softerror); in tcp_timers()
192 tp->t_timer[TCPT_REXMT] = tp->t_rxtcur; in tcp_timers()
202 tp->t_rttvar += (tp->t_srtt >> TCP_RTT_SHIFT); in tcp_timers()
205 tp->snd_nxt = tp->snd_una; in tcp_timers()
235 u_int win = min(tp->snd_wnd, tp->snd_cwnd) / 2 / tp->t_maxseg; in tcp_timers()
238 tp->snd_cwnd = tp->t_maxseg; in tcp_timers()
239 tp->snd_ssthresh = win * tp->t_maxseg; in tcp_timers()
280 tp->rcv_nxt, tp->snd_una - 1, 0); in tcp_timers()
[all …]
H A Dtcp_input.c440 tp->snd_nxt == tp->snd_max) { in tcp_input()
520 tp->rcv_wnd = max(win, (int)(tp->rcv_adv - tp->rcv_nxt)); in tcp_input()
621 tp = tcp_close(tp); in tcp_input()
674 tp->snd_nxt = tp->snd_una; in tcp_input()
765 tp = tcp_close(tp); in tcp_input()
786 tp = tcp_close(tp); in tcp_input()
840 tp = tcp_drop(tp,0); in tcp_input()
992 tcp_xmit_timer(tp,tp->t_rtt); in tcp_input()
1031 tp->snd_nxt = tp->snd_una; in tcp_input()
1107 tp->max_sndwnd = tp->snd_wnd; in tcp_input()
[all …]
H A Dtftp.c124 struct tftp_t *tp; in tftp_send_oack() local
135 tp = (void *)m->m_data; in tftp_send_oack()
139 n += snprintf((char *)tp->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s", in tftp_send_oack()
141 n += snprintf((char *)tp->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%u", in tftp_send_oack()
163 struct tftp_t *tp; in tftp_send_error() local
174 tp = (void *)m->m_data; in tftp_send_error()
179 pstrcpy((char *)tp->x.tp_error.tp_msg, sizeof(tp->x.tp_error.tp_msg), msg); in tftp_send_error()
202 struct tftp_t *tp; in tftp_send_data() local
218 tp = (void *)m->m_data; in tftp_send_data()
286 pktlen -= ((uint8_t *)&tp->x.tp_buf[0] - (uint8_t *)tp); in tftp_handle_rrq()
[all …]
H A Dtcp_subr.c117 if (tp) in tcp_respond()
152 if (tp) in tcp_respond()
179 tp = (struct tcpcb *)malloc(sizeof(*tp)); in tcp_newtcpcb()
180 if (tp == NULL) in tcp_newtcpcb()
184 tp->seg_next = tp->seg_prev = (struct tcpiphdr*)tp; in tcp_newtcpcb()
209 return (tp); in tcp_newtcpcb()
255 free(tp); in tcp_close()
294 tp = tcp_close(tp); in tcp_sockclosed()
306 if (tp) in tcp_sockclosed()
307 tcp_output(tp); in tcp_sockclosed()
[all …]
H A Dslirp.c869 qemu_put_be16(f, tp->t_flags); in slirp_tcp_save()
870 qemu_put_be32(f, tp->snd_una); in slirp_tcp_save()
872 qemu_put_be32(f, tp->snd_up); in slirp_tcp_save()
875 qemu_put_be32(f, tp->iss); in slirp_tcp_save()
879 qemu_put_be32(f, tp->rcv_up); in slirp_tcp_save()
880 qemu_put_be32(f, tp->irs); in slirp_tcp_save()
886 qemu_put_sbe16(f, tp->t_rtt); in slirp_tcp_save()
893 qemu_put_byte(f, tp->t_iobc); in slirp_tcp_save()
984 tp->iss = qemu_get_be32(f); in slirp_tcp_load()
989 tp->irs = qemu_get_be32(f); in slirp_tcp_load()
[all …]
H A Dtcp.h156 #define tcp_rcvseqinit(tp) \ argument
157 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
159 #define tcp_sendseqinit(tp) \ argument
160 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = (tp)->iss
H A Dtcp_var.h158 #define TCP_REXMTVAL(tp) \ argument
159 (((tp)->t_srtt >> TCP_RTT_SHIFT) + (tp)->t_rttvar)
H A Dsocket.c260 struct tcpcb *tp = sototcpcb(so); in sorecvoob() local
274 tp->snd_up = tp->snd_una + so->so_snd.sb_cc; in sorecvoob()
275 tp->t_force = 1; in sorecvoob()
276 tcp_output(tp); in sorecvoob()
277 tp->t_force = 0; in sorecvoob()
H A Dslirp.h300 struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
/illumos-kvm-cmd/
H A Dcris-dis.c2150 tp = format_dec (number, tp, signedp); in print_with_operands()
2177 tp = format_hex (number, tp, disdata); in print_with_operands()
2286 tp = format_dec (number, tp, 1); in print_with_operands()
2385 tp = format_dec (number, tp, 1); in print_with_operands()
2442 tp = format_dec (insn & 63, tp, 0); in print_with_operands()
2471 tp = format_dec (insn & 31, tp, 0); in print_with_operands()
2475 tp = format_dec (insn & 15, tp, 0); in print_with_operands()
2493 *tp = 0; in print_with_operands()
2508 tp = format_dec (number, tp, 1); in print_with_operands()
2515 tp = print_flags (disdata, insn, tp); in print_with_operands()
[all …]
H A Doslib-win32.c106 int qemu_gettimeofday(qemu_timeval *tp) in qemu_gettimeofday() argument
113 if(tp) { in qemu_gettimeofday()
115 tp->tv_usec=(long)((_now.ns100 / 10ULL) % 1000000ULL ); in qemu_gettimeofday()
116 tp->tv_sec= (long)((_now.ns100 - _W32_FT_OFFSET) / 10000000ULL); in qemu_gettimeofday()
H A Dqemu-os-posix.h40 #define qemu_gettimeofday(tp) gettimeofday(tp, NULL) argument
H A Dsimpletrace.c247 TraceEvent *tp; in st_change_trace_event_state() local
249 tp = find_trace_event_by_name(tname); in st_change_trace_event_state()
250 if (tp) { in st_change_trace_event_state()
251 tp->state = tstate; in st_change_trace_event_state()
H A Dqemu-timer.c745 static int64_t qemu_next_alarm_deadline(struct QEMUTimer **tp) in qemu_next_alarm_deadline() argument
751 if (tp == NULL) in qemu_next_alarm_deadline()
752 tp = &t; in qemu_next_alarm_deadline()
757 *tp = active_timers[QEMU_CLOCK_VIRTUAL]; in qemu_next_alarm_deadline()
760 *tp = NULL; in qemu_next_alarm_deadline()
767 *tp = active_timers[QEMU_CLOCK_HOST]; in qemu_next_alarm_deadline()
776 *tp = active_timers[QEMU_CLOCK_REALTIME]; in qemu_next_alarm_deadline()
H A Dqemu-os-win32.h61 int qemu_gettimeofday(qemu_timeval *tp);
H A DMakefile201 …fo qemu-doc.ky qemu-doc.log qemu-doc.pdf qemu-doc.pg qemu-doc.toc qemu-doc.tp qemu-doc.vr
202 …u-tech.ky qemu-tech.log qemu-tech.pdf qemu-tech.pg qemu-tech.toc qemu-tech.tp qemu-tech.vr
/illumos-kvm-cmd/hw/
H A De1000.c364 if (tp->tse && tp->cptse) { in xmit_seg()
383 if (tp->paylen - sofar > tp->mss) in xmit_seg()
399 putsum(tp->data, tp->size, tp->tucso, tp->tucss, tp->tucse); in xmit_seg()
401 putsum(tp->data, tp->size, tp->ipcso, tp->ipcss, tp->ipcse); in xmit_seg()
403 memmove(tp->vlan, tp->data, 4); in xmit_seg()
404 memmove(tp->data, tp->data + 4, 8); in xmit_seg()
405 memcpy(tp->data + 8, tp->vlan_header, 4); in xmit_seg()
444 tp->tucso = tp->tucss + (tp->tcp ? 16 : 6); in process_tx_desc()
468 if (tp->tse && tp->cptse) { in process_tx_desc()
487 } else if (!tp->tse && tp->cptse) { in process_tx_desc()
[all …]
/illumos-kvm-cmd/tests/cris/
H A Dcheck_settls1.c14 unsigned long tp, old_tp; in main() local
33 asm volatile ("move $pid,%0" : "=r" (tp)); in main()
34 tp &= ~0xff; in main()
37 if (tp != 0xeddeed00) { in main()

Completed in 129 milliseconds