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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [userland/] [route/] [include/] [ipx.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 745 simons
 
2
/* Sanitised ipx.h for net-tools. */
3
 
4
#ifndef _IPX_H_
5
#define _IPX_H_
6
 
7
#define IPX_NODE_LEN    6
8
#define IPX_MTU         576
9
 
10
struct sockaddr_ipx {
11
#if LINUX_VERSION_CODE > 131328 /* 2.1.0 or later */
12
    sa_family_t sipx_family;
13
#else
14
    short sipx_family;
15
#endif
16
    unsigned short sipx_port;
17
    unsigned int sipx_network;
18
    unsigned char sipx_node[IPX_NODE_LEN];
19
    unsigned char sipx_type;
20
    unsigned char sipx_zero;    /* 16 byte fill */
21
};
22
 
23
#define IPX_FRAME_NONE          0
24
#define IPX_FRAME_SNAP          1
25
#define IPX_FRAME_8022          2
26
#define IPX_FRAME_ETHERII       3
27
#define IPX_FRAME_8023          4
28
#define IPX_FRAME_TR_8022       5
29
 
30
#endif

powered by: WebSVN 2.1.0

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