summaryrefslogtreecommitdiffstats
path: root/if-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'if-bsd.c')
-rw-r--r--if-bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/if-bsd.c b/if-bsd.c
index 1628a121..ec1d53ef 100644
--- a/if-bsd.c
+++ b/if-bsd.c
@@ -474,7 +474,7 @@ eexit:
ssize_t
if_sendraw(__unused const struct interface *ifp, int fd, uint16_t protocol,
- const void *data, size_t len)
+ const void *data, size_t len, const unsigned char *hwaddr)
{
struct iovec iov[2];
struct ether_header hw;
@@ -492,7 +492,7 @@ if_sendraw(__unused const struct interface *ifp, int fd, uint16_t protocol,
/* BPF requires that we read the entire buffer.
* So we pass the buffer in the API so we can loop on >1 packet. */
ssize_t
-if_readraw(struct interface *ifp, int fd, void *data, size_t len, int *flags)
+if_readraw(struct interface *ifp, int fd, void *data, size_t len, int *flags, unsigned char *hwaddr)
{
struct bpf_hdr packet;
ssize_t bytes;