Home
last modified time | relevance | path

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

/linux-5.19.10/net/netfilter/
Dxt_TCPMSS.c117 for (i = sizeof(struct tcphdr); i <= tcp_hdrlen - TCPOLEN_MSS; i += optlen(opt, i)) { in tcpmss_mangle_packet()
118 if (opt[i] == TCPOPT_MSS && opt[i+1] == TCPOLEN_MSS) { in tcpmss_mangle_packet()
154 if (skb_tailroom(skb) < TCPOLEN_MSS) { in tcpmss_mangle_packet()
156 TCPOLEN_MSS - skb_tailroom(skb), in tcpmss_mangle_packet()
162 skb_put(skb, TCPOLEN_MSS); in tcpmss_mangle_packet()
177 memmove(opt + TCPOLEN_MSS, opt, len - sizeof(struct tcphdr)); in tcpmss_mangle_packet()
180 htons(len), htons(len + TCPOLEN_MSS), true); in tcpmss_mangle_packet()
182 opt[1] = TCPOLEN_MSS; in tcpmss_mangle_packet()
189 tcph->doff += TCPOLEN_MSS/4; in tcpmss_mangle_packet()
192 return TCPOLEN_MSS; in tcpmss_mangle_packet()
Dxt_tcpmss.c55 && (optlen - i) >= TCPOLEN_MSS in tcpmss_mt()
56 && op[i+1] == TCPOLEN_MSS) { in tcpmss_mt()
Dnf_synproxy_core.c63 if (opsize == TCPOLEN_MSS) { in synproxy_parse_options()
122 (TCPOLEN_MSS << 16) | in synproxy_build_options()
/linux-5.19.10/include/net/
Dtcp.h202 #define TCPOLEN_MSS 4 macro
/linux-5.19.10/net/ipv4/
Dtcp_input.c4012 if (opcode == TCPOPT_MSS && opsize == TCPOLEN_MSS) { in tcp_parse_mss_option()
4065 if (opsize == TCPOLEN_MSS && th->syn && !estab) { in tcp_parse_options()
Dtcp_output.c623 (TCPOLEN_MSS << 16) | in tcp_options_write()