git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Modules/VIARhineII - Fiddling
[tpg/acess2.git]
/
KernelLand
/
Modules
/
IPStack
/
arp.h
1
/*
2
* Acess2 IP Stack
3
* - Common Header
4
*/
5
#ifndef _ARP_H_
6
#define _ARP_H_
7
8
#include "ipstack.h"
9
10
typedef struct sArpRequest4 tArpRequest4;
11
typedef struct sArpRequest6 tArpRequest6;
12
13
struct sArpRequest4 {
14
Uint16 HWType;
15
Uint16 Type;
16
Uint8 HWSize, SWSize;
17
Uint16 Request;
18
tMacAddr SourceMac;
19
tIPv4 SourceIP;
20
tMacAddr DestMac;
21
tIPv4 DestIP;
22
} __attribute__((packed));
23
24
struct sArpRequest6 {
25
Uint16 HWType;
26
Uint16 Type;
27
Uint8 HWSize, SWSize;
28
Uint16 Request;
29
tMacAddr SourceMac;
30
tIPv6 SourceIP;
31
tMacAddr DestMac;
32
tIPv6 DestIP;
33
} __attribute__((packed));
34
35
#endif
UCC
git Repository :: git.ucc.asn.au