pub struct GTPUInfos {
pub direction: Direction,
pub message_type: String,
pub connection_info: Option<String>,
pub teid: Option<u32>,
pub qfi: Option<u8>,
pub sdu_len: Option<u32>,
pub src_addr: Option<String>,
pub dst_addr: Option<String>,
}Expand description
Data structure to store the GTPU message type
Fields§
§direction: DirectionDirection of the message (TO/FROM)
message_type: StringMessage type (e.g., “G-PDU”, “Echo Request”)
connection_info: Option<String>Connection info (e.g., “127.0.1.100:2152”)
teid: Option<u32>Tunnel Endpoint Identifier
qfi: Option<u8>QoS Flow Identifier
sdu_len: Option<u32>Length of the encapsulated SDU
src_addr: Option<String>Source address of the encapsulated packet (e.g., “192.168.3.2:51158”)
dst_addr: Option<String>Destination address of the encapsulated packet (e.g., “172.217.18.202:443”)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GTPUInfos
impl RefUnwindSafe for GTPUInfos
impl Send for GTPUInfos
impl Sync for GTPUInfos
impl Unpin for GTPUInfos
impl UnwindSafe for GTPUInfos
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more