Searched refs:payload_char (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/net/ |
H A D | txring_overwrite.c | 41 static void build_packet(void *buffer, size_t blen, char payload_char) in build_packet() argument 72 memset(buffer + off, payload_char, blen - off); in build_packet() 122 static void send_pkt(int fdt, void *slot, char payload_char) in send_pkt() argument 130 build_packet(slot + eth_off, cfg_frame_size, payload_char); in send_pkt() 140 static int read_verify_pkt(int fdr, char payload_char) in read_verify_pkt() argument 149 if (buf[60] != payload_char) { in read_verify_pkt() 150 printf("wrong pattern: 0x%x != 0x%x\n", buf[60], payload_char); in read_verify_pkt()
|