|
INET Framework for OMNeT++/OMNEST
|
#include <Pim.h>
Public Member Functions | |
| virtual Result | datagramPreRoutingHook (Packet *packet) override |
| This is the first hook called by the network protocol before it routes a datagram that was received from the lower layer. More... | |
| virtual Result | datagramForwardHook (Packet *packet) override |
| This is the second hook called by the network protocol before it sends a datagram to the lower layer. More... | |
| virtual Result | datagramPostRoutingHook (Packet *packet) override |
| This is the last hook called by the network protocol before it sends a datagram to the lower layer. More... | |
| virtual Result | datagramLocalInHook (Packet *packet) override |
| This is the last hook called by the network protocol before it sends a datagram to the upper layer. More... | |
| virtual Result | datagramLocalOutHook (Packet *packet) override |
| This is the first hook called by the network protocol before it routes a datagram that was received from the upper layer. More... | |
Public Member Functions inherited from inet::NetfilterBase::HookBase | |
| virtual | ~HookBase () |
| void | registeredTo (INetfilter *nf) |
| void | unregisteredFrom (INetfilter *nf) |
| bool | isRegisteredHook (INetfilter *nf) |
Public Member Functions inherited from inet::INetfilter::IHook | |
| virtual | ~IHook () |
Additional Inherited Members | |
Public Types inherited from inet::INetfilter::IHook | |
| enum | Type { PREROUTING, LOCALIN, FORWARD, POSTROUTING, LOCALOUT } |
| enum | Result { ACCEPT, DROP, QUEUE, STOLEN } |
Protected Attributes inherited from inet::NetfilterBase::HookBase | |
| std::vector< INetfilter * > | netfilters |
|
inlineoverridevirtual |
This is the second hook called by the network protocol before it sends a datagram to the lower layer.
This is done after the datagramPreRoutingHook or the datagramLocalInHook is called and the datagram is routed.
Implements inet::INetfilter::IHook.
|
inlineoverridevirtual |
This is the last hook called by the network protocol before it sends a datagram to the upper layer.
This is done after the datagramPreRoutingHook is called and the datagram is routed.
Implements inet::INetfilter::IHook.
|
inlineoverridevirtual |
This is the first hook called by the network protocol before it routes a datagram that was received from the upper layer.
The nextHopAddress is ignored when the outputNetworkInterface is a nullptr. After this is done
Implements inet::INetfilter::IHook.
|
overridevirtual |
This is the last hook called by the network protocol before it sends a datagram to the lower layer.
Implements inet::INetfilter::IHook.
|
inlineoverridevirtual |
This is the first hook called by the network protocol before it routes a datagram that was received from the lower layer.
The nextHopAddress is ignored when the outputNetworkInterface is nullptr.
Implements inet::INetfilter::IHook.