VirtualBox

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

Last change on this file since 7795 was 3522, checked in by vboxsync, 17 years ago

TAP$ IOCtls.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 981 bytes
Line 
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
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