Lines Matching defs:buf

191 static uint16_t tcp_checksum(void *buf, int payload_len)  in tcp_checksum()
238 static void fill_datalinklayer(void *buf) in fill_datalinklayer()
247 static void fill_networklayer(void *buf, int payload_len) in fill_networklayer()
281 static void fill_transportlayer(void *buf, int seq_offset, int ack_offset, in fill_transportlayer()
300 static void write_packet(int fd, char *buf, int len, struct sockaddr_ll *daddr) in write_packet()
311 static void create_packet(void *buf, int seq_offset, int ack_offset, in create_packet()
327 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_flags() local
361 static char buf[ETH_HLEN + IP_MAXPACKET]; in send_data_pkts() local
393 static char buf[MAX_HDR_LEN]; in send_ack() local
402 static void recompute_packet(char *buf, char *no_ext, int extlen) in recompute_packet()
424 static void tcp_write_options(char *buf, int kind, int ts) in tcp_write_options()
464 static void add_standard_tcp_options(char *buf, char *no_ext, int ts, int order) in add_standard_tcp_options()
497 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_changed_checksum() local
512 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_changed_seq() local
531 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_changed_ts() local
559 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_diff_opt() local
580 static void add_ipv4_ts_option(void *buf, void *optpkt) in add_ipv4_ts_option()
605 static void add_ipv6_exthdr(void *buf, void *optpkt, __u8 exthdr_type, char *ext_payload) in add_ipv6_exthdr()
733 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_ipv6_exthdr() local
748 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_ip_options() local
767 static char buf[IP_MAXPACKET]; in send_fragment4() local
793 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_changed_ttl() local
810 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_changed_tos() local
832 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_changed_ECN() local
852 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_fragment6() local