You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#![no_std]
|
|
{%- if program_type == "sk_msg" %}
|
|
|
|
#[derive(Copy, Clone)]
|
|
#[repr(C)]
|
|
pub struct SockKey {
|
|
pub remote_ip4: u32,
|
|
pub local_ip4: u32,
|
|
pub remote_port: u32,
|
|
pub local_port: u32,
|
|
}
|
|
|
|
#[cfg(feature = "user")]
|
|
unsafe impl aya::Pod for SockKey {}
|
|
{%- endif -%}
|