File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /* SPDX-License-Identifier: GPL-2.0
2- * AF_XDP internal functions
1+ /* SPDX-License-Identifier: GPL-2.0 */
2+ / * AF_XDP internal functions
33 * Copyright(c) 2018 Intel Corporation.
4- *
5- * This program is free software; you can redistribute it and/or modify it
6- * under the terms and conditions of the GNU General Public License,
7- * version 2, as published by the Free Software Foundation.
8- *
9- * This program is distributed in the hope it will be useful, but WITHOUT
10- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12- * more details.
134 */
145
156#ifndef _LINUX_XDP_SOCK_H
Original file line number Diff line number Diff line change 1- /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2- *
1+ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2+ / *
33 * if_xdp: XDP socket user-space interface
44 * Copyright(c) 2018 Intel Corporation.
55 *
6- * This program is free software; you can redistribute it and/or modify it
7- * under the terms and conditions of the GNU General Public License,
8- * version 2, as published by the Free Software Foundation.
9- *
10- * This program is distributed in the hope it will be useful, but WITHOUT
11- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13- * more details.
14- *
156 * Author(s): Björn Töpel <bjorn.topel@intel.com>
167 * Magnus Karlsson <magnus.karlsson@intel.com>
178 */
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-2.0
22/* XSKMAP used for AF_XDP sockets
33 * Copyright(c) 2018 Intel Corporation.
4- *
5- * This program is free software; you can redistribute it and/or modify it
6- * under the terms and conditions of the GNU General Public License,
7- * version 2, as published by the Free Software Foundation.
8- *
9- * This program is distributed in the hope it will be useful, but WITHOUT
10- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12- * more details.
134 */
145
156#include <linux/bpf.h>
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-2.0
22/* XDP user-space packet buffer
33 * Copyright(c) 2018 Intel Corporation.
4- *
5- * This program is free software; you can redistribute it and/or modify it
6- * under the terms and conditions of the GNU General Public License,
7- * version 2, as published by the Free Software Foundation.
8- *
9- * This program is distributed in the hope it will be useful, but WITHOUT
10- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12- * more details.
134 */
145
156#include <linux/init.h>
Original file line number Diff line number Diff line change 1- /* SPDX-License-Identifier: GPL-2.0
2- * XDP user-space packet buffer
1+ /* SPDX-License-Identifier: GPL-2.0 */
2+ / * XDP user-space packet buffer
33 * Copyright(c) 2018 Intel Corporation.
4- *
5- * This program is free software; you can redistribute it and/or modify it
6- * under the terms and conditions of the GNU General Public License,
7- * version 2, as published by the Free Software Foundation.
8- *
9- * This program is distributed in the hope it will be useful, but WITHOUT
10- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12- * more details.
134 */
145
156#ifndef XDP_UMEM_H_
Original file line number Diff line number Diff line change 1- /* SPDX-License-Identifier: GPL-2.0
2- * XDP user-space packet buffer
1+ /* SPDX-License-Identifier: GPL-2.0 */
2+ / * XDP user-space packet buffer
33 * Copyright(c) 2018 Intel Corporation.
4- *
5- * This program is free software; you can redistribute it and/or modify it
6- * under the terms and conditions of the GNU General Public License,
7- * version 2, as published by the Free Software Foundation.
8- *
9- * This program is distributed in the hope it will be useful, but WITHOUT
10- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12- * more details.
134 */
145
156#ifndef XDP_UMEM_PROPS_H_
Original file line number Diff line number Diff line change 55 * applications.
66 * Copyright(c) 2018 Intel Corporation.
77 *
8- * This program is free software; you can redistribute it and/or modify it
9- * under the terms and conditions of the GNU General Public License,
10- * version 2, as published by the Free Software Foundation.
11- *
12- * This program is distributed in the hope it will be useful, but WITHOUT
13- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15- * more details.
16- *
178 * Author(s): Björn Töpel <bjorn.topel@intel.com>
189 * Magnus Karlsson <magnus.karlsson@intel.com>
1910 */
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-2.0
22/* XDP user-space ring structure
33 * Copyright(c) 2018 Intel Corporation.
4- *
5- * This program is free software; you can redistribute it and/or modify it
6- * under the terms and conditions of the GNU General Public License,
7- * version 2, as published by the Free Software Foundation.
8- *
9- * This program is distributed in the hope it will be useful, but WITHOUT
10- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12- * more details.
134 */
145
156#include <linux/slab.h>
Original file line number Diff line number Diff line change 1- /* SPDX-License-Identifier: GPL-2.0
2- * XDP user-space ring structure
1+ /* SPDX-License-Identifier: GPL-2.0 */
2+ / * XDP user-space ring structure
33 * Copyright(c) 2018 Intel Corporation.
4- *
5- * This program is free software; you can redistribute it and/or modify it
6- * under the terms and conditions of the GNU General Public License,
7- * version 2, as published by the Free Software Foundation.
8- *
9- * This program is distributed in the hope it will be useful, but WITHOUT
10- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12- * more details.
134 */
145
156#ifndef _LINUX_XSK_QUEUE_H
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-2.0
2- /* Copyright(c) 2017 - 2018 Intel Corporation.
3- *
4- * This program is free software; you can redistribute it and/or modify it
5- * under the terms and conditions of the GNU General Public License,
6- * version 2, as published by the Free Software Foundation.
7- *
8- * This program is distributed in the hope it will be useful, but WITHOUT
9- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11- * more details.
12- */
2+ /* Copyright(c) 2017 - 2018 Intel Corporation. */
133
144#include <assert.h>
155#include <errno.h>
You can’t perform that action at this time.
0 commit comments