Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 79 → Rev 80

/shark/trunk/drivers/net/netbuff.h
20,11 → 20,11
 
/**
------------
CVS : $Id: netbuff.h,v 1.1.1.1 2002-03-29 14:12:50 pj Exp $
CVS : $Id: netbuff.h,v 1.2 2003-03-13 13:54:07 pj Exp $
 
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:50 $
Revision: $Revision: 1.2 $
Last update: $Date: 2003-03-13 13:54:07 $
------------
**/
 
56,10 → 56,10
#ifndef __NETBUFF_H__
#define __NETBUFF_H__
 
#ifdef __cplusplus
extern "C" {
#endif
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
typedef struct netbuff{
BYTE *b;
BYTE **pb;
73,8 → 73,6
void *netbuff_sequentialget(struct netbuff *netb, BYTE to);
void netbuff_release(struct netbuff *netb, void *m);
 
#ifdef __cplusplus
};
#endif
__END_DECLS
 
#endif
/shark/trunk/drivers/net/8390.h
11,7 → 11,10
#include <linux/if_ether.h>
#include <linux/ioport.h>
#include <linux/skbuff.h>
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
/* With kmod, drivers can now load the 8390 module themselves! */
#if 0 /* def CONFIG_KMOD */
#define LOAD_8390_BY_KMOD
289,4 → 292,5
#define ENTSR_CDH 0x40 /* The collision detect "heartbeat" signal was lost. */
#define ENTSR_OWC 0x80 /* There was an out-of-window collision. */
 
__END_DECLS
#endif /* _8390_h */
/shark/trunk/drivers/net/eth_priv.h
20,11 → 20,11
 
/**
------------
CVS : $Id: eth_priv.h,v 1.1.1.1 2002-03-29 14:12:50 pj Exp $
CVS : $Id: eth_priv.h,v 1.2 2003-03-13 13:54:07 pj Exp $
 
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:50 $
Revision: $Revision: 1.2 $
Last update: $Date: 2003-03-13 13:54:07 $
------------
**/
 
57,10 → 57,10
#ifndef __ETH_H__
#define __ETH_H__
 
#ifdef __cplusplus
extern "C" {
#endif
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
#define LOOPBACK 2
#define ETH_MAX_LEN 1528
111,8 → 111,5
void eth_getAddress(struct eth_addr *eth);
 
 
#ifdef __cplusplus
};
__END_DECLS
#endif
 
#endif
/shark/trunk/drivers/net/arp.h
20,11 → 20,11
 
/**
------------
CVS : $Id: arp.h,v 1.1.1.1 2002-03-29 14:12:50 pj Exp $
CVS : $Id: arp.h,v 1.2 2003-03-13 13:54:07 pj Exp $
 
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:50 $
Revision: $Revision: 1.2 $
Last update: $Date: 2003-03-13 13:54:07 $
------------
**/
 
58,10 → 58,10
#ifndef __ARP_H__
#define __ARP_H__
 
#ifdef __cplusplus
extern "C" {
#endif
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
#define ARP_IP_TYPE 0x0800
#define ARP_ETH_TYPE 1
90,8 → 90,6
int arp_req(IP_ADDR dest);
void arp_sendRequest(int i);
 
#ifdef __cplusplus
};
#endif
__BEGIN_DECLS
 
#endif