Home
last modified time | relevance | path

Searched refs:tcpiphdr (Results 1 – 14 of 14) sorted by relevance

/external/qemu/slirp-android/
Dtcpip.h43 struct tcpiphdr { struct
65 #define qlink2tcpiphdr(Q) ((struct tcpiphdr*)(((char*)(Q)) + sizeof(struct qlink))) argument
70 #define tcpfrag_list_empty(T) ((T)->seg_next == (struct tcpiphdr*)(T))
77 struct tcpiphdr dummy;
Dtcp_var.h48 struct tcpiphdr *seg_next; /* sequencing queue */
49 struct tcpiphdr *seg_prev;
71 struct tcpiphdr t_template;
Dtcp_input.c112 struct tcpiphdr *ti);
116 tcp_reass(register struct tcpcb *tp, register struct tcpiphdr *ti, in tcp_reass()
119 register struct tcpiphdr *q; in tcp_reass()
223 } while (ti != (struct tcpiphdr *)tp && ti->ti_seq == tp->rcv_nxt); in tcp_reass()
236 register struct tcpiphdr *ti; in tcp_input()
278 ti = mtod(m, struct tcpiphdr *); in tcp_input()
324 optp = mtod(m, caddr_t) + sizeof (struct tcpiphdr); in tcp_input()
358 m->m_data += sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); in tcp_input()
359 m->m_len -= sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); in tcp_input()
691 m->m_data -= sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); in tcp_input()
[all …]
Dtcp_subr.c70 register struct tcpiphdr *n = &tp->t_template; in tcp_template()
75 n->ti_len = htons(sizeof (struct tcpiphdr) - sizeof (struct ip)); in tcp_template()
105 tcp_respond(struct tcpcb *tp, struct tcpiphdr *ti, struct mbuf *m, in tcp_respond()
130 *mtod(m, struct tcpiphdr *) = *ti; in tcp_respond()
131 ti = mtod(m, struct tcpiphdr *); in tcp_respond()
140 m->m_len = sizeof (struct tcpiphdr); in tcp_respond()
148 tlen += sizeof (struct tcpiphdr); in tcp_respond()
190 tp->seg_next = tp->seg_prev = (struct tcpiphdr*)tp; in tcp_newtcpcb()
257 register struct tcpiphdr *t; in tcp_close()
Dtcp_output.c73 register struct tcpiphdr *ti;
275 hdrlen = sizeof (struct tcpiphdr);
398 ti = mtod(m, struct tcpiphdr *);
400 memcpy((caddr_t)ti, &tp->t_template, sizeof (struct tcpiphdr));
Dsocket.h29 struct tcpiphdr *so_ti; /* Pointer to the original ti within
Dslirp.h254 void tcp_respond _P((struct tcpcb *, register struct tcpiphdr *, register struct mbuf *, tcp_seq, t…
/external/qemu/slirp/
Dtcpip.h39 struct tcpiphdr { struct
61 #define qlink2tcpiphdr(Q) ((struct tcpiphdr*)(((char*)(Q)) + sizeof(struct qlink))) argument
66 #define tcpfrag_list_empty(T) ((T)->seg_next == (struct tcpiphdr*)(T))
73 struct tcpiphdr dummy;
Dtcp_var.h43 struct tcpiphdr *seg_next; /* sequencing queue */
44 struct tcpiphdr *seg_prev;
66 struct tcpiphdr t_template;
Dtcp_input.c112 struct tcpiphdr *ti);
116 tcp_reass(register struct tcpcb *tp, register struct tcpiphdr *ti, in tcp_reass()
119 register struct tcpiphdr *q; in tcp_reass()
223 } while (ti != (struct tcpiphdr *)tp && ti->ti_seq == tp->rcv_nxt); in tcp_reass()
236 register struct tcpiphdr *ti; in tcp_input()
278 ti = mtod(m, struct tcpiphdr *); in tcp_input()
324 optp = mtod(m, caddr_t) + sizeof (struct tcpiphdr); in tcp_input()
358 m->m_data += sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); in tcp_input()
359 m->m_len -= sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); in tcp_input()
685 m->m_data -= sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); in tcp_input()
[all …]
Dtcp_output.c73 register struct tcpiphdr *ti;
275 hdrlen = sizeof (struct tcpiphdr);
398 ti = mtod(m, struct tcpiphdr *);
400 memcpy((caddr_t)ti, &tp->t_template, sizeof (struct tcpiphdr));
Dtcp_subr.c68 register struct tcpiphdr *n = &tp->t_template; in tcp_template()
73 n->ti_len = htons(sizeof (struct tcpiphdr) - sizeof (struct ip)); in tcp_template()
103 tcp_respond(struct tcpcb *tp, struct tcpiphdr *ti, struct mbuf *m, in tcp_respond()
128 *mtod(m, struct tcpiphdr *) = *ti; in tcp_respond()
129 ti = mtod(m, struct tcpiphdr *); in tcp_respond()
138 m->m_len = sizeof (struct tcpiphdr); in tcp_respond()
146 tlen += sizeof (struct tcpiphdr); in tcp_respond()
188 tp->seg_next = tp->seg_prev = (struct tcpiphdr*)tp; in tcp_newtcpcb()
255 register struct tcpiphdr *t; in tcp_close()
Dsocket.h29 struct tcpiphdr *so_ti; /* Pointer to the original ti within
Dslirp.h303 void tcp_respond _P((struct tcpcb *, register struct tcpiphdr *, register struct mbuf *, tcp_seq, t…