Searched refs:PAYLOAD_LEN (Results 1 – 1 of 1) sorted by relevance
62 #define PAYLOAD_LEN 100 macro299 static char flag_buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_flags()300 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_flags()304 payload_len = PAYLOAD_LEN * psh; in send_flags()323 create_packet(buf, i * PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_flags()324 write_packet(fd, buf, total_hdr_len + PAYLOAD_LEN, daddr); in send_flags()383 no_ext + total_hdr_len, PAYLOAD_LEN); in recompute_packet()387 tcphdr->check = tcp_checksum(tcphdr, PAYLOAD_LEN + extlen); in recompute_packet()470 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_changed_checksum()472 int pkt_size = total_hdr_len + PAYLOAD_LEN; in send_changed_checksum()[all …]