OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:thlen
(Results
1 - 5
of
5
) sorted by relevancy
/src/sys/netinet6/
in6_offload.c
55
int
thlen
;
local
95
thlen
= th->th_off * 4;
96
hlen = off + iphlen +
thlen
;
112
iph->ip6_plen = htons(
thlen
+ mss);
113
phsum = in6_cksum_phdr(&iph->ip6_src, &iph->ip6_dst, htonl(
thlen
+ mss),
150
th->th_sum = in6_cksum(n, 0, off + iphlen,
thlen
+ mss);
/src/sys/netinet/
in_offload.c
52
int iphlen,
thlen
;
local
93
thlen
= th->th_off * 4;
94
hlen = off + iphlen +
thlen
;
110
ip->ip_len = htons(iphlen +
thlen
+ mss);
112
htons((uint16_t)(
thlen
+ mss) + IPPROTO_TCP));
153
th->th_sum = in4_cksum(n, 0, off + iphlen,
thlen
+ mss);
tcp_input.c
1207
int
thlen
, iphlen;
local
1330
thlen
= th->th_off << 2;
1331
if (
thlen
< sizeof(struct tcphdr) ||
thlen
> tlen) {
1335
tlen -=
thlen
;
1337
if (
thlen
> sizeof(struct tcphdr)) {
1338
M_REGION_GET(th, struct tcphdr *, m, off,
thlen
);
1344
optlen =
thlen
- sizeof(struct tcphdr);
1371
if (tcp_input_checksum(af, m, th, off,
thlen
, tlen))
2008
m_adj(m, off +
thlen
);
[
all
...]
/src/sys/net/npf/
npf_inet.c
253
u_int
thlen
;
local
260
thlen
= th->th_off << 2;
264
return ntohs(ip->ip_len) - npc->npc_hlen -
thlen
;
268
(npc->npc_hlen - sizeof(*ip6)) -
thlen
;
/src/sys/dist/pf/net/
pf.c
5634
int
thlen
;
local
5637
thlen
= th.th_off << 2;
5639
thlen
, len -
thlen
) != 0;
Completed in 25 milliseconds
Indexes created Sat Feb 21 08:20:20 UTC 2026