aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/inet_sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/inet_sock.h')
-rw-r--r--include/net/inet_sock.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index e97b66e2a9d0..139b78b4dfeb 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -24,7 +24,6 @@
24#include <net/flow.h> 24#include <net/flow.h>
25#include <net/sock.h> 25#include <net/sock.h>
26#include <net/request_sock.h> 26#include <net/request_sock.h>
27#include <net/route.h>
28#include <net/netns/hash.h> 27#include <net/netns/hash.h>
29 28
30/** struct ip_options - IP Options 29/** struct ip_options - IP Options
@@ -195,12 +194,6 @@ static inline int inet_sk_ehashfn(const struct sock *sk)
195 return inet_ehashfn(net, laddr, lport, faddr, fport); 194 return inet_ehashfn(net, laddr, lport, faddr, fport);
196} 195}
197 196
198
199static inline int inet_iif(const struct sk_buff *skb)
200{
201 return skb->rtable->rt_iif;
202}
203
204static inline struct request_sock *inet_reqsk_alloc(struct request_sock_ops *ops) 197static inline struct request_sock *inet_reqsk_alloc(struct request_sock_ops *ops)
205{ 198{
206 struct request_sock *req = reqsk_alloc(ops); 199 struct request_sock *req = reqsk_alloc(ops);