Searched refs:tcp_overhead (Results 1 – 1 of 1) sorted by relevance
212 const int tcp_overhead = sizeof(struct ipv6hdr) + sizeof(struct tcphdr) + 12; local213 const int mss = v->pmtu - tcp_overhead;214 const uint64_t payload = bytes - tcp_overhead;216 bytes = tcp_overhead * packets + payload;525 const int tcp_overhead = sizeof(struct iphdr) + sizeof(struct tcphdr) + 12; in do_forward4() local526 const int mss = v->pmtu - tcp_overhead; in do_forward4()527 const uint64_t payload = bytes - tcp_overhead; in do_forward4()529 bytes = tcp_overhead * packets + payload; in do_forward4()