summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 18:33:22 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:02:07 -0700
commitcc939d37349bf82891bd1f4558284d7fafe7acb2 (patch)
tree0abc4445a7cd2077c84dde0d9b28af3f99269cf7 /include
parent2816e1284a2db03ad5e205bab4eacbc5f7d4f991 (diff)
downloadop-kernel-dev-cc939d37349bf82891bd1f4558284d7fafe7acb2.zip
op-kernel-dev-cc939d37349bf82891bd1f4558284d7fafe7acb2.tar.gz
[NET]: ip ports in struct flowi are net-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/flow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index 97569af..5700b0a 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -56,8 +56,8 @@ struct flowi {
#define FLOWI_FLAG_MULTIPATHOLDROUTE 0x01
union {
struct {
- __u16 sport;
- __u16 dport;
+ __be16 sport;
+ __be16 dport;
} ports;
struct {
OpenPOWER on IntegriCloud