projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
inet: create IPv6-equivalent inet_hash function
[cascardo/linux.git]
/
include
/
net
/
inet6_hashtables.h
diff --git
a/include/net/inet6_hashtables.h
b/include/net/inet6_hashtables.h
index
7ff588c
..
b3c28a9
100644
(file)
--- a/
include/net/inet6_hashtables.h
+++ b/
include/net/inet6_hashtables.h
@@
-96,6
+96,8
@@
struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
const struct in6_addr *saddr, const __be16 sport,
const struct in6_addr *daddr, const __be16 dport,
const int dif);
const struct in6_addr *saddr, const __be16 sport,
const struct in6_addr *daddr, const __be16 dport,
const int dif);
+
+int inet6_hash(struct sock *sk);
#endif /* IS_ENABLED(CONFIG_IPV6) */
#define INET6_MATCH(__sk, __net, __saddr, __daddr, __ports, __dif) \
#endif /* IS_ENABLED(CONFIG_IPV6) */
#define INET6_MATCH(__sk, __net, __saddr, __daddr, __ports, __dif) \