aboutsummaryrefslogblamecommitdiffstats
path: root/src/wireguard/router/constants.rs
blob: af76299f89f75280ebf5b1d0e15b9f0c2710c221 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                
                                           


                        

                                                          
                                                          
// WireGuard semantics constants

pub const MAX_QUEUED_PACKETS: usize = 1024;

// performance constants

pub const PARALLEL_QUEUE_SIZE: usize = MAX_QUEUED_PACKETS;
pub const INORDER_QUEUE_SIZE: usize = MAX_QUEUED_PACKETS;
pub const MAX_INORDER_CONSUME: usize = INORDER_QUEUE_SIZE;