VirtualBox

source: vbox/trunk/src/VBox/NetworkServices/NAT/pxtcp.h@ 78398

Last change on this file since 78398 was 76576, checked in by vboxsync, 6 years ago

NetworkServices: scm header guard alignment.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.2 KB
Line 
1/* $Id: pxtcp.h 76576 2019-01-01 06:05:25Z vboxsync $ */
2/** @file
3 * NAT Network - TCP proxy, internal interface declarations.
4 */
5
6/*
7 * Copyright (C) 2013-2019 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef VBOX_INCLUDED_SRC_NAT_pxtcp_h
19#define VBOX_INCLUDED_SRC_NAT_pxtcp_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24#include "lwip/err.h"
25#include "lwip/ip_addr.h"
26
27struct pbuf;
28struct tcp_pcb;
29struct pxtcp;
30struct fwspec;
31
32err_t pxtcp_pcb_accept_outbound(struct tcp_pcb *, struct pbuf *, int, ipX_addr_t *, u16_t);
33
34struct pxtcp *pxtcp_create_forwarded(SOCKET);
35void pxtcp_cancel_forwarded(struct pxtcp *);
36
37void pxtcp_pcb_connect(struct pxtcp *, const struct fwspec *);
38
39int pxtcp_pmgr_add(struct pxtcp *);
40void pxtcp_pmgr_del(struct pxtcp *);
41
42#endif /* !VBOX_INCLUDED_SRC_NAT_pxtcp_h */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette