#ifndef _LINUX_IF_TAP_H_ #define _LINUX_IF_TAP_H_ #if IS_ENABLED(CONFIG_TAP) struct socket *tap_get_socket(struct file *); #else #include <linux/err.h> #include <linux/errno.h> struct file; struct socket;
static inline struct socket *tap_get_socket(struct file *f) { return ERR_PTR(-EINVAL); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sainath Grandhi | 21 | 100.00% | 1 | 100.00% |
Total | 21 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Sainath Grandhi | 287 | 100.00% | 5 | 100.00% |
Total | 287 | 100.00% | 5 | 100.00% |