From: Alexey Dobriyan <adobriyan@gmail.com>
To: netdev@oss.sgi.com
Subject: [PATCH] tokenring: be'ify trh_hdr, trllc, rif_cache_s
Date: Tue, 24 May 2005 21:46:53 +0400 [thread overview]
Message-ID: <200505242146.53270.adobriyan@gmail.com> (raw)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
--- 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;
next reply other threads:[~2005-05-24 17:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-24 17:46 Alexey Dobriyan [this message]
2005-05-25 23:43 ` [PATCH] tokenring: be'ify trh_hdr, trllc, rif_cache_s David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200505242146.53270.adobriyan@gmail.com \
--to=adobriyan@gmail.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.