Code Review
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[TOKENRING]: be'ify trh_hdr, trllc, rif_cache_s
[linux-2.6.git]
/
include
/
linux
/
if_tr.h
diff --git
a/include/linux/if_tr.h
b/include/linux/if_tr.h
index a2b01e1e72f25a9a81b9d366c6be23cd687f4e47..6688b414c529277d893445d500e091bcd79d115f 100644
(file)
--- a/
include/linux/if_tr.h
+++ b/
include/linux/if_tr.h
@@
-36,8
+36,8
@@
struct trh_hdr {
__u8 fc; /* frame control field */
__u8 daddr[TR_ALEN]; /* destination address */
__u8 saddr[TR_ALEN]; /* source address */
__u8 fc; /* frame control field */
__u8 daddr[TR_ALEN]; /* destination address */
__u8 saddr[TR_ALEN]; /* source address */
- __
u16 rcf;
/* route control field */
- __
u16 rseg[8];
/* routing registers */
+ __
be16 rcf;
/* route control field */
+ __
be16 rseg[8];
/* routing registers */
};
#ifdef __KERNEL__
};
#ifdef __KERNEL__
@@
-55,7
+55,7
@@
struct trllc {
__u8 ssap; /* source SAP */
__u8 llc; /* LLC control field */
__u8 protid[3]; /* protocol id */
__u8 ssap; /* source SAP */
__u8 llc; /* LLC control field */
__u8 protid[3]; /* protocol id */
- __
u16 ethertype;
/* ether type field */
+ __
be16 ethertype;
/* ether type field */
};
/* Token-Ring statistics collection data. */
};
/* Token-Ring statistics collection data. */