mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
nat64: reinstate atomic operations
Turns out the atomics just needed to operate on a 64-bit variable, we didn't actually need a newer compiler. Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
struct nat64_config {
|
||||
struct in6_addr v6_prefix;
|
||||
__u64 timeout_ns;
|
||||
__u64 next_addr;
|
||||
__u32 v4_prefix;
|
||||
__u32 v4_mask;
|
||||
__u32 next_addr;
|
||||
};
|
||||
|
||||
struct v6_addr_state {
|
||||
|
||||
Reference in New Issue
Block a user