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.

47 lines
723 B

  1. #ifndef _tcpip_h_
  2. #define _tcpip_h_
  3. #include "wlbsip.h"
  4. #include "main.h"
  5. /* PROCEDURES */
  6. extern BOOLEAN Tcpip_init (
  7. PTCPIP_CTXT ctxtp,
  8. PVOID params);
  9. /*
  10. Initialize module
  11. returns BOOLEAN:
  12. TRUE => success
  13. FALSE => failure
  14. function:
  15. */
  16. extern VOID Tcpip_nbt_handle (
  17. PTCPIP_CTXT ctxtp,
  18. PMAIN_PACKET_INFO pPacketInfo);
  19. /*
  20. Process NBT header and mask cluster name with shadow name
  21. returns VOID:
  22. function:
  23. */
  24. extern USHORT Tcpip_chksum (
  25. PTCPIP_CTXT ctxtp,
  26. PMAIN_PACKET_INFO pPacketInfo,
  27. ULONG prot);
  28. /*
  29. Produce IP, TCP or UDL checksums for specified protocol header
  30. returns USHORT:
  31. <checksum>
  32. function:
  33. */
  34. #endif