/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IF_TAP_H_ #define _LINUX_IF_TAP_H_ #if IS_ENABLED(CONFIG_TAP) struct socket *tap_get_socket(struct file *); struct skb_array *tap_get_skb_array(struct file *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 |
Jason (Hui) Wang | 21 | 100.00% | 1 | 100.00% |
Total | 21 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Sainath Grandhi | 287 | 88.31% | 5 | 62.50% |
Jason (Hui) Wang | 32 | 9.85% | 1 | 12.50% |
Girish Moodalbail | 5 | 1.54% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 0.31% | 1 | 12.50% |
Total | 325 | 100.00% | 8 | 100.00% |