vlan_init.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * hostapd / VLAN initialization
  3. * Copyright 2003, Instant802 Networks, Inc.
  4. * Copyright 2005, Devicescape Software, Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. *
  10. * Alternatively, this software may be distributed under the terms of BSD
  11. * license.
  12. *
  13. * See README and COPYING for more details.
  14. */
  15. #ifndef VLAN_INIT_H
  16. #define VLAN_INIT_H
  17. int vlan_init(struct hostapd_data *hapd);
  18. void vlan_deinit(struct hostapd_data *hapd);
  19. int vlan_reconfig(struct hostapd_data *hapd, struct hostapd_config *oldconf,
  20. struct hostapd_bss_config *oldbss);
  21. struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd,
  22. struct hostapd_vlan *vlan,
  23. int vlan_id);
  24. int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id);
  25. int vlan_setup_encryption_dyn(struct hostapd_data *hapd,
  26. struct hostapd_ssid *mssid,
  27. const char *dyn_vlan);
  28. #endif /* VLAN_INIT_H */