FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kArp.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_ARP_H
9 #define K_FIRESYNC_ARP_H
10 
11 #include <kApi/kApiDef.h>
12 #include <kFireSync/kFsDef.h>
13 
21 //typedef kObject kArp; --forward-declared in kFsDef.x.h
22 
32 kFsFx(kStatus) kArp_Construct(kArp* arp, const kChar* adapterName, kAlloc allocator);
33 
46 kFsFx(kStatus) kArp_ConstructEx(kArp* arp, kPacketSocket sockt, kAlloc allocator);
47 
60 kFsFx(kStatus) kArp_Probe(kArp arp, kMacAddress macAddress, kIpAddress ipAddress);
61 
75 kFsFx(kStatus) kArp_BeginAnnounce(kArp arp, kMacAddress macAddress, kIpAddress ipAddress);
76 
88 kFsFx(kStatus) kArp_IsAnnouncing(kArp arp);
89 
90 #include <kFireSync/Net/kArp.x.h>
91 
92 #endif
kStatus kArp_BeginAnnounce(kArp arp, kMacAddress macAddress, kIpAddress ipAddress)
Announces an IP address.
Essential API declarations for the kFireSync library.
kStatus kArp_Probe(kArp arp, kMacAddress macAddress, kIpAddress ipAddress)
Probes whether the given IP address is in use.
kStatus kArp_IsAnnouncing(kArp arp)
Reports if announcement is still running.
kStatus kArp_Construct(kArp *arp, const kChar *adapterName, kAlloc allocator)
Constructs a kArp object.
Implements ARP protocol (IP probing and announcing).
kStatus kArp_ConstructEx(kArp *arp, kPacketSocket sockt, kAlloc allocator)
Constructs a kArp object.
Represents layer 2 functionality (sending and receiving of raw ethernet frames).