Lines Matching refs:MSS
73 #define MSS (4096 - sizeof(struct tcphdr) - sizeof(struct ipv6hdr)) macro
75 #define NUM_LARGE_PKT (MAX_PAYLOAD / MSS)
347 static char pkts[NUM_LARGE_PKT][TOTAL_HDR_LEN + MSS]; in send_large()
348 static char last[TOTAL_HDR_LEN + MSS]; in send_large()
349 static char new_seg[TOTAL_HDR_LEN + MSS]; in send_large()
353 create_packet(pkts[i], i * MSS, 0, MSS, 0); in send_large()
354 create_packet(last, NUM_LARGE_PKT * MSS, 0, remainder, 0); in send_large()
355 create_packet(new_seg, (NUM_LARGE_PKT + 1) * MSS, 0, remainder, 0); in send_large()
358 write_packet(fd, pkts[i], total_hdr_len + MSS, daddr); in send_large()
891 int remainder = (MAX_PAYLOAD + offset) % MSS; in gro_sender()
1003 int remainder = (MAX_PAYLOAD + offset) % MSS; in gro_receiver()