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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [net/] [spx.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef __NET_SPX_H
2
#define __NET_SPX_H
3
 
4
/*
5
 *      Internal definitions for the SPX protocol.
6
 */
7
 
8
/*
9
 *      The SPX header following an IPX header.
10
 */
11
 
12
struct spxhdr
13
{
14
        __u8 cctl;
15
#define CCTL_SPXII_XHD  0x01    /* SPX2 extended header */
16
#define CCTL_SPX_UNKNOWN 0x02   /* Unknown (unused ??) */
17
#define CCTL_SPXII_NEG  0x04    /* Negotiate size */
18
#define CCTL_SPXII      0x08    /* Set for SPX2 */
19
#define CCTL_EOM        0x10    /* End of message marker */
20
#define CCTL_URG        0x20    /* Urgent marker in SPP (not used in SPX?) */
21
#define CCTL_ACK        0x40    /* Send me an ACK */
22
#define CCTL_CTL        0x80    /* Control message */
23
        __u8 dtype;
24
#define SPX_DTYPE_ECONN 0xFE    /* Finished */
25
#define SPX_DTYPE_ECACK 0xFF    /* Ok */
26
        __u16 sconn;    /* Connection ID */
27
        __u16 dconn;    /* Connection ID */
28
        __u16 sequence;
29
        __u16 ackseq;
30
        __u16 allocseq;
31
};
32
 
33
#define IPXTYPE_SPX     5
34
 
35
 
36
 
37
 
38
#endif

powered by: WebSVN 2.1.0

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