diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/ipv6.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index c99f73e36521..f042ae186520 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -289,6 +289,17 @@ static inline struct raw6_opt * raw6_sk(const struct sock *__sk) #else #define __ipv6_only_sock(sk) 0 #define ipv6_only_sock(sk) 0 + +static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) +{ + return NULL; +} + +static inline struct raw6_opt * raw6_sk(const struct sock *__sk) +{ + return NULL; +} + #endif #endif |
