diff options
Diffstat (limited to 'mdk-stage1/network.h')
-rw-r--r-- | mdk-stage1/network.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mdk-stage1/network.h b/mdk-stage1/network.h index 02eea45b6..914bc2ca5 100644 --- a/mdk-stage1/network.h +++ b/mdk-stage1/network.h @@ -1,7 +1,7 @@ /* - * Guillaume Cottenceau (gc@mandrakesoft.com) + * Guillaume Cottenceau (gc) * - * Copyright 2000 MandrakeSoft + * Copyright 2000 Mandriva * * This software may be freely redistributed under the terms of the GNU * public license. @@ -26,13 +26,18 @@ #include <netinet/ip.h> #include <arpa/inet.h> +enum return_type intf_select_and_up(); enum return_type nfs_prepare(void); enum return_type ftp_prepare(void); enum return_type http_prepare(void); +#ifndef DISABLE_KA +enum return_type ka_prepare(void); +#endif enum boot_proto_type { BOOTPROTO_STATIC, BOOTPROTO_DHCP, BOOTPROTO_ADSL_PPPOE }; +enum auto_detection_type { AUTO_DETECTION_NONE, AUTO_DETECTION_ALL, AUTO_DETECTION_WIRED }; /* all of these in_addr things are in network byte order! */ struct interface_info { @@ -40,7 +45,7 @@ struct interface_info { int is_ptp, is_up; struct in_addr ip, netmask, broadcast, network; enum boot_proto_type boot_proto; - char *user, *pass; /* for ADSL connection */ + char *user, *pass, *acname; /* for ADSL connection */ }; |