From 0d47952611198ef6b1163f366dc03922d20b1475 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:42:04 +0200 Subject: Adding upstream version 7.94+git20230807.3be01efb1+dfsg. Signed-off-by: Daniel Baumann --- libdnet-stripped/src/eth-none.c | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 libdnet-stripped/src/eth-none.c (limited to 'libdnet-stripped/src/eth-none.c') diff --git a/libdnet-stripped/src/eth-none.c b/libdnet-stripped/src/eth-none.c new file mode 100644 index 0000000..1ad0fef --- /dev/null +++ b/libdnet-stripped/src/eth-none.c @@ -0,0 +1,51 @@ +/* + * eth-none.c + * + * Copyright (c) 2000 Dug Song + * + * $Id: eth-none.c 547 2005-01-25 21:30:40Z dugsong $ + */ + +#include "config.h" + +#include + +#include +#include +#include + +#include "dnet.h" + +eth_t * +eth_open(const char *device) +{ + errno = ENOSYS; + return (NULL); +} + +ssize_t +eth_send(eth_t *e, const void *buf, size_t len) +{ + errno = ENOSYS; + return (-1); +} + +eth_t * +eth_close(eth_t *e) +{ + return (NULL); +} + +int +eth_get(eth_t *e, eth_addr_t *ea) +{ + errno = ENOSYS; + return (-1); +} + +int +eth_set(eth_t *e, const eth_addr_t *ea) +{ + errno = ENOSYS; + return (-1); +} -- cgit v1.2.3