2006-04-24 15:42:49 +00:00
|
|
|
#ifndef _GPXE_IP_H
|
|
|
|
|
#define _GPXE_IP_H
|
2006-03-24 17:22:09 +00:00
|
|
|
|
|
|
|
|
/** @file
|
|
|
|
|
*
|
|
|
|
|
* IP protocol
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2006-06-17 22:36:27 +00:00
|
|
|
#include <ip.h>
|
|
|
|
|
|
2006-04-30 02:08:42 +00:00
|
|
|
struct net_protocol;
|
2006-03-24 17:22:09 +00:00
|
|
|
|
2006-04-30 02:08:42 +00:00
|
|
|
extern struct net_protocol ipv4_protocol;
|
2006-03-24 17:22:09 +00:00
|
|
|
|
2006-06-16 00:19:46 +00:00
|
|
|
extern int add_ipv4_address ( struct net_device *netdev,
|
|
|
|
|
struct in_addr address, struct in_addr netmask,
|
|
|
|
|
struct in_addr gateway );
|
|
|
|
|
extern void del_ipv4_address ( struct net_device *netdev );
|
2006-06-17 22:36:27 +00:00
|
|
|
extern int ipv4_uip_tx ( struct pk_buff *pkb );
|
2006-06-16 00:19:46 +00:00
|
|
|
|
2006-04-24 15:42:49 +00:00
|
|
|
#endif /* _GPXE_IP_H */
|