]> Pileus Git - ~andy/linux/blobdiff - net/ipv6/inet6_hashtables.c
[NETFILTER]: nf_conntrack: move conntrack protocol sysctls to individual modules
[~andy/linux] / net / ipv6 / inet6_hashtables.c
index 8accd1fbeeda96d9201d7cbd1f71cd85344c8b51..b7e5bae0e347dd59a0a9926b16911f2d3f20800a 100644 (file)
@@ -57,7 +57,7 @@ EXPORT_SYMBOL(__inet6_hash);
  */
 struct sock *__inet6_lookup_established(struct inet_hashinfo *hashinfo,
                                           const struct in6_addr *saddr,
-                                          const u16 sport,
+                                          const __be16 sport,
                                           const struct in6_addr *daddr,
                                           const u16 hnum,
                                           const int dif)
@@ -146,8 +146,8 @@ struct sock *inet6_lookup_listener(struct inet_hashinfo *hashinfo,
 EXPORT_SYMBOL_GPL(inet6_lookup_listener);
 
 struct sock *inet6_lookup(struct inet_hashinfo *hashinfo,
-                         const struct in6_addr *saddr, const u16 sport,
-                         const struct in6_addr *daddr, const u16 dport,
+                         const struct in6_addr *saddr, const __be16 sport,
+                         const struct in6_addr *daddr, const __be16 dport,
                          const int dif)
 {
        struct sock *sk;