rawif.h

来自「本软件是TI公司免费提供的网络开发包 现在好象很难找到,有黑心的公司把它改一改,」· C头文件 代码 · 共 44 行

H
44
字号
/*
 *  Copyright 2006 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *
 *  @(#) TCP/IP_Network_Developers_Kit 1.91.00.08 08-22-2006 (ndk-a08)
 */
//----------------------------------------------------------------------
//  Ip Stack
//----------------------------------------------------------------------
//  File: rawif.h
//
//  RAW Interface Functions
//
// Author: Michael A. Denio
// Copyright 1999 by Texas Instruments Inc.
//----------------------------------------------------------------------

#ifndef _RAWIF_INC_
#define _RAWIF_INC_

//
// UDP Statistics
//
typedef struct _rawstat {
        UINT32  RcvTotal;       // total packets received
        UINT32  RcvFull;        // unable to take more data
        UINT32  SndTotal;       // total packets sent
        UINT32  SndNoPacket;    // unable to allocate packet
        } RAWSTATS;

extern RAWSTATS raws;

//
// RAW Functions
//
_extern void  RawInput( PBM_Pkt *pPkt );
_extern int   RawOutput( HANDLE h, UINT8 *pBuf, INT32 sz, INT32 *prsz );

#endif


⌨️ 快捷键说明

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