diff options
author | Mystery Man <unknown@mandriva.org> | 2005-06-15 10:21:34 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-06-15 10:21:34 +0000 |
commit | ced1ffcebee246fd51572566f1b4f08e6b981c23 (patch) | |
tree | 01d53c7928a67bf29513da0e079096df3ca1ddaa /mdk-stage1/network.h | |
parent | 43d37ea8829a56d0b864c8665b31da35bb588d51 (diff) | |
download | drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.tar drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.tar.gz drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.tar.bz2 drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.tar.xz drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.zip |
This commit was manufactured by cvs2svn to create tagV10_3_0_24mdk
'V10_3_0_24mdk'.
Diffstat (limited to 'mdk-stage1/network.h')
-rw-r--r-- | mdk-stage1/network.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/mdk-stage1/network.h b/mdk-stage1/network.h deleted file mode 100644 index a94f8150b..000000000 --- a/mdk-stage1/network.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Guillaume Cottenceau (gc@mandrakesoft.com) - * - * Copyright 2000 Mandrakesoft - * - * This software may be freely redistributed under the terms of the GNU - * public license. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -/* - * Portions from Erik Troan (ewt@redhat.com) - * - * Copyright 1996 Red Hat Software - * - */ - -#ifndef _NETWORK_H_ -#define _NETWORK_H_ - -#include <netinet/in.h> -#include <netinet/ip.h> -#include <arpa/inet.h> - -enum return_type intf_select_and_up(); - -enum return_type nfs_prepare(void); -#ifndef MANDRAKE_MOVE -enum return_type ftp_prepare(void); -enum return_type http_prepare(void); -#endif - - -enum boot_proto_type { BOOTPROTO_STATIC, BOOTPROTO_DHCP, BOOTPROTO_ADSL_PPPOE }; - -/* all of these in_addr things are in network byte order! */ -struct interface_info { - char device[10]; - int is_ptp, is_up; - struct in_addr ip, netmask, broadcast, network; - enum boot_proto_type boot_proto; - char *user, *pass, *acname; /* for ADSL connection */ -}; - - -/* these are to be used only by dhcp.c */ - -char * guess_netmask(char * ip_addr); - -int configure_net_device(struct interface_info * intf); - -extern char * hostname; -extern char * domain; -extern struct in_addr gateway; -extern struct in_addr dns_server; -extern struct in_addr dns_server2; - - - -#endif |