|
Datenstrukturen |
struct | ARP_TABLE |
struct | ARP_header |
Makrodefinitionen |
#define | MAX_ARPTABLE_ENTRYS 1 |
#define | ARP_ANSWER 0 |
#define | NO_ARP_ANSWER !ARP_ANSWER |
#define | ARP_HEADER_LENGHT 28 |
Funktionen |
void | arp (unsigned int packet_lenght, unsigned char *ethernetbuffer) |
unsigned int | GetIP2MAC (unsigned long IP, unsigned char *MACbuffer) |
| Ermittelt für eine IP-Adresse die MAC-Adresse.
|
Variablen |
ARP_TABLE | ARPtable [MAX_ARPTABLE_ENTRYS] |
ARP_TABLE * | ARP_table |
unsigned char | ARP_TABLE::MAC [6] |
unsigned int | ARP_header::Protocoltype |
unsigned char | ARP_header::HWsize |
unsigned char | ARP_header::Protocolsize |
unsigned int | ARP_header::ARP_Opcode |
unsigned char | ARP_header::ARP_sourceMac [6] |
unsigned long | ARP_header::ARP_sourceIP |
unsigned char | ARP_header::ARP_destMac [6] |
unsigned long | ARP_header::ARP_destIP |