1+ // This Source Code Form is subject to the terms of the Mozilla Public
2+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3+ // file, You can obtain one at https://mozilla.org/MPL/2.0/.
4+
5+ // Copyright 2025 Oxide Computer Company
6+
7+ //! Stat IDs for the Oxide VPC API.
8+
9+ use uuid:: Uuid ;
10+
11+ pub static FW_DEFAULT_IN : Uuid =
12+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0000 , & 0u64 . to_be_bytes ( ) ) ;
13+ pub static FW_DEFAULT_OUT : Uuid =
14+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0000 , & 1u64 . to_be_bytes ( ) ) ;
15+
16+ pub static GATEWAY_NOSPOOF_IN : Uuid =
17+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0001 , & 0u64 . to_be_bytes ( ) ) ;
18+ pub static GATEWAY_NOSPOOF_OUT : Uuid =
19+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0001 , & 1u64 . to_be_bytes ( ) ) ;
20+
21+ pub static ROUTER_NOROUTE : Uuid =
22+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0002 , & 0u64 . to_be_bytes ( ) ) ;
23+
24+ pub static NAT_SNAT_V4 : Uuid =
25+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0003 , & 0u64 . to_be_bytes ( ) ) ;
26+ pub static NAT_SNAT_V6 : Uuid =
27+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0003 , & 1u64 . to_be_bytes ( ) ) ;
28+ pub static NAT_VALID_IGW_V4 : Uuid =
29+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0003 , & 2u64 . to_be_bytes ( ) ) ;
30+ pub static NAT_VALID_IGW_V6 : Uuid =
31+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0003 , & 3u64 . to_be_bytes ( ) ) ;
32+ pub static NAT_NONE : Uuid =
33+ Uuid :: from_fields ( 0x01de_f00d , 0x7777 , 0x0003 , & 255u64 . to_be_bytes ( ) ) ;
0 commit comments