repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Linux 5.1-rc1
[linux/fpc-iii.git]
/
net
/
xdp
/
xsk.h
blob
ba81206104266c4f662db880a757f30c8ff97fb7
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_ */