VirtualBox

source: vbox/trunk/src/VBox/Devices/Network/DrvTAPOs2.h@ 10777

最後變更 在這個檔案從10777是 3522,由 vboxsync 提交於 17 年 前

TAP$ IOCtls.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 981 位元組
 
1/*
2 * (C) 2007 Willibald Meyer <[email protected]>
3 */
4
5#ifndef ___DrvTAPOS2_H___
6#define ___DrvTAPOS2_H___
7
8#define PROT_CATEGORY 0x97
9
10#define SNIFFER_READ_PACKET 0x10
11#define SNIFFER_READ_MODULE_NAME 0x11
12#define SNIFFER_READ_LAN_NAME 0x12
13#define SNIFFER_READ_LAN_ID 0x13
14#define SNIFFER_SET_QUEUE_MODE 0x14
15#define SNIFFER_RESET_QUEUE_MODE 0x15
16
17#define TAP_READ_MAC_ADDRESS 0x20
18#define TAP_READ_PACKET 0x21
19#define TAP_WRITE_PACKET 0x22
20#define TAP_GET_LAN_NUMBER 0x23
21#define TAP_CANCEL_READ 0x24
22#define TAP_ENABLE_READ 0x25
23#define TAP_DISABLE_READ 0x26
24/* The next 4 aren't handled by StratIoctlTap... */
25#define TAP_ADD_SWITCH 0x27
26#define TAP_DEL_SWITCH 0x28
27
28#define TAP_ENABLE_PROXY_ARP 0x29
29#define TAP_DISABLE_PROXY_ARP 0x2A
30
31#define TAP_CONNECT_NIC 0x70
32#define TAP_DISCONNECT_NIC 0x71
33
34#endif
35
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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