eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 4a345511a77ba84457c741779c19e0c3570a0136
parent fd181839f735b086ec0f14ded9b6881d6995ce51
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Fri, 14 Sep 2018 16:41:05 +0200

wired: Add skeleton for Ethernet device handling and EAP setup

Diffstat:
MMakefile.am | 2+-
Awired/ethdev.c | 35+++++++++++++++++++++++++++++++++++
Awired/ethdev.h | 24++++++++++++++++++++++++
Mwired/main.c | 10++++++++++
4 files changed, 70 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am @@ -197,7 +197,7 @@ endif if WIRED libexec_PROGRAMS += wired/ead -wired_ead_SOURCES = wired/main.c $(eap_sources) +wired_ead_SOURCES = wired/main.c wired/ethdev.h wired/ethdev.c $(eap_sources) wired_ead_LDADD = ell/libell-internal.la wired_ead_DEPENDENCIES = ell/libell-internal.la diff --git a/wired/ethdev.c b/wired/ethdev.c @@ -0,0 +1,35 @@ +/* + * + * Ethernet daemon for Linux + * + * Copyright (C) 2017-2018 Intel Corporation. All rights reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include <ell/ell.h> + +#include "src/eap.h" +#include "wired/ethdev.h" + +bool ethdev_init(void) +{ + return false; +} + +void ethdev_exit(void) +{ +} diff --git a/wired/ethdev.h b/wired/ethdev.h @@ -0,0 +1,24 @@ +/* + * + * Ethernet daemon for Linux + * + * Copyright (C) 2017-2018 Intel Corporation. All rights reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +bool ethdev_init(void); +void ethdev_exit(void); diff --git a/wired/main.c b/wired/main.c @@ -25,8 +25,18 @@ #endif #include <stdlib.h> +#include <ell/ell.h> + +#include "src/eap.h" +#include "wired/ethdev.h" int main(int argc, char *argv[]) { + eap_init(0); + ethdev_init(); + + ethdev_exit(); + eap_exit(); + return EXIT_SUCCESS; }