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
router.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/router.h
5
* PURPOSE: IP routing definitions
6
*/
7
8
#pragma once
9
10
#include <
neighbor.h
>
11
12
13
/* Forward Information Base Entry */
14
typedef
struct
_FIB_ENTRY
{
15
LIST_ENTRY
ListEntry
;
/* Entry on list */
16
OBJECT_FREE_ROUTINE
Free
;
/* Routine used to free resources for the object */
17
IP_ADDRESS
NetworkAddress
;
/* Address of network */
18
IP_ADDRESS
Netmask
;
/* Netmask of network */
19
PNEIGHBOR_CACHE_ENTRY
Router
;
/* Pointer to NCE of router to use */
20
UINT
Metric
;
/* Cost of this route */
21
}
FIB_ENTRY
, *
PFIB_ENTRY
;
22
23
PFIB_ENTRY
RouterAddRoute
(
24
PIP_ADDRESS
NetworkAddress
,
25
PIP_ADDRESS
Netmask,
26
PNEIGHBOR_CACHE_ENTRY
Router,
27
UINT
Metric);
28
29
PNEIGHBOR_CACHE_ENTRY
RouterGetRoute
(
PIP_ADDRESS
Destination
);
30
31
NTSTATUS
RouterRemoveRoute
(
PIP_ADDRESS
Target
,
PIP_ADDRESS
Router);
32
33
PFIB_ENTRY
RouterCreateRoute
(
34
PIP_ADDRESS
NetworkAddress
,
35
PIP_ADDRESS
Netmask,
36
PIP_ADDRESS
RouterAddress,
37
PIP_INTERFACE
Interface
,
38
UINT
Metric);
39
40
NTSTATUS
RouterStartup
(
41
VOID
);
42
43
NTSTATUS
RouterShutdown
(
44
VOID
);
45
46
VOID
RouterRemoveRoutesForInterface
(
PIP_INTERFACE
Interface
);
47
48
UINT
CountFIBs
(
PIP_INTERFACE
IF);
49
50
UINT
CopyFIBs
(
PIP_INTERFACE
IF,
PFIB_ENTRY
Target
);
51
52
/* EOF */
NTSTATUS
LONG NTSTATUS
Definition:
precomp.h:26
OBJECT_FREE_ROUTINE
VOID(* OBJECT_FREE_ROUTINE)(PVOID Object)
Definition:
ip.h:10
void
Definition:
nsiface.idl:2307
NetworkAddress
_Must_inspect_result_ _Out_ PNDIS_STATUS _Outptr_result_bytebuffer_to_ NetworkAddressLength PVOID * NetworkAddress
Definition:
ndis.h:3956
UINT
unsigned int UINT
Definition:
ndis.h:50
Destination
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition:
rtlfuncs.h:3016
neighbor.h
RouterRemoveRoutesForInterface
VOID RouterRemoveRoutesForInterface(PIP_INTERFACE Interface)
Definition:
router.c:341
RouterCreateRoute
PFIB_ENTRY RouterCreateRoute(PIP_ADDRESS NetworkAddress, PIP_ADDRESS Netmask, PIP_ADDRESS RouterAddress, PIP_INTERFACE Interface, UINT Metric)
Definition:
router.c:421
RouterShutdown
NTSTATUS RouterShutdown(VOID)
Definition:
router.c:500
CountFIBs
UINT CountFIBs(PIP_INTERFACE IF)
Definition:
router.c:101
PFIB_ENTRY
struct _FIB_ENTRY * PFIB_ENTRY
FIB_ENTRY
struct _FIB_ENTRY FIB_ENTRY
RouterStartup
NTSTATUS RouterStartup(VOID)
Definition:
router.c:482
RouterGetRoute
PNEIGHBOR_CACHE_ENTRY RouterGetRoute(PIP_ADDRESS Destination)
Definition:
router.c:239
RouterAddRoute
PFIB_ENTRY RouterAddRoute(PIP_ADDRESS NetworkAddress, PIP_ADDRESS Netmask, PNEIGHBOR_CACHE_ENTRY Router, UINT Metric)
Definition:
router.c:189
CopyFIBs
UINT CopyFIBs(PIP_INTERFACE IF, PFIB_ENTRY Target)
Definition:
router.c:120
RouterRemoveRoute
NTSTATUS RouterRemoveRoute(PIP_ADDRESS Target, PIP_ADDRESS Router)
Definition:
router.c:364
IP_ADDRESS
Definition:
ip.h:23
NEIGHBOR_CACHE_ENTRY
Definition:
neighbor.h:28
_FIB_ENTRY
Definition:
router.h:14
_FIB_ENTRY::Router
PNEIGHBOR_CACHE_ENTRY Router
Definition:
router.h:19
_FIB_ENTRY::ListEntry
LIST_ENTRY ListEntry
Definition:
router.h:15
_FIB_ENTRY::Metric
UINT Metric
Definition:
router.h:20
_FIB_ENTRY::Netmask
IP_ADDRESS Netmask
Definition:
router.h:18
_FIB_ENTRY::NetworkAddress
IP_ADDRESS NetworkAddress
Definition:
router.h:17
_FIB_ENTRY::Free
OBJECT_FREE_ROUTINE Free
Definition:
router.h:16
_IP_INTERFACE
Definition:
ip.h:150
_LIST_ENTRY
Definition:
typedefs.h:120
Interface
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
Definition:
wdffdo.h:465
Target
_In_ WDFIOTARGET Target
Definition:
wdfrequest.h:306
drivers
network
tcpip
include
router.h
Generated on Wed Nov 27 2024 06:05:46 for ReactOS by
1.9.6