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
47 lines
723 B
#ifndef _tcpip_h_
|
|
#define _tcpip_h_
|
|
|
|
#include "wlbsip.h"
|
|
#include "main.h"
|
|
|
|
/* PROCEDURES */
|
|
|
|
|
|
extern BOOLEAN Tcpip_init (
|
|
PTCPIP_CTXT ctxtp,
|
|
PVOID params);
|
|
/*
|
|
Initialize module
|
|
|
|
returns BOOLEAN:
|
|
TRUE => success
|
|
FALSE => failure
|
|
|
|
function:
|
|
*/
|
|
|
|
extern VOID Tcpip_nbt_handle (
|
|
PTCPIP_CTXT ctxtp,
|
|
PMAIN_PACKET_INFO pPacketInfo);
|
|
/*
|
|
Process NBT header and mask cluster name with shadow name
|
|
|
|
returns VOID:
|
|
|
|
function:
|
|
*/
|
|
|
|
extern USHORT Tcpip_chksum (
|
|
PTCPIP_CTXT ctxtp,
|
|
PMAIN_PACKET_INFO pPacketInfo,
|
|
ULONG prot);
|
|
/*
|
|
Produce IP, TCP or UDL checksums for specified protocol header
|
|
|
|
returns USHORT:
|
|
<checksum>
|
|
|
|
function:
|
|
*/
|
|
|
|
#endif
|