Prod neighbour discovery with ARP instead of PING.

This commit is contained in:
Simon Kelley
2013-09-23 12:26:34 +01:00
parent 724789de13
commit d81b42d067
3 changed files with 32 additions and 26 deletions

View File

@@ -33,6 +33,13 @@ struct ra_packet {
u32 retrans_time;
};
struct neigh_packet {
u8 type, code;
u16 checksum;
u16 reserved;
struct in6_addr target;
};
struct prefix_opt {
u8 type, len, prefix_len, flags;
u32 valid_lifetime, preferred_lifetime, reserved;