OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [boot-loader-ethmac/] [udp.h] - Diff between revs 61 and 80

Show entire file | Details | Blame | View Log

Rev 61 Rev 80
Line 37... Line 37...
// from http://www.opencores.org/lgpl.shtml                     //
// from http://www.opencores.org/lgpl.shtml                     //
//                                                              //
//                                                              //
----------------------------------------------------------------*/
----------------------------------------------------------------*/
 
 
 
 
typedef struct {
/* Global variables */
    char *          buf512;
extern int      udp_checksum_errors_g;
    void *          next;
 
    unsigned int    bytes;
 
    unsigned int    last_block;
 
    unsigned int    total_bytes;
 
    unsigned int    total_blocks;
 
    unsigned int    ready;
 
    unsigned int    linux_boot;
 
    char*           filename;
 
} block_t;
 
 
 
 
 
 
 
 
/* Function prototypes */
void            parse_udp_packet        (char*, packet_t*);
void            parse_udp_packet        (char*, packet_t*);
void            udp_reply               (packet_t*, int, int, int, int);
void            udp_reply               (packet_t*, int, int, int, int);
block_t*        init_buffer_512         ();
 
 
 
 
 
/* Global variables */
 
extern int      udp_checksum_errors_g;
 
extern block_t* udp_file_g;
 
extern block_t* udp_current_block_g;
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.