mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
Split non-TCP portions of the stack out into ip.[ch].
Added set_ipaddr().
This commit is contained in:
18
src/include/gpxe/ip.h
Normal file
18
src/include/gpxe/ip.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _IP_H
|
||||
#define _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 init_tcpip ( void );
|
||||
extern void run_tcpip ( void );
|
||||
|
||||
#endif /* _IP_H */
|
||||
@@ -96,7 +96,5 @@ extern int tcp_connect ( struct tcp_connection *conn );
|
||||
extern void tcp_send ( struct tcp_connection *conn, const void *data,
|
||||
size_t len );
|
||||
extern void tcp_close ( struct tcp_connection *conn );
|
||||
extern void init_tcpip ( void );
|
||||
extern void run_tcpip ( void );
|
||||
|
||||
#endif /* _TCP_H */
|
||||
|
||||
Reference in New Issue
Block a user