-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add drop counters and update all end-to-end tests to check them too
- Loading branch information
Showing
31 changed files
with
467 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/program/lwaftr/tests/data/from_inet_ipv4_in_binding_big_packet_df_set.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
return { | ||
in_ipv4_bytes = 1494, | ||
in_ipv4_packets = 1, | ||
|
||
out_ipv4_bytes = 590, | ||
out_ipv4_packets = 1, | ||
|
||
out_icmpv4_bytes = 590, | ||
out_icmpv4_packets = 1, | ||
} |
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
src/program/lwaftr/tests/data/from_to_b4_tunneled_icmpv4_ping_hairpin.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
return { | ||
in_ipv4_bytes = 98, | ||
in_ipv4_packets = 1, | ||
in_ipv6_bytes = 138, | ||
in_ipv6_packets = 1, | ||
|
||
out_ipv6_bytes = 138, | ||
out_ipv6_packets = 1, | ||
|
||
hpin_ipv4_bytes = 98, | ||
hpin_ipv4_packets = 1, | ||
} |
9 changes: 9 additions & 0 deletions
9
src/program/lwaftr/tests/data/from_to_b4_tunneled_icmpv4_ping_hairpin_unbound.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
return { | ||
in_ipv4_bytes = 98, | ||
in_ipv4_packets = 1, | ||
in_ipv6_bytes = 138, | ||
in_ipv6_packets = 1, | ||
|
||
hpin_ipv4_bytes = 98, | ||
hpin_ipv4_packets = 1, | ||
} |
4 changes: 0 additions & 4 deletions
4
...ogram/lwaftr/tests/data/counters_icmp.lua → ...tests/data/in_1p_ipv4_out_1p_icmpv4_1.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
return { | ||
in_ipv4_bytes = 66, | ||
in_ipv4_packets = 1, | ||
in_ipv6_bytes = 106, | ||
in_ipv6_packets = 1, | ||
|
||
out_ipv4_bytes = 94, | ||
out_ipv4_packets = 1, | ||
|
||
out_icmpv4_bytes = 94, | ||
out_icmpv4_packets = 1, | ||
out_icmpv6_bytes = 154, | ||
out_icmpv6_packets = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
in_ipv4_bytes = 66, | ||
in_ipv4_packets = 1, | ||
|
||
out_ipv6_bytes = 106, | ||
out_ipv6_packets = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
in_ipv4_bytes = 1460, | ||
in_ipv4_packets = 1, | ||
|
||
out_ipv6_bytes = 1500, | ||
out_ipv6_packets = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
in_ipv4_bytes = 1494, | ||
in_ipv4_packets = 1, | ||
|
||
out_ipv6_bytes = 1534, | ||
out_ipv6_packets = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
in_ipv4_bytes = 2734, | ||
in_ipv4_packets = 1, | ||
|
||
out_ipv6_bytes = 2774, | ||
out_ipv6_packets = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
in_ipv4_bytes = 66, | ||
in_ipv4_packets = 1, | ||
|
||
out_ipv6_bytes = 94, | ||
out_ipv6_packets = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
in_ipv4_bytes = 1474, | ||
in_ipv4_packets = 1, | ||
|
||
out_ipv6_bytes = 1514, | ||
out_ipv6_packets = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
in_ipv4_bytes = 98, | ||
in_ipv4_packets = 1, | ||
|
||
out_ipv6_bytes = 138, | ||
out_ipv6_packets = 1, | ||
} |
Oops, something went wrong.