Lines Matching refs:MSS
70 #define MSS (4096 - sizeof(struct tcphdr) - sizeof(struct ipv6hdr)) macro
72 #define NUM_LARGE_PKT (MAX_PAYLOAD / MSS)
348 static char pkts[NUM_LARGE_PKT][TOTAL_HDR_LEN + MSS]; in send_large()
349 static char last[TOTAL_HDR_LEN + MSS]; in send_large()
350 static char new_seg[TOTAL_HDR_LEN + MSS]; in send_large()
354 create_packet(pkts[i], i * MSS, 0, MSS, 0); in send_large()
355 create_packet(last, NUM_LARGE_PKT * MSS, 0, remainder, 0); in send_large()
356 create_packet(new_seg, (NUM_LARGE_PKT + 1) * MSS, 0, remainder, 0); in send_large()
359 write_packet(fd, pkts[i], total_hdr_len + MSS, daddr); in send_large()
892 int remainder = (MAX_PAYLOAD + offset) % MSS; in gro_sender()
1004 int remainder = (MAX_PAYLOAD + offset) % MSS; in gro_receiver()