diff options
author | dzwdz | 2022-08-20 11:11:57 +0200 |
---|---|---|
committer | dzwdz | 2022-08-20 11:11:57 +0200 |
commit | f22f019aeba00ccb3cc35fe763c3e87bf5690040 (patch) | |
tree | 6f7338b526dca6eebc865096dbdbd3af90cda335 /src/user/app/ethdump/util.h | |
parent | 2a16c1f6f9118e7127d532421ae19b959b3f1d87 (diff) |
user/ethdump: turn into a file server
Diffstat (limited to 'src/user/app/ethdump/util.h')
-rw-r--r-- | src/user/app/ethdump/util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/user/app/ethdump/util.h b/src/user/app/ethdump/util.h index ca7e99b..6f58b82 100644 --- a/src/user/app/ethdump/util.h +++ b/src/user/app/ethdump/util.h @@ -4,14 +4,9 @@ #define eprintf(fmt, ...) fprintf(stderr, "ethdump: "fmt"\n" __VA_OPT__(,) __VA_ARGS__) -// #define printf(...) - -void hexdump(const void *vbuf, size_t len); - uint32_t crc32(const uint8_t *buf, size_t len); uint16_t ip_checksum(const uint8_t *buf, size_t len); - static inline void nput16(void *vbuf, uint16_t n) { uint8_t *b = vbuf; b[0] = n >> 8; |