Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. atmarpif.h
  5. Abstract:
  6. This defines structures common to the ATM ARP Client and user
  7. mode programs that interact with it.
  8. Environment:
  9. Kernel/User mode
  10. Revision History:
  11. ArvindM Jan 9, 98 Created
  12. --*/
  13. #ifndef __ATMARPC_IF_H
  14. #define __ATMARPC_IF_H
  15. #define ATMARPC_INFO_VERSION 1
  16. //
  17. // PnP reconfiguration structure. This is used to pass indications of
  18. // configuration changes from a user program to the ATMARPC
  19. // protocol. This indication is passed on an Adapter binding,
  20. // and carries the registry key of the Interface affected by the
  21. // configuration change, e.g. on NT 5.0:
  22. //
  23. // Tcpip\Parameters\Interfaces\{85F11433-3042-11D1-A9E2-0000D10F5214}
  24. //
  25. typedef struct _ATMARPC_PNP_RECONFIG_REQUEST
  26. {
  27. ULONG Version; // Set to ATMARPC_RECONFIG_VERSION
  28. ULONG OpType; // Defined below.
  29. ULONG Flags; // Defined below.
  30. ULONG IfKeyOffset; // Offset from the beginning of this
  31. // struct to counted Unicode string
  32. // identifying the affected interface
  33. } ATMARPC_PNP_RECONFIG_REQUEST, *PATMARPC_PNP_RECONFIG_REQUEST;
  34. //
  35. // Reconfig version number.
  36. //
  37. #define ATMARPC_RECONFIG_VERSION 1
  38. //
  39. // Reconfig op types.
  40. //
  41. #define ATMARPC_RECONFIG_OP_ADD_INTERFACE 1
  42. #define ATMARPC_RECONFIG_OP_DEL_INTERFACE 2
  43. #define ATMARPC_RECONFIG_OP_MOD_INTERFACE 3
  44. //
  45. // Bit definitions for Flags in the reconfig structure.
  46. // If an Interface configuration is being modified, these bits
  47. // identify the parameters that have changed.
  48. //
  49. #define ATMARPC_RECONFIG_FLAG_ARPS_LIST_CHANGED 0x00000001
  50. #define ATMARPC_RECONFIG_FLAG_MARS_LIST_CHANGED 0x00000002
  51. #define ATMARPC_RECONFIG_FLAG_MTU_CHANGED 0x00000004
  52. #define ATMARPC_RECONFIG_FLAG_PVC_MODE_CHANGED 0x00000008
  53. #endif // __ATMARPC_IF_H