Package filius.software.nat
Class NatGatewayLANThread
java.lang.Object
java.lang.Thread
filius.software.ProtokollThread<EthernetFrame>
filius.software.firewall.FirewallThread
filius.software.nat.NatGatewayLANThread
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class filius.software.firewall.FirewallThread
systemSoftwareFields inherited from class filius.software.ProtokollThread
runningFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionNatGatewayLANThread(NatGateway natGateway, NetzwerkInterface nic, NetzwerkInterface wanNic, SystemSoftware systemSoftware) Init thread for the LAN network interface -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisOutgoingPacket(IpPaket packet) protected EthernetFramemodifyOutgoingFrame(EthernetFrame frame) protected voidupdateNatTable(EthernetFrame frame) protected voidDiese Methode wird aufgerufen, wenn eine Dateneinheit in dem ueberwachten Puffer eintrifft.Methods inherited from class filius.software.firewall.FirewallThread
beenden, checkDiscardByFirewall, forwardFrame, getNetzwerkInterface, startenMethods inherited from class filius.software.ProtokollThread
holeEingangsPuffer, runMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
NatGatewayLANThread
public NatGatewayLANThread(NatGateway natGateway, NetzwerkInterface nic, NetzwerkInterface wanNic, SystemSoftware systemSoftware) Init thread for the LAN network interface
-
-
Method Details
-
verarbeiteDatenEinheit
Description copied from class:ProtokollThreadDiese Methode wird aufgerufen, wenn eine Dateneinheit in dem ueberwachten Puffer eintrifft.- Overrides:
verarbeiteDatenEinheitin classFirewallThread- Parameters:
frame- die im ueberwachten Puffer eingetroffene Dateneinheit
-
modifyOutgoingFrame
-
updateNatTable
-
isOutgoingPacket
-