Skip to content

Commit 10d6d4b

Browse files
committed
Add IPv6 protocol handlers and integration tests for mvirt-ebpf
Protocol handlers: - Router Advertisement with M+O flags for DHCPv6 configuration - DHCPv6 SOLICIT/REQUEST handling with DNS server support - ICMPv6 Echo Request/Reply for gateway ping6 - Neighbor Solicitation/Advertisement (already existed) Integration tests (9 new tests): - RS → RA with M+O flags verification - RS → RA without O flag when no DNS configured - DHCPv6 SOLICIT → ADVERTISE with DNS servers - DHCPv6 REQUEST → REPLY with assigned address - Full DHCPv6 handshake (RS→RA→SOLICIT→ADVERTISE→REQUEST→REPLY) - NS → NA for gateway address - NS for non-gateway returns no response - ping6 to gateway returns Echo Reply - ping6 to non-gateway returns no response
1 parent bc50df3 commit 10d6d4b

4 files changed

Lines changed: 864 additions & 26 deletions

File tree

mvirt-ebpf/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,7 @@ required-features = ["test-util"]
9696
[[test]]
9797
name = "service_test"
9898
required-features = ["test-util"]
99+
100+
[[test]]
101+
name = "ipv6_test"
102+
required-features = ["test-util"]

0 commit comments

Comments
 (0)