⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 udpsend.h

📁 网络驱动开发
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////
//// INCLUDE FILES

#ifndef __UDPSEND_H__
#define __UDPSEND_H__

// Copyright And Configuration Management ----------------------------------
//
//           Header For UDP Send Function Filters - UDPSend.h
//         Transport Data Interface (TDI) Filter For Windows NT
//
//       Copyright (c) 2000 Printing Communications Associates, Inc.
//                               - PCAUSA -
//
//                             Thomas F. Divine
//                           4201 Brunswick Court
//                        Smyrna, Georgia 30080 USA
//                              (770) 432-4580
//                            tdivine@pcausa.com
//
// End ---------------------------------------------------------------------

typedef
struct _UDPSendReq
{
   LIST_ENTRY        tsr_q;      // Linkage

   ULONG             tsr_connid;
//   TDI_CALLBACK      tsr_rtn;     // Completion routine.
   PVOID             tsr_context; // User context.

   USHORT            tsr_flags;  // Flags for this send.
   ULONG             tsr_size;   // Total size of buffer chain.
   PNDIS_BUFFER      tsr_buffer; // Pointer to useable NDIS buffer chain.
}
   UDPSendReq;


extern LIST_ENTRY FreeDGSendReqList;

NTSTATUS
TDIH_TdiSendDatagram(
   PTDIH_DeviceExtension   pTDIH_DeviceExtension,
   PIRP                    Irp,
   PIO_STACK_LOCATION      IrpSp
   );

#endif // __UDPSEND_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -