Home
last modified time | relevance | path

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

/external/qemu/slirp2/
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_subr.c70 if (tcp_sndspace < 2*(min(if_mtu, if_mru) - sizeof(struct tcpiphdr))) in tcp_init()
71 tcp_sndspace = 2*(min(if_mtu, if_mru) - sizeof(struct tcpiphdr)); in tcp_init()
86 register struct tcpiphdr *n = &tp->t_template;
91 n->ti_len = htons(sizeof (struct tcpiphdr) - sizeof (struct ip));
123 register struct tcpiphdr *ti;
150 *MBUF_TO(m, struct tcpiphdr *) = *ti;
151 ti = MBUF_TO(m, struct tcpiphdr *);
160 m->m_len = sizeof (struct tcpiphdr);
168 tlen += sizeof (struct tcpiphdr);
211 tp->seg_next = tp->seg_prev = (struct tcpiphdr*)tp;
[all …]
Dtcp_var.h48 struct tcpiphdr *seg_next; /* sequencing queue */
49 struct tcpiphdr *seg_prev;
71 struct tcpiphdr t_template;
Dtcp_input.c119 register struct tcpiphdr *ti;
122 register struct tcpiphdr *q;
242 register struct tcpiphdr *ti;
283 ti = MBUF_TO(m, struct tcpiphdr *);
329 optp = MBUF_TO(m, caddr_t) + sizeof (struct tcpiphdr);
363 m->m_data += sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr);
364 m->m_len -= sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr);
668 m->m_data -= sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr);
669 m->m_len += sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr);
770 (void) tcp_reass(tp, (struct tcpiphdr *)0,
[all …]
Dslirp.h237 int tcp_reass _P((register struct tcpcb *, register struct tcpiphdr *, MBuf ));
239 void tcp_dooptions _P((struct tcpcb *, u_char *, int, struct tcpiphdr *));
250 void tcp_respond _P((struct tcpcb *, register struct tcpiphdr *, register MBuf , tcp_seq, tcp_seq, …
Dtcp_output.c78 register struct tcpiphdr *ti;
280 hdrlen = sizeof (struct tcpiphdr);
403 ti = MBUF_TO(m, struct tcpiphdr *);
405 memcpy((caddr_t)ti, &tp->t_template, sizeof (struct tcpiphdr));
Dsocket.h29 struct tcpiphdr *so_ti; /* Pointer to the original ti within