1pub type __s8 = crate::ctypes::c_schar;
4pub type __u8 = crate::ctypes::c_uchar;
5pub type __s16 = crate::ctypes::c_short;
6pub type __u16 = crate::ctypes::c_ushort;
7pub type __s32 = crate::ctypes::c_int;
8pub type __u32 = crate::ctypes::c_uint;
9pub type __s64 = crate::ctypes::c_longlong;
10pub type __u64 = crate::ctypes::c_ulonglong;
11pub type __kernel_key_t = crate::ctypes::c_int;
12pub type __kernel_mqd_t = crate::ctypes::c_int;
13pub type __kernel_mode_t = crate::ctypes::c_ushort;
14pub type __kernel_ipc_pid_t = crate::ctypes::c_ushort;
15pub type __kernel_uid_t = crate::ctypes::c_ushort;
16pub type __kernel_gid_t = crate::ctypes::c_ushort;
17pub type __kernel_old_dev_t = crate::ctypes::c_ushort;
18pub type __kernel_long_t = crate::ctypes::c_long;
19pub type __kernel_ulong_t = crate::ctypes::c_ulong;
20pub type __kernel_ino_t = __kernel_ulong_t;
21pub type __kernel_pid_t = crate::ctypes::c_int;
22pub type __kernel_suseconds_t = __kernel_long_t;
23pub type __kernel_daddr_t = crate::ctypes::c_int;
24pub type __kernel_uid32_t = crate::ctypes::c_uint;
25pub type __kernel_gid32_t = crate::ctypes::c_uint;
26pub type __kernel_old_uid_t = __kernel_uid_t;
27pub type __kernel_old_gid_t = __kernel_gid_t;
28pub type __kernel_size_t = crate::ctypes::c_uint;
29pub type __kernel_ssize_t = crate::ctypes::c_int;
30pub type __kernel_ptrdiff_t = crate::ctypes::c_int;
31pub type __kernel_off_t = __kernel_long_t;
32pub type __kernel_loff_t = crate::ctypes::c_longlong;
33pub type __kernel_old_time_t = __kernel_long_t;
34pub type __kernel_time_t = __kernel_long_t;
35pub type __kernel_time64_t = crate::ctypes::c_longlong;
36pub type __kernel_clock_t = __kernel_long_t;
37pub type __kernel_timer_t = crate::ctypes::c_int;
38pub type __kernel_clockid_t = crate::ctypes::c_int;
39pub type __kernel_caddr_t = *mut crate::ctypes::c_char;
40pub type __kernel_uid16_t = crate::ctypes::c_ushort;
41pub type __kernel_gid16_t = crate::ctypes::c_ushort;
42pub type __le16 = __u16;
43pub type __be16 = __u16;
44pub type __le32 = __u32;
45pub type __be32 = __u32;
46pub type __le64 = __u64;
47pub type __be64 = __u64;
48pub type __sum16 = __u16;
49pub type __wsum = __u32;
50pub type __poll_t = crate::ctypes::c_uint;
51pub type __kernel_sa_family_t = crate::ctypes::c_ushort;
52pub type socklen_t = crate::ctypes::c_uint;
53#[repr(C)]
54#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
55pub struct __BindgenBitfieldUnit<Storage> {
56storage: Storage,
57}
58#[repr(C)]
59#[derive(Default)]
60pub struct __IncompleteArrayField<T>(::core::marker::PhantomData<T>, [T; 0]);
61#[repr(C)]
62pub struct __BindgenUnionField<T>(::core::marker::PhantomData<T>);
63#[repr(C)]
64#[derive(Copy, Clone)]
65pub struct __kernel_sockaddr_storage {
66pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1,
67}
68#[repr(C)]
69#[derive(Debug, Copy, Clone)]
70pub struct __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 {
71pub ss_family: __kernel_sa_family_t,
72pub __data: [crate::ctypes::c_char; 126usize],
73}
74#[repr(C)]
75#[derive(Debug, Copy, Clone)]
76pub struct in_addr {
77pub s_addr: __be32,
78}
79#[repr(C)]
80#[derive(Debug, Copy, Clone)]
81pub struct ip_mreq {
82pub imr_multiaddr: in_addr,
83pub imr_interface: in_addr,
84}
85#[repr(C)]
86#[derive(Debug, Copy, Clone)]
87pub struct ip_mreqn {
88pub imr_multiaddr: in_addr,
89pub imr_address: in_addr,
90pub imr_ifindex: crate::ctypes::c_int,
91}
92#[repr(C)]
93#[derive(Debug, Copy, Clone)]
94pub struct ip_mreq_source {
95pub imr_multiaddr: __be32,
96pub imr_interface: __be32,
97pub imr_sourceaddr: __be32,
98}
99#[repr(C)]
100pub struct ip_msfilter {
101pub imsf_multiaddr: __be32,
102pub imsf_interface: __be32,
103pub imsf_fmode: __u32,
104pub imsf_numsrc: __u32,
105pub __bindgen_anon_1: ip_msfilter__bindgen_ty_1,
106}
107#[repr(C)]
108pub struct ip_msfilter__bindgen_ty_1 {
109pub imsf_slist: __BindgenUnionField<[__be32; 1usize]>,
110pub __bindgen_anon_1: __BindgenUnionField<ip_msfilter__bindgen_ty_1__bindgen_ty_1>,
111pub bindgen_union_field: u32,
112}
113#[repr(C)]
114#[derive(Debug)]
115pub struct ip_msfilter__bindgen_ty_1__bindgen_ty_1 {
116pub __empty_imsf_slist_flex: ip_msfilter__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
117pub imsf_slist_flex: __IncompleteArrayField<__be32>,
118}
119#[repr(C)]
120#[derive(Debug, Copy, Clone)]
121pub struct ip_msfilter__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {}
122#[repr(C)]
123#[derive(Copy, Clone)]
124pub struct group_req {
125pub gr_interface: __u32,
126pub gr_group: __kernel_sockaddr_storage,
127}
128#[repr(C)]
129#[derive(Copy, Clone)]
130pub struct group_source_req {
131pub gsr_interface: __u32,
132pub gsr_group: __kernel_sockaddr_storage,
133pub gsr_source: __kernel_sockaddr_storage,
134}
135#[repr(C)]
136pub struct group_filter {
137pub __bindgen_anon_1: group_filter__bindgen_ty_1,
138}
139#[repr(C)]
140pub struct group_filter__bindgen_ty_1 {
141pub __bindgen_anon_1: __BindgenUnionField<group_filter__bindgen_ty_1__bindgen_ty_1>,
142pub __bindgen_anon_2: __BindgenUnionField<group_filter__bindgen_ty_1__bindgen_ty_2>,
143pub bindgen_union_field: [u32; 67usize],
144}
145#[repr(C)]
146#[derive(Copy, Clone)]
147pub struct group_filter__bindgen_ty_1__bindgen_ty_1 {
148pub gf_interface_aux: __u32,
149pub gf_group_aux: __kernel_sockaddr_storage,
150pub gf_fmode_aux: __u32,
151pub gf_numsrc_aux: __u32,
152pub gf_slist: [__kernel_sockaddr_storage; 1usize],
153}
154#[repr(C)]
155pub struct group_filter__bindgen_ty_1__bindgen_ty_2 {
156pub gf_interface: __u32,
157pub gf_group: __kernel_sockaddr_storage,
158pub gf_fmode: __u32,
159pub gf_numsrc: __u32,
160pub gf_slist_flex: __IncompleteArrayField<__kernel_sockaddr_storage>,
161}
162#[repr(C)]
163#[derive(Debug, Copy, Clone)]
164pub struct in_pktinfo {
165pub ipi_ifindex: crate::ctypes::c_int,
166pub ipi_spec_dst: in_addr,
167pub ipi_addr: in_addr,
168}
169#[repr(C)]
170#[derive(Debug, Copy, Clone)]
171pub struct sockaddr_in {
172pub sin_family: __kernel_sa_family_t,
173pub sin_port: __be16,
174pub sin_addr: in_addr,
175pub __pad: [crate::ctypes::c_uchar; 8usize],
176}
177#[repr(C)]
178#[derive(Copy, Clone)]
179pub struct iphdr {
180pub _bitfield_align_1: [u8; 0],
181pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
182pub tos: __u8,
183pub tot_len: __be16,
184pub id: __be16,
185pub frag_off: __be16,
186pub ttl: __u8,
187pub protocol: __u8,
188pub check: __sum16,
189pub __bindgen_anon_1: iphdr__bindgen_ty_1,
190}
191#[repr(C)]
192#[derive(Debug, Copy, Clone)]
193pub struct iphdr__bindgen_ty_1__bindgen_ty_1 {
194pub saddr: __be32,
195pub daddr: __be32,
196}
197#[repr(C)]
198#[derive(Debug, Copy, Clone)]
199pub struct iphdr__bindgen_ty_1__bindgen_ty_2 {
200pub saddr: __be32,
201pub daddr: __be32,
202}
203#[repr(C)]
204#[derive(Debug)]
205pub struct ip_auth_hdr {
206pub nexthdr: __u8,
207pub hdrlen: __u8,
208pub reserved: __be16,
209pub spi: __be32,
210pub seq_no: __be32,
211pub auth_data: __IncompleteArrayField<__u8>,
212}
213#[repr(C)]
214#[derive(Debug)]
215pub struct ip_esp_hdr {
216pub spi: __be32,
217pub seq_no: __be32,
218pub enc_data: __IncompleteArrayField<__u8>,
219}
220#[repr(C)]
221#[derive(Debug, Copy, Clone)]
222pub struct ip_comp_hdr {
223pub nexthdr: __u8,
224pub flags: __u8,
225pub cpi: __be16,
226}
227#[repr(C)]
228#[derive(Debug, Copy, Clone)]
229pub struct ip_beet_phdr {
230pub nexthdr: __u8,
231pub hdrlen: __u8,
232pub padlen: __u8,
233pub reserved: __u8,
234}
235#[repr(C)]
236#[derive(Debug, Copy, Clone)]
237pub struct ip_iptfs_hdr {
238pub subtype: __u8,
239pub flags: __u8,
240pub block_offset: __be16,
241}
242#[repr(C)]
243#[derive(Debug, Copy, Clone)]
244pub struct ip_iptfs_cc_hdr {
245pub subtype: __u8,
246pub flags: __u8,
247pub block_offset: __be16,
248pub loss_rate: __be32,
249pub rtt_adelay_xdelay: __be64,
250pub tval: __be32,
251pub techo: __be32,
252}
253#[repr(C)]
254#[derive(Copy, Clone)]
255pub struct in6_addr {
256pub in6_u: in6_addr__bindgen_ty_1,
257}
258#[repr(C)]
259#[derive(Copy, Clone)]
260pub struct sockaddr_in6 {
261pub sin6_family: crate::ctypes::c_ushort,
262pub sin6_port: __be16,
263pub sin6_flowinfo: __be32,
264pub sin6_addr: in6_addr,
265pub sin6_scope_id: __u32,
266}
267#[repr(C)]
268#[derive(Copy, Clone)]
269pub struct ipv6_mreq {
270pub ipv6mr_multiaddr: in6_addr,
271pub ipv6mr_ifindex: crate::ctypes::c_int,
272}
273#[repr(C)]
274#[derive(Copy, Clone)]
275pub struct in6_flowlabel_req {
276pub flr_dst: in6_addr,
277pub flr_label: __be32,
278pub flr_action: __u8,
279pub flr_share: __u8,
280pub flr_flags: __u16,
281pub flr_expires: __u16,
282pub flr_linger: __u16,
283pub __flr_pad: __u32,
284}
285#[repr(C)]
286#[derive(Copy, Clone)]
287pub struct in6_pktinfo {
288pub ipi6_addr: in6_addr,
289pub ipi6_ifindex: crate::ctypes::c_int,
290}
291#[repr(C)]
292#[derive(Copy, Clone)]
293pub struct ip6_mtuinfo {
294pub ip6m_addr: sockaddr_in6,
295pub ip6m_mtu: __u32,
296}
297#[repr(C)]
298#[derive(Copy, Clone)]
299pub struct in6_ifreq {
300pub ifr6_addr: in6_addr,
301pub ifr6_prefixlen: __u32,
302pub ifr6_ifindex: crate::ctypes::c_int,
303}
304#[repr(C)]
305#[derive(Debug, Copy, Clone)]
306pub struct ipv6_rt_hdr {
307pub nexthdr: __u8,
308pub hdrlen: __u8,
309pub type_: __u8,
310pub segments_left: __u8,
311}
312#[repr(C, packed)]
313#[derive(Debug, Copy, Clone)]
314pub struct ipv6_opt_hdr {
315pub nexthdr: __u8,
316pub hdrlen: __u8,
317}
318#[repr(C)]
319pub struct rt0_hdr {
320pub rt_hdr: ipv6_rt_hdr,
321pub reserved: __u32,
322pub addr: __IncompleteArrayField<in6_addr>,
323}
324#[repr(C)]
325#[derive(Copy, Clone)]
326pub struct rt2_hdr {
327pub rt_hdr: ipv6_rt_hdr,
328pub reserved: __u32,
329pub addr: in6_addr,
330}
331#[repr(C, packed)]
332#[derive(Copy, Clone)]
333pub struct ipv6_destopt_hao {
334pub type_: __u8,
335pub length: __u8,
336pub addr: in6_addr,
337}
338#[repr(C)]
339#[derive(Copy, Clone)]
340pub struct ipv6hdr {
341pub _bitfield_align_1: [u8; 0],
342pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
343pub flow_lbl: [__u8; 3usize],
344pub payload_len: __be16,
345pub nexthdr: __u8,
346pub hop_limit: __u8,
347pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1,
348}
349#[repr(C)]
350#[derive(Copy, Clone)]
351pub struct ipv6hdr__bindgen_ty_1__bindgen_ty_1 {
352pub saddr: in6_addr,
353pub daddr: in6_addr,
354}
355#[repr(C)]
356#[derive(Copy, Clone)]
357pub struct ipv6hdr__bindgen_ty_1__bindgen_ty_2 {
358pub saddr: in6_addr,
359pub daddr: in6_addr,
360}
361#[repr(C)]
362#[derive(Debug, Copy, Clone)]
363pub struct tcphdr {
364pub source: __be16,
365pub dest: __be16,
366pub seq: __be32,
367pub ack_seq: __be32,
368pub _bitfield_align_1: [u8; 0],
369pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
370pub window: __be16,
371pub check: __sum16,
372pub urg_ptr: __be16,
373}
374#[repr(C)]
375#[derive(Debug, Copy, Clone)]
376pub struct tcp_repair_opt {
377pub opt_code: __u32,
378pub opt_val: __u32,
379}
380#[repr(C)]
381#[derive(Debug, Copy, Clone)]
382pub struct tcp_repair_window {
383pub snd_wl1: __u32,
384pub snd_wnd: __u32,
385pub max_window: __u32,
386pub rcv_wnd: __u32,
387pub rcv_wup: __u32,
388}
389#[repr(C)]
390#[derive(Debug, Copy, Clone)]
391pub struct tcp_info {
392pub tcpi_state: __u8,
393pub tcpi_ca_state: __u8,
394pub tcpi_retransmits: __u8,
395pub tcpi_probes: __u8,
396pub tcpi_backoff: __u8,
397pub tcpi_options: __u8,
398pub _bitfield_align_1: [u8; 0],
399pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
400pub tcpi_rto: __u32,
401pub tcpi_ato: __u32,
402pub tcpi_snd_mss: __u32,
403pub tcpi_rcv_mss: __u32,
404pub tcpi_unacked: __u32,
405pub tcpi_sacked: __u32,
406pub tcpi_lost: __u32,
407pub tcpi_retrans: __u32,
408pub tcpi_fackets: __u32,
409pub tcpi_last_data_sent: __u32,
410pub tcpi_last_ack_sent: __u32,
411pub tcpi_last_data_recv: __u32,
412pub tcpi_last_ack_recv: __u32,
413pub tcpi_pmtu: __u32,
414pub tcpi_rcv_ssthresh: __u32,
415pub tcpi_rtt: __u32,
416pub tcpi_rttvar: __u32,
417pub tcpi_snd_ssthresh: __u32,
418pub tcpi_snd_cwnd: __u32,
419pub tcpi_advmss: __u32,
420pub tcpi_reordering: __u32,
421pub tcpi_rcv_rtt: __u32,
422pub tcpi_rcv_space: __u32,
423pub tcpi_total_retrans: __u32,
424pub tcpi_pacing_rate: __u64,
425pub tcpi_max_pacing_rate: __u64,
426pub tcpi_bytes_acked: __u64,
427pub tcpi_bytes_received: __u64,
428pub tcpi_segs_out: __u32,
429pub tcpi_segs_in: __u32,
430pub tcpi_notsent_bytes: __u32,
431pub tcpi_min_rtt: __u32,
432pub tcpi_data_segs_in: __u32,
433pub tcpi_data_segs_out: __u32,
434pub tcpi_delivery_rate: __u64,
435pub tcpi_busy_time: __u64,
436pub tcpi_rwnd_limited: __u64,
437pub tcpi_sndbuf_limited: __u64,
438pub tcpi_delivered: __u32,
439pub tcpi_delivered_ce: __u32,
440pub tcpi_bytes_sent: __u64,
441pub tcpi_bytes_retrans: __u64,
442pub tcpi_dsack_dups: __u32,
443pub tcpi_reord_seen: __u32,
444pub tcpi_rcv_ooopack: __u32,
445pub tcpi_snd_wnd: __u32,
446pub tcpi_rcv_wnd: __u32,
447pub tcpi_rehash: __u32,
448pub tcpi_total_rto: __u16,
449pub tcpi_total_rto_recoveries: __u16,
450pub tcpi_total_rto_time: __u32,
451}
452#[repr(C)]
453#[derive(Copy, Clone)]
454pub struct tcp_md5sig {
455pub tcpm_addr: __kernel_sockaddr_storage,
456pub tcpm_flags: __u8,
457pub tcpm_prefixlen: __u8,
458pub tcpm_keylen: __u16,
459pub tcpm_ifindex: crate::ctypes::c_int,
460pub tcpm_key: [__u8; 80usize],
461}
462#[repr(C)]
463#[derive(Debug, Copy, Clone)]
464pub struct tcp_diag_md5sig {
465pub tcpm_family: __u8,
466pub tcpm_prefixlen: __u8,
467pub tcpm_keylen: __u16,
468pub tcpm_addr: [__be32; 4usize],
469pub tcpm_key: [__u8; 80usize],
470}
471#[repr(C)]
472#[repr(align(8))]
473#[derive(Copy, Clone)]
474pub struct tcp_ao_add {
475pub addr: __kernel_sockaddr_storage,
476pub alg_name: [crate::ctypes::c_char; 64usize],
477pub ifindex: __s32,
478pub _bitfield_align_1: [u32; 0],
479pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
480pub reserved2: __u16,
481pub prefix: __u8,
482pub sndid: __u8,
483pub rcvid: __u8,
484pub maclen: __u8,
485pub keyflags: __u8,
486pub keylen: __u8,
487pub key: [__u8; 80usize],
488}
489#[repr(C)]
490#[repr(align(8))]
491#[derive(Copy, Clone)]
492pub struct tcp_ao_del {
493pub addr: __kernel_sockaddr_storage,
494pub ifindex: __s32,
495pub _bitfield_align_1: [u32; 0],
496pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
497pub reserved2: __u16,
498pub prefix: __u8,
499pub sndid: __u8,
500pub rcvid: __u8,
501pub current_key: __u8,
502pub rnext: __u8,
503pub keyflags: __u8,
504}
505#[repr(C)]
506#[repr(align(8))]
507#[derive(Debug, Copy, Clone)]
508pub struct tcp_ao_info_opt {
509pub _bitfield_align_1: [u32; 0],
510pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
511pub reserved2: __u16,
512pub current_key: __u8,
513pub rnext: __u8,
514pub pkt_good: __u64,
515pub pkt_bad: __u64,
516pub pkt_key_not_found: __u64,
517pub pkt_ao_required: __u64,
518pub pkt_dropped_icmp: __u64,
519}
520#[repr(C)]
521#[repr(align(8))]
522#[derive(Copy, Clone)]
523pub struct tcp_ao_getsockopt {
524pub addr: __kernel_sockaddr_storage,
525pub alg_name: [crate::ctypes::c_char; 64usize],
526pub key: [__u8; 80usize],
527pub nkeys: __u32,
528pub _bitfield_align_1: [u16; 0],
529pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
530pub sndid: __u8,
531pub rcvid: __u8,
532pub prefix: __u8,
533pub maclen: __u8,
534pub keyflags: __u8,
535pub keylen: __u8,
536pub ifindex: __s32,
537pub pkt_good: __u64,
538pub pkt_bad: __u64,
539}
540#[repr(C)]
541#[repr(align(8))]
542#[derive(Debug, Copy, Clone)]
543pub struct tcp_ao_repair {
544pub snt_isn: __be32,
545pub rcv_isn: __be32,
546pub snd_sne: __u32,
547pub rcv_sne: __u32,
548}
549#[repr(C)]
550#[derive(Debug, Copy, Clone)]
551pub struct tcp_zerocopy_receive {
552pub address: __u64,
553pub length: __u32,
554pub recv_skip_hint: __u32,
555pub inq: __u32,
556pub err: __s32,
557pub copybuf_address: __u64,
558pub copybuf_len: __s32,
559pub flags: __u32,
560pub msg_control: __u64,
561pub msg_controllen: __u64,
562pub msg_flags: __u32,
563pub reserved: __u32,
564}
565#[repr(C)]
566#[derive(Debug, Copy, Clone)]
567pub struct sockaddr_un {
568pub sun_family: __kernel_sa_family_t,
569pub sun_path: [crate::ctypes::c_char; 108usize],
570}
571#[repr(C)]
572#[derive(Copy, Clone)]
573pub struct sockaddr {
574pub __storage: __kernel_sockaddr_storage,
575}
576#[repr(C)]
577#[derive(Debug, Copy, Clone)]
578pub struct sync_serial_settings {
579pub clock_rate: crate::ctypes::c_uint,
580pub clock_type: crate::ctypes::c_uint,
581pub loopback: crate::ctypes::c_ushort,
582}
583#[repr(C)]
584#[derive(Debug, Copy, Clone)]
585pub struct te1_settings {
586pub clock_rate: crate::ctypes::c_uint,
587pub clock_type: crate::ctypes::c_uint,
588pub loopback: crate::ctypes::c_ushort,
589pub slot_map: crate::ctypes::c_uint,
590}
591#[repr(C)]
592#[derive(Debug, Copy, Clone)]
593pub struct raw_hdlc_proto {
594pub encoding: crate::ctypes::c_ushort,
595pub parity: crate::ctypes::c_ushort,
596}
597#[repr(C)]
598#[derive(Debug, Copy, Clone)]
599pub struct fr_proto {
600pub t391: crate::ctypes::c_uint,
601pub t392: crate::ctypes::c_uint,
602pub n391: crate::ctypes::c_uint,
603pub n392: crate::ctypes::c_uint,
604pub n393: crate::ctypes::c_uint,
605pub lmi: crate::ctypes::c_ushort,
606pub dce: crate::ctypes::c_ushort,
607}
608#[repr(C)]
609#[derive(Debug, Copy, Clone)]
610pub struct fr_proto_pvc {
611pub dlci: crate::ctypes::c_uint,
612}
613#[repr(C)]
614#[derive(Debug, Copy, Clone)]
615pub struct fr_proto_pvc_info {
616pub dlci: crate::ctypes::c_uint,
617pub master: [crate::ctypes::c_char; 16usize],
618}
619#[repr(C)]
620#[derive(Debug, Copy, Clone)]
621pub struct cisco_proto {
622pub interval: crate::ctypes::c_uint,
623pub timeout: crate::ctypes::c_uint,
624}
625#[repr(C)]
626#[derive(Debug, Copy, Clone)]
627pub struct x25_hdlc_proto {
628pub dce: crate::ctypes::c_ushort,
629pub modulo: crate::ctypes::c_uint,
630pub window: crate::ctypes::c_uint,
631pub t1: crate::ctypes::c_uint,
632pub t2: crate::ctypes::c_uint,
633pub n2: crate::ctypes::c_uint,
634}
635#[repr(C)]
636#[derive(Debug, Copy, Clone)]
637pub struct ifmap {
638pub mem_start: crate::ctypes::c_ulong,
639pub mem_end: crate::ctypes::c_ulong,
640pub base_addr: crate::ctypes::c_ushort,
641pub irq: crate::ctypes::c_uchar,
642pub dma: crate::ctypes::c_uchar,
643pub port: crate::ctypes::c_uchar,
644}
645#[repr(C)]
646#[derive(Copy, Clone)]
647pub struct if_settings {
648pub type_: crate::ctypes::c_uint,
649pub size: crate::ctypes::c_uint,
650pub ifs_ifsu: if_settings__bindgen_ty_1,
651}
652#[repr(C)]
653#[derive(Copy, Clone)]
654pub struct ifreq {
655pub ifr_ifrn: ifreq__bindgen_ty_1,
656pub ifr_ifru: ifreq__bindgen_ty_2,
657}
658#[repr(C)]
659#[derive(Copy, Clone)]
660pub struct ifconf {
661pub ifc_len: crate::ctypes::c_int,
662pub ifc_ifcu: ifconf__bindgen_ty_1,
663}
664#[repr(C)]
665pub struct xt_entry_match {
666pub u: xt_entry_match__bindgen_ty_1,
667pub data: __IncompleteArrayField<crate::ctypes::c_uchar>,
668}
669#[repr(C)]
670#[derive(Debug, Copy, Clone)]
671pub struct xt_entry_match__bindgen_ty_1__bindgen_ty_1 {
672pub match_size: __u16,
673pub name: [crate::ctypes::c_char; 29usize],
674pub revision: __u8,
675}
676#[repr(C)]
677#[derive(Debug, Copy, Clone)]
678pub struct xt_entry_match__bindgen_ty_1__bindgen_ty_2 {
679pub match_size: __u16,
680pub match_: *mut xt_match,
681}
682#[repr(C)]
683pub struct xt_entry_target {
684pub u: xt_entry_target__bindgen_ty_1,
685pub data: __IncompleteArrayField<crate::ctypes::c_uchar>,
686}
687#[repr(C)]
688#[derive(Debug, Copy, Clone)]
689pub struct xt_entry_target__bindgen_ty_1__bindgen_ty_1 {
690pub target_size: __u16,
691pub name: [crate::ctypes::c_char; 29usize],
692pub revision: __u8,
693}
694#[repr(C)]
695#[derive(Debug, Copy, Clone)]
696pub struct xt_entry_target__bindgen_ty_1__bindgen_ty_2 {
697pub target_size: __u16,
698pub target: *mut xt_target,
699}
700#[repr(C)]
701pub struct xt_standard_target {
702pub target: xt_entry_target,
703pub verdict: crate::ctypes::c_int,
704}
705#[repr(C)]
706pub struct xt_error_target {
707pub target: xt_entry_target,
708pub errorname: [crate::ctypes::c_char; 30usize],
709}
710#[repr(C)]
711#[derive(Debug, Copy, Clone)]
712pub struct xt_get_revision {
713pub name: [crate::ctypes::c_char; 29usize],
714pub revision: __u8,
715}
716#[repr(C)]
717#[derive(Debug, Copy, Clone)]
718pub struct _xt_align {
719pub u8_: __u8,
720pub u16_: __u16,
721pub u32_: __u32,
722pub u64_: __u64,
723}
724#[repr(C)]
725#[derive(Debug, Copy, Clone)]
726pub struct xt_counters {
727pub pcnt: __u64,
728pub bcnt: __u64,
729}
730#[repr(C)]
731#[derive(Debug)]
732pub struct xt_counters_info {
733pub name: [crate::ctypes::c_char; 32usize],
734pub num_counters: crate::ctypes::c_uint,
735pub counters: __IncompleteArrayField<xt_counters>,
736}
737#[repr(C)]
738#[derive(Debug, Copy, Clone)]
739pub struct xt_tcp {
740pub spts: [__u16; 2usize],
741pub dpts: [__u16; 2usize],
742pub option: __u8,
743pub flg_mask: __u8,
744pub flg_cmp: __u8,
745pub invflags: __u8,
746}
747#[repr(C)]
748#[derive(Debug, Copy, Clone)]
749pub struct xt_udp {
750pub spts: [__u16; 2usize],
751pub dpts: [__u16; 2usize],
752pub invflags: __u8,
753}
754#[repr(C)]
755#[derive(Copy, Clone)]
756pub struct ip6t_ip6 {
757pub src: in6_addr,
758pub dst: in6_addr,
759pub smsk: in6_addr,
760pub dmsk: in6_addr,
761pub iniface: [crate::ctypes::c_char; 16usize],
762pub outiface: [crate::ctypes::c_char; 16usize],
763pub iniface_mask: [crate::ctypes::c_uchar; 16usize],
764pub outiface_mask: [crate::ctypes::c_uchar; 16usize],
765pub proto: __u16,
766pub tos: __u8,
767pub flags: __u8,
768pub invflags: __u8,
769}
770#[repr(C)]
771pub struct ip6t_entry {
772pub ipv6: ip6t_ip6,
773pub nfcache: crate::ctypes::c_uint,
774pub target_offset: __u16,
775pub next_offset: __u16,
776pub comefrom: crate::ctypes::c_uint,
777pub counters: xt_counters,
778pub elems: __IncompleteArrayField<crate::ctypes::c_uchar>,
779}
780#[repr(C)]
781pub struct ip6t_standard {
782pub entry: ip6t_entry,
783pub target: xt_standard_target,
784}
785#[repr(C)]
786pub struct ip6t_error {
787pub entry: ip6t_entry,
788pub target: xt_error_target,
789}
790#[repr(C)]
791#[derive(Debug, Copy, Clone)]
792pub struct ip6t_icmp {
793pub type_: __u8,
794pub code: [__u8; 2usize],
795pub invflags: __u8,
796}
797#[repr(C)]
798#[derive(Debug, Copy, Clone)]
799pub struct ip6t_getinfo {
800pub name: [crate::ctypes::c_char; 32usize],
801pub valid_hooks: crate::ctypes::c_uint,
802pub hook_entry: [crate::ctypes::c_uint; 5usize],
803pub underflow: [crate::ctypes::c_uint; 5usize],
804pub num_entries: crate::ctypes::c_uint,
805pub size: crate::ctypes::c_uint,
806}
807#[repr(C)]
808pub struct ip6t_replace {
809pub name: [crate::ctypes::c_char; 32usize],
810pub valid_hooks: crate::ctypes::c_uint,
811pub num_entries: crate::ctypes::c_uint,
812pub size: crate::ctypes::c_uint,
813pub hook_entry: [crate::ctypes::c_uint; 5usize],
814pub underflow: [crate::ctypes::c_uint; 5usize],
815pub num_counters: crate::ctypes::c_uint,
816pub counters: *mut xt_counters,
817pub entries: __IncompleteArrayField<ip6t_entry>,
818}
819#[repr(C)]
820pub struct ip6t_get_entries {
821pub name: [crate::ctypes::c_char; 32usize],
822pub size: crate::ctypes::c_uint,
823pub entrytable: __IncompleteArrayField<ip6t_entry>,
824}
825#[repr(C)]
826#[derive(Debug, Copy, Clone)]
827pub struct so_timestamping {
828pub flags: crate::ctypes::c_int,
829pub bind_phc: crate::ctypes::c_int,
830}
831#[repr(C)]
832#[derive(Debug, Copy, Clone)]
833pub struct hwtstamp_config {
834pub flags: crate::ctypes::c_int,
835pub tx_type: crate::ctypes::c_int,
836pub rx_filter: crate::ctypes::c_int,
837}
838#[repr(C)]
839#[derive(Debug, Copy, Clone)]
840pub struct scm_ts_pktinfo {
841pub if_index: __u32,
842pub pkt_length: __u32,
843pub reserved: [__u32; 2usize],
844}
845#[repr(C)]
846#[derive(Debug, Copy, Clone)]
847pub struct sock_txtime {
848pub clockid: __kernel_clockid_t,
849pub flags: __u32,
850}
851#[repr(C)]
852#[derive(Debug, Copy, Clone)]
853pub struct linger {
854pub l_onoff: crate::ctypes::c_int,
855pub l_linger: crate::ctypes::c_int,
856}
857#[repr(C)]
858#[derive(Debug, Copy, Clone)]
859pub struct msghdr {
860pub msg_name: *mut crate::ctypes::c_void,
861pub msg_namelen: crate::ctypes::c_int,
862pub msg_iov: *mut iovec,
863pub msg_iovlen: usize,
864pub msg_control: *mut crate::ctypes::c_void,
865pub msg_controllen: usize,
866pub msg_flags: crate::ctypes::c_uint,
867}
868#[repr(C)]
869#[derive(Debug, Copy, Clone)]
870pub struct cmsghdr {
871pub cmsg_len: usize,
872pub cmsg_level: crate::ctypes::c_int,
873pub cmsg_type: crate::ctypes::c_int,
874}
875#[repr(C)]
876#[derive(Debug, Copy, Clone)]
877pub struct ucred {
878pub pid: __u32,
879pub uid: __u32,
880pub gid: __u32,
881}
882#[repr(C)]
883#[derive(Debug, Copy, Clone)]
884pub struct mmsghdr {
885pub msg_hdr: msghdr,
886pub msg_len: crate::ctypes::c_uint,
887}
888#[repr(C)]
889#[derive(Debug, Copy, Clone)]
890pub struct xt_match {
891pub _address: u8,
892}
893#[repr(C)]
894#[derive(Debug, Copy, Clone)]
895pub struct xt_target {
896pub _address: u8,
897}
898#[repr(C)]
899#[derive(Debug, Copy, Clone)]
900pub struct iovec {
901pub _address: u8,
902}
903pub const __BITS_PER_LONG_LONG: u32 = 64;
904pub const _K_SS_MAXSIZE: u32 = 128;
905pub const SOCK_SNDBUF_LOCK: u32 = 1;
906pub const SOCK_RCVBUF_LOCK: u32 = 2;
907pub const SOCK_BUF_LOCK_MASK: u32 = 3;
908pub const SOCK_TXREHASH_DEFAULT: u32 = 255;
909pub const SOCK_TXREHASH_DISABLED: u32 = 0;
910pub const SOCK_TXREHASH_ENABLED: u32 = 1;
911pub const IP_TOS: u32 = 1;
912pub const IP_TTL: u32 = 2;
913pub const IP_HDRINCL: u32 = 3;
914pub const IP_OPTIONS: u32 = 4;
915pub const IP_ROUTER_ALERT: u32 = 5;
916pub const IP_RECVOPTS: u32 = 6;
917pub const IP_RETOPTS: u32 = 7;
918pub const IP_PKTINFO: u32 = 8;
919pub const IP_PKTOPTIONS: u32 = 9;
920pub const IP_MTU_DISCOVER: u32 = 10;
921pub const IP_RECVERR: u32 = 11;
922pub const IP_RECVTTL: u32 = 12;
923pub const IP_RECVTOS: u32 = 13;
924pub const IP_MTU: u32 = 14;
925pub const IP_FREEBIND: u32 = 15;
926pub const IP_IPSEC_POLICY: u32 = 16;
927pub const IP_XFRM_POLICY: u32 = 17;
928pub const IP_PASSSEC: u32 = 18;
929pub const IP_TRANSPARENT: u32 = 19;
930pub const IP_RECVRETOPTS: u32 = 7;
931pub const IP_ORIGDSTADDR: u32 = 20;
932pub const IP_RECVORIGDSTADDR: u32 = 20;
933pub const IP_MINTTL: u32 = 21;
934pub const IP_NODEFRAG: u32 = 22;
935pub const IP_CHECKSUM: u32 = 23;
936pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24;
937pub const IP_RECVFRAGSIZE: u32 = 25;
938pub const IP_RECVERR_RFC4884: u32 = 26;
939pub const IP_PMTUDISC_DONT: u32 = 0;
940pub const IP_PMTUDISC_WANT: u32 = 1;
941pub const IP_PMTUDISC_DO: u32 = 2;
942pub const IP_PMTUDISC_PROBE: u32 = 3;
943pub const IP_PMTUDISC_INTERFACE: u32 = 4;
944pub const IP_PMTUDISC_OMIT: u32 = 5;
945pub const IP_MULTICAST_IF: u32 = 32;
946pub const IP_MULTICAST_TTL: u32 = 33;
947pub const IP_MULTICAST_LOOP: u32 = 34;
948pub const IP_ADD_MEMBERSHIP: u32 = 35;
949pub const IP_DROP_MEMBERSHIP: u32 = 36;
950pub const IP_UNBLOCK_SOURCE: u32 = 37;
951pub const IP_BLOCK_SOURCE: u32 = 38;
952pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39;
953pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40;
954pub const IP_MSFILTER: u32 = 41;
955pub const MCAST_JOIN_GROUP: u32 = 42;
956pub const MCAST_BLOCK_SOURCE: u32 = 43;
957pub const MCAST_UNBLOCK_SOURCE: u32 = 44;
958pub const MCAST_LEAVE_GROUP: u32 = 45;
959pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46;
960pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47;
961pub const MCAST_MSFILTER: u32 = 48;
962pub const IP_MULTICAST_ALL: u32 = 49;
963pub const IP_UNICAST_IF: u32 = 50;
964pub const IP_LOCAL_PORT_RANGE: u32 = 51;
965pub const IP_PROTOCOL: u32 = 52;
966pub const MCAST_EXCLUDE: u32 = 0;
967pub const MCAST_INCLUDE: u32 = 1;
968pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1;
969pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1;
970pub const __SOCK_SIZE__: u32 = 16;
971pub const IN_CLASSA_NET: u32 = 4278190080;
972pub const IN_CLASSA_NSHIFT: u32 = 24;
973pub const IN_CLASSA_HOST: u32 = 16777215;
974pub const IN_CLASSA_MAX: u32 = 128;
975pub const IN_CLASSB_NET: u32 = 4294901760;
976pub const IN_CLASSB_NSHIFT: u32 = 16;
977pub const IN_CLASSB_HOST: u32 = 65535;
978pub const IN_CLASSB_MAX: u32 = 65536;
979pub const IN_CLASSC_NET: u32 = 4294967040;
980pub const IN_CLASSC_NSHIFT: u32 = 8;
981pub const IN_CLASSC_HOST: u32 = 255;
982pub const IN_MULTICAST_NET: u32 = 3758096384;
983pub const IN_CLASSE_NET: u32 = 4294967295;
984pub const IN_CLASSE_NSHIFT: u32 = 0;
985pub const IN_LOOPBACKNET: u32 = 127;
986pub const INADDR_LOOPBACK: u32 = 2130706433;
987pub const INADDR_UNSPEC_GROUP: u32 = 3758096384;
988pub const INADDR_ALLHOSTS_GROUP: u32 = 3758096385;
989pub const INADDR_ALLRTRS_GROUP: u32 = 3758096386;
990pub const INADDR_ALLSNOOPERS_GROUP: u32 = 3758096490;
991pub const INADDR_MAX_LOCAL_GROUP: u32 = 3758096639;
992pub const __LITTLE_ENDIAN: u32 = 1234;
993pub const IPTOS_TOS_MASK: u32 = 30;
994pub const IPTOS_LOWDELAY: u32 = 16;
995pub const IPTOS_THROUGHPUT: u32 = 8;
996pub const IPTOS_RELIABILITY: u32 = 4;
997pub const IPTOS_MINCOST: u32 = 2;
998pub const IPTOS_PREC_MASK: u32 = 224;
999pub const IPTOS_PREC_NETCONTROL: u32 = 224;
1000pub const IPTOS_PREC_INTERNETCONTROL: u32 = 192;
1001pub const IPTOS_PREC_CRITIC_ECP: u32 = 160;
1002pub const IPTOS_PREC_FLASHOVERRIDE: u32 = 128;
1003pub const IPTOS_PREC_FLASH: u32 = 96;
1004pub const IPTOS_PREC_IMMEDIATE: u32 = 64;
1005pub const IPTOS_PREC_PRIORITY: u32 = 32;
1006pub const IPTOS_PREC_ROUTINE: u32 = 0;
1007pub const IPOPT_COPY: u32 = 128;
1008pub const IPOPT_CLASS_MASK: u32 = 96;
1009pub const IPOPT_NUMBER_MASK: u32 = 31;
1010pub const IPOPT_CONTROL: u32 = 0;
1011pub const IPOPT_RESERVED1: u32 = 32;
1012pub const IPOPT_MEASUREMENT: u32 = 64;
1013pub const IPOPT_RESERVED2: u32 = 96;
1014pub const IPOPT_END: u32 = 0;
1015pub const IPOPT_NOOP: u32 = 1;
1016pub const IPOPT_SEC: u32 = 130;
1017pub const IPOPT_LSRR: u32 = 131;
1018pub const IPOPT_TIMESTAMP: u32 = 68;
1019pub const IPOPT_CIPSO: u32 = 134;
1020pub const IPOPT_RR: u32 = 7;
1021pub const IPOPT_SID: u32 = 136;
1022pub const IPOPT_SSRR: u32 = 137;
1023pub const IPOPT_RA: u32 = 148;
1024pub const IPVERSION: u32 = 4;
1025pub const MAXTTL: u32 = 255;
1026pub const IPDEFTTL: u32 = 64;
1027pub const IPOPT_OPTVAL: u32 = 0;
1028pub const IPOPT_OLEN: u32 = 1;
1029pub const IPOPT_OFFSET: u32 = 2;
1030pub const IPOPT_MINOFF: u32 = 4;
1031pub const MAX_IPOPTLEN: u32 = 40;
1032pub const IPOPT_NOP: u32 = 1;
1033pub const IPOPT_EOL: u32 = 0;
1034pub const IPOPT_TS: u32 = 68;
1035pub const IPOPT_TS_TSONLY: u32 = 0;
1036pub const IPOPT_TS_TSANDADDR: u32 = 1;
1037pub const IPOPT_TS_PRESPEC: u32 = 3;
1038pub const IPV4_BEET_PHMAXLEN: u32 = 8;
1039pub const IPV6_FL_A_GET: u32 = 0;
1040pub const IPV6_FL_A_PUT: u32 = 1;
1041pub const IPV6_FL_A_RENEW: u32 = 2;
1042pub const IPV6_FL_F_CREATE: u32 = 1;
1043pub const IPV6_FL_F_EXCL: u32 = 2;
1044pub const IPV6_FL_F_REFLECT: u32 = 4;
1045pub const IPV6_FL_F_REMOTE: u32 = 8;
1046pub const IPV6_FL_S_NONE: u32 = 0;
1047pub const IPV6_FL_S_EXCL: u32 = 1;
1048pub const IPV6_FL_S_PROCESS: u32 = 2;
1049pub const IPV6_FL_S_USER: u32 = 3;
1050pub const IPV6_FL_S_ANY: u32 = 255;
1051pub const IPV6_FLOWINFO_FLOWLABEL: u32 = 1048575;
1052pub const IPV6_FLOWINFO_PRIORITY: u32 = 267386880;
1053pub const IPV6_PRIORITY_UNCHARACTERIZED: u32 = 0;
1054pub const IPV6_PRIORITY_FILLER: u32 = 256;
1055pub const IPV6_PRIORITY_UNATTENDED: u32 = 512;
1056pub const IPV6_PRIORITY_RESERVED1: u32 = 768;
1057pub const IPV6_PRIORITY_BULK: u32 = 1024;
1058pub const IPV6_PRIORITY_RESERVED2: u32 = 1280;
1059pub const IPV6_PRIORITY_INTERACTIVE: u32 = 1536;
1060pub const IPV6_PRIORITY_CONTROL: u32 = 1792;
1061pub const IPV6_PRIORITY_8: u32 = 2048;
1062pub const IPV6_PRIORITY_9: u32 = 2304;
1063pub const IPV6_PRIORITY_10: u32 = 2560;
1064pub const IPV6_PRIORITY_11: u32 = 2816;
1065pub const IPV6_PRIORITY_12: u32 = 3072;
1066pub const IPV6_PRIORITY_13: u32 = 3328;
1067pub const IPV6_PRIORITY_14: u32 = 3584;
1068pub const IPV6_PRIORITY_15: u32 = 3840;
1069pub const IPPROTO_HOPOPTS: u32 = 0;
1070pub const IPPROTO_ROUTING: u32 = 43;
1071pub const IPPROTO_FRAGMENT: u32 = 44;
1072pub const IPPROTO_ICMPV6: u32 = 58;
1073pub const IPPROTO_NONE: u32 = 59;
1074pub const IPPROTO_DSTOPTS: u32 = 60;
1075pub const IPPROTO_MH: u32 = 135;
1076pub const IPV6_TLV_PAD1: u32 = 0;
1077pub const IPV6_TLV_PADN: u32 = 1;
1078pub const IPV6_TLV_ROUTERALERT: u32 = 5;
1079pub const IPV6_TLV_CALIPSO: u32 = 7;
1080pub const IPV6_TLV_IOAM: u32 = 49;
1081pub const IPV6_TLV_JUMBO: u32 = 194;
1082pub const IPV6_TLV_HAO: u32 = 201;
1083pub const IPV6_ADDRFORM: u32 = 1;
1084pub const IPV6_2292PKTINFO: u32 = 2;
1085pub const IPV6_2292HOPOPTS: u32 = 3;
1086pub const IPV6_2292DSTOPTS: u32 = 4;
1087pub const IPV6_2292RTHDR: u32 = 5;
1088pub const IPV6_2292PKTOPTIONS: u32 = 6;
1089pub const IPV6_CHECKSUM: u32 = 7;
1090pub const IPV6_2292HOPLIMIT: u32 = 8;
1091pub const IPV6_NEXTHOP: u32 = 9;
1092pub const IPV6_AUTHHDR: u32 = 10;
1093pub const IPV6_FLOWINFO: u32 = 11;
1094pub const IPV6_UNICAST_HOPS: u32 = 16;
1095pub const IPV6_MULTICAST_IF: u32 = 17;
1096pub const IPV6_MULTICAST_HOPS: u32 = 18;
1097pub const IPV6_MULTICAST_LOOP: u32 = 19;
1098pub const IPV6_ADD_MEMBERSHIP: u32 = 20;
1099pub const IPV6_DROP_MEMBERSHIP: u32 = 21;
1100pub const IPV6_ROUTER_ALERT: u32 = 22;
1101pub const IPV6_MTU_DISCOVER: u32 = 23;
1102pub const IPV6_MTU: u32 = 24;
1103pub const IPV6_RECVERR: u32 = 25;
1104pub const IPV6_V6ONLY: u32 = 26;
1105pub const IPV6_JOIN_ANYCAST: u32 = 27;
1106pub const IPV6_LEAVE_ANYCAST: u32 = 28;
1107pub const IPV6_MULTICAST_ALL: u32 = 29;
1108pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30;
1109pub const IPV6_RECVERR_RFC4884: u32 = 31;
1110pub const IPV6_PMTUDISC_DONT: u32 = 0;
1111pub const IPV6_PMTUDISC_WANT: u32 = 1;
1112pub const IPV6_PMTUDISC_DO: u32 = 2;
1113pub const IPV6_PMTUDISC_PROBE: u32 = 3;
1114pub const IPV6_PMTUDISC_INTERFACE: u32 = 4;
1115pub const IPV6_PMTUDISC_OMIT: u32 = 5;
1116pub const IPV6_FLOWLABEL_MGR: u32 = 32;
1117pub const IPV6_FLOWINFO_SEND: u32 = 33;
1118pub const IPV6_IPSEC_POLICY: u32 = 34;
1119pub const IPV6_XFRM_POLICY: u32 = 35;
1120pub const IPV6_HDRINCL: u32 = 36;
1121pub const IPV6_RECVPKTINFO: u32 = 49;
1122pub const IPV6_PKTINFO: u32 = 50;
1123pub const IPV6_RECVHOPLIMIT: u32 = 51;
1124pub const IPV6_HOPLIMIT: u32 = 52;
1125pub const IPV6_RECVHOPOPTS: u32 = 53;
1126pub const IPV6_HOPOPTS: u32 = 54;
1127pub const IPV6_RTHDRDSTOPTS: u32 = 55;
1128pub const IPV6_RECVRTHDR: u32 = 56;
1129pub const IPV6_RTHDR: u32 = 57;
1130pub const IPV6_RECVDSTOPTS: u32 = 58;
1131pub const IPV6_DSTOPTS: u32 = 59;
1132pub const IPV6_RECVPATHMTU: u32 = 60;
1133pub const IPV6_PATHMTU: u32 = 61;
1134pub const IPV6_DONTFRAG: u32 = 62;
1135pub const IPV6_RECVTCLASS: u32 = 66;
1136pub const IPV6_TCLASS: u32 = 67;
1137pub const IPV6_AUTOFLOWLABEL: u32 = 70;
1138pub const IPV6_ADDR_PREFERENCES: u32 = 72;
1139pub const IPV6_PREFER_SRC_TMP: u32 = 1;
1140pub const IPV6_PREFER_SRC_PUBLIC: u32 = 2;
1141pub const IPV6_PREFER_SRC_PUBTMP_DEFAULT: u32 = 256;
1142pub const IPV6_PREFER_SRC_COA: u32 = 4;
1143pub const IPV6_PREFER_SRC_HOME: u32 = 1024;
1144pub const IPV6_PREFER_SRC_CGA: u32 = 8;
1145pub const IPV6_PREFER_SRC_NONCGA: u32 = 2048;
1146pub const IPV6_MINHOPCOUNT: u32 = 73;
1147pub const IPV6_ORIGDSTADDR: u32 = 74;
1148pub const IPV6_RECVORIGDSTADDR: u32 = 74;
1149pub const IPV6_TRANSPARENT: u32 = 75;
1150pub const IPV6_UNICAST_IF: u32 = 76;
1151pub const IPV6_RECVFRAGSIZE: u32 = 77;
1152pub const IPV6_FREEBIND: u32 = 78;
1153pub const IPV6_MIN_MTU: u32 = 1280;
1154pub const IPV6_SRCRT_STRICT: u32 = 1;
1155pub const IPV6_SRCRT_TYPE_0: u32 = 0;
1156pub const IPV6_SRCRT_TYPE_2: u32 = 2;
1157pub const IPV6_SRCRT_TYPE_3: u32 = 3;
1158pub const IPV6_SRCRT_TYPE_4: u32 = 4;
1159pub const IPV6_OPT_ROUTERALERT_MLD: u32 = 0;
1160pub const SIOCGSTAMP_OLD: u32 = 35078;
1161pub const SIOCGSTAMPNS_OLD: u32 = 35079;
1162pub const SOL_SOCKET: u32 = 1;
1163pub const SO_DEBUG: u32 = 1;
1164pub const SO_REUSEADDR: u32 = 2;
1165pub const SO_TYPE: u32 = 3;
1166pub const SO_ERROR: u32 = 4;
1167pub const SO_DONTROUTE: u32 = 5;
1168pub const SO_BROADCAST: u32 = 6;
1169pub const SO_SNDBUF: u32 = 7;
1170pub const SO_RCVBUF: u32 = 8;
1171pub const SO_SNDBUFFORCE: u32 = 32;
1172pub const SO_RCVBUFFORCE: u32 = 33;
1173pub const SO_KEEPALIVE: u32 = 9;
1174pub const SO_OOBINLINE: u32 = 10;
1175pub const SO_NO_CHECK: u32 = 11;
1176pub const SO_PRIORITY: u32 = 12;
1177pub const SO_LINGER: u32 = 13;
1178pub const SO_BSDCOMPAT: u32 = 14;
1179pub const SO_REUSEPORT: u32 = 15;
1180pub const SO_PASSCRED: u32 = 16;
1181pub const SO_PEERCRED: u32 = 17;
1182pub const SO_RCVLOWAT: u32 = 18;
1183pub const SO_SNDLOWAT: u32 = 19;
1184pub const SO_RCVTIMEO_OLD: u32 = 20;
1185pub const SO_SNDTIMEO_OLD: u32 = 21;
1186pub const SO_SECURITY_AUTHENTICATION: u32 = 22;
1187pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23;
1188pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24;
1189pub const SO_BINDTODEVICE: u32 = 25;
1190pub const SO_ATTACH_FILTER: u32 = 26;
1191pub const SO_DETACH_FILTER: u32 = 27;
1192pub const SO_GET_FILTER: u32 = 26;
1193pub const SO_PEERNAME: u32 = 28;
1194pub const SO_ACCEPTCONN: u32 = 30;
1195pub const SO_PEERSEC: u32 = 31;
1196pub const SO_PASSSEC: u32 = 34;
1197pub const SO_MARK: u32 = 36;
1198pub const SO_PROTOCOL: u32 = 38;
1199pub const SO_DOMAIN: u32 = 39;
1200pub const SO_RXQ_OVFL: u32 = 40;
1201pub const SO_WIFI_STATUS: u32 = 41;
1202pub const SCM_WIFI_STATUS: u32 = 41;
1203pub const SO_PEEK_OFF: u32 = 42;
1204pub const SO_NOFCS: u32 = 43;
1205pub const SO_LOCK_FILTER: u32 = 44;
1206pub const SO_SELECT_ERR_QUEUE: u32 = 45;
1207pub const SO_BUSY_POLL: u32 = 46;
1208pub const SO_MAX_PACING_RATE: u32 = 47;
1209pub const SO_BPF_EXTENSIONS: u32 = 48;
1210pub const SO_INCOMING_CPU: u32 = 49;
1211pub const SO_ATTACH_BPF: u32 = 50;
1212pub const SO_DETACH_BPF: u32 = 27;
1213pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51;
1214pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52;
1215pub const SO_CNX_ADVICE: u32 = 53;
1216pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54;
1217pub const SO_MEMINFO: u32 = 55;
1218pub const SO_INCOMING_NAPI_ID: u32 = 56;
1219pub const SO_COOKIE: u32 = 57;
1220pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58;
1221pub const SO_PEERGROUPS: u32 = 59;
1222pub const SO_ZEROCOPY: u32 = 60;
1223pub const SO_TXTIME: u32 = 61;
1224pub const SCM_TXTIME: u32 = 61;
1225pub const SO_BINDTOIFINDEX: u32 = 62;
1226pub const SO_TIMESTAMP_OLD: u32 = 29;
1227pub const SO_TIMESTAMPNS_OLD: u32 = 35;
1228pub const SO_TIMESTAMPING_OLD: u32 = 37;
1229pub const SO_TIMESTAMP_NEW: u32 = 63;
1230pub const SO_TIMESTAMPNS_NEW: u32 = 64;
1231pub const SO_TIMESTAMPING_NEW: u32 = 65;
1232pub const SO_RCVTIMEO_NEW: u32 = 66;
1233pub const SO_SNDTIMEO_NEW: u32 = 67;
1234pub const SO_DETACH_REUSEPORT_BPF: u32 = 68;
1235pub const SO_PREFER_BUSY_POLL: u32 = 69;
1236pub const SO_BUSY_POLL_BUDGET: u32 = 70;
1237pub const SO_NETNS_COOKIE: u32 = 71;
1238pub const SO_BUF_LOCK: u32 = 72;
1239pub const SO_RESERVE_MEM: u32 = 73;
1240pub const SO_TXREHASH: u32 = 74;
1241pub const SO_RCVMARK: u32 = 75;
1242pub const SO_PASSPIDFD: u32 = 76;
1243pub const SO_PEERPIDFD: u32 = 77;
1244pub const SO_DEVMEM_LINEAR: u32 = 78;
1245pub const SCM_DEVMEM_LINEAR: u32 = 78;
1246pub const SO_DEVMEM_DMABUF: u32 = 79;
1247pub const SCM_DEVMEM_DMABUF: u32 = 79;
1248pub const SO_DEVMEM_DONTNEED: u32 = 80;
1249pub const SCM_TS_OPT_ID: u32 = 81;
1250pub const SO_RCVPRIORITY: u32 = 82;
1251pub const SYS_SOCKET: u32 = 1;
1252pub const SYS_BIND: u32 = 2;
1253pub const SYS_CONNECT: u32 = 3;
1254pub const SYS_LISTEN: u32 = 4;
1255pub const SYS_ACCEPT: u32 = 5;
1256pub const SYS_GETSOCKNAME: u32 = 6;
1257pub const SYS_GETPEERNAME: u32 = 7;
1258pub const SYS_SOCKETPAIR: u32 = 8;
1259pub const SYS_SEND: u32 = 9;
1260pub const SYS_RECV: u32 = 10;
1261pub const SYS_SENDTO: u32 = 11;
1262pub const SYS_RECVFROM: u32 = 12;
1263pub const SYS_SHUTDOWN: u32 = 13;
1264pub const SYS_SETSOCKOPT: u32 = 14;
1265pub const SYS_GETSOCKOPT: u32 = 15;
1266pub const SYS_SENDMSG: u32 = 16;
1267pub const SYS_RECVMSG: u32 = 17;
1268pub const SYS_ACCEPT4: u32 = 18;
1269pub const SYS_RECVMMSG: u32 = 19;
1270pub const SYS_SENDMMSG: u32 = 20;
1271pub const __SO_ACCEPTCON: u32 = 65536;
1272pub const TCP_MSS_DEFAULT: u32 = 536;
1273pub const TCP_MSS_DESIRED: u32 = 1220;
1274pub const TCP_NODELAY: u32 = 1;
1275pub const TCP_MAXSEG: u32 = 2;
1276pub const TCP_CORK: u32 = 3;
1277pub const TCP_KEEPIDLE: u32 = 4;
1278pub const TCP_KEEPINTVL: u32 = 5;
1279pub const TCP_KEEPCNT: u32 = 6;
1280pub const TCP_SYNCNT: u32 = 7;
1281pub const TCP_LINGER2: u32 = 8;
1282pub const TCP_DEFER_ACCEPT: u32 = 9;
1283pub const TCP_WINDOW_CLAMP: u32 = 10;
1284pub const TCP_INFO: u32 = 11;
1285pub const TCP_QUICKACK: u32 = 12;
1286pub const TCP_CONGESTION: u32 = 13;
1287pub const TCP_MD5SIG: u32 = 14;
1288pub const TCP_THIN_LINEAR_TIMEOUTS: u32 = 16;
1289pub const TCP_THIN_DUPACK: u32 = 17;
1290pub const TCP_USER_TIMEOUT: u32 = 18;
1291pub const TCP_REPAIR: u32 = 19;
1292pub const TCP_REPAIR_QUEUE: u32 = 20;
1293pub const TCP_QUEUE_SEQ: u32 = 21;
1294pub const TCP_REPAIR_OPTIONS: u32 = 22;
1295pub const TCP_FASTOPEN: u32 = 23;
1296pub const TCP_TIMESTAMP: u32 = 24;
1297pub const TCP_NOTSENT_LOWAT: u32 = 25;
1298pub const TCP_CC_INFO: u32 = 26;
1299pub const TCP_SAVE_SYN: u32 = 27;
1300pub const TCP_SAVED_SYN: u32 = 28;
1301pub const TCP_REPAIR_WINDOW: u32 = 29;
1302pub const TCP_FASTOPEN_CONNECT: u32 = 30;
1303pub const TCP_ULP: u32 = 31;
1304pub const TCP_MD5SIG_EXT: u32 = 32;
1305pub const TCP_FASTOPEN_KEY: u32 = 33;
1306pub const TCP_FASTOPEN_NO_COOKIE: u32 = 34;
1307pub const TCP_ZEROCOPY_RECEIVE: u32 = 35;
1308pub const TCP_INQ: u32 = 36;
1309pub const TCP_CM_INQ: u32 = 36;
1310pub const TCP_TX_DELAY: u32 = 37;
1311pub const TCP_AO_ADD_KEY: u32 = 38;
1312pub const TCP_AO_DEL_KEY: u32 = 39;
1313pub const TCP_AO_INFO: u32 = 40;
1314pub const TCP_AO_GET_KEYS: u32 = 41;
1315pub const TCP_AO_REPAIR: u32 = 42;
1316pub const TCP_IS_MPTCP: u32 = 43;
1317pub const TCP_RTO_MAX_MS: u32 = 44;
1318pub const TCP_RTO_MIN_US: u32 = 45;
1319pub const TCP_DELACK_MAX_US: u32 = 46;
1320pub const TCP_REPAIR_ON: u32 = 1;
1321pub const TCP_REPAIR_OFF: u32 = 0;
1322pub const TCP_REPAIR_OFF_NO_WP: i32 = -1;
1323pub const TCPI_OPT_TIMESTAMPS: u32 = 1;
1324pub const TCPI_OPT_SACK: u32 = 2;
1325pub const TCPI_OPT_WSCALE: u32 = 4;
1326pub const TCPI_OPT_ECN: u32 = 8;
1327pub const TCPI_OPT_ECN_SEEN: u32 = 16;
1328pub const TCPI_OPT_SYN_DATA: u32 = 32;
1329pub const TCPI_OPT_USEC_TS: u32 = 64;
1330pub const TCP_MD5SIG_MAXKEYLEN: u32 = 80;
1331pub const TCP_MD5SIG_FLAG_PREFIX: u32 = 1;
1332pub const TCP_MD5SIG_FLAG_IFINDEX: u32 = 2;
1333pub const TCP_AO_MAXKEYLEN: u32 = 80;
1334pub const TCP_AO_KEYF_IFINDEX: u32 = 1;
1335pub const TCP_AO_KEYF_EXCLUDE_OPT: u32 = 2;
1336pub const TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT: u32 = 1;
1337pub const UNIX_PATH_MAX: u32 = 108;
1338pub const IFNAMSIZ: u32 = 16;
1339pub const IFALIASZ: u32 = 256;
1340pub const ALTIFNAMSIZ: u32 = 128;
1341pub const GENERIC_HDLC_VERSION: u32 = 4;
1342pub const CLOCK_DEFAULT: u32 = 0;
1343pub const CLOCK_EXT: u32 = 1;
1344pub const CLOCK_INT: u32 = 2;
1345pub const CLOCK_TXINT: u32 = 3;
1346pub const CLOCK_TXFROMRX: u32 = 4;
1347pub const ENCODING_DEFAULT: u32 = 0;
1348pub const ENCODING_NRZ: u32 = 1;
1349pub const ENCODING_NRZI: u32 = 2;
1350pub const ENCODING_FM_MARK: u32 = 3;
1351pub const ENCODING_FM_SPACE: u32 = 4;
1352pub const ENCODING_MANCHESTER: u32 = 5;
1353pub const PARITY_DEFAULT: u32 = 0;
1354pub const PARITY_NONE: u32 = 1;
1355pub const PARITY_CRC16_PR0: u32 = 2;
1356pub const PARITY_CRC16_PR1: u32 = 3;
1357pub const PARITY_CRC16_PR0_CCITT: u32 = 4;
1358pub const PARITY_CRC16_PR1_CCITT: u32 = 5;
1359pub const PARITY_CRC32_PR0_CCITT: u32 = 6;
1360pub const PARITY_CRC32_PR1_CCITT: u32 = 7;
1361pub const LMI_DEFAULT: u32 = 0;
1362pub const LMI_NONE: u32 = 1;
1363pub const LMI_ANSI: u32 = 2;
1364pub const LMI_CCITT: u32 = 3;
1365pub const LMI_CISCO: u32 = 4;
1366pub const IF_GET_IFACE: u32 = 1;
1367pub const IF_GET_PROTO: u32 = 2;
1368pub const IF_IFACE_V35: u32 = 4096;
1369pub const IF_IFACE_V24: u32 = 4097;
1370pub const IF_IFACE_X21: u32 = 4098;
1371pub const IF_IFACE_T1: u32 = 4099;
1372pub const IF_IFACE_E1: u32 = 4100;
1373pub const IF_IFACE_SYNC_SERIAL: u32 = 4101;
1374pub const IF_IFACE_X21D: u32 = 4102;
1375pub const IF_PROTO_HDLC: u32 = 8192;
1376pub const IF_PROTO_PPP: u32 = 8193;
1377pub const IF_PROTO_CISCO: u32 = 8194;
1378pub const IF_PROTO_FR: u32 = 8195;
1379pub const IF_PROTO_FR_ADD_PVC: u32 = 8196;
1380pub const IF_PROTO_FR_DEL_PVC: u32 = 8197;
1381pub const IF_PROTO_X25: u32 = 8198;
1382pub const IF_PROTO_HDLC_ETH: u32 = 8199;
1383pub const IF_PROTO_FR_ADD_ETH_PVC: u32 = 8200;
1384pub const IF_PROTO_FR_DEL_ETH_PVC: u32 = 8201;
1385pub const IF_PROTO_FR_PVC: u32 = 8202;
1386pub const IF_PROTO_FR_ETH_PVC: u32 = 8203;
1387pub const IF_PROTO_RAW: u32 = 8204;
1388pub const IFHWADDRLEN: u32 = 6;
1389pub const NF_DROP: u32 = 0;
1390pub const NF_ACCEPT: u32 = 1;
1391pub const NF_STOLEN: u32 = 2;
1392pub const NF_QUEUE: u32 = 3;
1393pub const NF_REPEAT: u32 = 4;
1394pub const NF_STOP: u32 = 5;
1395pub const NF_MAX_VERDICT: u32 = 5;
1396pub const NF_VERDICT_MASK: u32 = 255;
1397pub const NF_VERDICT_FLAG_QUEUE_BYPASS: u32 = 32768;
1398pub const NF_VERDICT_QMASK: u32 = 4294901760;
1399pub const NF_VERDICT_QBITS: u32 = 16;
1400pub const NF_VERDICT_BITS: u32 = 16;
1401pub const NF_IP6_PRE_ROUTING: u32 = 0;
1402pub const NF_IP6_LOCAL_IN: u32 = 1;
1403pub const NF_IP6_FORWARD: u32 = 2;
1404pub const NF_IP6_LOCAL_OUT: u32 = 3;
1405pub const NF_IP6_POST_ROUTING: u32 = 4;
1406pub const NF_IP6_NUMHOOKS: u32 = 5;
1407pub const XT_FUNCTION_MAXNAMELEN: u32 = 30;
1408pub const XT_EXTENSION_MAXNAMELEN: u32 = 29;
1409pub const XT_TABLE_MAXNAMELEN: u32 = 32;
1410pub const XT_CONTINUE: u32 = 4294967295;
1411pub const XT_RETURN: i32 = -5;
1412pub const XT_STANDARD_TARGET: &[u8; 1] = b"\0";
1413pub const XT_ERROR_TARGET: &[u8; 6] = b"ERROR\0";
1414pub const XT_INV_PROTO: u32 = 64;
1415pub const IP6T_FUNCTION_MAXNAMELEN: u32 = 30;
1416pub const IP6T_TABLE_MAXNAMELEN: u32 = 32;
1417pub const IP6T_CONTINUE: u32 = 4294967295;
1418pub const IP6T_RETURN: i32 = -5;
1419pub const XT_TCP_INV_SRCPT: u32 = 1;
1420pub const XT_TCP_INV_DSTPT: u32 = 2;
1421pub const XT_TCP_INV_FLAGS: u32 = 4;
1422pub const XT_TCP_INV_OPTION: u32 = 8;
1423pub const XT_TCP_INV_MASK: u32 = 15;
1424pub const XT_UDP_INV_SRCPT: u32 = 1;
1425pub const XT_UDP_INV_DSTPT: u32 = 2;
1426pub const XT_UDP_INV_MASK: u32 = 3;
1427pub const IP6T_TCP_INV_SRCPT: u32 = 1;
1428pub const IP6T_TCP_INV_DSTPT: u32 = 2;
1429pub const IP6T_TCP_INV_FLAGS: u32 = 4;
1430pub const IP6T_TCP_INV_OPTION: u32 = 8;
1431pub const IP6T_TCP_INV_MASK: u32 = 15;
1432pub const IP6T_UDP_INV_SRCPT: u32 = 1;
1433pub const IP6T_UDP_INV_DSTPT: u32 = 2;
1434pub const IP6T_UDP_INV_MASK: u32 = 3;
1435pub const IP6T_STANDARD_TARGET: &[u8; 1] = b"\0";
1436pub const IP6T_ERROR_TARGET: &[u8; 6] = b"ERROR\0";
1437pub const IP6T_F_PROTO: u32 = 1;
1438pub const IP6T_F_TOS: u32 = 2;
1439pub const IP6T_F_GOTO: u32 = 4;
1440pub const IP6T_F_MASK: u32 = 7;
1441pub const IP6T_INV_VIA_IN: u32 = 1;
1442pub const IP6T_INV_VIA_OUT: u32 = 2;
1443pub const IP6T_INV_TOS: u32 = 4;
1444pub const IP6T_INV_SRCIP: u32 = 8;
1445pub const IP6T_INV_DSTIP: u32 = 16;
1446pub const IP6T_INV_FRAG: u32 = 32;
1447pub const IP6T_INV_PROTO: u32 = 64;
1448pub const IP6T_INV_MASK: u32 = 127;
1449pub const IP6T_BASE_CTL: u32 = 64;
1450pub const IP6T_SO_SET_REPLACE: u32 = 64;
1451pub const IP6T_SO_SET_ADD_COUNTERS: u32 = 65;
1452pub const IP6T_SO_SET_MAX: u32 = 65;
1453pub const IP6T_SO_GET_INFO: u32 = 64;
1454pub const IP6T_SO_GET_ENTRIES: u32 = 65;
1455pub const IP6T_SO_GET_REVISION_MATCH: u32 = 68;
1456pub const IP6T_SO_GET_REVISION_TARGET: u32 = 69;
1457pub const IP6T_SO_GET_MAX: u32 = 69;
1458pub const IP6T_SO_ORIGINAL_DST: u32 = 80;
1459pub const IP6T_ICMP_INV: u32 = 1;
1460pub const NF_IP_PRE_ROUTING: u32 = 0;
1461pub const NF_IP_LOCAL_IN: u32 = 1;
1462pub const NF_IP_FORWARD: u32 = 2;
1463pub const NF_IP_LOCAL_OUT: u32 = 3;
1464pub const NF_IP_POST_ROUTING: u32 = 4;
1465pub const NF_IP_NUMHOOKS: u32 = 5;
1466pub const SO_ORIGINAL_DST: u32 = 80;
1467pub const SHUT_RD: u32 = 0;
1468pub const SHUT_WR: u32 = 1;
1469pub const SHUT_RDWR: u32 = 2;
1470pub const SOCK_STREAM: u32 = 1;
1471pub const SOCK_DGRAM: u32 = 2;
1472pub const SOCK_RAW: u32 = 3;
1473pub const SOCK_RDM: u32 = 4;
1474pub const SOCK_SEQPACKET: u32 = 5;
1475pub const MSG_DONTWAIT: u32 = 64;
1476pub const AF_UNSPEC: u32 = 0;
1477pub const AF_UNIX: u32 = 1;
1478pub const AF_INET: u32 = 2;
1479pub const AF_AX25: u32 = 3;
1480pub const AF_IPX: u32 = 4;
1481pub const AF_APPLETALK: u32 = 5;
1482pub const AF_NETROM: u32 = 6;
1483pub const AF_BRIDGE: u32 = 7;
1484pub const AF_ATMPVC: u32 = 8;
1485pub const AF_X25: u32 = 9;
1486pub const AF_INET6: u32 = 10;
1487pub const AF_ROSE: u32 = 11;
1488pub const AF_DECnet: u32 = 12;
1489pub const AF_NETBEUI: u32 = 13;
1490pub const AF_SECURITY: u32 = 14;
1491pub const AF_KEY: u32 = 15;
1492pub const AF_NETLINK: u32 = 16;
1493pub const AF_PACKET: u32 = 17;
1494pub const AF_ASH: u32 = 18;
1495pub const AF_ECONET: u32 = 19;
1496pub const AF_ATMSVC: u32 = 20;
1497pub const AF_RDS: u32 = 21;
1498pub const AF_SNA: u32 = 22;
1499pub const AF_IRDA: u32 = 23;
1500pub const AF_PPPOX: u32 = 24;
1501pub const AF_WANPIPE: u32 = 25;
1502pub const AF_LLC: u32 = 26;
1503pub const AF_CAN: u32 = 29;
1504pub const AF_TIPC: u32 = 30;
1505pub const AF_BLUETOOTH: u32 = 31;
1506pub const AF_IUCV: u32 = 32;
1507pub const AF_RXRPC: u32 = 33;
1508pub const AF_ISDN: u32 = 34;
1509pub const AF_PHONET: u32 = 35;
1510pub const AF_IEEE802154: u32 = 36;
1511pub const AF_CAIF: u32 = 37;
1512pub const AF_ALG: u32 = 38;
1513pub const AF_NFC: u32 = 39;
1514pub const AF_VSOCK: u32 = 40;
1515pub const AF_KCM: u32 = 41;
1516pub const AF_QIPCRTR: u32 = 42;
1517pub const AF_SMC: u32 = 43;
1518pub const AF_XDP: u32 = 44;
1519pub const AF_MCTP: u32 = 45;
1520pub const AF_MAX: u32 = 46;
1521pub const MSG_OOB: u32 = 1;
1522pub const MSG_PEEK: u32 = 2;
1523pub const MSG_DONTROUTE: u32 = 4;
1524pub const MSG_CTRUNC: u32 = 8;
1525pub const MSG_PROBE: u32 = 16;
1526pub const MSG_TRUNC: u32 = 32;
1527pub const MSG_EOR: u32 = 128;
1528pub const MSG_WAITALL: u32 = 256;
1529pub const MSG_FIN: u32 = 512;
1530pub const MSG_SYN: u32 = 1024;
1531pub const MSG_CONFIRM: u32 = 2048;
1532pub const MSG_RST: u32 = 4096;
1533pub const MSG_ERRQUEUE: u32 = 8192;
1534pub const MSG_NOSIGNAL: u32 = 16384;
1535pub const MSG_MORE: u32 = 32768;
1536pub const MSG_CMSG_CLOEXEC: u32 = 1073741824;
1537pub const SCM_RIGHTS: u32 = 1;
1538pub const SCM_CREDENTIALS: u32 = 2;
1539pub const SCM_SECURITY: u32 = 3;
1540pub const SOL_IP: u32 = 0;
1541pub const SOL_TCP: u32 = 6;
1542pub const SOL_UDP: u32 = 17;
1543pub const SOL_IPV6: u32 = 41;
1544pub const SOL_ICMPV6: u32 = 58;
1545pub const SOL_SCTP: u32 = 132;
1546pub const SOL_UDPLITE: u32 = 136;
1547pub const SOL_RAW: u32 = 255;
1548pub const SOL_IPX: u32 = 256;
1549pub const SOL_AX25: u32 = 257;
1550pub const SOL_ATALK: u32 = 258;
1551pub const SOL_NETROM: u32 = 259;
1552pub const SOL_ROSE: u32 = 260;
1553pub const SOL_DECNET: u32 = 261;
1554pub const SOL_X25: u32 = 262;
1555pub const SOL_PACKET: u32 = 263;
1556pub const SOL_ATM: u32 = 264;
1557pub const SOL_AAL: u32 = 265;
1558pub const SOL_IRDA: u32 = 266;
1559pub const SOL_NETBEUI: u32 = 267;
1560pub const SOL_LLC: u32 = 268;
1561pub const SOL_DCCP: u32 = 269;
1562pub const SOL_NETLINK: u32 = 270;
1563pub const SOL_TIPC: u32 = 271;
1564pub const SOL_RXRPC: u32 = 272;
1565pub const SOL_PPPOL2TP: u32 = 273;
1566pub const SOL_BLUETOOTH: u32 = 274;
1567pub const SOL_PNPIPE: u32 = 275;
1568pub const SOL_RDS: u32 = 276;
1569pub const SOL_IUCV: u32 = 277;
1570pub const SOL_CAIF: u32 = 278;
1571pub const SOL_ALG: u32 = 279;
1572pub const SOL_NFC: u32 = 280;
1573pub const SOL_KCM: u32 = 281;
1574pub const SOL_TLS: u32 = 282;
1575pub const SOL_XDP: u32 = 283;
1576pub const SOL_MPTCP: u32 = 284;
1577pub const SOL_MCTP: u32 = 285;
1578pub const SOL_SMC: u32 = 286;
1579pub const IPPROTO_IP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IP;
1580pub const IPPROTO_ICMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ICMP;
1581pub const IPPROTO_IGMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IGMP;
1582pub const IPPROTO_IPIP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPIP;
1583pub const IPPROTO_TCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TCP;
1584pub const IPPROTO_EGP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_EGP;
1585pub const IPPROTO_PUP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PUP;
1586pub const IPPROTO_UDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDP;
1587pub const IPPROTO_IDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IDP;
1588pub const IPPROTO_TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TP;
1589pub const IPPROTO_DCCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_DCCP;
1590pub const IPPROTO_IPV6: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPV6;
1591pub const IPPROTO_RSVP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RSVP;
1592pub const IPPROTO_GRE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_GRE;
1593pub const IPPROTO_ESP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ESP;
1594pub const IPPROTO_AH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AH;
1595pub const IPPROTO_MTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MTP;
1596pub const IPPROTO_BEETPH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_BEETPH;
1597pub const IPPROTO_ENCAP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ENCAP;
1598pub const IPPROTO_PIM: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PIM;
1599pub const IPPROTO_COMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_COMP;
1600pub const IPPROTO_L2TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_L2TP;
1601pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP;
1602pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE;
1603pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS;
1604pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET;
1605pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG;
1606pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW;
1607pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC;
1608pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP;
1609pub const IPPROTO_MAX: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MAX;
1610pub const IPV4_DEVCONF_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORWARDING;
1611pub const IPV4_DEVCONF_MC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MC_FORWARDING;
1612pub const IPV4_DEVCONF_PROXY_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP;
1613pub const IPV4_DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_REDIRECTS;
1614pub const IPV4_DEVCONF_SECURE_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SECURE_REDIRECTS;
1615pub const IPV4_DEVCONF_SEND_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SEND_REDIRECTS;
1616pub const IPV4_DEVCONF_SHARED_MEDIA: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SHARED_MEDIA;
1617pub const IPV4_DEVCONF_RP_FILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_RP_FILTER;
1618pub const IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE;
1619pub const IPV4_DEVCONF_BOOTP_RELAY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BOOTP_RELAY;
1620pub const IPV4_DEVCONF_LOG_MARTIANS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_LOG_MARTIANS;
1621pub const IPV4_DEVCONF_TAG: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_TAG;
1622pub const IPV4_DEVCONF_ARPFILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARPFILTER;
1623pub const IPV4_DEVCONF_MEDIUM_ID: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MEDIUM_ID;
1624pub const IPV4_DEVCONF_NOXFRM: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOXFRM;
1625pub const IPV4_DEVCONF_NOPOLICY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOPOLICY;
1626pub const IPV4_DEVCONF_FORCE_IGMP_VERSION: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORCE_IGMP_VERSION;
1627pub const IPV4_DEVCONF_ARP_ANNOUNCE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ANNOUNCE;
1628pub const IPV4_DEVCONF_ARP_IGNORE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_IGNORE;
1629pub const IPV4_DEVCONF_PROMOTE_SECONDARIES: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROMOTE_SECONDARIES;
1630pub const IPV4_DEVCONF_ARP_ACCEPT: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ACCEPT;
1631pub const IPV4_DEVCONF_ARP_NOTIFY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_NOTIFY;
1632pub const IPV4_DEVCONF_ACCEPT_LOCAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_LOCAL;
1633pub const IPV4_DEVCONF_SRC_VMARK: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SRC_VMARK;
1634pub const IPV4_DEVCONF_PROXY_ARP_PVLAN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP_PVLAN;
1635pub const IPV4_DEVCONF_ROUTE_LOCALNET: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ROUTE_LOCALNET;
1636pub const IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL;
1637pub const IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL;
1638pub const IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
1639pub const IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
1640pub const IPV4_DEVCONF_DROP_GRATUITOUS_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_GRATUITOUS_ARP;
1641pub const IPV4_DEVCONF_BC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BC_FORWARDING;
1642pub const IPV4_DEVCONF_ARP_EVICT_NOCARRIER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_EVICT_NOCARRIER;
1643pub const __IPV4_DEVCONF_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IPV4_DEVCONF_MAX;
1644pub const DEVCONF_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORWARDING;
1645pub const DEVCONF_HOPLIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_HOPLIMIT;
1646pub const DEVCONF_MTU6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MTU6;
1647pub const DEVCONF_ACCEPT_RA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA;
1648pub const DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_REDIRECTS;
1649pub const DEVCONF_AUTOCONF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_AUTOCONF;
1650pub const DEVCONF_DAD_TRANSMITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DAD_TRANSMITS;
1651pub const DEVCONF_RTR_SOLICITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICITS;
1652pub const DEVCONF_RTR_SOLICIT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_INTERVAL;
1653pub const DEVCONF_RTR_SOLICIT_DELAY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_DELAY;
1654pub const DEVCONF_USE_TEMPADDR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_TEMPADDR;
1655pub const DEVCONF_TEMP_VALID_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_VALID_LFT;
1656pub const DEVCONF_TEMP_PREFERED_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_PREFERED_LFT;
1657pub const DEVCONF_REGEN_MAX_RETRY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_REGEN_MAX_RETRY;
1658pub const DEVCONF_MAX_DESYNC_FACTOR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_DESYNC_FACTOR;
1659pub const DEVCONF_MAX_ADDRESSES: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_ADDRESSES;
1660pub const DEVCONF_FORCE_MLD_VERSION: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_MLD_VERSION;
1661pub const DEVCONF_ACCEPT_RA_DEFRTR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_DEFRTR;
1662pub const DEVCONF_ACCEPT_RA_PINFO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_PINFO;
1663pub const DEVCONF_ACCEPT_RA_RTR_PREF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RTR_PREF;
1664pub const DEVCONF_RTR_PROBE_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_PROBE_INTERVAL;
1665pub const DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN;
1666pub const DEVCONF_PROXY_NDP: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_PROXY_NDP;
1667pub const DEVCONF_OPTIMISTIC_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_OPTIMISTIC_DAD;
1668pub const DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_SOURCE_ROUTE;
1669pub const DEVCONF_MC_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MC_FORWARDING;
1670pub const DEVCONF_DISABLE_IPV6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_IPV6;
1671pub const DEVCONF_ACCEPT_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_DAD;
1672pub const DEVCONF_FORCE_TLLAO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_TLLAO;
1673pub const DEVCONF_NDISC_NOTIFY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_NOTIFY;
1674pub const DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL;
1675pub const DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL;
1676pub const DEVCONF_SUPPRESS_FRAG_NDISC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SUPPRESS_FRAG_NDISC;
1677pub const DEVCONF_ACCEPT_RA_FROM_LOCAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_FROM_LOCAL;
1678pub const DEVCONF_USE_OPTIMISTIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OPTIMISTIC;
1679pub const DEVCONF_ACCEPT_RA_MTU: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MTU;
1680pub const DEVCONF_STABLE_SECRET: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_STABLE_SECRET;
1681pub const DEVCONF_USE_OIF_ADDRS_ONLY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OIF_ADDRS_ONLY;
1682pub const DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT;
1683pub const DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
1684pub const DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
1685pub const DEVCONF_DROP_UNSOLICITED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNSOLICITED_NA;
1686pub const DEVCONF_KEEP_ADDR_ON_DOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_KEEP_ADDR_ON_DOWN;
1687pub const DEVCONF_RTR_SOLICIT_MAX_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_MAX_INTERVAL;
1688pub const DEVCONF_SEG6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_ENABLED;
1689pub const DEVCONF_SEG6_REQUIRE_HMAC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_REQUIRE_HMAC;
1690pub const DEVCONF_ENHANCED_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ENHANCED_DAD;
1691pub const DEVCONF_ADDR_GEN_MODE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ADDR_GEN_MODE;
1692pub const DEVCONF_DISABLE_POLICY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_POLICY;
1693pub const DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN;
1694pub const DEVCONF_NDISC_TCLASS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_TCLASS;
1695pub const DEVCONF_RPL_SEG_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RPL_SEG_ENABLED;
1696pub const DEVCONF_RA_DEFRTR_METRIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RA_DEFRTR_METRIC;
1697pub const DEVCONF_IOAM6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ENABLED;
1698pub const DEVCONF_IOAM6_ID: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID;
1699pub const DEVCONF_IOAM6_ID_WIDE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID_WIDE;
1700pub const DEVCONF_NDISC_EVICT_NOCARRIER: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_EVICT_NOCARRIER;
1701pub const DEVCONF_ACCEPT_UNTRACKED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_UNTRACKED_NA;
1702pub const DEVCONF_ACCEPT_RA_MIN_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MIN_LFT;
1703pub const DEVCONF_MAX: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX;
1704pub const TCP_FLAG_AE: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_AE;
1705pub const TCP_FLAG_CWR: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_CWR;
1706pub const TCP_FLAG_ECE: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ECE;
1707pub const TCP_FLAG_URG: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_URG;
1708pub const TCP_FLAG_ACK: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ACK;
1709pub const TCP_FLAG_PSH: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_PSH;
1710pub const TCP_FLAG_RST: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_RST;
1711pub const TCP_FLAG_SYN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_SYN;
1712pub const TCP_FLAG_FIN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_FIN;
1713pub const TCP_RESERVED_BITS: _bindgen_ty_4 = _bindgen_ty_4::TCP_RESERVED_BITS;
1714pub const TCP_DATA_OFFSET: _bindgen_ty_4 = _bindgen_ty_4::TCP_DATA_OFFSET;
1715pub const TCP_NO_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_NO_QUEUE;
1716pub const TCP_RECV_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_RECV_QUEUE;
1717pub const TCP_SEND_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_SEND_QUEUE;
1718pub const TCP_QUEUES_NR: _bindgen_ty_5 = _bindgen_ty_5::TCP_QUEUES_NR;
1719pub const TCP_NLA_PAD: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PAD;
1720pub const TCP_NLA_BUSY: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BUSY;
1721pub const TCP_NLA_RWND_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RWND_LIMITED;
1722pub const TCP_NLA_SNDBUF_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDBUF_LIMITED;
1723pub const TCP_NLA_DATA_SEGS_OUT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DATA_SEGS_OUT;
1724pub const TCP_NLA_TOTAL_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TOTAL_RETRANS;
1725pub const TCP_NLA_PACING_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PACING_RATE;
1726pub const TCP_NLA_DELIVERY_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE;
1727pub const TCP_NLA_SND_CWND: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_CWND;
1728pub const TCP_NLA_REORDERING: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORDERING;
1729pub const TCP_NLA_MIN_RTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_MIN_RTT;
1730pub const TCP_NLA_RECUR_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RECUR_RETRANS;
1731pub const TCP_NLA_DELIVERY_RATE_APP_LMT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE_APP_LMT;
1732pub const TCP_NLA_SNDQ_SIZE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDQ_SIZE;
1733pub const TCP_NLA_CA_STATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_CA_STATE;
1734pub const TCP_NLA_SND_SSTHRESH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_SSTHRESH;
1735pub const TCP_NLA_DELIVERED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED;
1736pub const TCP_NLA_DELIVERED_CE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED_CE;
1737pub const TCP_NLA_BYTES_SENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_SENT;
1738pub const TCP_NLA_BYTES_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_RETRANS;
1739pub const TCP_NLA_DSACK_DUPS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DSACK_DUPS;
1740pub const TCP_NLA_REORD_SEEN: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORD_SEEN;
1741pub const TCP_NLA_SRTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SRTT;
1742pub const TCP_NLA_TIMEOUT_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TIMEOUT_REHASH;
1743pub const TCP_NLA_BYTES_NOTSENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_NOTSENT;
1744pub const TCP_NLA_EDT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_EDT;
1745pub const TCP_NLA_TTL: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TTL;
1746pub const TCP_NLA_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REHASH;
1747pub const IF_OPER_UNKNOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_UNKNOWN;
1748pub const IF_OPER_NOTPRESENT: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_NOTPRESENT;
1749pub const IF_OPER_DOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_DOWN;
1750pub const IF_OPER_LOWERLAYERDOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_LOWERLAYERDOWN;
1751pub const IF_OPER_TESTING: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_TESTING;
1752pub const IF_OPER_DORMANT: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_DORMANT;
1753pub const IF_OPER_UP: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_UP;
1754pub const IF_LINK_MODE_DEFAULT: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_DEFAULT;
1755pub const IF_LINK_MODE_DORMANT: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_DORMANT;
1756pub const IF_LINK_MODE_TESTING: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_TESTING;
1757pub const NFPROTO_UNSPEC: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_UNSPEC;
1758pub const NFPROTO_INET: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_INET;
1759pub const NFPROTO_IPV4: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_IPV4;
1760pub const NFPROTO_ARP: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_ARP;
1761pub const NFPROTO_NETDEV: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_NETDEV;
1762pub const NFPROTO_BRIDGE: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_BRIDGE;
1763pub const NFPROTO_IPV6: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_IPV6;
1764pub const NFPROTO_DECNET: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_DECNET;
1765pub const NFPROTO_NUMPROTO: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_NUMPROTO;
1766pub const SOF_TIMESTAMPING_TX_HARDWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_HARDWARE;
1767pub const SOF_TIMESTAMPING_TX_SOFTWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_SOFTWARE;
1768pub const SOF_TIMESTAMPING_RX_HARDWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_RX_HARDWARE;
1769pub const SOF_TIMESTAMPING_RX_SOFTWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_RX_SOFTWARE;
1770pub const SOF_TIMESTAMPING_SOFTWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_SOFTWARE;
1771pub const SOF_TIMESTAMPING_SYS_HARDWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_SYS_HARDWARE;
1772pub const SOF_TIMESTAMPING_RAW_HARDWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_RAW_HARDWARE;
1773pub const SOF_TIMESTAMPING_OPT_ID: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_ID;
1774pub const SOF_TIMESTAMPING_TX_SCHED: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_SCHED;
1775pub const SOF_TIMESTAMPING_TX_ACK: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_ACK;
1776pub const SOF_TIMESTAMPING_OPT_CMSG: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_CMSG;
1777pub const SOF_TIMESTAMPING_OPT_TSONLY: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_TSONLY;
1778pub const SOF_TIMESTAMPING_OPT_STATS: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_STATS;
1779pub const SOF_TIMESTAMPING_OPT_PKTINFO: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_PKTINFO;
1780pub const SOF_TIMESTAMPING_OPT_TX_SWHW: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_TX_SWHW;
1781pub const SOF_TIMESTAMPING_BIND_PHC: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_BIND_PHC;
1782pub const SOF_TIMESTAMPING_OPT_ID_TCP: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_ID_TCP;
1783pub const SOF_TIMESTAMPING_OPT_RX_FILTER: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_RX_FILTER;
1784pub const SOF_TIMESTAMPING_TX_COMPLETION: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_COMPLETION;
1785pub const SOF_TIMESTAMPING_LAST: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_COMPLETION;
1786pub const SOF_TIMESTAMPING_MASK: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_MASK;
1787#[repr(u32)]
1788#[non_exhaustive]
1789#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1790pub enum _bindgen_ty_1 {
1791IPPROTO_IP = 0,
1792IPPROTO_ICMP = 1,
1793IPPROTO_IGMP = 2,
1794IPPROTO_IPIP = 4,
1795IPPROTO_TCP = 6,
1796IPPROTO_EGP = 8,
1797IPPROTO_PUP = 12,
1798IPPROTO_UDP = 17,
1799IPPROTO_IDP = 22,
1800IPPROTO_TP = 29,
1801IPPROTO_DCCP = 33,
1802IPPROTO_IPV6 = 41,
1803IPPROTO_RSVP = 46,
1804IPPROTO_GRE = 47,
1805IPPROTO_ESP = 50,
1806IPPROTO_AH = 51,
1807IPPROTO_MTP = 92,
1808IPPROTO_BEETPH = 94,
1809IPPROTO_ENCAP = 98,
1810IPPROTO_PIM = 103,
1811IPPROTO_COMP = 108,
1812IPPROTO_L2TP = 115,
1813IPPROTO_SCTP = 132,
1814IPPROTO_UDPLITE = 136,
1815IPPROTO_MPLS = 137,
1816IPPROTO_ETHERNET = 143,
1817IPPROTO_AGGFRAG = 144,
1818IPPROTO_RAW = 255,
1819IPPROTO_SMC = 256,
1820IPPROTO_MPTCP = 262,
1821IPPROTO_MAX = 263,
1822}
1823#[repr(u32)]
1824#[non_exhaustive]
1825#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1826pub enum _bindgen_ty_2 {
1827IPV4_DEVCONF_FORWARDING = 1,
1828IPV4_DEVCONF_MC_FORWARDING = 2,
1829IPV4_DEVCONF_PROXY_ARP = 3,
1830IPV4_DEVCONF_ACCEPT_REDIRECTS = 4,
1831IPV4_DEVCONF_SECURE_REDIRECTS = 5,
1832IPV4_DEVCONF_SEND_REDIRECTS = 6,
1833IPV4_DEVCONF_SHARED_MEDIA = 7,
1834IPV4_DEVCONF_RP_FILTER = 8,
1835IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9,
1836IPV4_DEVCONF_BOOTP_RELAY = 10,
1837IPV4_DEVCONF_LOG_MARTIANS = 11,
1838IPV4_DEVCONF_TAG = 12,
1839IPV4_DEVCONF_ARPFILTER = 13,
1840IPV4_DEVCONF_MEDIUM_ID = 14,
1841IPV4_DEVCONF_NOXFRM = 15,
1842IPV4_DEVCONF_NOPOLICY = 16,
1843IPV4_DEVCONF_FORCE_IGMP_VERSION = 17,
1844IPV4_DEVCONF_ARP_ANNOUNCE = 18,
1845IPV4_DEVCONF_ARP_IGNORE = 19,
1846IPV4_DEVCONF_PROMOTE_SECONDARIES = 20,
1847IPV4_DEVCONF_ARP_ACCEPT = 21,
1848IPV4_DEVCONF_ARP_NOTIFY = 22,
1849IPV4_DEVCONF_ACCEPT_LOCAL = 23,
1850IPV4_DEVCONF_SRC_VMARK = 24,
1851IPV4_DEVCONF_PROXY_ARP_PVLAN = 25,
1852IPV4_DEVCONF_ROUTE_LOCALNET = 26,
1853IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27,
1854IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28,
1855IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29,
1856IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30,
1857IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31,
1858IPV4_DEVCONF_BC_FORWARDING = 32,
1859IPV4_DEVCONF_ARP_EVICT_NOCARRIER = 33,
1860__IPV4_DEVCONF_MAX = 34,
1861}
1862#[repr(u32)]
1863#[non_exhaustive]
1864#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1865pub enum _bindgen_ty_3 {
1866DEVCONF_FORWARDING = 0,
1867DEVCONF_HOPLIMIT = 1,
1868DEVCONF_MTU6 = 2,
1869DEVCONF_ACCEPT_RA = 3,
1870DEVCONF_ACCEPT_REDIRECTS = 4,
1871DEVCONF_AUTOCONF = 5,
1872DEVCONF_DAD_TRANSMITS = 6,
1873DEVCONF_RTR_SOLICITS = 7,
1874DEVCONF_RTR_SOLICIT_INTERVAL = 8,
1875DEVCONF_RTR_SOLICIT_DELAY = 9,
1876DEVCONF_USE_TEMPADDR = 10,
1877DEVCONF_TEMP_VALID_LFT = 11,
1878DEVCONF_TEMP_PREFERED_LFT = 12,
1879DEVCONF_REGEN_MAX_RETRY = 13,
1880DEVCONF_MAX_DESYNC_FACTOR = 14,
1881DEVCONF_MAX_ADDRESSES = 15,
1882DEVCONF_FORCE_MLD_VERSION = 16,
1883DEVCONF_ACCEPT_RA_DEFRTR = 17,
1884DEVCONF_ACCEPT_RA_PINFO = 18,
1885DEVCONF_ACCEPT_RA_RTR_PREF = 19,
1886DEVCONF_RTR_PROBE_INTERVAL = 20,
1887DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21,
1888DEVCONF_PROXY_NDP = 22,
1889DEVCONF_OPTIMISTIC_DAD = 23,
1890DEVCONF_ACCEPT_SOURCE_ROUTE = 24,
1891DEVCONF_MC_FORWARDING = 25,
1892DEVCONF_DISABLE_IPV6 = 26,
1893DEVCONF_ACCEPT_DAD = 27,
1894DEVCONF_FORCE_TLLAO = 28,
1895DEVCONF_NDISC_NOTIFY = 29,
1896DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30,
1897DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31,
1898DEVCONF_SUPPRESS_FRAG_NDISC = 32,
1899DEVCONF_ACCEPT_RA_FROM_LOCAL = 33,
1900DEVCONF_USE_OPTIMISTIC = 34,
1901DEVCONF_ACCEPT_RA_MTU = 35,
1902DEVCONF_STABLE_SECRET = 36,
1903DEVCONF_USE_OIF_ADDRS_ONLY = 37,
1904DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38,
1905DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39,
1906DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40,
1907DEVCONF_DROP_UNSOLICITED_NA = 41,
1908DEVCONF_KEEP_ADDR_ON_DOWN = 42,
1909DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43,
1910DEVCONF_SEG6_ENABLED = 44,
1911DEVCONF_SEG6_REQUIRE_HMAC = 45,
1912DEVCONF_ENHANCED_DAD = 46,
1913DEVCONF_ADDR_GEN_MODE = 47,
1914DEVCONF_DISABLE_POLICY = 48,
1915DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49,
1916DEVCONF_NDISC_TCLASS = 50,
1917DEVCONF_RPL_SEG_ENABLED = 51,
1918DEVCONF_RA_DEFRTR_METRIC = 52,
1919DEVCONF_IOAM6_ENABLED = 53,
1920DEVCONF_IOAM6_ID = 54,
1921DEVCONF_IOAM6_ID_WIDE = 55,
1922DEVCONF_NDISC_EVICT_NOCARRIER = 56,
1923DEVCONF_ACCEPT_UNTRACKED_NA = 57,
1924DEVCONF_ACCEPT_RA_MIN_LFT = 58,
1925DEVCONF_MAX = 59,
1926}
1927#[repr(u32)]
1928#[non_exhaustive]
1929#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1930pub enum socket_state {
1931SS_FREE = 0,
1932SS_UNCONNECTED = 1,
1933SS_CONNECTING = 2,
1934SS_CONNECTED = 3,
1935SS_DISCONNECTING = 4,
1936}
1937#[repr(u32)]
1938#[non_exhaustive]
1939#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1940pub enum _bindgen_ty_4 {
1941TCP_FLAG_AE = 1,
1942TCP_FLAG_CWR = 32768,
1943TCP_FLAG_ECE = 16384,
1944TCP_FLAG_URG = 8192,
1945TCP_FLAG_ACK = 4096,
1946TCP_FLAG_PSH = 2048,
1947TCP_FLAG_RST = 1024,
1948TCP_FLAG_SYN = 512,
1949TCP_FLAG_FIN = 256,
1950TCP_RESERVED_BITS = 14,
1951TCP_DATA_OFFSET = 240,
1952}
1953#[repr(u32)]
1954#[non_exhaustive]
1955#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1956pub enum _bindgen_ty_5 {
1957TCP_NO_QUEUE = 0,
1958TCP_RECV_QUEUE = 1,
1959TCP_SEND_QUEUE = 2,
1960TCP_QUEUES_NR = 3,
1961}
1962#[repr(u32)]
1963#[non_exhaustive]
1964#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1965pub enum tcp_fastopen_client_fail {
1966TFO_STATUS_UNSPEC = 0,
1967TFO_COOKIE_UNAVAILABLE = 1,
1968TFO_DATA_NOT_ACKED = 2,
1969TFO_SYN_RETRANSMITTED = 3,
1970}
1971#[repr(u32)]
1972#[non_exhaustive]
1973#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1974pub enum tcp_ca_state {
1975TCP_CA_Open = 0,
1976TCP_CA_Disorder = 1,
1977TCP_CA_CWR = 2,
1978TCP_CA_Recovery = 3,
1979TCP_CA_Loss = 4,
1980}
1981#[repr(u32)]
1982#[non_exhaustive]
1983#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1984pub enum _bindgen_ty_6 {
1985TCP_NLA_PAD = 0,
1986TCP_NLA_BUSY = 1,
1987TCP_NLA_RWND_LIMITED = 2,
1988TCP_NLA_SNDBUF_LIMITED = 3,
1989TCP_NLA_DATA_SEGS_OUT = 4,
1990TCP_NLA_TOTAL_RETRANS = 5,
1991TCP_NLA_PACING_RATE = 6,
1992TCP_NLA_DELIVERY_RATE = 7,
1993TCP_NLA_SND_CWND = 8,
1994TCP_NLA_REORDERING = 9,
1995TCP_NLA_MIN_RTT = 10,
1996TCP_NLA_RECUR_RETRANS = 11,
1997TCP_NLA_DELIVERY_RATE_APP_LMT = 12,
1998TCP_NLA_SNDQ_SIZE = 13,
1999TCP_NLA_CA_STATE = 14,
2000TCP_NLA_SND_SSTHRESH = 15,
2001TCP_NLA_DELIVERED = 16,
2002TCP_NLA_DELIVERED_CE = 17,
2003TCP_NLA_BYTES_SENT = 18,
2004TCP_NLA_BYTES_RETRANS = 19,
2005TCP_NLA_DSACK_DUPS = 20,
2006TCP_NLA_REORD_SEEN = 21,
2007TCP_NLA_SRTT = 22,
2008TCP_NLA_TIMEOUT_REHASH = 23,
2009TCP_NLA_BYTES_NOTSENT = 24,
2010TCP_NLA_EDT = 25,
2011TCP_NLA_TTL = 26,
2012TCP_NLA_REHASH = 27,
2013}
2014#[repr(u32)]
2015#[non_exhaustive]
2016#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2017pub enum net_device_flags {
2018IFF_UP = 1,
2019IFF_BROADCAST = 2,
2020IFF_DEBUG = 4,
2021IFF_LOOPBACK = 8,
2022IFF_POINTOPOINT = 16,
2023IFF_NOTRAILERS = 32,
2024IFF_RUNNING = 64,
2025IFF_NOARP = 128,
2026IFF_PROMISC = 256,
2027IFF_ALLMULTI = 512,
2028IFF_MASTER = 1024,
2029IFF_SLAVE = 2048,
2030IFF_MULTICAST = 4096,
2031IFF_PORTSEL = 8192,
2032IFF_AUTOMEDIA = 16384,
2033IFF_DYNAMIC = 32768,
2034IFF_LOWER_UP = 65536,
2035IFF_DORMANT = 131072,
2036IFF_ECHO = 262144,
2037}
2038#[repr(u32)]
2039#[non_exhaustive]
2040#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2041pub enum _bindgen_ty_7 {
2042IF_OPER_UNKNOWN = 0,
2043IF_OPER_NOTPRESENT = 1,
2044IF_OPER_DOWN = 2,
2045IF_OPER_LOWERLAYERDOWN = 3,
2046IF_OPER_TESTING = 4,
2047IF_OPER_DORMANT = 5,
2048IF_OPER_UP = 6,
2049}
2050#[repr(u32)]
2051#[non_exhaustive]
2052#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2053pub enum _bindgen_ty_8 {
2054IF_LINK_MODE_DEFAULT = 0,
2055IF_LINK_MODE_DORMANT = 1,
2056IF_LINK_MODE_TESTING = 2,
2057}
2058#[repr(u32)]
2059#[non_exhaustive]
2060#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2061pub enum nf_inet_hooks {
2062NF_INET_PRE_ROUTING = 0,
2063NF_INET_LOCAL_IN = 1,
2064NF_INET_FORWARD = 2,
2065NF_INET_LOCAL_OUT = 3,
2066NF_INET_POST_ROUTING = 4,
2067NF_INET_NUMHOOKS = 5,
2068}
2069#[repr(u32)]
2070#[non_exhaustive]
2071#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2072pub enum nf_dev_hooks {
2073NF_NETDEV_INGRESS = 0,
2074NF_NETDEV_EGRESS = 1,
2075NF_NETDEV_NUMHOOKS = 2,
2076}
2077#[repr(u32)]
2078#[non_exhaustive]
2079#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2080pub enum _bindgen_ty_9 {
2081NFPROTO_UNSPEC = 0,
2082NFPROTO_INET = 1,
2083NFPROTO_IPV4 = 2,
2084NFPROTO_ARP = 3,
2085NFPROTO_NETDEV = 5,
2086NFPROTO_BRIDGE = 7,
2087NFPROTO_IPV6 = 10,
2088NFPROTO_DECNET = 12,
2089NFPROTO_NUMPROTO = 13,
2090}
2091#[repr(i32)]
2092#[non_exhaustive]
2093#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2094pub enum nf_ip6_hook_priorities {
2095NF_IP6_PRI_FIRST = -2147483648,
2096NF_IP6_PRI_RAW_BEFORE_DEFRAG = -450,
2097NF_IP6_PRI_CONNTRACK_DEFRAG = -400,
2098NF_IP6_PRI_RAW = -300,
2099NF_IP6_PRI_SELINUX_FIRST = -225,
2100NF_IP6_PRI_CONNTRACK = -200,
2101NF_IP6_PRI_MANGLE = -150,
2102NF_IP6_PRI_NAT_DST = -100,
2103NF_IP6_PRI_FILTER = 0,
2104NF_IP6_PRI_SECURITY = 50,
2105NF_IP6_PRI_NAT_SRC = 100,
2106NF_IP6_PRI_SELINUX_LAST = 225,
2107NF_IP6_PRI_CONNTRACK_HELPER = 300,
2108NF_IP6_PRI_LAST = 2147483647,
2109}
2110#[repr(i32)]
2111#[non_exhaustive]
2112#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2113pub enum nf_ip_hook_priorities {
2114NF_IP_PRI_FIRST = -2147483648,
2115NF_IP_PRI_RAW_BEFORE_DEFRAG = -450,
2116NF_IP_PRI_CONNTRACK_DEFRAG = -400,
2117NF_IP_PRI_RAW = -300,
2118NF_IP_PRI_SELINUX_FIRST = -225,
2119NF_IP_PRI_CONNTRACK = -200,
2120NF_IP_PRI_MANGLE = -150,
2121NF_IP_PRI_NAT_DST = -100,
2122NF_IP_PRI_FILTER = 0,
2123NF_IP_PRI_SECURITY = 50,
2124NF_IP_PRI_NAT_SRC = 100,
2125NF_IP_PRI_SELINUX_LAST = 225,
2126NF_IP_PRI_CONNTRACK_HELPER = 300,
2127NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647,
2128}
2129#[repr(u32)]
2130#[non_exhaustive]
2131#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2132pub enum hwtstamp_provider_qualifier {
2133HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0,
2134HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1,
2135HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2,
2136}
2137#[repr(u32)]
2138#[non_exhaustive]
2139#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2140pub enum _bindgen_ty_10 {
2141SOF_TIMESTAMPING_TX_HARDWARE = 1,
2142SOF_TIMESTAMPING_TX_SOFTWARE = 2,
2143SOF_TIMESTAMPING_RX_HARDWARE = 4,
2144SOF_TIMESTAMPING_RX_SOFTWARE = 8,
2145SOF_TIMESTAMPING_SOFTWARE = 16,
2146SOF_TIMESTAMPING_SYS_HARDWARE = 32,
2147SOF_TIMESTAMPING_RAW_HARDWARE = 64,
2148SOF_TIMESTAMPING_OPT_ID = 128,
2149SOF_TIMESTAMPING_TX_SCHED = 256,
2150SOF_TIMESTAMPING_TX_ACK = 512,
2151SOF_TIMESTAMPING_OPT_CMSG = 1024,
2152SOF_TIMESTAMPING_OPT_TSONLY = 2048,
2153SOF_TIMESTAMPING_OPT_STATS = 4096,
2154SOF_TIMESTAMPING_OPT_PKTINFO = 8192,
2155SOF_TIMESTAMPING_OPT_TX_SWHW = 16384,
2156SOF_TIMESTAMPING_BIND_PHC = 32768,
2157SOF_TIMESTAMPING_OPT_ID_TCP = 65536,
2158SOF_TIMESTAMPING_OPT_RX_FILTER = 131072,
2159SOF_TIMESTAMPING_TX_COMPLETION = 262144,
2160SOF_TIMESTAMPING_MASK = 524287,
2161}
2162#[repr(u32)]
2163#[non_exhaustive]
2164#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2165pub enum hwtstamp_flags {
2166HWTSTAMP_FLAG_BONDED_PHC_INDEX = 1,
2167}
2168#[repr(u32)]
2169#[non_exhaustive]
2170#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2171pub enum hwtstamp_tx_types {
2172HWTSTAMP_TX_OFF = 0,
2173HWTSTAMP_TX_ON = 1,
2174HWTSTAMP_TX_ONESTEP_SYNC = 2,
2175HWTSTAMP_TX_ONESTEP_P2P = 3,
2176__HWTSTAMP_TX_CNT = 4,
2177}
2178#[repr(u32)]
2179#[non_exhaustive]
2180#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2181pub enum hwtstamp_rx_filters {
2182HWTSTAMP_FILTER_NONE = 0,
2183HWTSTAMP_FILTER_ALL = 1,
2184HWTSTAMP_FILTER_SOME = 2,
2185HWTSTAMP_FILTER_PTP_V1_L4_EVENT = 3,
2186HWTSTAMP_FILTER_PTP_V1_L4_SYNC = 4,
2187HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ = 5,
2188HWTSTAMP_FILTER_PTP_V2_L4_EVENT = 6,
2189HWTSTAMP_FILTER_PTP_V2_L4_SYNC = 7,
2190HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ = 8,
2191HWTSTAMP_FILTER_PTP_V2_L2_EVENT = 9,
2192HWTSTAMP_FILTER_PTP_V2_L2_SYNC = 10,
2193HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ = 11,
2194HWTSTAMP_FILTER_PTP_V2_EVENT = 12,
2195HWTSTAMP_FILTER_PTP_V2_SYNC = 13,
2196HWTSTAMP_FILTER_PTP_V2_DELAY_REQ = 14,
2197HWTSTAMP_FILTER_NTP_ALL = 15,
2198__HWTSTAMP_FILTER_CNT = 16,
2199}
2200#[repr(u32)]
2201#[non_exhaustive]
2202#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2203pub enum txtime_flags {
2204SOF_TXTIME_DEADLINE_MODE = 1,
2205SOF_TXTIME_REPORT_ERRORS = 2,
2206SOF_TXTIME_FLAGS_MASK = 3,
2207}
2208#[repr(C)]
2209#[derive(Copy, Clone)]
2210pub union __kernel_sockaddr_storage__bindgen_ty_1 {
2211pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1,
2212pub __align: *mut crate::ctypes::c_void,
2213}
2214#[repr(C)]
2215#[derive(Copy, Clone)]
2216pub union iphdr__bindgen_ty_1 {
2217pub __bindgen_anon_1: iphdr__bindgen_ty_1__bindgen_ty_1,
2218pub addrs: iphdr__bindgen_ty_1__bindgen_ty_2,
2219}
2220#[repr(C)]
2221#[derive(Copy, Clone)]
2222pub union in6_addr__bindgen_ty_1 {
2223pub u6_addr8: [__u8; 16usize],
2224pub u6_addr16: [__be16; 8usize],
2225pub u6_addr32: [__be32; 4usize],
2226}
2227#[repr(C)]
2228#[derive(Copy, Clone)]
2229pub union ipv6hdr__bindgen_ty_1 {
2230pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1__bindgen_ty_1,
2231pub addrs: ipv6hdr__bindgen_ty_1__bindgen_ty_2,
2232}
2233#[repr(C)]
2234#[derive(Copy, Clone)]
2235pub union tcp_word_hdr {
2236pub hdr: tcphdr,
2237pub words: [__be32; 5usize],
2238}
2239#[repr(C)]
2240#[derive(Copy, Clone)]
2241pub union if_settings__bindgen_ty_1 {
2242pub raw_hdlc: *mut raw_hdlc_proto,
2243pub cisco: *mut cisco_proto,
2244pub fr: *mut fr_proto,
2245pub fr_pvc: *mut fr_proto_pvc,
2246pub fr_pvc_info: *mut fr_proto_pvc_info,
2247pub x25: *mut x25_hdlc_proto,
2248pub sync: *mut sync_serial_settings,
2249pub te1: *mut te1_settings,
2250}
2251#[repr(C)]
2252#[derive(Copy, Clone)]
2253pub union ifreq__bindgen_ty_1 {
2254pub ifrn_name: [crate::ctypes::c_char; 16usize],
2255}
2256#[repr(C)]
2257#[derive(Copy, Clone)]
2258pub union ifreq__bindgen_ty_2 {
2259pub ifru_addr: sockaddr,
2260pub ifru_dstaddr: sockaddr,
2261pub ifru_broadaddr: sockaddr,
2262pub ifru_netmask: sockaddr,
2263pub ifru_hwaddr: sockaddr,
2264pub ifru_flags: crate::ctypes::c_short,
2265pub ifru_ivalue: crate::ctypes::c_int,
2266pub ifru_mtu: crate::ctypes::c_int,
2267pub ifru_map: ifmap,
2268pub ifru_slave: [crate::ctypes::c_char; 16usize],
2269pub ifru_newname: [crate::ctypes::c_char; 16usize],
2270pub ifru_data: *mut crate::ctypes::c_void,
2271pub ifru_settings: if_settings,
2272}
2273#[repr(C)]
2274#[derive(Copy, Clone)]
2275pub union ifconf__bindgen_ty_1 {
2276pub ifcu_buf: *mut crate::ctypes::c_char,
2277pub ifcu_req: *mut ifreq,
2278}
2279#[repr(C)]
2280#[derive(Copy, Clone)]
2281pub union nf_inet_addr {
2282pub all: [__u32; 4usize],
2283pub ip: __be32,
2284pub ip6: [__be32; 4usize],
2285pub in_: in_addr,
2286pub in6: in6_addr,
2287}
2288#[repr(C)]
2289#[derive(Copy, Clone)]
2290pub union xt_entry_match__bindgen_ty_1 {
2291pub user: xt_entry_match__bindgen_ty_1__bindgen_ty_1,
2292pub kernel: xt_entry_match__bindgen_ty_1__bindgen_ty_2,
2293pub match_size: __u16,
2294}
2295#[repr(C)]
2296#[derive(Copy, Clone)]
2297pub union xt_entry_target__bindgen_ty_1 {
2298pub user: xt_entry_target__bindgen_ty_1__bindgen_ty_1,
2299pub kernel: xt_entry_target__bindgen_ty_1__bindgen_ty_2,
2300pub target_size: __u16,
2301}
2302impl<Storage> __BindgenBitfieldUnit<Storage> {
2303#[inline]
2304pub const fn new(storage: Storage) -> Self {
2305Self { storage }
2306}
2307}
2308impl<Storage> __BindgenBitfieldUnit<Storage>
2309where
2310Storage: AsRef<[u8]> + AsMut<[u8]>,
2311{
2312#[inline]
2313fn extract_bit(byte: u8, index: usize) -> bool {
2314let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
2315let mask = 1 << bit_index;
2316byte & mask == mask
2317}
2318#[inline]
2319pub fn get_bit(&self, index: usize) -> bool {
2320debug_assert!(index / 8 < self.storage.as_ref().len());
2321let byte_index = index / 8;
2322let byte = self.storage.as_ref()[byte_index];
2323Self::extract_bit(byte, index)
2324}
2325#[inline]
2326pub unsafe fn raw_get_bit(this: *const Self, index: usize) -> bool {
2327debug_assert!(index / 8 < core::mem::size_of::<Storage>());
2328let byte_index = index / 8;
2329let byte = *(core::ptr::addr_of!((*this).storage) as *const u8).offset(byte_index as isize);
2330Self::extract_bit(byte, index)
2331}
2332#[inline]
2333fn change_bit(byte: u8, index: usize, val: bool) -> u8 {
2334let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
2335let mask = 1 << bit_index;
2336if val {
2337byte | mask
2338} else {
2339byte & !mask
2340}
2341}
2342#[inline]
2343pub fn set_bit(&mut self, index: usize, val: bool) {
2344debug_assert!(index / 8 < self.storage.as_ref().len());
2345let byte_index = index / 8;
2346let byte = &mut self.storage.as_mut()[byte_index];
2347*byte = Self::change_bit(*byte, index, val);
2348}
2349#[inline]
2350pub unsafe fn raw_set_bit(this: *mut Self, index: usize, val: bool) {
2351debug_assert!(index / 8 < core::mem::size_of::<Storage>());
2352let byte_index = index / 8;
2353let byte = (core::ptr::addr_of_mut!((*this).storage) as *mut u8).offset(byte_index as isize);
2354*byte = Self::change_bit(*byte, index, val);
2355}
2356#[inline]
2357pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
2358debug_assert!(bit_width <= 64);
2359debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
2360debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
2361let mut val = 0;
2362for i in 0..(bit_width as usize) {
2363if self.get_bit(i + bit_offset) {
2364let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2365val |= 1 << index;
2366}
2367}
2368val
2369}
2370#[inline]
2371pub unsafe fn raw_get(this: *const Self, bit_offset: usize, bit_width: u8) -> u64 {
2372debug_assert!(bit_width <= 64);
2373debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
2374debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>());
2375let mut val = 0;
2376for i in 0..(bit_width as usize) {
2377if Self::raw_get_bit(this, i + bit_offset) {
2378let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2379val |= 1 << index;
2380}
2381}
2382val
2383}
2384#[inline]
2385pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
2386debug_assert!(bit_width <= 64);
2387debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
2388debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
2389for i in 0..(bit_width as usize) {
2390let mask = 1 << i;
2391let val_bit_is_set = val & mask == mask;
2392let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2393self.set_bit(index + bit_offset, val_bit_is_set);
2394}
2395}
2396#[inline]
2397pub unsafe fn raw_set(this: *mut Self, bit_offset: usize, bit_width: u8, val: u64) {
2398debug_assert!(bit_width <= 64);
2399debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
2400debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>());
2401for i in 0..(bit_width as usize) {
2402let mask = 1 << i;
2403let val_bit_is_set = val & mask == mask;
2404let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2405Self::raw_set_bit(this, index + bit_offset, val_bit_is_set);
2406}
2407}
2408}
2409impl<T> __IncompleteArrayField<T> {
2410#[inline]
2411pub const fn new() -> Self {
2412__IncompleteArrayField(::core::marker::PhantomData, [])
2413}
2414#[inline]
2415pub fn as_ptr(&self) -> *const T {
2416self as *const _ as *const T
2417}
2418#[inline]
2419pub fn as_mut_ptr(&mut self) -> *mut T {
2420self as *mut _ as *mut T
2421}
2422#[inline]
2423pub unsafe fn as_slice(&self, len: usize) -> &[T] {
2424::core::slice::from_raw_parts(self.as_ptr(), len)
2425}
2426#[inline]
2427pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
2428::core::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
2429}
2430}
2431impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
2432fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2433fmt.write_str("__IncompleteArrayField")
2434}
2435}
2436impl<T> __BindgenUnionField<T> {
2437#[inline]
2438pub const fn new() -> Self {
2439__BindgenUnionField(::core::marker::PhantomData)
2440}
2441#[inline]
2442pub unsafe fn as_ref(&self) -> &T {
2443::core::mem::transmute(self)
2444}
2445#[inline]
2446pub unsafe fn as_mut(&mut self) -> &mut T {
2447::core::mem::transmute(self)
2448}
2449}
2450impl<T> ::core::default::Default for __BindgenUnionField<T> {
2451#[inline]
2452fn default() -> Self {
2453Self::new()
2454}
2455}
2456impl<T> ::core::clone::Clone for __BindgenUnionField<T> {
2457#[inline]
2458fn clone(&self) -> Self {
2459*self
2460}
2461}
2462impl<T> ::core::marker::Copy for __BindgenUnionField<T> {}
2463impl<T> ::core::fmt::Debug for __BindgenUnionField<T> {
2464fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2465fmt.write_str("__BindgenUnionField")
2466}
2467}
2468impl<T> ::core::hash::Hash for __BindgenUnionField<T> {
2469fn hash<H: ::core::hash::Hasher>(&self, _state: &mut H) {}
2470}
2471impl<T> ::core::cmp::PartialEq for __BindgenUnionField<T> {
2472fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
2473true
2474}
2475}
2476impl<T> ::core::cmp::Eq for __BindgenUnionField<T> {}
2477impl iphdr {
2478#[inline]
2479pub fn ihl(&self) -> __u8 {
2480unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2481}
2482#[inline]
2483pub fn set_ihl(&mut self, val: __u8) {
2484unsafe {
2485let val: u8 = ::core::mem::transmute(val);
2486self._bitfield_1.set(0usize, 4u8, val as u64)
2487}
2488}
2489#[inline]
2490pub unsafe fn ihl_raw(this: *const Self) -> __u8 {
2491unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 4u8) as u8) }
2492}
2493#[inline]
2494pub unsafe fn set_ihl_raw(this: *mut Self, val: __u8) {
2495unsafe {
2496let val: u8 = ::core::mem::transmute(val);
2497<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 4u8, val as u64)
2498}
2499}
2500#[inline]
2501pub fn version(&self) -> __u8 {
2502unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2503}
2504#[inline]
2505pub fn set_version(&mut self, val: __u8) {
2506unsafe {
2507let val: u8 = ::core::mem::transmute(val);
2508self._bitfield_1.set(4usize, 4u8, val as u64)
2509}
2510}
2511#[inline]
2512pub unsafe fn version_raw(this: *const Self) -> __u8 {
2513unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 4u8) as u8) }
2514}
2515#[inline]
2516pub unsafe fn set_version_raw(this: *mut Self, val: __u8) {
2517unsafe {
2518let val: u8 = ::core::mem::transmute(val);
2519<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 4u8, val as u64)
2520}
2521}
2522#[inline]
2523pub fn new_bitfield_1(ihl: __u8, version: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2524let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2525__bindgen_bitfield_unit.set(0usize, 4u8, {
2526let ihl: u8 = unsafe { ::core::mem::transmute(ihl) };
2527ihl as u64
2528});
2529__bindgen_bitfield_unit.set(4usize, 4u8, {
2530let version: u8 = unsafe { ::core::mem::transmute(version) };
2531version as u64
2532});
2533__bindgen_bitfield_unit
2534}
2535}
2536impl ipv6hdr {
2537#[inline]
2538pub fn priority(&self) -> __u8 {
2539unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2540}
2541#[inline]
2542pub fn set_priority(&mut self, val: __u8) {
2543unsafe {
2544let val: u8 = ::core::mem::transmute(val);
2545self._bitfield_1.set(0usize, 4u8, val as u64)
2546}
2547}
2548#[inline]
2549pub unsafe fn priority_raw(this: *const Self) -> __u8 {
2550unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 4u8) as u8) }
2551}
2552#[inline]
2553pub unsafe fn set_priority_raw(this: *mut Self, val: __u8) {
2554unsafe {
2555let val: u8 = ::core::mem::transmute(val);
2556<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 4u8, val as u64)
2557}
2558}
2559#[inline]
2560pub fn version(&self) -> __u8 {
2561unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2562}
2563#[inline]
2564pub fn set_version(&mut self, val: __u8) {
2565unsafe {
2566let val: u8 = ::core::mem::transmute(val);
2567self._bitfield_1.set(4usize, 4u8, val as u64)
2568}
2569}
2570#[inline]
2571pub unsafe fn version_raw(this: *const Self) -> __u8 {
2572unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 4u8) as u8) }
2573}
2574#[inline]
2575pub unsafe fn set_version_raw(this: *mut Self, val: __u8) {
2576unsafe {
2577let val: u8 = ::core::mem::transmute(val);
2578<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 4u8, val as u64)
2579}
2580}
2581#[inline]
2582pub fn new_bitfield_1(priority: __u8, version: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2583let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2584__bindgen_bitfield_unit.set(0usize, 4u8, {
2585let priority: u8 = unsafe { ::core::mem::transmute(priority) };
2586priority as u64
2587});
2588__bindgen_bitfield_unit.set(4usize, 4u8, {
2589let version: u8 = unsafe { ::core::mem::transmute(version) };
2590version as u64
2591});
2592__bindgen_bitfield_unit
2593}
2594}
2595impl tcphdr {
2596#[inline]
2597pub fn ae(&self) -> __u16 {
2598unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
2599}
2600#[inline]
2601pub fn set_ae(&mut self, val: __u16) {
2602unsafe {
2603let val: u16 = ::core::mem::transmute(val);
2604self._bitfield_1.set(0usize, 1u8, val as u64)
2605}
2606}
2607#[inline]
2608pub unsafe fn ae_raw(this: *const Self) -> __u16 {
2609unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u16) }
2610}
2611#[inline]
2612pub unsafe fn set_ae_raw(this: *mut Self, val: __u16) {
2613unsafe {
2614let val: u16 = ::core::mem::transmute(val);
2615<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
2616}
2617}
2618#[inline]
2619pub fn res1(&self) -> __u16 {
2620unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 3u8) as u16) }
2621}
2622#[inline]
2623pub fn set_res1(&mut self, val: __u16) {
2624unsafe {
2625let val: u16 = ::core::mem::transmute(val);
2626self._bitfield_1.set(1usize, 3u8, val as u64)
2627}
2628}
2629#[inline]
2630pub unsafe fn res1_raw(this: *const Self) -> __u16 {
2631unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 3u8) as u16) }
2632}
2633#[inline]
2634pub unsafe fn set_res1_raw(this: *mut Self, val: __u16) {
2635unsafe {
2636let val: u16 = ::core::mem::transmute(val);
2637<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 3u8, val as u64)
2638}
2639}
2640#[inline]
2641pub fn doff(&self) -> __u16 {
2642unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u16) }
2643}
2644#[inline]
2645pub fn set_doff(&mut self, val: __u16) {
2646unsafe {
2647let val: u16 = ::core::mem::transmute(val);
2648self._bitfield_1.set(4usize, 4u8, val as u64)
2649}
2650}
2651#[inline]
2652pub unsafe fn doff_raw(this: *const Self) -> __u16 {
2653unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 4u8) as u16) }
2654}
2655#[inline]
2656pub unsafe fn set_doff_raw(this: *mut Self, val: __u16) {
2657unsafe {
2658let val: u16 = ::core::mem::transmute(val);
2659<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 4u8, val as u64)
2660}
2661}
2662#[inline]
2663pub fn fin(&self) -> __u16 {
2664unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
2665}
2666#[inline]
2667pub fn set_fin(&mut self, val: __u16) {
2668unsafe {
2669let val: u16 = ::core::mem::transmute(val);
2670self._bitfield_1.set(8usize, 1u8, val as u64)
2671}
2672}
2673#[inline]
2674pub unsafe fn fin_raw(this: *const Self) -> __u16 {
2675unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 8usize, 1u8) as u16) }
2676}
2677#[inline]
2678pub unsafe fn set_fin_raw(this: *mut Self, val: __u16) {
2679unsafe {
2680let val: u16 = ::core::mem::transmute(val);
2681<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 8usize, 1u8, val as u64)
2682}
2683}
2684#[inline]
2685pub fn syn(&self) -> __u16 {
2686unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
2687}
2688#[inline]
2689pub fn set_syn(&mut self, val: __u16) {
2690unsafe {
2691let val: u16 = ::core::mem::transmute(val);
2692self._bitfield_1.set(9usize, 1u8, val as u64)
2693}
2694}
2695#[inline]
2696pub unsafe fn syn_raw(this: *const Self) -> __u16 {
2697unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 9usize, 1u8) as u16) }
2698}
2699#[inline]
2700pub unsafe fn set_syn_raw(this: *mut Self, val: __u16) {
2701unsafe {
2702let val: u16 = ::core::mem::transmute(val);
2703<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 9usize, 1u8, val as u64)
2704}
2705}
2706#[inline]
2707pub fn rst(&self) -> __u16 {
2708unsafe { ::core::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u16) }
2709}
2710#[inline]
2711pub fn set_rst(&mut self, val: __u16) {
2712unsafe {
2713let val: u16 = ::core::mem::transmute(val);
2714self._bitfield_1.set(10usize, 1u8, val as u64)
2715}
2716}
2717#[inline]
2718pub unsafe fn rst_raw(this: *const Self) -> __u16 {
2719unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 10usize, 1u8) as u16) }
2720}
2721#[inline]
2722pub unsafe fn set_rst_raw(this: *mut Self, val: __u16) {
2723unsafe {
2724let val: u16 = ::core::mem::transmute(val);
2725<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 10usize, 1u8, val as u64)
2726}
2727}
2728#[inline]
2729pub fn psh(&self) -> __u16 {
2730unsafe { ::core::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u16) }
2731}
2732#[inline]
2733pub fn set_psh(&mut self, val: __u16) {
2734unsafe {
2735let val: u16 = ::core::mem::transmute(val);
2736self._bitfield_1.set(11usize, 1u8, val as u64)
2737}
2738}
2739#[inline]
2740pub unsafe fn psh_raw(this: *const Self) -> __u16 {
2741unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 11usize, 1u8) as u16) }
2742}
2743#[inline]
2744pub unsafe fn set_psh_raw(this: *mut Self, val: __u16) {
2745unsafe {
2746let val: u16 = ::core::mem::transmute(val);
2747<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 11usize, 1u8, val as u64)
2748}
2749}
2750#[inline]
2751pub fn ack(&self) -> __u16 {
2752unsafe { ::core::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u16) }
2753}
2754#[inline]
2755pub fn set_ack(&mut self, val: __u16) {
2756unsafe {
2757let val: u16 = ::core::mem::transmute(val);
2758self._bitfield_1.set(12usize, 1u8, val as u64)
2759}
2760}
2761#[inline]
2762pub unsafe fn ack_raw(this: *const Self) -> __u16 {
2763unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 12usize, 1u8) as u16) }
2764}
2765#[inline]
2766pub unsafe fn set_ack_raw(this: *mut Self, val: __u16) {
2767unsafe {
2768let val: u16 = ::core::mem::transmute(val);
2769<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 12usize, 1u8, val as u64)
2770}
2771}
2772#[inline]
2773pub fn urg(&self) -> __u16 {
2774unsafe { ::core::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u16) }
2775}
2776#[inline]
2777pub fn set_urg(&mut self, val: __u16) {
2778unsafe {
2779let val: u16 = ::core::mem::transmute(val);
2780self._bitfield_1.set(13usize, 1u8, val as u64)
2781}
2782}
2783#[inline]
2784pub unsafe fn urg_raw(this: *const Self) -> __u16 {
2785unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 13usize, 1u8) as u16) }
2786}
2787#[inline]
2788pub unsafe fn set_urg_raw(this: *mut Self, val: __u16) {
2789unsafe {
2790let val: u16 = ::core::mem::transmute(val);
2791<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 13usize, 1u8, val as u64)
2792}
2793}
2794#[inline]
2795pub fn ece(&self) -> __u16 {
2796unsafe { ::core::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u16) }
2797}
2798#[inline]
2799pub fn set_ece(&mut self, val: __u16) {
2800unsafe {
2801let val: u16 = ::core::mem::transmute(val);
2802self._bitfield_1.set(14usize, 1u8, val as u64)
2803}
2804}
2805#[inline]
2806pub unsafe fn ece_raw(this: *const Self) -> __u16 {
2807unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 14usize, 1u8) as u16) }
2808}
2809#[inline]
2810pub unsafe fn set_ece_raw(this: *mut Self, val: __u16) {
2811unsafe {
2812let val: u16 = ::core::mem::transmute(val);
2813<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 14usize, 1u8, val as u64)
2814}
2815}
2816#[inline]
2817pub fn cwr(&self) -> __u16 {
2818unsafe { ::core::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u16) }
2819}
2820#[inline]
2821pub fn set_cwr(&mut self, val: __u16) {
2822unsafe {
2823let val: u16 = ::core::mem::transmute(val);
2824self._bitfield_1.set(15usize, 1u8, val as u64)
2825}
2826}
2827#[inline]
2828pub unsafe fn cwr_raw(this: *const Self) -> __u16 {
2829unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 15usize, 1u8) as u16) }
2830}
2831#[inline]
2832pub unsafe fn set_cwr_raw(this: *mut Self, val: __u16) {
2833unsafe {
2834let val: u16 = ::core::mem::transmute(val);
2835<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 15usize, 1u8, val as u64)
2836}
2837}
2838#[inline]
2839pub fn new_bitfield_1(ae: __u16, res1: __u16, doff: __u16, fin: __u16, syn: __u16, rst: __u16, psh: __u16, ack: __u16, urg: __u16, ece: __u16, cwr: __u16) -> __BindgenBitfieldUnit<[u8; 2usize]> {
2840let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2841__bindgen_bitfield_unit.set(0usize, 1u8, {
2842let ae: u16 = unsafe { ::core::mem::transmute(ae) };
2843ae as u64
2844});
2845__bindgen_bitfield_unit.set(1usize, 3u8, {
2846let res1: u16 = unsafe { ::core::mem::transmute(res1) };
2847res1 as u64
2848});
2849__bindgen_bitfield_unit.set(4usize, 4u8, {
2850let doff: u16 = unsafe { ::core::mem::transmute(doff) };
2851doff as u64
2852});
2853__bindgen_bitfield_unit.set(8usize, 1u8, {
2854let fin: u16 = unsafe { ::core::mem::transmute(fin) };
2855fin as u64
2856});
2857__bindgen_bitfield_unit.set(9usize, 1u8, {
2858let syn: u16 = unsafe { ::core::mem::transmute(syn) };
2859syn as u64
2860});
2861__bindgen_bitfield_unit.set(10usize, 1u8, {
2862let rst: u16 = unsafe { ::core::mem::transmute(rst) };
2863rst as u64
2864});
2865__bindgen_bitfield_unit.set(11usize, 1u8, {
2866let psh: u16 = unsafe { ::core::mem::transmute(psh) };
2867psh as u64
2868});
2869__bindgen_bitfield_unit.set(12usize, 1u8, {
2870let ack: u16 = unsafe { ::core::mem::transmute(ack) };
2871ack as u64
2872});
2873__bindgen_bitfield_unit.set(13usize, 1u8, {
2874let urg: u16 = unsafe { ::core::mem::transmute(urg) };
2875urg as u64
2876});
2877__bindgen_bitfield_unit.set(14usize, 1u8, {
2878let ece: u16 = unsafe { ::core::mem::transmute(ece) };
2879ece as u64
2880});
2881__bindgen_bitfield_unit.set(15usize, 1u8, {
2882let cwr: u16 = unsafe { ::core::mem::transmute(cwr) };
2883cwr as u64
2884});
2885__bindgen_bitfield_unit
2886}
2887}
2888impl tcp_info {
2889#[inline]
2890pub fn tcpi_snd_wscale(&self) -> __u8 {
2891unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2892}
2893#[inline]
2894pub fn set_tcpi_snd_wscale(&mut self, val: __u8) {
2895unsafe {
2896let val: u8 = ::core::mem::transmute(val);
2897self._bitfield_1.set(0usize, 4u8, val as u64)
2898}
2899}
2900#[inline]
2901pub unsafe fn tcpi_snd_wscale_raw(this: *const Self) -> __u8 {
2902unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 4u8) as u8) }
2903}
2904#[inline]
2905pub unsafe fn set_tcpi_snd_wscale_raw(this: *mut Self, val: __u8) {
2906unsafe {
2907let val: u8 = ::core::mem::transmute(val);
2908<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 4u8, val as u64)
2909}
2910}
2911#[inline]
2912pub fn tcpi_rcv_wscale(&self) -> __u8 {
2913unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2914}
2915#[inline]
2916pub fn set_tcpi_rcv_wscale(&mut self, val: __u8) {
2917unsafe {
2918let val: u8 = ::core::mem::transmute(val);
2919self._bitfield_1.set(4usize, 4u8, val as u64)
2920}
2921}
2922#[inline]
2923pub unsafe fn tcpi_rcv_wscale_raw(this: *const Self) -> __u8 {
2924unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 4u8) as u8) }
2925}
2926#[inline]
2927pub unsafe fn set_tcpi_rcv_wscale_raw(this: *mut Self, val: __u8) {
2928unsafe {
2929let val: u8 = ::core::mem::transmute(val);
2930<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 4u8, val as u64)
2931}
2932}
2933#[inline]
2934pub fn tcpi_delivery_rate_app_limited(&self) -> __u8 {
2935unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) }
2936}
2937#[inline]
2938pub fn set_tcpi_delivery_rate_app_limited(&mut self, val: __u8) {
2939unsafe {
2940let val: u8 = ::core::mem::transmute(val);
2941self._bitfield_1.set(8usize, 1u8, val as u64)
2942}
2943}
2944#[inline]
2945pub unsafe fn tcpi_delivery_rate_app_limited_raw(this: *const Self) -> __u8 {
2946unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 8usize, 1u8) as u8) }
2947}
2948#[inline]
2949pub unsafe fn set_tcpi_delivery_rate_app_limited_raw(this: *mut Self, val: __u8) {
2950unsafe {
2951let val: u8 = ::core::mem::transmute(val);
2952<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 8usize, 1u8, val as u64)
2953}
2954}
2955#[inline]
2956pub fn tcpi_fastopen_client_fail(&self) -> __u8 {
2957unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 2u8) as u8) }
2958}
2959#[inline]
2960pub fn set_tcpi_fastopen_client_fail(&mut self, val: __u8) {
2961unsafe {
2962let val: u8 = ::core::mem::transmute(val);
2963self._bitfield_1.set(9usize, 2u8, val as u64)
2964}
2965}
2966#[inline]
2967pub unsafe fn tcpi_fastopen_client_fail_raw(this: *const Self) -> __u8 {
2968unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 9usize, 2u8) as u8) }
2969}
2970#[inline]
2971pub unsafe fn set_tcpi_fastopen_client_fail_raw(this: *mut Self, val: __u8) {
2972unsafe {
2973let val: u8 = ::core::mem::transmute(val);
2974<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 9usize, 2u8, val as u64)
2975}
2976}
2977#[inline]
2978pub fn new_bitfield_1(tcpi_snd_wscale: __u8, tcpi_rcv_wscale: __u8, tcpi_delivery_rate_app_limited: __u8, tcpi_fastopen_client_fail: __u8) -> __BindgenBitfieldUnit<[u8; 2usize]> {
2979let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2980__bindgen_bitfield_unit.set(0usize, 4u8, {
2981let tcpi_snd_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_snd_wscale) };
2982tcpi_snd_wscale as u64
2983});
2984__bindgen_bitfield_unit.set(4usize, 4u8, {
2985let tcpi_rcv_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_rcv_wscale) };
2986tcpi_rcv_wscale as u64
2987});
2988__bindgen_bitfield_unit.set(8usize, 1u8, {
2989let tcpi_delivery_rate_app_limited: u8 = unsafe { ::core::mem::transmute(tcpi_delivery_rate_app_limited) };
2990tcpi_delivery_rate_app_limited as u64
2991});
2992__bindgen_bitfield_unit.set(9usize, 2u8, {
2993let tcpi_fastopen_client_fail: u8 = unsafe { ::core::mem::transmute(tcpi_fastopen_client_fail) };
2994tcpi_fastopen_client_fail as u64
2995});
2996__bindgen_bitfield_unit
2997}
2998}
2999impl tcp_ao_add {
3000#[inline]
3001pub fn set_current(&self) -> __u32 {
3002unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
3003}
3004#[inline]
3005pub fn set_set_current(&mut self, val: __u32) {
3006unsafe {
3007let val: u32 = ::core::mem::transmute(val);
3008self._bitfield_1.set(0usize, 1u8, val as u64)
3009}
3010}
3011#[inline]
3012pub unsafe fn set_current_raw(this: *const Self) -> __u32 {
3013unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u32) }
3014}
3015#[inline]
3016pub unsafe fn set_set_current_raw(this: *mut Self, val: __u32) {
3017unsafe {
3018let val: u32 = ::core::mem::transmute(val);
3019<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
3020}
3021}
3022#[inline]
3023pub fn set_rnext(&self) -> __u32 {
3024unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
3025}
3026#[inline]
3027pub fn set_set_rnext(&mut self, val: __u32) {
3028unsafe {
3029let val: u32 = ::core::mem::transmute(val);
3030self._bitfield_1.set(1usize, 1u8, val as u64)
3031}
3032}
3033#[inline]
3034pub unsafe fn set_rnext_raw(this: *const Self) -> __u32 {
3035unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 1u8) as u32) }
3036}
3037#[inline]
3038pub unsafe fn set_set_rnext_raw(this: *mut Self, val: __u32) {
3039unsafe {
3040let val: u32 = ::core::mem::transmute(val);
3041<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 1u8, val as u64)
3042}
3043}
3044#[inline]
3045pub fn reserved(&self) -> __u32 {
3046unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 30u8) as u32) }
3047}
3048#[inline]
3049pub fn set_reserved(&mut self, val: __u32) {
3050unsafe {
3051let val: u32 = ::core::mem::transmute(val);
3052self._bitfield_1.set(2usize, 30u8, val as u64)
3053}
3054}
3055#[inline]
3056pub unsafe fn reserved_raw(this: *const Self) -> __u32 {
3057unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 2usize, 30u8) as u32) }
3058}
3059#[inline]
3060pub unsafe fn set_reserved_raw(this: *mut Self, val: __u32) {
3061unsafe {
3062let val: u32 = ::core::mem::transmute(val);
3063<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 2usize, 30u8, val as u64)
3064}
3065}
3066#[inline]
3067pub fn new_bitfield_1(set_current: __u32, set_rnext: __u32, reserved: __u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
3068let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
3069__bindgen_bitfield_unit.set(0usize, 1u8, {
3070let set_current: u32 = unsafe { ::core::mem::transmute(set_current) };
3071set_current as u64
3072});
3073__bindgen_bitfield_unit.set(1usize, 1u8, {
3074let set_rnext: u32 = unsafe { ::core::mem::transmute(set_rnext) };
3075set_rnext as u64
3076});
3077__bindgen_bitfield_unit.set(2usize, 30u8, {
3078let reserved: u32 = unsafe { ::core::mem::transmute(reserved) };
3079reserved as u64
3080});
3081__bindgen_bitfield_unit
3082}
3083}
3084impl tcp_ao_del {
3085#[inline]
3086pub fn set_current(&self) -> __u32 {
3087unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
3088}
3089#[inline]
3090pub fn set_set_current(&mut self, val: __u32) {
3091unsafe {
3092let val: u32 = ::core::mem::transmute(val);
3093self._bitfield_1.set(0usize, 1u8, val as u64)
3094}
3095}
3096#[inline]
3097pub unsafe fn set_current_raw(this: *const Self) -> __u32 {
3098unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u32) }
3099}
3100#[inline]
3101pub unsafe fn set_set_current_raw(this: *mut Self, val: __u32) {
3102unsafe {
3103let val: u32 = ::core::mem::transmute(val);
3104<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
3105}
3106}
3107#[inline]
3108pub fn set_rnext(&self) -> __u32 {
3109unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
3110}
3111#[inline]
3112pub fn set_set_rnext(&mut self, val: __u32) {
3113unsafe {
3114let val: u32 = ::core::mem::transmute(val);
3115self._bitfield_1.set(1usize, 1u8, val as u64)
3116}
3117}
3118#[inline]
3119pub unsafe fn set_rnext_raw(this: *const Self) -> __u32 {
3120unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 1u8) as u32) }
3121}
3122#[inline]
3123pub unsafe fn set_set_rnext_raw(this: *mut Self, val: __u32) {
3124unsafe {
3125let val: u32 = ::core::mem::transmute(val);
3126<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 1u8, val as u64)
3127}
3128}
3129#[inline]
3130pub fn del_async(&self) -> __u32 {
3131unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
3132}
3133#[inline]
3134pub fn set_del_async(&mut self, val: __u32) {
3135unsafe {
3136let val: u32 = ::core::mem::transmute(val);
3137self._bitfield_1.set(2usize, 1u8, val as u64)
3138}
3139}
3140#[inline]
3141pub unsafe fn del_async_raw(this: *const Self) -> __u32 {
3142unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 2usize, 1u8) as u32) }
3143}
3144#[inline]
3145pub unsafe fn set_del_async_raw(this: *mut Self, val: __u32) {
3146unsafe {
3147let val: u32 = ::core::mem::transmute(val);
3148<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 2usize, 1u8, val as u64)
3149}
3150}
3151#[inline]
3152pub fn reserved(&self) -> __u32 {
3153unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 29u8) as u32) }
3154}
3155#[inline]
3156pub fn set_reserved(&mut self, val: __u32) {
3157unsafe {
3158let val: u32 = ::core::mem::transmute(val);
3159self._bitfield_1.set(3usize, 29u8, val as u64)
3160}
3161}
3162#[inline]
3163pub unsafe fn reserved_raw(this: *const Self) -> __u32 {
3164unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 3usize, 29u8) as u32) }
3165}
3166#[inline]
3167pub unsafe fn set_reserved_raw(this: *mut Self, val: __u32) {
3168unsafe {
3169let val: u32 = ::core::mem::transmute(val);
3170<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 3usize, 29u8, val as u64)
3171}
3172}
3173#[inline]
3174pub fn new_bitfield_1(set_current: __u32, set_rnext: __u32, del_async: __u32, reserved: __u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
3175let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
3176__bindgen_bitfield_unit.set(0usize, 1u8, {
3177let set_current: u32 = unsafe { ::core::mem::transmute(set_current) };
3178set_current as u64
3179});
3180__bindgen_bitfield_unit.set(1usize, 1u8, {
3181let set_rnext: u32 = unsafe { ::core::mem::transmute(set_rnext) };
3182set_rnext as u64
3183});
3184__bindgen_bitfield_unit.set(2usize, 1u8, {
3185let del_async: u32 = unsafe { ::core::mem::transmute(del_async) };
3186del_async as u64
3187});
3188__bindgen_bitfield_unit.set(3usize, 29u8, {
3189let reserved: u32 = unsafe { ::core::mem::transmute(reserved) };
3190reserved as u64
3191});
3192__bindgen_bitfield_unit
3193}
3194}
3195impl tcp_ao_info_opt {
3196#[inline]
3197pub fn set_current(&self) -> __u32 {
3198unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
3199}
3200#[inline]
3201pub fn set_set_current(&mut self, val: __u32) {
3202unsafe {
3203let val: u32 = ::core::mem::transmute(val);
3204self._bitfield_1.set(0usize, 1u8, val as u64)
3205}
3206}
3207#[inline]
3208pub unsafe fn set_current_raw(this: *const Self) -> __u32 {
3209unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u32) }
3210}
3211#[inline]
3212pub unsafe fn set_set_current_raw(this: *mut Self, val: __u32) {
3213unsafe {
3214let val: u32 = ::core::mem::transmute(val);
3215<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
3216}
3217}
3218#[inline]
3219pub fn set_rnext(&self) -> __u32 {
3220unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
3221}
3222#[inline]
3223pub fn set_set_rnext(&mut self, val: __u32) {
3224unsafe {
3225let val: u32 = ::core::mem::transmute(val);
3226self._bitfield_1.set(1usize, 1u8, val as u64)
3227}
3228}
3229#[inline]
3230pub unsafe fn set_rnext_raw(this: *const Self) -> __u32 {
3231unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 1u8) as u32) }
3232}
3233#[inline]
3234pub unsafe fn set_set_rnext_raw(this: *mut Self, val: __u32) {
3235unsafe {
3236let val: u32 = ::core::mem::transmute(val);
3237<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 1u8, val as u64)
3238}
3239}
3240#[inline]
3241pub fn ao_required(&self) -> __u32 {
3242unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
3243}
3244#[inline]
3245pub fn set_ao_required(&mut self, val: __u32) {
3246unsafe {
3247let val: u32 = ::core::mem::transmute(val);
3248self._bitfield_1.set(2usize, 1u8, val as u64)
3249}
3250}
3251#[inline]
3252pub unsafe fn ao_required_raw(this: *const Self) -> __u32 {
3253unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 2usize, 1u8) as u32) }
3254}
3255#[inline]
3256pub unsafe fn set_ao_required_raw(this: *mut Self, val: __u32) {
3257unsafe {
3258let val: u32 = ::core::mem::transmute(val);
3259<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 2usize, 1u8, val as u64)
3260}
3261}
3262#[inline]
3263pub fn set_counters(&self) -> __u32 {
3264unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
3265}
3266#[inline]
3267pub fn set_set_counters(&mut self, val: __u32) {
3268unsafe {
3269let val: u32 = ::core::mem::transmute(val);
3270self._bitfield_1.set(3usize, 1u8, val as u64)
3271}
3272}
3273#[inline]
3274pub unsafe fn set_counters_raw(this: *const Self) -> __u32 {
3275unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 3usize, 1u8) as u32) }
3276}
3277#[inline]
3278pub unsafe fn set_set_counters_raw(this: *mut Self, val: __u32) {
3279unsafe {
3280let val: u32 = ::core::mem::transmute(val);
3281<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 3usize, 1u8, val as u64)
3282}
3283}
3284#[inline]
3285pub fn accept_icmps(&self) -> __u32 {
3286unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
3287}
3288#[inline]
3289pub fn set_accept_icmps(&mut self, val: __u32) {
3290unsafe {
3291let val: u32 = ::core::mem::transmute(val);
3292self._bitfield_1.set(4usize, 1u8, val as u64)
3293}
3294}
3295#[inline]
3296pub unsafe fn accept_icmps_raw(this: *const Self) -> __u32 {
3297unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 1u8) as u32) }
3298}
3299#[inline]
3300pub unsafe fn set_accept_icmps_raw(this: *mut Self, val: __u32) {
3301unsafe {
3302let val: u32 = ::core::mem::transmute(val);
3303<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 1u8, val as u64)
3304}
3305}
3306#[inline]
3307pub fn reserved(&self) -> __u32 {
3308unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 27u8) as u32) }
3309}
3310#[inline]
3311pub fn set_reserved(&mut self, val: __u32) {
3312unsafe {
3313let val: u32 = ::core::mem::transmute(val);
3314self._bitfield_1.set(5usize, 27u8, val as u64)
3315}
3316}
3317#[inline]
3318pub unsafe fn reserved_raw(this: *const Self) -> __u32 {
3319unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 5usize, 27u8) as u32) }
3320}
3321#[inline]
3322pub unsafe fn set_reserved_raw(this: *mut Self, val: __u32) {
3323unsafe {
3324let val: u32 = ::core::mem::transmute(val);
3325<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 5usize, 27u8, val as u64)
3326}
3327}
3328#[inline]
3329pub fn new_bitfield_1(set_current: __u32, set_rnext: __u32, ao_required: __u32, set_counters: __u32, accept_icmps: __u32, reserved: __u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
3330let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
3331__bindgen_bitfield_unit.set(0usize, 1u8, {
3332let set_current: u32 = unsafe { ::core::mem::transmute(set_current) };
3333set_current as u64
3334});
3335__bindgen_bitfield_unit.set(1usize, 1u8, {
3336let set_rnext: u32 = unsafe { ::core::mem::transmute(set_rnext) };
3337set_rnext as u64
3338});
3339__bindgen_bitfield_unit.set(2usize, 1u8, {
3340let ao_required: u32 = unsafe { ::core::mem::transmute(ao_required) };
3341ao_required as u64
3342});
3343__bindgen_bitfield_unit.set(3usize, 1u8, {
3344let set_counters: u32 = unsafe { ::core::mem::transmute(set_counters) };
3345set_counters as u64
3346});
3347__bindgen_bitfield_unit.set(4usize, 1u8, {
3348let accept_icmps: u32 = unsafe { ::core::mem::transmute(accept_icmps) };
3349accept_icmps as u64
3350});
3351__bindgen_bitfield_unit.set(5usize, 27u8, {
3352let reserved: u32 = unsafe { ::core::mem::transmute(reserved) };
3353reserved as u64
3354});
3355__bindgen_bitfield_unit
3356}
3357}
3358impl tcp_ao_getsockopt {
3359#[inline]
3360pub fn is_current(&self) -> __u16 {
3361unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
3362}
3363#[inline]
3364pub fn set_is_current(&mut self, val: __u16) {
3365unsafe {
3366let val: u16 = ::core::mem::transmute(val);
3367self._bitfield_1.set(0usize, 1u8, val as u64)
3368}
3369}
3370#[inline]
3371pub unsafe fn is_current_raw(this: *const Self) -> __u16 {
3372unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u16) }
3373}
3374#[inline]
3375pub unsafe fn set_is_current_raw(this: *mut Self, val: __u16) {
3376unsafe {
3377let val: u16 = ::core::mem::transmute(val);
3378<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
3379}
3380}
3381#[inline]
3382pub fn is_rnext(&self) -> __u16 {
3383unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u16) }
3384}
3385#[inline]
3386pub fn set_is_rnext(&mut self, val: __u16) {
3387unsafe {
3388let val: u16 = ::core::mem::transmute(val);
3389self._bitfield_1.set(1usize, 1u8, val as u64)
3390}
3391}
3392#[inline]
3393pub unsafe fn is_rnext_raw(this: *const Self) -> __u16 {
3394unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 1u8) as u16) }
3395}
3396#[inline]
3397pub unsafe fn set_is_rnext_raw(this: *mut Self, val: __u16) {
3398unsafe {
3399let val: u16 = ::core::mem::transmute(val);
3400<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 1u8, val as u64)
3401}
3402}
3403#[inline]
3404pub fn get_all(&self) -> __u16 {
3405unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u16) }
3406}
3407#[inline]
3408pub fn set_get_all(&mut self, val: __u16) {
3409unsafe {
3410let val: u16 = ::core::mem::transmute(val);
3411self._bitfield_1.set(2usize, 1u8, val as u64)
3412}
3413}
3414#[inline]
3415pub unsafe fn get_all_raw(this: *const Self) -> __u16 {
3416unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 2usize, 1u8) as u16) }
3417}
3418#[inline]
3419pub unsafe fn set_get_all_raw(this: *mut Self, val: __u16) {
3420unsafe {
3421let val: u16 = ::core::mem::transmute(val);
3422<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 2usize, 1u8, val as u64)
3423}
3424}
3425#[inline]
3426pub fn reserved(&self) -> __u16 {
3427unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 13u8) as u16) }
3428}
3429#[inline]
3430pub fn set_reserved(&mut self, val: __u16) {
3431unsafe {
3432let val: u16 = ::core::mem::transmute(val);
3433self._bitfield_1.set(3usize, 13u8, val as u64)
3434}
3435}
3436#[inline]
3437pub unsafe fn reserved_raw(this: *const Self) -> __u16 {
3438unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 3usize, 13u8) as u16) }
3439}
3440#[inline]
3441pub unsafe fn set_reserved_raw(this: *mut Self, val: __u16) {
3442unsafe {
3443let val: u16 = ::core::mem::transmute(val);
3444<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 3usize, 13u8, val as u64)
3445}
3446}
3447#[inline]
3448pub fn new_bitfield_1(is_current: __u16, is_rnext: __u16, get_all: __u16, reserved: __u16) -> __BindgenBitfieldUnit<[u8; 2usize]> {
3449let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
3450__bindgen_bitfield_unit.set(0usize, 1u8, {
3451let is_current: u16 = unsafe { ::core::mem::transmute(is_current) };
3452is_current as u64
3453});
3454__bindgen_bitfield_unit.set(1usize, 1u8, {
3455let is_rnext: u16 = unsafe { ::core::mem::transmute(is_rnext) };
3456is_rnext as u64
3457});
3458__bindgen_bitfield_unit.set(2usize, 1u8, {
3459let get_all: u16 = unsafe { ::core::mem::transmute(get_all) };
3460get_all as u64
3461});
3462__bindgen_bitfield_unit.set(3usize, 13u8, {
3463let reserved: u16 = unsafe { ::core::mem::transmute(reserved) };
3464reserved as u64
3465});
3466__bindgen_bitfield_unit
3467}
3468}
3469impl nf_inet_hooks {
3470pub const NF_INET_INGRESS: nf_inet_hooks = nf_inet_hooks::NF_INET_NUMHOOKS;
3471}
3472impl nf_ip_hook_priorities {
3473pub const NF_IP_PRI_LAST: nf_ip_hook_priorities = nf_ip_hook_priorities::NF_IP_PRI_CONNTRACK_CONFIRM;
3474}
3475impl hwtstamp_flags {
3476pub const HWTSTAMP_FLAG_LAST: hwtstamp_flags = hwtstamp_flags::HWTSTAMP_FLAG_BONDED_PHC_INDEX;
3477}
3478impl hwtstamp_flags {
3479pub const HWTSTAMP_FLAG_MASK: hwtstamp_flags = hwtstamp_flags::HWTSTAMP_FLAG_BONDED_PHC_INDEX;
3480}
3481impl txtime_flags {
3482pub const SOF_TXTIME_FLAGS_LAST: txtime_flags = txtime_flags::SOF_TXTIME_REPORT_ERRORS;
3483}