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.

75 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. bowipx.h
  5. Abstract:
  6. This module implements all of the routines that interface with the TDI
  7. transport for NT
  8. Author:
  9. Larry Osterman (LarryO) 21-Jun-1990
  10. Revision History:
  11. 21-Jun-1990 LarryO
  12. Created
  13. --*/
  14. #ifndef _BOWIPX_
  15. #define _BOWIPX_
  16. NTSTATUS
  17. BowserIpxNameDatagramHandler (
  18. IN PVOID TdiEventContext,
  19. IN int SourceAddressLength,
  20. IN PVOID SourceAddress,
  21. IN int OptionsLength,
  22. IN PVOID Options,
  23. IN ULONG ReceiveDatagramFlags,
  24. IN ULONG BytesIndicated,
  25. IN ULONG BytesAvailable,
  26. OUT ULONG *BytesTaken,
  27. IN PVOID Tsdu,
  28. OUT PIRP *IoRequestPacket
  29. );
  30. NTSTATUS
  31. BowserIpxClaimBrowserName (
  32. IN PTRANSPORT_NAME TransportName
  33. );
  34. //
  35. // Transport Receive Datagram indication handlers
  36. //
  37. NTSTATUS
  38. BowserIpxDatagramHandler (
  39. IN PVOID TdiEventContext,
  40. IN LONG SourceAddressLength,
  41. IN PVOID SourceAddress,
  42. IN LONG OptionsLength,
  43. IN PVOID Options,
  44. IN ULONG ReceiveDatagramFlags,
  45. IN ULONG BytesIndicated,
  46. IN ULONG BytesAvailable,
  47. OUT ULONG *BytesTaken,
  48. IN PVOID Tsdu,
  49. OUT PIRP *IoRequestPacket
  50. );
  51. //
  52. // IPX packet types used by the browser
  53. //
  54. #define IPX_BROADCAST_PACKET 0x14
  55. #define IPX_DIRECTED_PACKET 0x4
  56. #endif // _BOWIPX_