Home
last modified time | relevance | path

Searched refs:TCPOLEN_MSS (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_TCPMSS.c102 ((tcph->doff*4 - i) >= TCPOLEN_MSS) && in ipt_tcpmss_target()
103 (opt[i+1] == TCPOLEN_MSS)) { in ipt_tcpmss_target()
134 if (skb_tailroom((*pskb)) < TCPOLEN_MSS) { in ipt_tcpmss_target()
138 TCPOLEN_MSS, GFP_ATOMIC); in ipt_tcpmss_target()
152 skb_put((*pskb), TCPOLEN_MSS); in ipt_tcpmss_target()
155 memmove(opt + TCPOLEN_MSS, opt, tcplen - sizeof(struct tcphdr)); in ipt_tcpmss_target()
158 htons(tcplen + TCPOLEN_MSS), tcph->check); in ipt_tcpmss_target()
159 tcplen += TCPOLEN_MSS; in ipt_tcpmss_target()
162 opt[1] = TCPOLEN_MSS; in ipt_tcpmss_target()
169 tcph->doff += TCPOLEN_MSS/4; in ipt_tcpmss_target()
[all …]
Dipt_tcpmss.c30 && ((tcp->doff * 4 - i) >= TCPOLEN_MSS) in mssoption_match()
31 && (opt[i+1] == TCPOLEN_MSS)) { in mssoption_match()
/linux-2.4.37.9/net/ipv4/
Dtcp_output.c212 tcp_header_size = sizeof(struct tcphdr) + TCPOLEN_MSS; in tcp_transmit_skb()
1137 tcp_header_size = (sizeof(struct tcphdr) + TCPOLEN_MSS + in tcp_make_synack()
Dtcp_input.c2898 if(opsize==TCPOLEN_MSS && th->syn && !estab) { in tcp_parse_options()
/linux-2.4.37.9/include/net/
Dtcp.h432 #define TCPOLEN_MSS 4 macro
1582 *ptr++ = htonl((TCPOPT_MSS << 24) | (TCPOLEN_MSS << 16) | mss); in tcp_syn_build_options()