ReactOS
0.4.16-dev-297-gc569aee
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
arp.h
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS TCP/IP protocol driver
4
* FILE: include/arp.h
5
* PURPOSE: Address Resolution Protocol definitions
6
*/
7
8
#pragma once
9
10
typedef
struct
ARP_HEADER
{
11
USHORT
HWType
;
/* Hardware Type */
12
USHORT
ProtoType
;
/* Protocol Type */
13
UCHAR
HWAddrLen
;
/* Hardware Address Length */
14
UCHAR
ProtoAddrLen
;
/* Protocol Address Length */
15
USHORT
Opcode
;
/* Opcode */
16
/* Sender's Hardware Address */
17
/* Sender's Protocol Address */
18
/* Target's Hardware Address */
19
/* Target's Protocol Address */
20
}
ARP_HEADER
, *
PARP_HEADER
;
21
22
/* We swap constants so we can compare values at runtime without swapping them */
23
#define ARP_OPCODE_REQUEST WH2N(0x0001)
/* ARP request */
24
#define ARP_OPCODE_REPLY WH2N(0x0002)
/* ARP reply */
25
26
27
BOOLEAN
ARPTransmit
(
PIP_ADDRESS
Address
,
PVOID
LinkAddress,
PIP_INTERFACE
Interface
);
28
29
VOID
ARPReceive
(
30
PVOID
Context
,
31
PIP_PACKET
Packet
);
32
33
/* EOF */
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
PARP_HEADER
struct ARP_HEADER * PARP_HEADER
ARPTransmit
BOOLEAN ARPTransmit(PIP_ADDRESS Address, PVOID LinkAddress, PIP_INTERFACE Interface)
Definition:
arp.c:111
ARPReceive
VOID ARPReceive(PVOID Context, PIP_PACKET Packet)
Definition:
arp.c:175
void
Definition:
nsiface.idl:2307
Packet
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
Definition:
ndis.h:1549
USHORT
unsigned short USHORT
Definition:
pedump.c:61
Address
static WCHAR Address[46]
Definition:
ping.c:68
ARP_HEADER
Definition:
arp.h:10
ARP_HEADER::ProtoAddrLen
UCHAR ProtoAddrLen
Definition:
arp.h:14
ARP_HEADER::HWType
USHORT HWType
Definition:
arp.h:11
ARP_HEADER::ProtoType
USHORT ProtoType
Definition:
arp.h:12
ARP_HEADER::HWAddrLen
UCHAR HWAddrLen
Definition:
arp.h:13
ARP_HEADER::Opcode
USHORT Opcode
Definition:
arp.h:15
Context
Definition:
compobj.c:4795
IP_ADDRESS
Definition:
ip.h:23
_IP_INTERFACE
Definition:
ip.h:150
_IP_PACKET
Definition:
ip.h:77
Interface
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
Definition:
wdffdo.h:465
UCHAR
unsigned char UCHAR
Definition:
xmlstorage.h:181
drivers
network
tcpip
include
arp.h
Generated on Wed Nov 27 2024 06:05:46 for ReactOS by
1.9.6