VirtualBox

source: vbox/trunk/src/VBox/Devices/Network/slirp/main.h@ 15919

Last change on this file since 15919 was 15890, checked in by vboxsync, 16 years ago

NAT: 1. wo sync enhancement branch is still functional (was corrupted with using ICMP file handler in select(1))

  1. after sending send queue doesn't need to synchronize with NAT thread to free mbuf instead NAT queue used to call freeing slirp routine.
  2. no more copying on slirp to guest sent.


  • Property svn:eol-style set to native
File size: 386 bytes
Line 
1/*
2 * Copyright (c) 1995 Danny Gasparovski.
3 *
4 * Please read the file COPYRIGHT for the
5 * terms and conditions of the copyright.
6 */
7
8#ifdef HAVE_SYS_SELECT_H
9#include <sys/select.h>
10#endif
11
12#ifdef VBOX_WITH_SIMPLIFIED_SLIRP_SYNC
13void if_encap(PNATState pData, uint16_t eth_proto, struct mbuf *m);
14#else
15void if_encap(PNATState pData, const uint8_t *ip_data, int ip_data_len);
16#endif
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