mirror of
https://github.com/ipxe/ipxe
synced 2026-01-12 08:28:37 +03:00
I want to get to the point where any header in include/ reflects a standard user-level header (e.g. a POSIX header), while everything that's specific to gPXE lives in include/gpxe/. Headers that reflect a Linux header (e.g. if_ether.h) should also be in include/gpxe/, with the same name as the Linux header and, preferably, the same names used for the definitions.
21 lines
383 B
C
21 lines
383 B
C
#ifndef _GPXE_IP_H
|
|
#define _GPXE_IP_H
|
|
|
|
/** @file
|
|
*
|
|
* IP protocol
|
|
*
|
|
* This file defines the gPXE IP API.
|
|
*
|
|
*/
|
|
|
|
#include <gpxe/in.h>
|
|
|
|
extern void set_ipaddr ( struct in_addr address );
|
|
extern void set_netmask ( struct in_addr address );
|
|
extern void set_gateway ( struct in_addr address );
|
|
extern void init_tcpip ( void );
|
|
extern void run_tcpip ( void );
|
|
|
|
#endif /* _GPXE_IP_H */
|