refactor: move HIP models to neutral API namespace

This commit is contained in:
Kevin Yue committed 2026-09-29 18:00:38 +08:00
1 parent a91c04fa64
commit 56c3babfe7
10 files changed
+10 -9

No files matched your search

File renamed without changes.
+1
View File
@@ -5,6 +5,7 @@ pub mod device_anchor;
pub mod error;
pub mod gateway;
pub mod gp_params;
pub mod hip;
pub mod log_format;
pub mod os_profile;
pub mod params;
-1
View File
@@ -1,5 +1,4 @@
pub mod event;
pub mod hip;
pub mod request;
pub mod transport;
pub mod vpn_env;
+2 -1
View File
@@ -6,10 +6,11 @@ use zeroize::Zeroize;
use crate::{
gateway::Gateway,
hip::HipSource,
os_profile::{ClientOs, OsProfile},
};
use super::{hip::HipSource, vpn_state::ConnectInfo};
use super::vpn_state::ConnectInfo;
pub const MAX_CLIENT_IDENTITY_DATA: usize = 32 * 1024;
@@ -1,7 +1,7 @@
use serde::{Deserialize, Serialize};
use uuid::Uuid;
use crate::service::hip::HipApprovalStatus;
use crate::hip::HipApprovalStatus;
use crate::service::{event::WsEvent, request::WsRequest, vpn_env::VpnEnv, vpnc_script::VpncScriptMetadata};
use super::{MAX_PLAINTEXT, MAX_SERVICE_MESSAGE, ServiceErrorCode, TransportError};