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.

34 lines
1.2 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990-1993 **/
  4. /********************************************************************/
  5. /* :ts=4 */
  6. //** RAW.H - Raw IP interface definitions.
  7. //
  8. // This file contains definitions for the Raw IP interface functions.
  9. //
  10. #include "dgram.h"
  11. //
  12. // This value is used to identify the RAW transport for security filtering.
  13. // It is out of the range of valid IP protocols.
  14. //
  15. #define PROTOCOL_RAW 255
  16. //* External definitions.
  17. extern IP_STATUS RawRcv(void *IPContext, IPAddr Dest, IPAddr Src,
  18. IPAddr LocalAddr, IPAddr SrcAddr,
  19. IPHeader UNALIGNED *IPH, uint IPHLength,
  20. IPRcvBuf *RcvBuf, uint Size, uchar IsBCast,
  21. uchar Protocol, IPOptInfo *OptInfo);
  22. extern void RawStatus(uchar StatusType, IP_STATUS StatusCode, IPAddr OrigDest,
  23. IPAddr OrigSrc, IPAddr Src, ulong Param, void *Data);
  24. extern void RawSend(AddrObj *SrcAO, DGSendReq *SendReq);