hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/include/net/vsock_addr.h
....@@ -1,22 +1,14 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * VMware vSockets Driver
34 *
45 * Copyright (C) 2007-2013 VMware, Inc. All rights reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms of the GNU General Public License as published by the Free
8
- * Software Foundation version 2 and no later version.
9
- *
10
- * This program is distributed in the hope that 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.
146 */
157
168 #ifndef _VSOCK_ADDR_H_
179 #define _VSOCK_ADDR_H_
1810
19
-#include <linux/vm_sockets.h>
11
+#include <uapi/linux/vm_sockets.h>
2012
2113 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port);
2214 int vsock_addr_validate(const struct sockaddr_vm *addr);