mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
13 lines
225 B
C
13 lines
225 B
C
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
/* Copyright(c) 2019 Intel Corporation. */
|
||
|
|
||
|
#ifndef XSK_H_
|
||
|
#define XSK_H_
|
||
|
|
||
|
static inline struct xdp_sock *xdp_sk(struct sock *sk)
|
||
|
{
|
||
|
return (struct xdp_sock *)sk;
|
||
|
}
|
||
|
|
||
|
#endif /* XSK_H_ */
|