patch-2.1.63 linux/include/net/ipx.h
Next file: linux/include/scsi/scsi.h
Previous file: linux/include/linux/soundcard.h
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
Sun Nov 9 10:13:48 1997
- Orig file:
v2.1.62/linux/include/net/ipx.h
- Orig date:
Mon Jul 7 16:02:45 1997
diff -u --recursive --new-file v2.1.62/linux/include/net/ipx.h linux/include/net/ipx.h
@@ -18,9 +18,9 @@
typedef struct
{
- unsigned long net;
- unsigned char node[IPX_NODE_LEN];
- unsigned short sock;
+ __u32 net;
+ __u8 node[IPX_NODE_LEN];
+ __u16 sock;
} ipx_address;
#define ipx_broadcast_node "\377\377\377\377\377\377"
@@ -28,11 +28,11 @@
struct ipxhdr
{
- unsigned short ipx_checksum __attribute__ ((packed));
+ __u16 ipx_checksum __attribute__ ((packed));
#define IPX_NO_CHECKSUM 0xFFFF
- unsigned short ipx_pktsize __attribute__ ((packed));
- unsigned char ipx_tctrl;
- unsigned char ipx_type;
+ __u16 ipx_pktsize __attribute__ ((packed));
+ __u8 ipx_tctrl;
+ __u8 ipx_type;
#define IPX_TYPE_UNKNOWN 0x00
#define IPX_TYPE_RIP 0x01 /* may also be 0 */
#define IPX_TYPE_SAP 0x04 /* may also be 0 */
@@ -49,7 +49,7 @@
typedef struct ipx_interface {
/* IPX address */
- unsigned long if_netnum;
+ __u32 if_netnum;
unsigned char if_node[IPX_NODE_LEN];
/* physical device info */
@@ -70,7 +70,7 @@
} ipx_interface;
typedef struct ipx_route {
- unsigned long ir_net;
+ __u32 ir_net;
ipx_interface *ir_intrfc;
unsigned char ir_routed;
unsigned char ir_router_node[IPX_NODE_LEN];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov