aboutgitcodebugslistschat
path: root/icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'icmp.c')
-rw-r--r--icmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/icmp.c b/icmp.c
index 493452d..2966cb3 100644
--- a/icmp.c
+++ b/icmp.c
@@ -38,9 +38,10 @@
* @c: Execution context
* @s: File descriptor number for socket
* @events: epoll events bitmap
+ * @pkt_buf: Buffer to receive packets, currently unused
* @now: Current timestamp, unused
*/
-void icmp_sock_handler(struct ctx *c, int s, uint32_t events,
+void icmp_sock_handler(struct ctx *c, int s, uint32_t events, char *pkt_buf,
struct timespec *now)
{
struct in6_addr a6 = { .s6_addr = { 0, 0, 0, 0,
@@ -53,6 +54,7 @@ void icmp_sock_handler(struct ctx *c, int s, uint32_t events,
ssize_t n;
(void)events;
+ (void)pkt_buf;
(void)now;
n = recvfrom(s, buf, sizeof(buf), MSG_DONTWAIT,