]> asedeno.scripts.mit.edu Git - linux.git/blob - net/xdp/xsk.h
Merge tag 'tag-chrome-platform-fixes-for-v5.1-rc2' of git://git.kernel.org/pub/scm...
[linux.git] / net / xdp / xsk.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2019 Intel Corporation. */
3
4 #ifndef XSK_H_
5 #define XSK_H_
6
7 static inline struct xdp_sock *xdp_sk(struct sock *sk)
8 {
9         return (struct xdp_sock *)sk;
10 }
11
12 #endif /* XSK_H_ */