diff options
Diffstat (limited to 'src/user/app/ethdump/proto.h')
-rw-r--r-- | src/user/app/ethdump/proto.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/user/app/ethdump/proto.h b/src/user/app/ethdump/proto.h index af73470..106f286 100644 --- a/src/user/app/ethdump/proto.h +++ b/src/user/app/ethdump/proto.h @@ -48,12 +48,10 @@ extern struct ethq *ether_queue; void arp_parse(const uint8_t *buf, size_t len); void icmp_parse(const uint8_t *buf, size_t len, struct ipv4 ip); -uint8_t *icmp_start(size_t len, struct icmp i); -void icmp_finish(uint8_t *pkt, size_t len); +void icmp_send(const void *payload, size_t len, struct icmp i); void ipv4_parse(const uint8_t *buf, size_t len, struct ethernet ether); -uint8_t *ipv4_start(size_t len, struct ipv4 ip); -void ipv4_finish(uint8_t *pkt); +void ipv4_send(const void *payload, size_t len, struct ipv4 ip); void ether_parse(const uint8_t *buf, size_t len); uint8_t *ether_start(size_t len, struct ethernet ether); |