VirtualBox

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

Last change on this file since 68753 was 62481, checked in by vboxsync, 8 years ago

(C) 2016

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.1 KB
Line 
1/* $Id: pxtcp.h 62481 2016-07-22 18:30:21Z vboxsync $ */
2/** @file
3 * NAT Network - TCP proxy, internal interface declarations.
4 */
5
6/*
7 * Copyright (C) 2013-2016 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 _pxtcp_h_
19#define _pxtcp_h_
20
21#include "lwip/err.h"
22#include "lwip/ip_addr.h"
23
24struct pbuf;
25struct tcp_pcb;
26struct pxtcp;
27struct fwspec;
28
29err_t pxtcp_pcb_accept_outbound(struct tcp_pcb *, struct pbuf *, int, ipX_addr_t *, u16_t);
30
31struct pxtcp *pxtcp_create_forwarded(SOCKET);
32void pxtcp_cancel_forwarded(struct pxtcp *);
33
34void pxtcp_pcb_connect(struct pxtcp *, const struct fwspec *);
35
36int pxtcp_pmgr_add(struct pxtcp *);
37void pxtcp_pmgr_del(struct pxtcp *);
38
39#endif /* _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