Searched refs:tp (Results 1 - 25 of 188) sorted by relevance

12345678

/external/qemu/slirp/
H A Dtcp_timer.c41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer);
50 register struct tcpcb *tp; local
57 if ((tp = (struct tcpcb *)so->so_tcpcb) &&
58 (tp->t_flags & TF_DELACK)) {
59 tp->t_flags &= ~TF_DELACK;
60 tp->t_flags |= TF_ACKNOW;
62 (void) tcp_output(tp);
75 register struct tcpcb *tp; local
88 tp = sototcpcb(ip);
89 if (tp
116 tcp_canceltimers(struct tcpcb *tp) argument
131 tcp_timers(register struct tcpcb *tp, int timer) argument
[all...]
H A Dtcp_output.c67 tcp_output(struct tcpcb *tp) argument
69 register struct socket *so = tp->t_socket;
79 DEBUG_ARG("tp = %lx", (long )tp);
87 idle = (tp->snd_max == tp->snd_una);
88 if (idle && tp->t_idle >= tp->t_rxtcur)
94 tp->snd_cwnd = tp
584 tcp_setpersist(struct tcpcb *tp) argument
[all...]
H A Dtcp_input.c59 * control block tp. Return TH_FIN if reassembly now includes
68 #define TCP_REASS(tp, ti, m, so, flags) {\
69 if ((ti)->ti_seq == (tp)->rcv_nxt && \
70 tcpfrag_list_empty(tp) && \
71 (tp)->t_state == TCPS_ESTABLISHED) {\
73 tp->t_flags |= TF_ACKNOW; \
75 tp->t_flags |= TF_DELACK; \
76 (tp)->rcv_nxt += (ti)->ti_len; \
86 (flags) = tcp_reass((tp), (ti), (m)); \
87 tp
116 tcp_reass(register struct tcpcb *tp, register struct tcpiphdr *ti, struct mbuf *m) argument
240 register struct tcpcb *tp = NULL; local
1498 tcp_dooptions(struct tcpcb *tp, u_char *cp, int cnt, struct tcpiphdr *ti) argument
1585 struct tcpcb *tp = sototcpcb(so); local
1609 tcp_xmit_timer(register struct tcpcb *tp, int rtt) argument
1697 tcp_mss(struct tcpcb *tp, u_int offer) argument
[all...]
H A Dtftp.c53 static int tftp_session_allocate(struct tftp_t *tp) argument
73 memcpy(&spt->client_ip, &tp->ip.ip_src, sizeof(spt->client_ip));
74 spt->client_port = tp->udp.uh_sport;
81 static int tftp_session_find(struct tftp_t *tp) argument
90 if (!memcmp(&spt->client_ip, &tp->ip.ip_src, sizeof(spt->client_ip))) {
91 if (spt->client_port == tp->udp.uh_sport) {
137 struct tftp_t *tp; local
148 tp = (void *)m->m_data;
151 tp->tp_op = htons(TFTP_OACK);
152 n += snprintf((char *)tp
178 struct tftp_t *tp; local
221 struct tftp_t *tp; local
276 tftp_handle_rrq(struct tftp_t *tp, int pktlen) argument
395 tftp_handle_ack(struct tftp_t *tp, int pktlen) argument
414 struct tftp_t *tp = (struct tftp_t *)m->m_data; local
[all...]
H A Dtcp.h159 #define tcp_rcvseqinit(tp) \
160 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
162 #define tcp_sendseqinit(tp) \
163 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = (tp)
[all...]
H A Dslirp.c866 static void slirp_tcp_save(QEMUFile *f, struct tcpcb *tp) argument
870 qemu_put_sbe16(f, tp->t_state);
872 qemu_put_sbe16(f, tp->t_timer[i]);
873 qemu_put_sbe16(f, tp->t_rxtshift);
874 qemu_put_sbe16(f, tp->t_rxtcur);
875 qemu_put_sbe16(f, tp->t_dupacks);
876 qemu_put_be16(f, tp->t_maxseg);
877 qemu_put_sbyte(f, tp->t_force);
878 qemu_put_be16(f, tp->t_flags);
879 qemu_put_be32(f, tp
959 slirp_tcp_load(QEMUFile *f, struct tcpcb *tp) argument
[all...]
/external/qemu/slirp-android/
H A Dtcp_timer.c41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer);
50 register struct tcpcb *tp; local
57 if ((tp = (struct tcpcb *)so->so_tcpcb) &&
58 (tp->t_flags & TF_DELACK)) {
59 tp->t_flags &= ~TF_DELACK;
60 tp->t_flags |= TF_ACKNOW;
62 (void) tcp_output(tp);
75 register struct tcpcb *tp; local
88 tp = sototcpcb(ip);
89 if (tp
116 tcp_canceltimers(struct tcpcb *tp) argument
131 tcp_timers(register struct tcpcb *tp, int timer) argument
[all...]
H A Dtcp_output.c67 tcp_output(struct tcpcb *tp) argument
69 register struct socket *so = tp->t_socket;
79 DEBUG_ARG("tp = %lx", (long )tp);
87 idle = (tp->snd_max == tp->snd_una);
88 if (idle && tp->t_idle >= tp->t_rxtcur)
94 tp->snd_cwnd = tp
584 tcp_setpersist(struct tcpcb *tp) argument
[all...]
H A Dtcp_input.c59 * control block tp. Return TH_FIN if reassembly now includes
68 #define TCP_REASS(tp, ti, m, so, flags) {\
69 if ((ti)->ti_seq == (tp)->rcv_nxt && \
70 tcpfrag_list_empty(tp) && \
71 (tp)->t_state == TCPS_ESTABLISHED) {\
73 tp->t_flags |= TF_ACKNOW; \
75 tp->t_flags |= TF_DELACK; \
76 (tp)->rcv_nxt += (ti)->ti_len; \
86 (flags) = tcp_reass((tp), (ti), (m)); \
87 tp
116 tcp_reass(register struct tcpcb *tp, register struct tcpiphdr *ti, struct mbuf *m) argument
240 register struct tcpcb *tp = NULL; local
1504 tcp_dooptions(struct tcpcb *tp, u_char *cp, int cnt, struct tcpiphdr *ti) argument
1591 struct tcpcb *tp = sototcpcb(so); local
1615 tcp_xmit_timer(register struct tcpcb *tp, int rtt) argument
1703 tcp_mss(struct tcpcb *tp, u_int offer) argument
[all...]
H A Dtftp.c53 static int tftp_session_allocate(struct tftp_t *tp) argument
73 spt->client_ip = ip_geth(tp->ip.ip_src);
74 spt->client_port = port_geth(tp->udp.uh_sport);
81 static int tftp_session_find(struct tftp_t *tp) argument
90 if (spt->client_ip == ip_geth(tp->ip.ip_src)) {
91 if (spt->client_port == port_geth(tp->udp.uh_sport)) {
137 struct tftp_t *tp; local
148 tp = (void *)m->m_data;
151 tp->tp_op = htons(TFTP_OACK);
152 n += snprintf((char *)tp
180 struct tftp_t *tp; local
225 struct tftp_t *tp; local
282 tftp_handle_rrq(struct tftp_t *tp, int pktlen) argument
401 tftp_handle_ack(struct tftp_t *tp, int pktlen) argument
420 struct tftp_t *tp = (struct tftp_t *)m->m_data; local
[all...]
H A Dtcp.h161 #define tcp_rcvseqinit(tp) \
162 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
164 #define tcp_sendseqinit(tp) \
165 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = (tp)
[all...]
/external/icu4c/tools/tzcode/
H A Dscheck.c23 register char * tp; local
35 tp = fbuf;
36 while ((*tp++ = c = *fp++) != '\0') {
40 *tp++ = *fp++;
43 *tp++ = '*';
47 *tp++ = *fp++;
49 *tp++ = *fp++;
51 do *tp++ = *fp++;
53 if ((*tp++ = *fp++) == '\0')
56 *(tp
[all...]
/external/blktrace/btt/
H A Dmmap.c50 struct blk_io_trace *tp,
57 memcpy(tp, t, sizeof(*tp));
59 tp->magic = be32_to_cpu(t->magic);
60 tp->sequence = be32_to_cpu(t->sequence);
61 tp->time = be64_to_cpu(t->time);
62 tp->sector = be64_to_cpu(t->sector);
63 tp->bytes = be32_to_cpu(t->bytes);
64 tp->action = be32_to_cpu(t->action);
65 tp
49 convert_to_cpu(struct blk_io_trace *t, struct blk_io_trace *tp, void **pdu) argument
[all...]
/external/libppp/src/
H A Dtimer.c65 timer_Stop(struct pppTimer *tp) argument
72 StopTimerNoBlock(tp);
77 timer_Start(struct pppTimer *tp) argument
88 if (tp->state != TIMER_STOPPED)
89 StopTimerNoBlock(tp);
91 if (tp->load == 0) {
92 log_Printf(LogTIMER, "%s timer[%p] has 0 load!\n", tp->name, tp);
98 * We just need to insert tp in the correct relative place. We don't
106 if (ticks + t->rest >= tp
136 StopTimerNoBlock(struct pppTimer *tp) argument
192 struct pppTimer *tp, *exp, *next; local
[all...]
/external/tcpdump/
H A Daddrtoname.c324 struct enamemem *tp; local
330 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)];
331 while (tp->e_nxt)
332 if (tp->e_addr0 == i &&
333 tp->e_addr1 == j &&
334 tp->e_addr2 == k)
335 return tp;
337 tp = tp->e_nxt;
338 tp
356 struct enamemem *tp; local
400 struct enamemem *tp; local
442 struct protoidmem *tp; local
469 register struct enamemem *tp; local
516 register struct enamemem *tp; local
543 register struct hnamemem *tp; local
570 register struct protoidmem *tp; local
598 register struct enamemem *tp; local
626 register struct hnamemem *tp; local
645 register struct hnamemem *tp; local
665 register struct hnamemem *tp; local
766 register struct protoidmem *tp; local
817 register struct enamemem *tp; local
1123 register struct hnamemem *tp; local
[all...]
H A Dprint-tftp.c77 register const struct tftphdr *tp; local
83 tp = (const struct tftphdr *)bp;
89 TCHECK(tp->th_opcode);
90 opcode = EXTRACT_16BITS(&tp->th_opcode);
107 p = (u_char *)tp->th_stuff;
109 p = (u_char *)&tp->th_block;
121 if (length <= (u_int)(p - (const u_char *)&tp->th_block))
136 TCHECK(tp->th_block);
137 printf(" block %d", EXTRACT_16BITS(&tp->th_block));
142 TCHECK(tp
[all...]
H A Dprint-atalk.c384 register const struct atNBPtuple *tp = local
402 if ((const u_char *)tp > ep) {
412 if ((const u_char *)(tp + 1) > ep) {
416 (void)nbp_name_print(tp, ep);
424 if (tp->enumerator)
425 (void)printf(" [enum=%d]", tp->enumerator);
426 if (EXTRACT_16BITS(&tp->net) != snet ||
427 tp->node != snode || tp->skt != skt)
429 ataddr_string(EXTRACT_16BITS(&tp
476 nbp_tuple_print(register const struct atNBPtuple *tp, register const u_char *ep, register u_short snet, register u_char snode, register u_char skt) argument
506 nbp_name_print(const struct atNBPtuple *tp, register const u_char *ep) argument
541 register struct hnamemem *tp, *tp2; local
[all...]
/external/grub/netboot/
H A Dtulip.c433 static struct tulip_private *tp;
518 printf("%s: %s\n", tp->nic_name, str);
583 if (tp->chip_id == LC82C168) {
594 if (tp->chip_id == COMET) {
643 if (tp->chip_id == LC82C168) {
653 if (tp->chip_id == COMET) {
742 unsigned char *p, *ee_data = tp->eeprom;
750 tp->mtable = 0;
768 tp->nic_name, eeprom_fixups[i].name, tp
432 static struct tulip_private *tp; variable in typeref:struct:tulip_private
[all...]
H A Dfsys_tftp.c42 static struct tftp_t tp, saved_tp; variable in typeref:struct:tftp_t
80 ++iport, TFTP_PORT, len, &tp))
95 TFTP_MIN_PACKET, &tp);
162 tp.opcode = htons (TFTP_ERROR);
163 tp.u.err.errcode = 8;
164 len = (grub_sprintf ((char *) tp.u.err.errmsg,
166 + sizeof (tp.ip) + sizeof (tp.udp)
167 + sizeof (tp.opcode) + sizeof (tp
[all...]
/external/openssh/openbsd-compat/
H A Dinet_ntop.c118 char *tp, *ep; local
158 tp = tmp;
160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) {
165 if (tp + 1 >= ep)
167 *tp++ = ':';
173 if (tp + 1 >= ep)
175 *tp++ = ':';
180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp)))
182 tp
[all...]
/external/mksh/src/
H A Dexec.c59 struct tbl *tp = NULL; local
147 tp = findcom(ap[0], FC_BI|FC_FUNC);
163 if (iosetup(*iowp, tp) < 0) {
169 if (tp && tp->type == CSHELL &&
170 (tp->flag & SPEC_BI))
179 rv = comexec(t, tp, (const char **)ap, flags, xerrok);
497 comexec(struct op *t, struct tbl * volatile tp, const char **ap, argument
540 while (tp && tp
827 scriptexec(struct op *tp, const char **ap) argument
928 struct tbl *tp; local
944 struct tbl *tp = NULL; local
969 struct tbl *tp; local
1023 struct tbl *tp; local
1058 struct tbl *tp = NULL, *tbi; local
1154 struct tbl *tp; local
1248 call_builtin(struct tbl *tp, const char **wp) argument
1269 iosetup(struct ioword *iop, struct tbl *tp) argument
[all...]
/external/openssl/crypto/bn/asm/
H A Dsparcv9-mont.pl71 $tp="%l4";
114 add %sp,$bias+$frame,$tp
140 st $car1,[$tp]
145 add $tp,4,$tp ! tp++
155 st $car1,[$tp]
163 st $car1,[$tp+4]
167 st $car1,[$tp+8]
174 add %sp,$bias+$frame,$tp
[all...]
H A Darmv4-mont.pl29 $num="r0"; # starts as num argument, but holds &tp[num-1]
33 $tp="r4";
46 #### argument block layout relative to &tp[num-1], a.k.a. $num
75 add $tp,$bp,$num @ &bp[num-1]
77 add $num,sp,$num @ $num to point at &tp[num-1]
83 str $tp,[$_bpend] @ save &bp[num]
87 mul $n0,$alo,$n0 @ "tp[0]"*n0
90 mov $tp,sp
101 str $nlo,[$tp],#4 @ tp[
[all...]
/external/qemu/
H A Dqemu-os-posix.h40 #define qemu_gettimeofday(tp) gettimeofday(tp, NULL)
/external/chromium/chrome/browser/chromeos/frame/
H A Dbrowser_frame_view_chromeos.cc66 ui::ThemeProvider* tp = GetThemeProvider(); local
67 if (tp->HasCustomImage(IDR_THEME_FRAME))
70 *left_corner = tp->GetBitmapNamed(IDR_THEME_FRAME_INCOGNITO_LEFT);
71 *right_corner = tp->GetBitmapNamed(IDR_THEME_FRAME_INCOGNITO_RIGHT);
73 *left_corner = tp->GetBitmapNamed(IDR_THEME_FRAME_LEFT);
74 *right_corner = tp->GetBitmapNamed(IDR_THEME_FRAME_RIGHT);

Completed in 364 milliseconds

12345678