15 #define IP_MASK_VER 0xf0
16 #define IP_MASK_HLEN 0x0f
19 /* IP header defaults */
23 /* IP4 pseudo header */
24 struct ipv4_pseudo_header {
35 struct tcpip_protocol;
37 extern struct net_protocol ipv4_protocol;
39 extern int add_ipv4_address ( struct net_device *netdev,
40 struct in_addr address, struct in_addr netmask,
41 struct in_addr gateway );
42 extern void del_ipv4_address ( struct net_device *netdev );
44 extern int ipv4_uip_tx ( struct pk_buff *pkb );
45 extern int ipv4_tx ( struct pk_buff *pkb, struct tcpip_protocol *tcpip,
46 struct in_addr *dest );
48 #endif /* _GPXE_IP_H */