VirtualBox

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

最後變更 在這個檔案從15890是 15890,由 vboxsync 提交於 16 年 前

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.


  • 屬性 svn:eol-style 設為 native
檔案大小: 386 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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