1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 #ifndef _DCCP_IPV6_H 1 #ifndef _DCCP_IPV6_H 3 #define _DCCP_IPV6_H 2 #define _DCCP_IPV6_H 4 /* 3 /* 5 * net/dccp/ipv6.h 4 * net/dccp/ipv6.h 6 * 5 * 7 * An implementation of the DCCP protocol 6 * An implementation of the DCCP protocol 8 * Copyright (c) 2005 Arnaldo Carvalho de Mel 7 * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@ghostprotocols.net> >> 8 * >> 9 * This program is free software; you can redistribute it and/or modify it >> 10 * under the terms of the GNU General Public License version 2 as >> 11 * published by the Free Software Foundation. 9 */ 12 */ 10 13 11 #include <linux/dccp.h> 14 #include <linux/dccp.h> 12 #include <linux/ipv6.h> 15 #include <linux/ipv6.h> 13 16 14 struct dccp6_sock { 17 struct dccp6_sock { 15 struct dccp_sock dccp; 18 struct dccp_sock dccp; >> 19 /* >> 20 * ipv6_pinfo has to be the last member of dccp6_sock, >> 21 * see inet6_sk_generic. >> 22 */ 16 struct ipv6_pinfo inet6; 23 struct ipv6_pinfo inet6; 17 }; 24 }; 18 25 19 struct dccp6_request_sock { 26 struct dccp6_request_sock { 20 struct dccp_request_sock dccp; 27 struct dccp_request_sock dccp; 21 }; 28 }; 22 29 23 struct dccp6_timewait_sock { 30 struct dccp6_timewait_sock { 24 struct inet_timewait_sock inet; 31 struct inet_timewait_sock inet; 25 }; 32 }; 26 33 27 #endif /* _DCCP_IPV6_H */ 34 #endif /* _DCCP_IPV6_H */ 28 35
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.