| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] tokenring: be'ify trh_hdr, trllc, rif_cache_s |
| From: | Alexey Dobriyan <adobriyan@xxxxxxxxx> |
| Date: | Tue, 24 May 2005 21:46:53 +0400 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=d6KjWHlT5h2CV/3L53Jw2YOuZEgOKROYdo0hRBG2tagzf/I80n5BDApzUnzSzPYZtpxwf3ZHyvIEzKv32wm7AcFrzbFjYTrd49mRyyp4W1jp+6ulc3uaWyI5DOPz6Yr785Bjtqg3xyqYCNw4OpiZuKWX5J5z06x8Nh3tR1jyVPA= |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | KMail/1.7.2 |
Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
--- linux-sparse-000/include/linux/if_tr.h 2005-05-24 08:49:03.000000000
+0400
+++ linux-sparse-001/include/linux/if_tr.h 2005-05-24 18:57:09.000000000
+0400
@@ -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__
@@ -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. */
--- linux-sparse-000/net/802/tr.c 2005-05-24 08:49:20.000000000 +0400
+++ linux-sparse-001/net/802/tr.c 2005-05-24 19:06:12.000000000 +0400
@@ -50,8 +50,8 @@ static void rif_check_expire(unsigned lo
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Tuning GigE NFS / Re: tcp_mem setting bytes or memory pages, Paul Griffith |
|---|---|
| Next by Date: | [PATCH] net/802/tr.c: s/struct rif_cache_s/struct rif_cache/, Alexey Dobriyan |
| Previous by Thread: | [PATCH] neighbour tables via rtnetlink v2, Thomas Graf |
| Next by Thread: | Re: [PATCH] tokenring: be'ify trh_hdr, trllc, rif_cache_s, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |