Home
last modified time | relevance | path

Searched refs:mssind (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/net/ipv6/
Dsyncookies.c95 int mssind; in __cookie_v6_init_sequence() local
98 for (mssind = ARRAY_SIZE(msstab) - 1; mssind ; mssind--) in __cookie_v6_init_sequence()
99 if (mss >= msstab[mssind]) in __cookie_v6_init_sequence()
102 *mssp = msstab[mssind]; in __cookie_v6_init_sequence()
105 th->dest, ntohl(th->seq), mssind); in __cookie_v6_init_sequence()
121 __u32 mssind = check_tcp_syn_cookie(cookie, &iph->saddr, &iph->daddr, in __cookie_v6_check() local
124 return mssind < ARRAY_SIZE(msstab) ? msstab[mssind] : 0; in __cookie_v6_check()
/Linux-v5.10/net/ipv4/
Dsyncookies.c164 int mssind; in __cookie_v4_init_sequence() local
167 for (mssind = ARRAY_SIZE(msstab) - 1; mssind ; mssind--) in __cookie_v4_init_sequence()
168 if (mss >= msstab[mssind]) in __cookie_v4_init_sequence()
170 *mssp = msstab[mssind]; in __cookie_v4_init_sequence()
174 mssind); in __cookie_v4_init_sequence()
194 __u32 mssind = check_tcp_syn_cookie(cookie, iph->saddr, iph->daddr, in __cookie_v4_check() local
197 return mssind < ARRAY_SIZE(msstab) ? msstab[mssind] : 0; in __cookie_v4_check()