Searched refs:tcphdr (Results 1 – 16 of 16) sorted by relevance
62 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()
146 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()
42 struct tcphdr { struct
63 struct tcphdr struct90 struct tcphdr argument
316 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()
41 struct tcphdr ti_t; /* tcp header */
50 struct tcphdr { struct
430 ti->ti_off = (sizeof (struct tcphdr) + optlen) >> 2;466 ti->ti_len = htons((u_int16_t)(sizeof (struct tcphdr) +
145 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); in tcp_respond()154 ti->ti_off = sizeof (struct tcphdr) >> 2; in tcp_respond()
316 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()
45 struct tcphdr ti_t; /* tcp header */
56 struct tcphdr { struct
147 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); in tcp_respond()156 ti->ti_off = sizeof (struct tcphdr) >> 2; in tcp_respond()
23 struct tcphdr { struct64 struct tcphdr hdr; argument
242 struct tcphdr *th;