Automatically derive traits for in6_pktinfo

This commit is contained in:
Bruno Dal Bo 2022-06-21 11:10:49 -07:00
parent e0558a931b
commit f2b3a45a08

View file

@ -877,6 +877,11 @@ s! {
pub c_ispeed: ::speed_t, pub c_ispeed: ::speed_t,
pub c_ospeed: ::speed_t, pub c_ospeed: ::speed_t,
} }
pub struct in6_pktinfo {
pub ipi6_addr: ::in6_addr,
pub ipi6_ifindex: ::c_uint,
}
} }
s_no_extra_traits! { s_no_extra_traits! {
@ -974,11 +979,6 @@ s_no_extra_traits! {
pub sigev_notify_attributes: *mut pthread_attr_t, pub sigev_notify_attributes: *mut pthread_attr_t,
pub __pad: [::c_char; 56 - 3 * 8 /* 8 == sizeof(long) */], pub __pad: [::c_char; 56 - 3 * 8 /* 8 == sizeof(long) */],
} }
pub struct in6_pktinfo {
pub ipi6_addr: ::in6_addr,
pub ipi6_ifindex: ::c_uint,
}
} }
cfg_if! { cfg_if! {