Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/kinit/ipconfig/ipconfig.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1122 - (show annotations) (download)
Wed Aug 18 21:11:40 2010 UTC (13 years, 8 months ago) by niro
File MIME type: text/plain
File size: 513 byte(s)
-updated to klibc-1.5.19
1 #ifndef IPCONFIG_IPCONFIG_H
2 #define IPCONFIG_IPCONFIG_H
3
4 #include <stdint.h>
5 #include <sys/types.h>
6
7 #define LOCAL_PORT 68
8 #define REMOTE_PORT (LOCAL_PORT - 1)
9
10 extern uint16_t cfg_local_port;
11 extern uint16_t cfg_remote_port;
12
13 extern char vendor_class_identifier[];
14 extern int vendor_class_identifier_len;
15
16 int ipconfig_main(int argc, char *argv[]);
17 uint32_t ipconfig_server_address(void *next);
18
19 #ifdef DEBUG
20 # define dprintf printf
21 #else
22 # define dprintf(...) ((void)0)
23 #endif
24
25 #endif /* IPCONFIG_IPCONFIG_H */