WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: AGPL3.0-or-later
-*/
+ */
/**
* @file exit/exit.h
* Message send via cadet to an exit daemon to initiate forwarding of
* TCP data to a local service.
*/
-struct GNUNET_EXIT_TcpServiceStartMessage
-{
+struct GNUNET_EXIT_TcpServiceStartMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_SERVICE_START
*/
* Message send via cadet to an exit daemon to initiate forwarding of
* TCP data to the Internet.
*/
-struct GNUNET_EXIT_TcpInternetStartMessage
-{
+struct GNUNET_EXIT_TcpInternetStartMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_INTERNET_START
*/
* format is used for both Internet-exits and service-exits and
* in both directions (VPN to exit and exit to VPN).
*/
-struct GNUNET_EXIT_TcpDataMessage
-{
+struct GNUNET_EXIT_TcpDataMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_DATA
*/
* Message send via cadet to an exit daemon to send
* UDP data to a local service.
*/
-struct GNUNET_EXIT_UdpServiceMessage
-{
+struct GNUNET_EXIT_UdpServiceMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE
*/
* Message send via cadet to an exit daemon to forward
* UDP data to the Internet.
*/
-struct GNUNET_EXIT_UdpInternetMessage
-{
+struct GNUNET_EXIT_UdpInternetMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_INTERNET
*/
* Message send from exit daemon back to the UDP entry point
* (used for both Internet and Service exit replies).
*/
-struct GNUNET_EXIT_UdpReplyMessage
-{
+struct GNUNET_EXIT_UdpReplyMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_REPLY
*/
* Message send via cadet to an exit daemon to send
* ICMP data to a local service.
*/
-struct GNUNET_EXIT_IcmpServiceMessage
-{
+struct GNUNET_EXIT_IcmpServiceMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_SERVICE
*/
* Message send via cadet to an exit daemon to forward
* ICMP data to the Internet.
*/
-struct GNUNET_EXIT_IcmpInternetMessage
-{
+struct GNUNET_EXIT_IcmpInternetMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_INTERNET
*/
* Message send via cadet to the vpn service to send
* ICMP data to the VPN's TUN interface.
*/
-struct GNUNET_EXIT_IcmpToVPNMessage
-{
+struct GNUNET_EXIT_IcmpToVPNMessage {
/**
* Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_VPN
*/