Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (hide annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 498 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 niro 532 #ifndef IPCONFIG_DHCP_PROTO_H
2     #define IPCONFIG_DHCP_PROTO_H
3    
4     /* DHCP message types */
5     #define DHCPDISCOVER 1
6     #define DHCPOFFER 2
7     #define DHCPREQUEST 3
8     #define DHCPDECLINE 4
9     #define DHCPACK 5
10     #define DHCPNAK 6
11     #define DHCPRELEASE 7
12     #define DHCPINFORM 8
13    
14     int dhcp_send_discover(struct netdev *dev);
15     int dhcp_recv_offer(struct netdev *dev);
16     int dhcp_send_request(struct netdev *dev);
17     int dhcp_recv_ack(struct netdev *dev);
18    
19     #endif /* IPCONFIG_DHCP_PROTO_H */