TRARPTransport
From Ultibo.org
Return to Unit ARP
Description
To be documented
Class definitions
[Expand]
TRARPTransport = class(TNetworkTransport)
Function declarations
[Expand]
constructor TRARPTransport.Create(AManager:TTransportManager; const AName:String);
Description: To be documented
[Expand]
function TRARPTransport.PacketHandler(AHandle:THandle; ASource,ADest,APacket:Pointer; ASize:Integer; ABroadcast:Boolean):Boolean;
Description: Process a packet received by an Adapter
[Expand]
function TRARPTransport.SendRARPRequest(AAdapter:TRARPTransportAdapter):Boolean;
Description: Send a RARP request packet
[Expand]
function TRARPTransport.SendRARPReply(AAdapter:TRARPTransportAdapter; ASource,ATarget:TRARPAddressEntry):Boolean;
Description: Send a RARP reply packet
[Expand]
function TRARPTransport.AddAdapter(AAdapter:TNetworkAdapter; AConfigType:Word; AAddress,ANetmask,AGateway,AServer:Pointer):Boolean;
Description: Add an adapter to this transport
[Expand]
function TRARPTransport.RemoveAdapter(AAdapter:TNetworkAdapter):Boolean;
Description: Remove an adapter from this transport
[Expand]
function TRARPTransport.StartTransport:Boolean;
Description: Start this transport ready for sending and receiving
[Expand]
function TRARPTransport.StopTransport:Boolean;
Description: Stop this transport ready for removal
[Expand]
function TRARPTransport.ProcessTransport:Boolean;
Description: Process periodic tasks for this transport
[Expand]
function TRARPTransport.BindTransport(AAdapter:TNetworkAdapter):Boolean;
Description: Bind this transport to an adapter if appropriate
[Expand]
function TRARPTransport.UnbindTransport(AAdapter:TNetworkAdapter):Boolean;
Description: Unbind this transport from an adapter if appropriate
[Expand]
function TRARPTransport.GetAddressByAddress(const AAddress:TInAddr; AAdapter:TNetworkAdapter; ALock:Boolean; AState:LongWord):TRARPAddressEntry;
Description: Find the IP address entry in the address cache
[Expand]
function TRARPTransport.GetAddressByHardware(const AHardware:THardwareAddress; AAdapter:TNetworkAdapter; ALock:Boolean; AState:LongWord):TRARPAddressEntry;
Description: Find the hardware address entry in the address cache
[Expand]
function TRARPTransport.GetAddressByNext(APrevious:TRARPAddressEntry; ALock,AUnlock:Boolean; AState:LongWord):TRARPAddressEntry;
Description: To be documented
[Expand]
function TRARPTransport.AddAddress(const AAddress:TInAddr; const AHardware:THardwareAddress; AAdapter:TNetworkAdapter; AType:Word; ALock:Boolean; AState:LongWord):TRARPAddressEntry;
Description: Add an IP and hardware address pair to the address cache
[Expand]
function TRARPTransport.RemoveAddress(const AAddress:TInAddr; AAdapter:TNetworkAdapter):Boolean;
Description: Remove an IP and hardware address pair from the address cache
[Expand]
procedure TRARPTransport.FlushAddresses(All:Boolean);
Description: Flush addresses from the address cache
[Expand]
function TRARPTransport.LoadAddress(AAdapter:TNetworkAdapter; const AAddress:TInAddr; const AHardware:THardwareAddress; AType:Word):Boolean;
Description: Add an IP and hardware address pair to the address cache
[Expand]
function TRARPTransport.UnloadAddress(AAdapter:TNetworkAdapter; const AAddress:TInAddr):Boolean;
Description: Remove an IP and hardware address pair from the address cache
[Expand]
function TRARPTransport.ResolveHardware(AAdapter:TNetworkAdapter; var AAddress:TInAddr):Boolean;
Description: Resolve the hardware address for the given IP address either from cache or by sending a RARP request
[Expand]
function TRARPTransport.CompareDefault(const AAddress:TInAddr):Boolean;
Description: Compare the supplied address with the IP default address
[Expand]
function TRARPTransport.CompareAddress(const AAddress1,AAddress2:TInAddr):Boolean;
Description: Compare the supplied addresses to see if they are the same
Return to Unit Reference