Searched refs:TCPOLEN_MSS (Results 1 – 6 of 6) sorted by relevance
117 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()
55 && (optlen - i) >= TCPOLEN_MSS in tcpmss_mt()56 && op[i+1] == TCPOLEN_MSS) { in tcpmss_mt()
63 if (opsize == TCPOLEN_MSS) { in synproxy_parse_options()122 (TCPOLEN_MSS << 16) | in synproxy_build_options()
202 #define TCPOLEN_MSS 4 macro
4012 if (opcode == TCPOPT_MSS && opsize == TCPOLEN_MSS) { in tcp_parse_mss_option()4065 if (opsize == TCPOLEN_MSS && th->syn && !estab) { in tcp_parse_options()
623 (TCPOLEN_MSS << 16) | in tcp_options_write()