Home
last modified time | relevance | path

Searched refs:tcphdr (Results 1 – 16 of 16) sorted by relevance

/external/tcpdump/
Dprint-tcp.c62 static int tcp_verify_signature(const struct ip *ip, const struct tcphdr *tp,
115 register const struct tcphdr *tp, in tcp_cksum()
146 static int tcp6_cksum(const struct ip6_hdr *ip6, const struct tcphdr *tp, in tcp6_cksum()
194 register const struct tcphdr *tp; in tcp_print()
206 tp = (struct tcphdr *)bp; in tcp_print()
735 tcp_verify_signature(const struct ip *ip, const struct tcphdr *tp, in tcp_verify_signature()
738 struct tcphdr tp1; in tcp_verify_signature()
789 MD5_Update(&ctx, (char *)&tp1, sizeof(struct tcphdr)); in tcp_verify_signature()
Dprint-sl.c146 hlen += TH_OFF((struct tcphdr *)&((int *)ip)[hlen]); in sliplink_print()
236 hlen += TH_OFF((struct tcphdr *)&((int32_t *)ip)[hlen]); in compressed_sl_print()
Dtcp.h42 struct tcphdr { struct
/external/iproute2/include/netinet/
Dtcp.h63 struct tcphdr struct
90 struct tcphdr argument
/external/qemu/slirp/
Dtcp_input.c316 if (off < sizeof (struct tcphdr) || off > tlen) { in tcp_input()
322 if (off > sizeof (struct tcphdr)) { in tcp_input()
323 optlen = off - sizeof (struct tcphdr); 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()
686 m->m_len += sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); in tcp_input()
Dtcpip.h41 struct tcphdr ti_t; /* tcp header */
Dtcp.h50 struct tcphdr { struct
Dtcp_output.c430 ti->ti_off = (sizeof (struct tcphdr) + optlen) >> 2;
466 ti->ti_len = htons((u_int16_t)(sizeof (struct tcphdr) +
Dtcp_subr.c145 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); in tcp_respond()
154 ti->ti_off = sizeof (struct tcphdr) >> 2; in tcp_respond()
/external/qemu/slirp-android/
Dtcp_input.c316 if (off < sizeof (struct tcphdr) || off > tlen) { in tcp_input()
322 if (off > sizeof (struct tcphdr)) { in tcp_input()
323 optlen = off - sizeof (struct tcphdr); 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()
692 m->m_len += sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); in tcp_input()
Dtcpip.h45 struct tcphdr ti_t; /* tcp header */
Dtcp.h56 struct tcphdr { struct
Dtcp_output.c430 ti->ti_off = (sizeof (struct tcphdr) + optlen) >> 2;
466 ti->ti_len = htons((u_int16_t)(sizeof (struct tcphdr) +
Dtcp_subr.c147 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); in tcp_respond()
156 ti->ti_off = sizeof (struct tcphdr) >> 2; in tcp_respond()
/external/kernel-headers/original/linux/
Dtcp.h23 struct tcphdr { struct
64 struct tcphdr hdr; argument
Dskbuff.h242 struct tcphdr *th;