2
0

config.h 877 B

123456789101112131415161718192021222324252627
  1. /*
  2. * netifd - network interface daemon
  3. * Copyright (C) 2012 Felix Fietkau <nbd@openwrt.org>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2
  7. * as published by the Free Software Foundation
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. #ifndef __NETIFD_CONFIG_H
  15. #define __NETIFD_CONFIG_H
  16. #include <libubox/blobmsg.h>
  17. #include <uci_blob.h>
  18. extern bool config_init;
  19. int config_init_all(void);
  20. struct ether_addr *config_get_default_macaddr(const char *ifname);
  21. int config_get_default_gro(const char *ifname);
  22. const char *config_get_default_conduit(const char *ifname);
  23. #endif