diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-06-20 15:31:20 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-06-20 15:31:20 +0000 |
commit | cd417a1a507369b6df9ab23415bf6da3579c2bc5 (patch) | |
tree | fd3ee079320c38e87e3079edd28aa3878e1cfdb7 /mdk-stage1/network.h | |
parent | 957fd74e4e5f5b58c7ff6cc6ed64ad200db6e6bb (diff) | |
download | drakx-cd417a1a507369b6df9ab23415bf6da3579c2bc5.tar drakx-cd417a1a507369b6df9ab23415bf6da3579c2bc5.tar.gz drakx-cd417a1a507369b6df9ab23415bf6da3579c2bc5.tar.bz2 drakx-cd417a1a507369b6df9ab23415bf6da3579c2bc5.tar.xz drakx-cd417a1a507369b6df9ab23415bf6da3579c2bc5.zip |
save adsl info for stage2
Diffstat (limited to 'mdk-stage1/network.h')
-rw-r--r-- | mdk-stage1/network.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mdk-stage1/network.h b/mdk-stage1/network.h index 0848c715e..02eea45b6 100644 --- a/mdk-stage1/network.h +++ b/mdk-stage1/network.h @@ -32,14 +32,15 @@ enum return_type ftp_prepare(void); enum return_type http_prepare(void); -enum boot_proto_type { BOOTPROTO_STATIC, BOOTPROTO_DHCP }; +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 device[10]; + int is_ptp, is_up; + struct in_addr ip, netmask, broadcast, network; + enum boot_proto_type boot_proto; + char *user, *pass; /* for ADSL connection */ }; |