mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
8c9fd64030
tcpioctl.h: new I resolved a conflict between iptypes, structs and nspapi regarding some core structures. afd.h: removed definitions needed by both user land and kernel land. tdiinfo.h: added needed definitions. svn path=/trunk/; revision=8173
40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
/*
|
|
* tcpioctl.h
|
|
*
|
|
* Set and query ioctl constants for tcpip.sys
|
|
*
|
|
* Contributors:
|
|
* Created by Art Yerkes (ayerkes@speakeasy.net) from
|
|
* drivers/net/tcpip/include/ticonsts.h
|
|
*
|
|
* THIS SOFTWARE IS NOT COPYRIGHTED
|
|
*
|
|
* This source code is offered for use in the public domain. You may
|
|
* use, modify or distribute it freely.
|
|
*
|
|
* This code is distributed in the hope that it will be useful but
|
|
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
|
* DISCLAIMED. This includes but is not limited to warranties of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
*
|
|
*/
|
|
|
|
#ifndef _TCPIOCTL_H
|
|
#define _TCPIOCTL_H
|
|
|
|
#define DD_TCP_DEVICE_NAME L"\\Device\\Tcp"
|
|
|
|
/* TCP/UDP/RawIP IOCTL code definitions */
|
|
|
|
#define FSCTL_TCP_BASE FILE_DEVICE_NETWORK
|
|
|
|
#define _TCP_CTL_CODE(Function, Method, Access) \
|
|
CTL_CODE(FSCTL_TCP_BASE, Function, Method, Access)
|
|
|
|
#define IOCTL_TCP_QUERY_INFORMATION_EX \
|
|
_TCP_CTL_CODE(0, METHOD_NEITHER, FILE_ANY_ACCESS)
|
|
|
|
#define IOCTL_TCP_SET_INFORMATION_EX \
|
|
_TCP_CTL_CODE(1, METHOD_BUFFERED, FILE_WRITE_ACCESS)
|
|
|
|
#endif/*_TCPIOCTL_H*/
|