Skip to content

Commit

Permalink
[TOKENRING]: be'ify trh_hdr, trllc, rif_cache_s
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed May 26, 2005
1 parent 92d63de commit c6b3365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/linux/if_tr.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ struct trh_hdr {
__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__
Expand All @@ -55,7 +55,7 @@ struct trllc {
__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. */
Expand Down
4 changes: 2 additions & 2 deletions net/802/tr.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ static void rif_check_expire(unsigned long dummy);
struct rif_cache_s {
unsigned char addr[TR_ALEN];
int iface;
__u16 rcf;
__u16 rseg[8];
__be16 rcf;
__be16 rseg[8];
struct rif_cache_s *next;
unsigned long last_used;
unsigned char local_ring;
Expand Down

0 comments on commit c6b3365

Please sign in to comment.