diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/net/ipconfig.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/net/ipconfig.h')
-rw-r--r-- | include/net/ipconfig.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/net/ipconfig.h b/include/net/ipconfig.h new file mode 100644 index 000000000000..2a1fe996fbc6 --- /dev/null +++ b/include/net/ipconfig.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * $Id: ipconfig.h,v 1.4 2001/04/30 04:51:46 davem Exp $ | ||
3 | * | ||
4 | * Copyright (C) 1997 Martin Mares | ||
5 | * | ||
6 | * Automatic IP Layer Configuration | ||
7 | */ | ||
8 | |||
9 | /* The following are initdata: */ | ||
10 | |||
11 | extern int ic_proto_enabled; /* Protocols enabled (see IC_xxx) */ | ||
12 | extern int ic_set_manually; /* IPconfig parameters set manually */ | ||
13 | |||
14 | extern u32 ic_myaddr; /* My IP address */ | ||
15 | extern u32 ic_gateway; /* Gateway IP address */ | ||
16 | |||
17 | extern u32 ic_servaddr; /* Boot server IP address */ | ||
18 | |||
19 | extern u32 root_server_addr; /* Address of NFS server */ | ||
20 | extern u8 root_server_path[]; /* Path to mount as root */ | ||
21 | |||
22 | |||
23 | /* bits in ic_proto_{enabled,used} */ | ||
24 | #define IC_PROTO 0xFF /* Protocols mask: */ | ||
25 | #define IC_BOOTP 0x01 /* BOOTP (or DHCP, see below) */ | ||
26 | #define IC_RARP 0x02 /* RARP */ | ||
27 | #define IC_USE_DHCP 0x100 /* If on, use DHCP instead of BOOTP */ | ||