_packet_info

Struct _packet_info 

Source
#[repr(C)]
pub struct _packet_info {
Show 52 fields pub current_proto: *const c_char, pub cinfo: *mut epan_column_info, pub presence_flags: guint32, pub num: guint32, pub abs_ts: nstime_t, pub rel_ts: nstime_t, pub fd: *mut frame_data, pub pseudo_header: *mut wtap_pseudo_header, pub rec: *mut wtap_rec, pub data_src: *mut GSList, pub dl_src: address, pub dl_dst: address, pub net_src: address, pub net_dst: address, pub src: address, pub dst: address, pub vlan_id: guint32, pub noreassembly_reason: *const c_char, pub fragmented: gboolean, pub flags: _packet_info__bindgen_ty_1, pub ptype: port_type, pub srcport: guint32, pub destport: guint32, pub match_uint: guint32, pub match_string: *const c_char, pub use_conv_addr_port_endpoints: gboolean, pub conv_addr_port_endpoints: *mut conversation_addr_port_endpoints, pub conv_elements: *mut conversation_element, pub can_desegment: guint16, pub saved_can_desegment: guint16, pub desegment_offset: c_int, pub desegment_len: guint32, pub want_pdu_tracking: guint16, pub bytes_until_next_pdu: guint32, pub p2p_dir: c_int, pub private_table: *mut GHashTable, pub layers: *mut wmem_list_t, pub proto_layers: *mut wmem_map_t, pub curr_layer_num: guint8, pub curr_proto_layer_num: guint8, pub link_number: guint16, pub clnp_srcref: guint16, pub clnp_dstref: guint16, pub link_dir: c_int, pub src_win_scale: gint16, pub dst_win_scale: gint16, pub proto_data: *mut GSList, pub dependent_frames: *mut GSList, pub frame_end_routines: *mut GSList, pub pool: *mut wmem_allocator_t, pub epan: *mut epan_session, pub heur_list_name: *const gchar,
}

Fields§

§current_proto: *const c_char§cinfo: *mut epan_column_info§presence_flags: guint32§num: guint32§abs_ts: nstime_t§rel_ts: nstime_t§fd: *mut frame_data§pseudo_header: *mut wtap_pseudo_header§rec: *mut wtap_rec§data_src: *mut GSList§dl_src: address§dl_dst: address§net_src: address§net_dst: address§src: address§dst: address§vlan_id: guint32§noreassembly_reason: *const c_char§fragmented: gboolean§flags: _packet_info__bindgen_ty_1§ptype: port_type§srcport: guint32§destport: guint32§match_uint: guint32§match_string: *const c_char§use_conv_addr_port_endpoints: gboolean§conv_addr_port_endpoints: *mut conversation_addr_port_endpoints§conv_elements: *mut conversation_element§can_desegment: guint16§saved_can_desegment: guint16§desegment_offset: c_int§desegment_len: guint32§want_pdu_tracking: guint16§bytes_until_next_pdu: guint32§p2p_dir: c_int§private_table: *mut GHashTable§layers: *mut wmem_list_t§proto_layers: *mut wmem_map_t§curr_layer_num: guint8§curr_proto_layer_num: guint8§link_number: guint16§clnp_srcref: guint16§clnp_dstref: guint16§link_dir: c_int§src_win_scale: gint16§dst_win_scale: gint16§proto_data: *mut GSList§dependent_frames: *mut GSList§frame_end_routines: *mut GSList§pool: *mut wmem_allocator_t§epan: *mut epan_session§heur_list_name: *const gchar

Trait Implementations§

Source§

impl Clone for _packet_info

Source§

fn clone(&self) -> _packet_info

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _packet_info

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for _packet_info

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.