URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 140 |
Line 11... |
Line 11... |
|
|
#ifndef __NET_H__
|
#ifndef __NET_H__
|
#define __NET_H__
|
#define __NET_H__
|
|
|
|
|
|
// TFTP running checksum defined here... tftp.h not in common include/ path
|
|
extern unsigned long TFTP_CHKSUM;
|
|
|
/*
|
/*
|
* The number of receive packet buffers, and the required packet buffer
|
* The number of receive packet buffers, and the required packet buffer
|
* alignment in memory.
|
* alignment in memory.
|
*
|
*
|
*/
|
*/
|
Line 236... |
Line 239... |
extern unsigned long NetBootFileXferSize; /* size of bootfile in bytes */
|
extern unsigned long NetBootFileXferSize; /* size of bootfile in bytes */
|
extern unsigned char NetOurEther[6]; /* Our ethernet address */
|
extern unsigned char NetOurEther[6]; /* Our ethernet address */
|
extern unsigned char NetServerEther[6]; /* Boot server enet address */
|
extern unsigned char NetServerEther[6]; /* Boot server enet address */
|
extern IPaddr_t NetOurIP; /* Our IP addr (0 = unknown) */
|
extern IPaddr_t NetOurIP; /* Our IP addr (0 = unknown) */
|
extern IPaddr_t NetServerIP; /* Server IP addr (0 = unknown) */
|
extern IPaddr_t NetServerIP; /* Server IP addr (0 = unknown) */
|
volatile unsigned char * NetTxPacket; /* THE transmit packet */
|
extern volatile unsigned char * NetTxPacket; /* THE transmit packet */
|
extern volatile unsigned char * NetRxPackets[PKTBUFSRX];/* Receive packets */
|
extern volatile unsigned char * NetRxPackets[PKTBUFSRX];/* Receive packets */
|
extern volatile unsigned char * NetRxPkt; /* Current receive packet */
|
extern volatile unsigned char * NetRxPkt; /* Current receive packet */
|
extern int NetRxPktLen; /* Current rx packet length */
|
extern int NetRxPktLen; /* Current rx packet length */
|
extern unsigned NetIPID; /* IP ID (counting) */
|
extern unsigned NetIPID; /* IP ID (counting) */
|
extern unsigned char NetBcastAddr[6]; /* Ethernet boardcast address */
|
extern unsigned char NetBcastAddr[6]; /* Ethernet boardcast address */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.