]> git.ipfire.org Git - people/ms/linux.git/blobdiff - include/linux/netfilter_ipv4/ip_conntrack_tuple.h
[NETFILTER] Fix sparse endian warnings in pptp helper
[people/ms/linux.git] / include / linux / netfilter_ipv4 / ip_conntrack_tuple.h
index 14dc0f7b655636c60d2cec9780ad642625500534..20e43f018b7c768cc8b9c13c23253e99c5561d6c 100644 (file)
@@ -17,7 +17,7 @@ union ip_conntrack_manip_proto
        u_int16_t all;
 
        struct {
-               u_int16_t port;
+               __be16 port;
        } tcp;
        struct {
                u_int16_t port;
@@ -29,7 +29,7 @@ union ip_conntrack_manip_proto
                u_int16_t port;
        } sctp;
        struct {
-               u_int16_t key;  /* key is 32bit, pptp only uses 16 */
+               __be16 key;     /* key is 32bit, pptp only uses 16 */
        } gre;
 };
 
@@ -65,7 +65,7 @@ struct ip_conntrack_tuple
                                u_int16_t port;
                        } sctp;
                        struct {
-                               u_int16_t key;  /* key is 32bit, 
+                               __be16 key;     /* key is 32bit, 
                                                 * pptp only uses 16 */
                        } gre;
                } u;