iPXE
fakedhcp.h
Go to the documentation of this file.
00001 #ifndef _IPXE_FAKEDHCP_H
00002 #define _IPXE_FAKEDHCP_H
00003 
00004 /** @file
00005  *
00006  * Fake DHCP packets
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #include <stdint.h>
00013 
00014 struct net_device;
00015 
00016 extern int create_fakedhcpdiscover ( struct net_device *netdev,
00017                                      void *data, size_t max_len );
00018 extern int create_fakedhcpack ( struct net_device *netdev,
00019                                 void *data, size_t max_len );
00020 extern int create_fakepxebsack ( struct net_device *netdev,
00021                                  void *data, size_t max_len );
00022 
00023 #endif /* _IPXE_FAKEDHCP_H */