blob: a4bca52c886cb4462ece148aec2d4ae68d177357 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
type
Pether_arp = ^ether_arp;
ether_arp = record
ea_hdr : arphdr;
arp_sha : array[0..(ETH_ALEN)-1] of u_int8_t;
arp_spa : array[0..3] of u_int8_t;
arp_tha : array[0..(ETH_ALEN)-1] of u_int8_t;
arp_tpa : array[0..3] of u_int8_t;
end;
{ ---------------------------------------------------------------------
Borland compatibility types
---------------------------------------------------------------------}
type
TEthernetAddress = packed array[0..ETH_ALEN-1] of u_char;
PEthernetAddress = ^TEthernetAddress;
procedure ETHER_MAP_IP_MULTICAST(const ipaddr: in_addr; enaddr: PEthernetAddress);
|