linux_raw_sys/x86/
net.rs

1/* automatically generated by rust-bindgen 0.72.1 */
2
3pub 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 SO_PASSRIGHTS: u32 = 83;
1252pub const SO_INQ: u32 = 84;
1253pub const SCM_INQ: u32 = 84;
1254pub const SYS_SOCKET: u32 = 1;
1255pub const SYS_BIND: u32 = 2;
1256pub const SYS_CONNECT: u32 = 3;
1257pub const SYS_LISTEN: u32 = 4;
1258pub const SYS_ACCEPT: u32 = 5;
1259pub const SYS_GETSOCKNAME: u32 = 6;
1260pub const SYS_GETPEERNAME: u32 = 7;
1261pub const SYS_SOCKETPAIR: u32 = 8;
1262pub const SYS_SEND: u32 = 9;
1263pub const SYS_RECV: u32 = 10;
1264pub const SYS_SENDTO: u32 = 11;
1265pub const SYS_RECVFROM: u32 = 12;
1266pub const SYS_SHUTDOWN: u32 = 13;
1267pub const SYS_SETSOCKOPT: u32 = 14;
1268pub const SYS_GETSOCKOPT: u32 = 15;
1269pub const SYS_SENDMSG: u32 = 16;
1270pub const SYS_RECVMSG: u32 = 17;
1271pub const SYS_ACCEPT4: u32 = 18;
1272pub const SYS_RECVMMSG: u32 = 19;
1273pub const SYS_SENDMMSG: u32 = 20;
1274pub const __SO_ACCEPTCON: u32 = 65536;
1275pub const TCP_MSS_DEFAULT: u32 = 536;
1276pub const TCP_MSS_DESIRED: u32 = 1220;
1277pub const TCP_NODELAY: u32 = 1;
1278pub const TCP_MAXSEG: u32 = 2;
1279pub const TCP_CORK: u32 = 3;
1280pub const TCP_KEEPIDLE: u32 = 4;
1281pub const TCP_KEEPINTVL: u32 = 5;
1282pub const TCP_KEEPCNT: u32 = 6;
1283pub const TCP_SYNCNT: u32 = 7;
1284pub const TCP_LINGER2: u32 = 8;
1285pub const TCP_DEFER_ACCEPT: u32 = 9;
1286pub const TCP_WINDOW_CLAMP: u32 = 10;
1287pub const TCP_INFO: u32 = 11;
1288pub const TCP_QUICKACK: u32 = 12;
1289pub const TCP_CONGESTION: u32 = 13;
1290pub const TCP_MD5SIG: u32 = 14;
1291pub const TCP_THIN_LINEAR_TIMEOUTS: u32 = 16;
1292pub const TCP_THIN_DUPACK: u32 = 17;
1293pub const TCP_USER_TIMEOUT: u32 = 18;
1294pub const TCP_REPAIR: u32 = 19;
1295pub const TCP_REPAIR_QUEUE: u32 = 20;
1296pub const TCP_QUEUE_SEQ: u32 = 21;
1297pub const TCP_REPAIR_OPTIONS: u32 = 22;
1298pub const TCP_FASTOPEN: u32 = 23;
1299pub const TCP_TIMESTAMP: u32 = 24;
1300pub const TCP_NOTSENT_LOWAT: u32 = 25;
1301pub const TCP_CC_INFO: u32 = 26;
1302pub const TCP_SAVE_SYN: u32 = 27;
1303pub const TCP_SAVED_SYN: u32 = 28;
1304pub const TCP_REPAIR_WINDOW: u32 = 29;
1305pub const TCP_FASTOPEN_CONNECT: u32 = 30;
1306pub const TCP_ULP: u32 = 31;
1307pub const TCP_MD5SIG_EXT: u32 = 32;
1308pub const TCP_FASTOPEN_KEY: u32 = 33;
1309pub const TCP_FASTOPEN_NO_COOKIE: u32 = 34;
1310pub const TCP_ZEROCOPY_RECEIVE: u32 = 35;
1311pub const TCP_INQ: u32 = 36;
1312pub const TCP_CM_INQ: u32 = 36;
1313pub const TCP_TX_DELAY: u32 = 37;
1314pub const TCP_AO_ADD_KEY: u32 = 38;
1315pub const TCP_AO_DEL_KEY: u32 = 39;
1316pub const TCP_AO_INFO: u32 = 40;
1317pub const TCP_AO_GET_KEYS: u32 = 41;
1318pub const TCP_AO_REPAIR: u32 = 42;
1319pub const TCP_IS_MPTCP: u32 = 43;
1320pub const TCP_RTO_MAX_MS: u32 = 44;
1321pub const TCP_RTO_MIN_US: u32 = 45;
1322pub const TCP_DELACK_MAX_US: u32 = 46;
1323pub const TCP_REPAIR_ON: u32 = 1;
1324pub const TCP_REPAIR_OFF: u32 = 0;
1325pub const TCP_REPAIR_OFF_NO_WP: i32 = -1;
1326pub const TCPI_OPT_TIMESTAMPS: u32 = 1;
1327pub const TCPI_OPT_SACK: u32 = 2;
1328pub const TCPI_OPT_WSCALE: u32 = 4;
1329pub const TCPI_OPT_ECN: u32 = 8;
1330pub const TCPI_OPT_ECN_SEEN: u32 = 16;
1331pub const TCPI_OPT_SYN_DATA: u32 = 32;
1332pub const TCPI_OPT_USEC_TS: u32 = 64;
1333pub const TCPI_OPT_TFO_CHILD: u32 = 128;
1334pub const TCP_MD5SIG_MAXKEYLEN: u32 = 80;
1335pub const TCP_MD5SIG_FLAG_PREFIX: u32 = 1;
1336pub const TCP_MD5SIG_FLAG_IFINDEX: u32 = 2;
1337pub const TCP_AO_MAXKEYLEN: u32 = 80;
1338pub const TCP_AO_KEYF_IFINDEX: u32 = 1;
1339pub const TCP_AO_KEYF_EXCLUDE_OPT: u32 = 2;
1340pub const TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT: u32 = 1;
1341pub const UNIX_PATH_MAX: u32 = 108;
1342pub const IFNAMSIZ: u32 = 16;
1343pub const IFALIASZ: u32 = 256;
1344pub const ALTIFNAMSIZ: u32 = 128;
1345pub const GENERIC_HDLC_VERSION: u32 = 4;
1346pub const CLOCK_DEFAULT: u32 = 0;
1347pub const CLOCK_EXT: u32 = 1;
1348pub const CLOCK_INT: u32 = 2;
1349pub const CLOCK_TXINT: u32 = 3;
1350pub const CLOCK_TXFROMRX: u32 = 4;
1351pub const ENCODING_DEFAULT: u32 = 0;
1352pub const ENCODING_NRZ: u32 = 1;
1353pub const ENCODING_NRZI: u32 = 2;
1354pub const ENCODING_FM_MARK: u32 = 3;
1355pub const ENCODING_FM_SPACE: u32 = 4;
1356pub const ENCODING_MANCHESTER: u32 = 5;
1357pub const PARITY_DEFAULT: u32 = 0;
1358pub const PARITY_NONE: u32 = 1;
1359pub const PARITY_CRC16_PR0: u32 = 2;
1360pub const PARITY_CRC16_PR1: u32 = 3;
1361pub const PARITY_CRC16_PR0_CCITT: u32 = 4;
1362pub const PARITY_CRC16_PR1_CCITT: u32 = 5;
1363pub const PARITY_CRC32_PR0_CCITT: u32 = 6;
1364pub const PARITY_CRC32_PR1_CCITT: u32 = 7;
1365pub const LMI_DEFAULT: u32 = 0;
1366pub const LMI_NONE: u32 = 1;
1367pub const LMI_ANSI: u32 = 2;
1368pub const LMI_CCITT: u32 = 3;
1369pub const LMI_CISCO: u32 = 4;
1370pub const IF_GET_IFACE: u32 = 1;
1371pub const IF_GET_PROTO: u32 = 2;
1372pub const IF_IFACE_V35: u32 = 4096;
1373pub const IF_IFACE_V24: u32 = 4097;
1374pub const IF_IFACE_X21: u32 = 4098;
1375pub const IF_IFACE_T1: u32 = 4099;
1376pub const IF_IFACE_E1: u32 = 4100;
1377pub const IF_IFACE_SYNC_SERIAL: u32 = 4101;
1378pub const IF_IFACE_X21D: u32 = 4102;
1379pub const IF_PROTO_HDLC: u32 = 8192;
1380pub const IF_PROTO_PPP: u32 = 8193;
1381pub const IF_PROTO_CISCO: u32 = 8194;
1382pub const IF_PROTO_FR: u32 = 8195;
1383pub const IF_PROTO_FR_ADD_PVC: u32 = 8196;
1384pub const IF_PROTO_FR_DEL_PVC: u32 = 8197;
1385pub const IF_PROTO_X25: u32 = 8198;
1386pub const IF_PROTO_HDLC_ETH: u32 = 8199;
1387pub const IF_PROTO_FR_ADD_ETH_PVC: u32 = 8200;
1388pub const IF_PROTO_FR_DEL_ETH_PVC: u32 = 8201;
1389pub const IF_PROTO_FR_PVC: u32 = 8202;
1390pub const IF_PROTO_FR_ETH_PVC: u32 = 8203;
1391pub const IF_PROTO_RAW: u32 = 8204;
1392pub const IFHWADDRLEN: u32 = 6;
1393pub const NF_DROP: u32 = 0;
1394pub const NF_ACCEPT: u32 = 1;
1395pub const NF_STOLEN: u32 = 2;
1396pub const NF_QUEUE: u32 = 3;
1397pub const NF_REPEAT: u32 = 4;
1398pub const NF_STOP: u32 = 5;
1399pub const NF_MAX_VERDICT: u32 = 5;
1400pub const NF_VERDICT_MASK: u32 = 255;
1401pub const NF_VERDICT_FLAG_QUEUE_BYPASS: u32 = 32768;
1402pub const NF_VERDICT_QMASK: u32 = 4294901760;
1403pub const NF_VERDICT_QBITS: u32 = 16;
1404pub const NF_VERDICT_BITS: u32 = 16;
1405pub const NF_IP6_PRE_ROUTING: u32 = 0;
1406pub const NF_IP6_LOCAL_IN: u32 = 1;
1407pub const NF_IP6_FORWARD: u32 = 2;
1408pub const NF_IP6_LOCAL_OUT: u32 = 3;
1409pub const NF_IP6_POST_ROUTING: u32 = 4;
1410pub const NF_IP6_NUMHOOKS: u32 = 5;
1411pub const XT_FUNCTION_MAXNAMELEN: u32 = 30;
1412pub const XT_EXTENSION_MAXNAMELEN: u32 = 29;
1413pub const XT_TABLE_MAXNAMELEN: u32 = 32;
1414pub const XT_CONTINUE: u32 = 4294967295;
1415pub const XT_RETURN: i32 = -5;
1416pub const XT_STANDARD_TARGET: &[u8; 1] = b"\0";
1417pub const XT_ERROR_TARGET: &[u8; 6] = b"ERROR\0";
1418pub const XT_INV_PROTO: u32 = 64;
1419pub const IP6T_FUNCTION_MAXNAMELEN: u32 = 30;
1420pub const IP6T_TABLE_MAXNAMELEN: u32 = 32;
1421pub const IP6T_CONTINUE: u32 = 4294967295;
1422pub const IP6T_RETURN: i32 = -5;
1423pub const XT_TCP_INV_SRCPT: u32 = 1;
1424pub const XT_TCP_INV_DSTPT: u32 = 2;
1425pub const XT_TCP_INV_FLAGS: u32 = 4;
1426pub const XT_TCP_INV_OPTION: u32 = 8;
1427pub const XT_TCP_INV_MASK: u32 = 15;
1428pub const XT_UDP_INV_SRCPT: u32 = 1;
1429pub const XT_UDP_INV_DSTPT: u32 = 2;
1430pub const XT_UDP_INV_MASK: u32 = 3;
1431pub const IP6T_TCP_INV_SRCPT: u32 = 1;
1432pub const IP6T_TCP_INV_DSTPT: u32 = 2;
1433pub const IP6T_TCP_INV_FLAGS: u32 = 4;
1434pub const IP6T_TCP_INV_OPTION: u32 = 8;
1435pub const IP6T_TCP_INV_MASK: u32 = 15;
1436pub const IP6T_UDP_INV_SRCPT: u32 = 1;
1437pub const IP6T_UDP_INV_DSTPT: u32 = 2;
1438pub const IP6T_UDP_INV_MASK: u32 = 3;
1439pub const IP6T_STANDARD_TARGET: &[u8; 1] = b"\0";
1440pub const IP6T_ERROR_TARGET: &[u8; 6] = b"ERROR\0";
1441pub const IP6T_F_PROTO: u32 = 1;
1442pub const IP6T_F_TOS: u32 = 2;
1443pub const IP6T_F_GOTO: u32 = 4;
1444pub const IP6T_F_MASK: u32 = 7;
1445pub const IP6T_INV_VIA_IN: u32 = 1;
1446pub const IP6T_INV_VIA_OUT: u32 = 2;
1447pub const IP6T_INV_TOS: u32 = 4;
1448pub const IP6T_INV_SRCIP: u32 = 8;
1449pub const IP6T_INV_DSTIP: u32 = 16;
1450pub const IP6T_INV_FRAG: u32 = 32;
1451pub const IP6T_INV_PROTO: u32 = 64;
1452pub const IP6T_INV_MASK: u32 = 127;
1453pub const IP6T_BASE_CTL: u32 = 64;
1454pub const IP6T_SO_SET_REPLACE: u32 = 64;
1455pub const IP6T_SO_SET_ADD_COUNTERS: u32 = 65;
1456pub const IP6T_SO_SET_MAX: u32 = 65;
1457pub const IP6T_SO_GET_INFO: u32 = 64;
1458pub const IP6T_SO_GET_ENTRIES: u32 = 65;
1459pub const IP6T_SO_GET_REVISION_MATCH: u32 = 68;
1460pub const IP6T_SO_GET_REVISION_TARGET: u32 = 69;
1461pub const IP6T_SO_GET_MAX: u32 = 69;
1462pub const IP6T_SO_ORIGINAL_DST: u32 = 80;
1463pub const IP6T_ICMP_INV: u32 = 1;
1464pub const NF_IP_PRE_ROUTING: u32 = 0;
1465pub const NF_IP_LOCAL_IN: u32 = 1;
1466pub const NF_IP_FORWARD: u32 = 2;
1467pub const NF_IP_LOCAL_OUT: u32 = 3;
1468pub const NF_IP_POST_ROUTING: u32 = 4;
1469pub const NF_IP_NUMHOOKS: u32 = 5;
1470pub const SO_ORIGINAL_DST: u32 = 80;
1471pub const SHUT_RD: u32 = 0;
1472pub const SHUT_WR: u32 = 1;
1473pub const SHUT_RDWR: u32 = 2;
1474pub const SOCK_STREAM: u32 = 1;
1475pub const SOCK_DGRAM: u32 = 2;
1476pub const SOCK_RAW: u32 = 3;
1477pub const SOCK_RDM: u32 = 4;
1478pub const SOCK_SEQPACKET: u32 = 5;
1479pub const MSG_DONTWAIT: u32 = 64;
1480pub const AF_UNSPEC: u32 = 0;
1481pub const AF_UNIX: u32 = 1;
1482pub const AF_INET: u32 = 2;
1483pub const AF_AX25: u32 = 3;
1484pub const AF_IPX: u32 = 4;
1485pub const AF_APPLETALK: u32 = 5;
1486pub const AF_NETROM: u32 = 6;
1487pub const AF_BRIDGE: u32 = 7;
1488pub const AF_ATMPVC: u32 = 8;
1489pub const AF_X25: u32 = 9;
1490pub const AF_INET6: u32 = 10;
1491pub const AF_ROSE: u32 = 11;
1492pub const AF_DECnet: u32 = 12;
1493pub const AF_NETBEUI: u32 = 13;
1494pub const AF_SECURITY: u32 = 14;
1495pub const AF_KEY: u32 = 15;
1496pub const AF_NETLINK: u32 = 16;
1497pub const AF_PACKET: u32 = 17;
1498pub const AF_ASH: u32 = 18;
1499pub const AF_ECONET: u32 = 19;
1500pub const AF_ATMSVC: u32 = 20;
1501pub const AF_RDS: u32 = 21;
1502pub const AF_SNA: u32 = 22;
1503pub const AF_IRDA: u32 = 23;
1504pub const AF_PPPOX: u32 = 24;
1505pub const AF_WANPIPE: u32 = 25;
1506pub const AF_LLC: u32 = 26;
1507pub const AF_CAN: u32 = 29;
1508pub const AF_TIPC: u32 = 30;
1509pub const AF_BLUETOOTH: u32 = 31;
1510pub const AF_IUCV: u32 = 32;
1511pub const AF_RXRPC: u32 = 33;
1512pub const AF_ISDN: u32 = 34;
1513pub const AF_PHONET: u32 = 35;
1514pub const AF_IEEE802154: u32 = 36;
1515pub const AF_CAIF: u32 = 37;
1516pub const AF_ALG: u32 = 38;
1517pub const AF_NFC: u32 = 39;
1518pub const AF_VSOCK: u32 = 40;
1519pub const AF_KCM: u32 = 41;
1520pub const AF_QIPCRTR: u32 = 42;
1521pub const AF_SMC: u32 = 43;
1522pub const AF_XDP: u32 = 44;
1523pub const AF_MCTP: u32 = 45;
1524pub const AF_MAX: u32 = 46;
1525pub const MSG_OOB: u32 = 1;
1526pub const MSG_PEEK: u32 = 2;
1527pub const MSG_DONTROUTE: u32 = 4;
1528pub const MSG_CTRUNC: u32 = 8;
1529pub const MSG_PROBE: u32 = 16;
1530pub const MSG_TRUNC: u32 = 32;
1531pub const MSG_EOR: u32 = 128;
1532pub const MSG_WAITALL: u32 = 256;
1533pub const MSG_FIN: u32 = 512;
1534pub const MSG_SYN: u32 = 1024;
1535pub const MSG_CONFIRM: u32 = 2048;
1536pub const MSG_RST: u32 = 4096;
1537pub const MSG_ERRQUEUE: u32 = 8192;
1538pub const MSG_NOSIGNAL: u32 = 16384;
1539pub const MSG_MORE: u32 = 32768;
1540pub const MSG_CMSG_CLOEXEC: u32 = 1073741824;
1541pub const SCM_RIGHTS: u32 = 1;
1542pub const SCM_CREDENTIALS: u32 = 2;
1543pub const SCM_SECURITY: u32 = 3;
1544pub const SOL_IP: u32 = 0;
1545pub const SOL_TCP: u32 = 6;
1546pub const SOL_UDP: u32 = 17;
1547pub const SOL_IPV6: u32 = 41;
1548pub const SOL_ICMPV6: u32 = 58;
1549pub const SOL_SCTP: u32 = 132;
1550pub const SOL_UDPLITE: u32 = 136;
1551pub const SOL_RAW: u32 = 255;
1552pub const SOL_IPX: u32 = 256;
1553pub const SOL_AX25: u32 = 257;
1554pub const SOL_ATALK: u32 = 258;
1555pub const SOL_NETROM: u32 = 259;
1556pub const SOL_ROSE: u32 = 260;
1557pub const SOL_DECNET: u32 = 261;
1558pub const SOL_X25: u32 = 262;
1559pub const SOL_PACKET: u32 = 263;
1560pub const SOL_ATM: u32 = 264;
1561pub const SOL_AAL: u32 = 265;
1562pub const SOL_IRDA: u32 = 266;
1563pub const SOL_NETBEUI: u32 = 267;
1564pub const SOL_LLC: u32 = 268;
1565pub const SOL_DCCP: u32 = 269;
1566pub const SOL_NETLINK: u32 = 270;
1567pub const SOL_TIPC: u32 = 271;
1568pub const SOL_RXRPC: u32 = 272;
1569pub const SOL_PPPOL2TP: u32 = 273;
1570pub const SOL_BLUETOOTH: u32 = 274;
1571pub const SOL_PNPIPE: u32 = 275;
1572pub const SOL_RDS: u32 = 276;
1573pub const SOL_IUCV: u32 = 277;
1574pub const SOL_CAIF: u32 = 278;
1575pub const SOL_ALG: u32 = 279;
1576pub const SOL_NFC: u32 = 280;
1577pub const SOL_KCM: u32 = 281;
1578pub const SOL_TLS: u32 = 282;
1579pub const SOL_XDP: u32 = 283;
1580pub const SOL_MPTCP: u32 = 284;
1581pub const SOL_MCTP: u32 = 285;
1582pub const SOL_SMC: u32 = 286;
1583pub const IPPROTO_IP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IP;
1584pub const IPPROTO_ICMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ICMP;
1585pub const IPPROTO_IGMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IGMP;
1586pub const IPPROTO_IPIP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPIP;
1587pub const IPPROTO_TCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TCP;
1588pub const IPPROTO_EGP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_EGP;
1589pub const IPPROTO_PUP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PUP;
1590pub const IPPROTO_UDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDP;
1591pub const IPPROTO_IDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IDP;
1592pub const IPPROTO_TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TP;
1593pub const IPPROTO_DCCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_DCCP;
1594pub const IPPROTO_IPV6: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPV6;
1595pub const IPPROTO_RSVP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RSVP;
1596pub const IPPROTO_GRE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_GRE;
1597pub const IPPROTO_ESP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ESP;
1598pub const IPPROTO_AH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AH;
1599pub const IPPROTO_MTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MTP;
1600pub const IPPROTO_BEETPH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_BEETPH;
1601pub const IPPROTO_ENCAP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ENCAP;
1602pub const IPPROTO_PIM: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PIM;
1603pub const IPPROTO_COMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_COMP;
1604pub const IPPROTO_L2TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_L2TP;
1605pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP;
1606pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE;
1607pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS;
1608pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET;
1609pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG;
1610pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW;
1611pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC;
1612pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP;
1613pub const IPPROTO_MAX: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MAX;
1614pub const IPV4_DEVCONF_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORWARDING;
1615pub const IPV4_DEVCONF_MC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MC_FORWARDING;
1616pub const IPV4_DEVCONF_PROXY_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP;
1617pub const IPV4_DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_REDIRECTS;
1618pub const IPV4_DEVCONF_SECURE_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SECURE_REDIRECTS;
1619pub const IPV4_DEVCONF_SEND_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SEND_REDIRECTS;
1620pub const IPV4_DEVCONF_SHARED_MEDIA: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SHARED_MEDIA;
1621pub const IPV4_DEVCONF_RP_FILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_RP_FILTER;
1622pub const IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE;
1623pub const IPV4_DEVCONF_BOOTP_RELAY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BOOTP_RELAY;
1624pub const IPV4_DEVCONF_LOG_MARTIANS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_LOG_MARTIANS;
1625pub const IPV4_DEVCONF_TAG: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_TAG;
1626pub const IPV4_DEVCONF_ARPFILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARPFILTER;
1627pub const IPV4_DEVCONF_MEDIUM_ID: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MEDIUM_ID;
1628pub const IPV4_DEVCONF_NOXFRM: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOXFRM;
1629pub const IPV4_DEVCONF_NOPOLICY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOPOLICY;
1630pub const IPV4_DEVCONF_FORCE_IGMP_VERSION: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORCE_IGMP_VERSION;
1631pub const IPV4_DEVCONF_ARP_ANNOUNCE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ANNOUNCE;
1632pub const IPV4_DEVCONF_ARP_IGNORE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_IGNORE;
1633pub const IPV4_DEVCONF_PROMOTE_SECONDARIES: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROMOTE_SECONDARIES;
1634pub const IPV4_DEVCONF_ARP_ACCEPT: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ACCEPT;
1635pub const IPV4_DEVCONF_ARP_NOTIFY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_NOTIFY;
1636pub const IPV4_DEVCONF_ACCEPT_LOCAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_LOCAL;
1637pub const IPV4_DEVCONF_SRC_VMARK: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SRC_VMARK;
1638pub const IPV4_DEVCONF_PROXY_ARP_PVLAN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP_PVLAN;
1639pub const IPV4_DEVCONF_ROUTE_LOCALNET: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ROUTE_LOCALNET;
1640pub const IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL;
1641pub const IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL;
1642pub const IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
1643pub const IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
1644pub const IPV4_DEVCONF_DROP_GRATUITOUS_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_GRATUITOUS_ARP;
1645pub const IPV4_DEVCONF_BC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BC_FORWARDING;
1646pub const IPV4_DEVCONF_ARP_EVICT_NOCARRIER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_EVICT_NOCARRIER;
1647pub const __IPV4_DEVCONF_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IPV4_DEVCONF_MAX;
1648pub const DEVCONF_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORWARDING;
1649pub const DEVCONF_HOPLIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_HOPLIMIT;
1650pub const DEVCONF_MTU6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MTU6;
1651pub const DEVCONF_ACCEPT_RA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA;
1652pub const DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_REDIRECTS;
1653pub const DEVCONF_AUTOCONF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_AUTOCONF;
1654pub const DEVCONF_DAD_TRANSMITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DAD_TRANSMITS;
1655pub const DEVCONF_RTR_SOLICITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICITS;
1656pub const DEVCONF_RTR_SOLICIT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_INTERVAL;
1657pub const DEVCONF_RTR_SOLICIT_DELAY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_DELAY;
1658pub const DEVCONF_USE_TEMPADDR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_TEMPADDR;
1659pub const DEVCONF_TEMP_VALID_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_VALID_LFT;
1660pub const DEVCONF_TEMP_PREFERED_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_PREFERED_LFT;
1661pub const DEVCONF_REGEN_MAX_RETRY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_REGEN_MAX_RETRY;
1662pub const DEVCONF_MAX_DESYNC_FACTOR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_DESYNC_FACTOR;
1663pub const DEVCONF_MAX_ADDRESSES: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_ADDRESSES;
1664pub const DEVCONF_FORCE_MLD_VERSION: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_MLD_VERSION;
1665pub const DEVCONF_ACCEPT_RA_DEFRTR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_DEFRTR;
1666pub const DEVCONF_ACCEPT_RA_PINFO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_PINFO;
1667pub const DEVCONF_ACCEPT_RA_RTR_PREF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RTR_PREF;
1668pub const DEVCONF_RTR_PROBE_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_PROBE_INTERVAL;
1669pub const DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN;
1670pub const DEVCONF_PROXY_NDP: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_PROXY_NDP;
1671pub const DEVCONF_OPTIMISTIC_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_OPTIMISTIC_DAD;
1672pub const DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_SOURCE_ROUTE;
1673pub const DEVCONF_MC_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MC_FORWARDING;
1674pub const DEVCONF_DISABLE_IPV6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_IPV6;
1675pub const DEVCONF_ACCEPT_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_DAD;
1676pub const DEVCONF_FORCE_TLLAO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_TLLAO;
1677pub const DEVCONF_NDISC_NOTIFY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_NOTIFY;
1678pub const DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL;
1679pub const DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL;
1680pub const DEVCONF_SUPPRESS_FRAG_NDISC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SUPPRESS_FRAG_NDISC;
1681pub const DEVCONF_ACCEPT_RA_FROM_LOCAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_FROM_LOCAL;
1682pub const DEVCONF_USE_OPTIMISTIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OPTIMISTIC;
1683pub const DEVCONF_ACCEPT_RA_MTU: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MTU;
1684pub const DEVCONF_STABLE_SECRET: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_STABLE_SECRET;
1685pub const DEVCONF_USE_OIF_ADDRS_ONLY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OIF_ADDRS_ONLY;
1686pub const DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT;
1687pub const DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
1688pub const DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
1689pub const DEVCONF_DROP_UNSOLICITED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNSOLICITED_NA;
1690pub const DEVCONF_KEEP_ADDR_ON_DOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_KEEP_ADDR_ON_DOWN;
1691pub const DEVCONF_RTR_SOLICIT_MAX_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_MAX_INTERVAL;
1692pub const DEVCONF_SEG6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_ENABLED;
1693pub const DEVCONF_SEG6_REQUIRE_HMAC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_REQUIRE_HMAC;
1694pub const DEVCONF_ENHANCED_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ENHANCED_DAD;
1695pub const DEVCONF_ADDR_GEN_MODE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ADDR_GEN_MODE;
1696pub const DEVCONF_DISABLE_POLICY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_POLICY;
1697pub const DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN;
1698pub const DEVCONF_NDISC_TCLASS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_TCLASS;
1699pub const DEVCONF_RPL_SEG_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RPL_SEG_ENABLED;
1700pub const DEVCONF_RA_DEFRTR_METRIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RA_DEFRTR_METRIC;
1701pub const DEVCONF_IOAM6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ENABLED;
1702pub const DEVCONF_IOAM6_ID: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID;
1703pub const DEVCONF_IOAM6_ID_WIDE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID_WIDE;
1704pub const DEVCONF_NDISC_EVICT_NOCARRIER: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_EVICT_NOCARRIER;
1705pub const DEVCONF_ACCEPT_UNTRACKED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_UNTRACKED_NA;
1706pub const DEVCONF_ACCEPT_RA_MIN_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MIN_LFT;
1707pub const DEVCONF_FORCE_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_FORWARDING;
1708pub const DEVCONF_MAX: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX;
1709pub const TCP_FLAG_AE: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_AE;
1710pub const TCP_FLAG_CWR: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_CWR;
1711pub const TCP_FLAG_ECE: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ECE;
1712pub const TCP_FLAG_URG: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_URG;
1713pub const TCP_FLAG_ACK: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ACK;
1714pub const TCP_FLAG_PSH: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_PSH;
1715pub const TCP_FLAG_RST: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_RST;
1716pub const TCP_FLAG_SYN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_SYN;
1717pub const TCP_FLAG_FIN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_FIN;
1718pub const TCP_RESERVED_BITS: _bindgen_ty_4 = _bindgen_ty_4::TCP_RESERVED_BITS;
1719pub const TCP_DATA_OFFSET: _bindgen_ty_4 = _bindgen_ty_4::TCP_DATA_OFFSET;
1720pub const TCP_NO_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_NO_QUEUE;
1721pub const TCP_RECV_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_RECV_QUEUE;
1722pub const TCP_SEND_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_SEND_QUEUE;
1723pub const TCP_QUEUES_NR: _bindgen_ty_5 = _bindgen_ty_5::TCP_QUEUES_NR;
1724pub const TCP_NLA_PAD: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PAD;
1725pub const TCP_NLA_BUSY: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BUSY;
1726pub const TCP_NLA_RWND_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RWND_LIMITED;
1727pub const TCP_NLA_SNDBUF_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDBUF_LIMITED;
1728pub const TCP_NLA_DATA_SEGS_OUT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DATA_SEGS_OUT;
1729pub const TCP_NLA_TOTAL_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TOTAL_RETRANS;
1730pub const TCP_NLA_PACING_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PACING_RATE;
1731pub const TCP_NLA_DELIVERY_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE;
1732pub const TCP_NLA_SND_CWND: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_CWND;
1733pub const TCP_NLA_REORDERING: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORDERING;
1734pub const TCP_NLA_MIN_RTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_MIN_RTT;
1735pub const TCP_NLA_RECUR_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RECUR_RETRANS;
1736pub const TCP_NLA_DELIVERY_RATE_APP_LMT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE_APP_LMT;
1737pub const TCP_NLA_SNDQ_SIZE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDQ_SIZE;
1738pub const TCP_NLA_CA_STATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_CA_STATE;
1739pub const TCP_NLA_SND_SSTHRESH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_SSTHRESH;
1740pub const TCP_NLA_DELIVERED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED;
1741pub const TCP_NLA_DELIVERED_CE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED_CE;
1742pub const TCP_NLA_BYTES_SENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_SENT;
1743pub const TCP_NLA_BYTES_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_RETRANS;
1744pub const TCP_NLA_DSACK_DUPS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DSACK_DUPS;
1745pub const TCP_NLA_REORD_SEEN: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORD_SEEN;
1746pub const TCP_NLA_SRTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SRTT;
1747pub const TCP_NLA_TIMEOUT_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TIMEOUT_REHASH;
1748pub const TCP_NLA_BYTES_NOTSENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_NOTSENT;
1749pub const TCP_NLA_EDT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_EDT;
1750pub const TCP_NLA_TTL: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TTL;
1751pub const TCP_NLA_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REHASH;
1752pub const IF_OPER_UNKNOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_UNKNOWN;
1753pub const IF_OPER_NOTPRESENT: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_NOTPRESENT;
1754pub const IF_OPER_DOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_DOWN;
1755pub const IF_OPER_LOWERLAYERDOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_LOWERLAYERDOWN;
1756pub const IF_OPER_TESTING: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_TESTING;
1757pub const IF_OPER_DORMANT: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_DORMANT;
1758pub const IF_OPER_UP: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_UP;
1759pub const IF_LINK_MODE_DEFAULT: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_DEFAULT;
1760pub const IF_LINK_MODE_DORMANT: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_DORMANT;
1761pub const IF_LINK_MODE_TESTING: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_TESTING;
1762pub const NFPROTO_UNSPEC: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_UNSPEC;
1763pub const NFPROTO_INET: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_INET;
1764pub const NFPROTO_IPV4: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_IPV4;
1765pub const NFPROTO_ARP: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_ARP;
1766pub const NFPROTO_NETDEV: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_NETDEV;
1767pub const NFPROTO_BRIDGE: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_BRIDGE;
1768pub const NFPROTO_IPV6: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_IPV6;
1769pub const NFPROTO_DECNET: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_DECNET;
1770pub const NFPROTO_NUMPROTO: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_NUMPROTO;
1771pub const SOF_TIMESTAMPING_TX_HARDWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_HARDWARE;
1772pub const SOF_TIMESTAMPING_TX_SOFTWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_SOFTWARE;
1773pub const SOF_TIMESTAMPING_RX_HARDWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_RX_HARDWARE;
1774pub const SOF_TIMESTAMPING_RX_SOFTWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_RX_SOFTWARE;
1775pub const SOF_TIMESTAMPING_SOFTWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_SOFTWARE;
1776pub const SOF_TIMESTAMPING_SYS_HARDWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_SYS_HARDWARE;
1777pub const SOF_TIMESTAMPING_RAW_HARDWARE: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_RAW_HARDWARE;
1778pub const SOF_TIMESTAMPING_OPT_ID: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_ID;
1779pub const SOF_TIMESTAMPING_TX_SCHED: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_SCHED;
1780pub const SOF_TIMESTAMPING_TX_ACK: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_ACK;
1781pub const SOF_TIMESTAMPING_OPT_CMSG: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_CMSG;
1782pub const SOF_TIMESTAMPING_OPT_TSONLY: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_TSONLY;
1783pub const SOF_TIMESTAMPING_OPT_STATS: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_STATS;
1784pub const SOF_TIMESTAMPING_OPT_PKTINFO: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_PKTINFO;
1785pub const SOF_TIMESTAMPING_OPT_TX_SWHW: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_TX_SWHW;
1786pub const SOF_TIMESTAMPING_BIND_PHC: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_BIND_PHC;
1787pub const SOF_TIMESTAMPING_OPT_ID_TCP: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_ID_TCP;
1788pub const SOF_TIMESTAMPING_OPT_RX_FILTER: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_OPT_RX_FILTER;
1789pub const SOF_TIMESTAMPING_TX_COMPLETION: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_COMPLETION;
1790pub const SOF_TIMESTAMPING_LAST: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_TX_COMPLETION;
1791pub const SOF_TIMESTAMPING_MASK: _bindgen_ty_10 = _bindgen_ty_10::SOF_TIMESTAMPING_MASK;
1792#[repr(u32)]
1793#[non_exhaustive]
1794#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1795pub enum _bindgen_ty_1 {
1796IPPROTO_IP = 0,
1797IPPROTO_ICMP = 1,
1798IPPROTO_IGMP = 2,
1799IPPROTO_IPIP = 4,
1800IPPROTO_TCP = 6,
1801IPPROTO_EGP = 8,
1802IPPROTO_PUP = 12,
1803IPPROTO_UDP = 17,
1804IPPROTO_IDP = 22,
1805IPPROTO_TP = 29,
1806IPPROTO_DCCP = 33,
1807IPPROTO_IPV6 = 41,
1808IPPROTO_RSVP = 46,
1809IPPROTO_GRE = 47,
1810IPPROTO_ESP = 50,
1811IPPROTO_AH = 51,
1812IPPROTO_MTP = 92,
1813IPPROTO_BEETPH = 94,
1814IPPROTO_ENCAP = 98,
1815IPPROTO_PIM = 103,
1816IPPROTO_COMP = 108,
1817IPPROTO_L2TP = 115,
1818IPPROTO_SCTP = 132,
1819IPPROTO_UDPLITE = 136,
1820IPPROTO_MPLS = 137,
1821IPPROTO_ETHERNET = 143,
1822IPPROTO_AGGFRAG = 144,
1823IPPROTO_RAW = 255,
1824IPPROTO_SMC = 256,
1825IPPROTO_MPTCP = 262,
1826IPPROTO_MAX = 263,
1827}
1828#[repr(u32)]
1829#[non_exhaustive]
1830#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1831pub enum _bindgen_ty_2 {
1832IPV4_DEVCONF_FORWARDING = 1,
1833IPV4_DEVCONF_MC_FORWARDING = 2,
1834IPV4_DEVCONF_PROXY_ARP = 3,
1835IPV4_DEVCONF_ACCEPT_REDIRECTS = 4,
1836IPV4_DEVCONF_SECURE_REDIRECTS = 5,
1837IPV4_DEVCONF_SEND_REDIRECTS = 6,
1838IPV4_DEVCONF_SHARED_MEDIA = 7,
1839IPV4_DEVCONF_RP_FILTER = 8,
1840IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9,
1841IPV4_DEVCONF_BOOTP_RELAY = 10,
1842IPV4_DEVCONF_LOG_MARTIANS = 11,
1843IPV4_DEVCONF_TAG = 12,
1844IPV4_DEVCONF_ARPFILTER = 13,
1845IPV4_DEVCONF_MEDIUM_ID = 14,
1846IPV4_DEVCONF_NOXFRM = 15,
1847IPV4_DEVCONF_NOPOLICY = 16,
1848IPV4_DEVCONF_FORCE_IGMP_VERSION = 17,
1849IPV4_DEVCONF_ARP_ANNOUNCE = 18,
1850IPV4_DEVCONF_ARP_IGNORE = 19,
1851IPV4_DEVCONF_PROMOTE_SECONDARIES = 20,
1852IPV4_DEVCONF_ARP_ACCEPT = 21,
1853IPV4_DEVCONF_ARP_NOTIFY = 22,
1854IPV4_DEVCONF_ACCEPT_LOCAL = 23,
1855IPV4_DEVCONF_SRC_VMARK = 24,
1856IPV4_DEVCONF_PROXY_ARP_PVLAN = 25,
1857IPV4_DEVCONF_ROUTE_LOCALNET = 26,
1858IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27,
1859IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28,
1860IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29,
1861IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30,
1862IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31,
1863IPV4_DEVCONF_BC_FORWARDING = 32,
1864IPV4_DEVCONF_ARP_EVICT_NOCARRIER = 33,
1865__IPV4_DEVCONF_MAX = 34,
1866}
1867#[repr(u32)]
1868#[non_exhaustive]
1869#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1870pub enum _bindgen_ty_3 {
1871DEVCONF_FORWARDING = 0,
1872DEVCONF_HOPLIMIT = 1,
1873DEVCONF_MTU6 = 2,
1874DEVCONF_ACCEPT_RA = 3,
1875DEVCONF_ACCEPT_REDIRECTS = 4,
1876DEVCONF_AUTOCONF = 5,
1877DEVCONF_DAD_TRANSMITS = 6,
1878DEVCONF_RTR_SOLICITS = 7,
1879DEVCONF_RTR_SOLICIT_INTERVAL = 8,
1880DEVCONF_RTR_SOLICIT_DELAY = 9,
1881DEVCONF_USE_TEMPADDR = 10,
1882DEVCONF_TEMP_VALID_LFT = 11,
1883DEVCONF_TEMP_PREFERED_LFT = 12,
1884DEVCONF_REGEN_MAX_RETRY = 13,
1885DEVCONF_MAX_DESYNC_FACTOR = 14,
1886DEVCONF_MAX_ADDRESSES = 15,
1887DEVCONF_FORCE_MLD_VERSION = 16,
1888DEVCONF_ACCEPT_RA_DEFRTR = 17,
1889DEVCONF_ACCEPT_RA_PINFO = 18,
1890DEVCONF_ACCEPT_RA_RTR_PREF = 19,
1891DEVCONF_RTR_PROBE_INTERVAL = 20,
1892DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21,
1893DEVCONF_PROXY_NDP = 22,
1894DEVCONF_OPTIMISTIC_DAD = 23,
1895DEVCONF_ACCEPT_SOURCE_ROUTE = 24,
1896DEVCONF_MC_FORWARDING = 25,
1897DEVCONF_DISABLE_IPV6 = 26,
1898DEVCONF_ACCEPT_DAD = 27,
1899DEVCONF_FORCE_TLLAO = 28,
1900DEVCONF_NDISC_NOTIFY = 29,
1901DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30,
1902DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31,
1903DEVCONF_SUPPRESS_FRAG_NDISC = 32,
1904DEVCONF_ACCEPT_RA_FROM_LOCAL = 33,
1905DEVCONF_USE_OPTIMISTIC = 34,
1906DEVCONF_ACCEPT_RA_MTU = 35,
1907DEVCONF_STABLE_SECRET = 36,
1908DEVCONF_USE_OIF_ADDRS_ONLY = 37,
1909DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38,
1910DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39,
1911DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40,
1912DEVCONF_DROP_UNSOLICITED_NA = 41,
1913DEVCONF_KEEP_ADDR_ON_DOWN = 42,
1914DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43,
1915DEVCONF_SEG6_ENABLED = 44,
1916DEVCONF_SEG6_REQUIRE_HMAC = 45,
1917DEVCONF_ENHANCED_DAD = 46,
1918DEVCONF_ADDR_GEN_MODE = 47,
1919DEVCONF_DISABLE_POLICY = 48,
1920DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49,
1921DEVCONF_NDISC_TCLASS = 50,
1922DEVCONF_RPL_SEG_ENABLED = 51,
1923DEVCONF_RA_DEFRTR_METRIC = 52,
1924DEVCONF_IOAM6_ENABLED = 53,
1925DEVCONF_IOAM6_ID = 54,
1926DEVCONF_IOAM6_ID_WIDE = 55,
1927DEVCONF_NDISC_EVICT_NOCARRIER = 56,
1928DEVCONF_ACCEPT_UNTRACKED_NA = 57,
1929DEVCONF_ACCEPT_RA_MIN_LFT = 58,
1930DEVCONF_FORCE_FORWARDING = 59,
1931DEVCONF_MAX = 60,
1932}
1933#[repr(u32)]
1934#[non_exhaustive]
1935#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1936pub enum socket_state {
1937SS_FREE = 0,
1938SS_UNCONNECTED = 1,
1939SS_CONNECTING = 2,
1940SS_CONNECTED = 3,
1941SS_DISCONNECTING = 4,
1942}
1943#[repr(u32)]
1944#[non_exhaustive]
1945#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1946pub enum _bindgen_ty_4 {
1947TCP_FLAG_AE = 1,
1948TCP_FLAG_CWR = 32768,
1949TCP_FLAG_ECE = 16384,
1950TCP_FLAG_URG = 8192,
1951TCP_FLAG_ACK = 4096,
1952TCP_FLAG_PSH = 2048,
1953TCP_FLAG_RST = 1024,
1954TCP_FLAG_SYN = 512,
1955TCP_FLAG_FIN = 256,
1956TCP_RESERVED_BITS = 14,
1957TCP_DATA_OFFSET = 240,
1958}
1959#[repr(u32)]
1960#[non_exhaustive]
1961#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1962pub enum _bindgen_ty_5 {
1963TCP_NO_QUEUE = 0,
1964TCP_RECV_QUEUE = 1,
1965TCP_SEND_QUEUE = 2,
1966TCP_QUEUES_NR = 3,
1967}
1968#[repr(u32)]
1969#[non_exhaustive]
1970#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1971pub enum tcp_fastopen_client_fail {
1972TFO_STATUS_UNSPEC = 0,
1973TFO_COOKIE_UNAVAILABLE = 1,
1974TFO_DATA_NOT_ACKED = 2,
1975TFO_SYN_RETRANSMITTED = 3,
1976}
1977#[repr(u32)]
1978#[non_exhaustive]
1979#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1980pub enum tcp_ca_state {
1981TCP_CA_Open = 0,
1982TCP_CA_Disorder = 1,
1983TCP_CA_CWR = 2,
1984TCP_CA_Recovery = 3,
1985TCP_CA_Loss = 4,
1986}
1987#[repr(u32)]
1988#[non_exhaustive]
1989#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1990pub enum _bindgen_ty_6 {
1991TCP_NLA_PAD = 0,
1992TCP_NLA_BUSY = 1,
1993TCP_NLA_RWND_LIMITED = 2,
1994TCP_NLA_SNDBUF_LIMITED = 3,
1995TCP_NLA_DATA_SEGS_OUT = 4,
1996TCP_NLA_TOTAL_RETRANS = 5,
1997TCP_NLA_PACING_RATE = 6,
1998TCP_NLA_DELIVERY_RATE = 7,
1999TCP_NLA_SND_CWND = 8,
2000TCP_NLA_REORDERING = 9,
2001TCP_NLA_MIN_RTT = 10,
2002TCP_NLA_RECUR_RETRANS = 11,
2003TCP_NLA_DELIVERY_RATE_APP_LMT = 12,
2004TCP_NLA_SNDQ_SIZE = 13,
2005TCP_NLA_CA_STATE = 14,
2006TCP_NLA_SND_SSTHRESH = 15,
2007TCP_NLA_DELIVERED = 16,
2008TCP_NLA_DELIVERED_CE = 17,
2009TCP_NLA_BYTES_SENT = 18,
2010TCP_NLA_BYTES_RETRANS = 19,
2011TCP_NLA_DSACK_DUPS = 20,
2012TCP_NLA_REORD_SEEN = 21,
2013TCP_NLA_SRTT = 22,
2014TCP_NLA_TIMEOUT_REHASH = 23,
2015TCP_NLA_BYTES_NOTSENT = 24,
2016TCP_NLA_EDT = 25,
2017TCP_NLA_TTL = 26,
2018TCP_NLA_REHASH = 27,
2019}
2020#[repr(u32)]
2021#[non_exhaustive]
2022#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2023pub enum net_device_flags {
2024IFF_UP = 1,
2025IFF_BROADCAST = 2,
2026IFF_DEBUG = 4,
2027IFF_LOOPBACK = 8,
2028IFF_POINTOPOINT = 16,
2029IFF_NOTRAILERS = 32,
2030IFF_RUNNING = 64,
2031IFF_NOARP = 128,
2032IFF_PROMISC = 256,
2033IFF_ALLMULTI = 512,
2034IFF_MASTER = 1024,
2035IFF_SLAVE = 2048,
2036IFF_MULTICAST = 4096,
2037IFF_PORTSEL = 8192,
2038IFF_AUTOMEDIA = 16384,
2039IFF_DYNAMIC = 32768,
2040IFF_LOWER_UP = 65536,
2041IFF_DORMANT = 131072,
2042IFF_ECHO = 262144,
2043}
2044#[repr(u32)]
2045#[non_exhaustive]
2046#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2047pub enum _bindgen_ty_7 {
2048IF_OPER_UNKNOWN = 0,
2049IF_OPER_NOTPRESENT = 1,
2050IF_OPER_DOWN = 2,
2051IF_OPER_LOWERLAYERDOWN = 3,
2052IF_OPER_TESTING = 4,
2053IF_OPER_DORMANT = 5,
2054IF_OPER_UP = 6,
2055}
2056#[repr(u32)]
2057#[non_exhaustive]
2058#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2059pub enum _bindgen_ty_8 {
2060IF_LINK_MODE_DEFAULT = 0,
2061IF_LINK_MODE_DORMANT = 1,
2062IF_LINK_MODE_TESTING = 2,
2063}
2064#[repr(u32)]
2065#[non_exhaustive]
2066#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2067pub enum nf_inet_hooks {
2068NF_INET_PRE_ROUTING = 0,
2069NF_INET_LOCAL_IN = 1,
2070NF_INET_FORWARD = 2,
2071NF_INET_LOCAL_OUT = 3,
2072NF_INET_POST_ROUTING = 4,
2073NF_INET_NUMHOOKS = 5,
2074}
2075#[repr(u32)]
2076#[non_exhaustive]
2077#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2078pub enum nf_dev_hooks {
2079NF_NETDEV_INGRESS = 0,
2080NF_NETDEV_EGRESS = 1,
2081NF_NETDEV_NUMHOOKS = 2,
2082}
2083#[repr(u32)]
2084#[non_exhaustive]
2085#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2086pub enum _bindgen_ty_9 {
2087NFPROTO_UNSPEC = 0,
2088NFPROTO_INET = 1,
2089NFPROTO_IPV4 = 2,
2090NFPROTO_ARP = 3,
2091NFPROTO_NETDEV = 5,
2092NFPROTO_BRIDGE = 7,
2093NFPROTO_IPV6 = 10,
2094NFPROTO_DECNET = 12,
2095NFPROTO_NUMPROTO = 13,
2096}
2097#[repr(i32)]
2098#[non_exhaustive]
2099#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2100pub enum nf_ip6_hook_priorities {
2101NF_IP6_PRI_FIRST = -2147483648,
2102NF_IP6_PRI_RAW_BEFORE_DEFRAG = -450,
2103NF_IP6_PRI_CONNTRACK_DEFRAG = -400,
2104NF_IP6_PRI_RAW = -300,
2105NF_IP6_PRI_SELINUX_FIRST = -225,
2106NF_IP6_PRI_CONNTRACK = -200,
2107NF_IP6_PRI_MANGLE = -150,
2108NF_IP6_PRI_NAT_DST = -100,
2109NF_IP6_PRI_FILTER = 0,
2110NF_IP6_PRI_SECURITY = 50,
2111NF_IP6_PRI_NAT_SRC = 100,
2112NF_IP6_PRI_SELINUX_LAST = 225,
2113NF_IP6_PRI_CONNTRACK_HELPER = 300,
2114NF_IP6_PRI_LAST = 2147483647,
2115}
2116#[repr(i32)]
2117#[non_exhaustive]
2118#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2119pub enum nf_ip_hook_priorities {
2120NF_IP_PRI_FIRST = -2147483648,
2121NF_IP_PRI_RAW_BEFORE_DEFRAG = -450,
2122NF_IP_PRI_CONNTRACK_DEFRAG = -400,
2123NF_IP_PRI_RAW = -300,
2124NF_IP_PRI_SELINUX_FIRST = -225,
2125NF_IP_PRI_CONNTRACK = -200,
2126NF_IP_PRI_MANGLE = -150,
2127NF_IP_PRI_NAT_DST = -100,
2128NF_IP_PRI_FILTER = 0,
2129NF_IP_PRI_SECURITY = 50,
2130NF_IP_PRI_NAT_SRC = 100,
2131NF_IP_PRI_SELINUX_LAST = 225,
2132NF_IP_PRI_CONNTRACK_HELPER = 300,
2133NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647,
2134}
2135#[repr(u32)]
2136#[non_exhaustive]
2137#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2138pub enum hwtstamp_provider_qualifier {
2139HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0,
2140HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1,
2141HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2,
2142}
2143#[repr(u32)]
2144#[non_exhaustive]
2145#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2146pub enum _bindgen_ty_10 {
2147SOF_TIMESTAMPING_TX_HARDWARE = 1,
2148SOF_TIMESTAMPING_TX_SOFTWARE = 2,
2149SOF_TIMESTAMPING_RX_HARDWARE = 4,
2150SOF_TIMESTAMPING_RX_SOFTWARE = 8,
2151SOF_TIMESTAMPING_SOFTWARE = 16,
2152SOF_TIMESTAMPING_SYS_HARDWARE = 32,
2153SOF_TIMESTAMPING_RAW_HARDWARE = 64,
2154SOF_TIMESTAMPING_OPT_ID = 128,
2155SOF_TIMESTAMPING_TX_SCHED = 256,
2156SOF_TIMESTAMPING_TX_ACK = 512,
2157SOF_TIMESTAMPING_OPT_CMSG = 1024,
2158SOF_TIMESTAMPING_OPT_TSONLY = 2048,
2159SOF_TIMESTAMPING_OPT_STATS = 4096,
2160SOF_TIMESTAMPING_OPT_PKTINFO = 8192,
2161SOF_TIMESTAMPING_OPT_TX_SWHW = 16384,
2162SOF_TIMESTAMPING_BIND_PHC = 32768,
2163SOF_TIMESTAMPING_OPT_ID_TCP = 65536,
2164SOF_TIMESTAMPING_OPT_RX_FILTER = 131072,
2165SOF_TIMESTAMPING_TX_COMPLETION = 262144,
2166SOF_TIMESTAMPING_MASK = 524287,
2167}
2168#[repr(u32)]
2169#[non_exhaustive]
2170#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2171pub enum hwtstamp_flags {
2172HWTSTAMP_FLAG_BONDED_PHC_INDEX = 1,
2173}
2174#[repr(u32)]
2175#[non_exhaustive]
2176#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2177pub enum hwtstamp_tx_types {
2178HWTSTAMP_TX_OFF = 0,
2179HWTSTAMP_TX_ON = 1,
2180HWTSTAMP_TX_ONESTEP_SYNC = 2,
2181HWTSTAMP_TX_ONESTEP_P2P = 3,
2182__HWTSTAMP_TX_CNT = 4,
2183}
2184#[repr(u32)]
2185#[non_exhaustive]
2186#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2187pub enum hwtstamp_rx_filters {
2188HWTSTAMP_FILTER_NONE = 0,
2189HWTSTAMP_FILTER_ALL = 1,
2190HWTSTAMP_FILTER_SOME = 2,
2191HWTSTAMP_FILTER_PTP_V1_L4_EVENT = 3,
2192HWTSTAMP_FILTER_PTP_V1_L4_SYNC = 4,
2193HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ = 5,
2194HWTSTAMP_FILTER_PTP_V2_L4_EVENT = 6,
2195HWTSTAMP_FILTER_PTP_V2_L4_SYNC = 7,
2196HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ = 8,
2197HWTSTAMP_FILTER_PTP_V2_L2_EVENT = 9,
2198HWTSTAMP_FILTER_PTP_V2_L2_SYNC = 10,
2199HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ = 11,
2200HWTSTAMP_FILTER_PTP_V2_EVENT = 12,
2201HWTSTAMP_FILTER_PTP_V2_SYNC = 13,
2202HWTSTAMP_FILTER_PTP_V2_DELAY_REQ = 14,
2203HWTSTAMP_FILTER_NTP_ALL = 15,
2204__HWTSTAMP_FILTER_CNT = 16,
2205}
2206#[repr(u32)]
2207#[non_exhaustive]
2208#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2209pub enum txtime_flags {
2210SOF_TXTIME_DEADLINE_MODE = 1,
2211SOF_TXTIME_REPORT_ERRORS = 2,
2212SOF_TXTIME_FLAGS_MASK = 3,
2213}
2214#[repr(C)]
2215#[derive(Copy, Clone)]
2216pub union __kernel_sockaddr_storage__bindgen_ty_1 {
2217pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1,
2218pub __align: *mut crate::ctypes::c_void,
2219}
2220#[repr(C)]
2221#[derive(Copy, Clone)]
2222pub union iphdr__bindgen_ty_1 {
2223pub __bindgen_anon_1: iphdr__bindgen_ty_1__bindgen_ty_1,
2224pub addrs: iphdr__bindgen_ty_1__bindgen_ty_2,
2225}
2226#[repr(C)]
2227#[derive(Copy, Clone)]
2228pub union in6_addr__bindgen_ty_1 {
2229pub u6_addr8: [__u8; 16usize],
2230pub u6_addr16: [__be16; 8usize],
2231pub u6_addr32: [__be32; 4usize],
2232}
2233#[repr(C)]
2234#[derive(Copy, Clone)]
2235pub union ipv6hdr__bindgen_ty_1 {
2236pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1__bindgen_ty_1,
2237pub addrs: ipv6hdr__bindgen_ty_1__bindgen_ty_2,
2238}
2239#[repr(C)]
2240#[derive(Copy, Clone)]
2241pub union tcp_word_hdr {
2242pub hdr: tcphdr,
2243pub words: [__be32; 5usize],
2244}
2245#[repr(C)]
2246#[derive(Copy, Clone)]
2247pub union if_settings__bindgen_ty_1 {
2248pub raw_hdlc: *mut raw_hdlc_proto,
2249pub cisco: *mut cisco_proto,
2250pub fr: *mut fr_proto,
2251pub fr_pvc: *mut fr_proto_pvc,
2252pub fr_pvc_info: *mut fr_proto_pvc_info,
2253pub x25: *mut x25_hdlc_proto,
2254pub sync: *mut sync_serial_settings,
2255pub te1: *mut te1_settings,
2256}
2257#[repr(C)]
2258#[derive(Copy, Clone)]
2259pub union ifreq__bindgen_ty_1 {
2260pub ifrn_name: [crate::ctypes::c_char; 16usize],
2261}
2262#[repr(C)]
2263#[derive(Copy, Clone)]
2264pub union ifreq__bindgen_ty_2 {
2265pub ifru_addr: sockaddr,
2266pub ifru_dstaddr: sockaddr,
2267pub ifru_broadaddr: sockaddr,
2268pub ifru_netmask: sockaddr,
2269pub ifru_hwaddr: sockaddr,
2270pub ifru_flags: crate::ctypes::c_short,
2271pub ifru_ivalue: crate::ctypes::c_int,
2272pub ifru_mtu: crate::ctypes::c_int,
2273pub ifru_map: ifmap,
2274pub ifru_slave: [crate::ctypes::c_char; 16usize],
2275pub ifru_newname: [crate::ctypes::c_char; 16usize],
2276pub ifru_data: *mut crate::ctypes::c_void,
2277pub ifru_settings: if_settings,
2278}
2279#[repr(C)]
2280#[derive(Copy, Clone)]
2281pub union ifconf__bindgen_ty_1 {
2282pub ifcu_buf: *mut crate::ctypes::c_char,
2283pub ifcu_req: *mut ifreq,
2284}
2285#[repr(C)]
2286#[derive(Copy, Clone)]
2287pub union nf_inet_addr {
2288pub all: [__u32; 4usize],
2289pub ip: __be32,
2290pub ip6: [__be32; 4usize],
2291pub in_: in_addr,
2292pub in6: in6_addr,
2293}
2294#[repr(C)]
2295#[derive(Copy, Clone)]
2296pub union xt_entry_match__bindgen_ty_1 {
2297pub user: xt_entry_match__bindgen_ty_1__bindgen_ty_1,
2298pub kernel: xt_entry_match__bindgen_ty_1__bindgen_ty_2,
2299pub match_size: __u16,
2300}
2301#[repr(C)]
2302#[derive(Copy, Clone)]
2303pub union xt_entry_target__bindgen_ty_1 {
2304pub user: xt_entry_target__bindgen_ty_1__bindgen_ty_1,
2305pub kernel: xt_entry_target__bindgen_ty_1__bindgen_ty_2,
2306pub target_size: __u16,
2307}
2308impl<Storage> __BindgenBitfieldUnit<Storage> {
2309#[inline]
2310pub const fn new(storage: Storage) -> Self {
2311Self { storage }
2312}
2313}
2314impl<Storage> __BindgenBitfieldUnit<Storage>
2315where
2316Storage: AsRef<[u8]> + AsMut<[u8]>,
2317{
2318#[inline]
2319fn extract_bit(byte: u8, index: usize) -> bool {
2320let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
2321let mask = 1 << bit_index;
2322byte & mask == mask
2323}
2324#[inline]
2325pub fn get_bit(&self, index: usize) -> bool {
2326debug_assert!(index / 8 < self.storage.as_ref().len());
2327let byte_index = index / 8;
2328let byte = self.storage.as_ref()[byte_index];
2329Self::extract_bit(byte, index)
2330}
2331#[inline]
2332pub unsafe fn raw_get_bit(this: *const Self, index: usize) -> bool {
2333debug_assert!(index / 8 < core::mem::size_of::<Storage>());
2334let byte_index = index / 8;
2335let byte = unsafe { *(core::ptr::addr_of!((*this).storage) as *const u8).offset(byte_index as isize) };
2336Self::extract_bit(byte, index)
2337}
2338#[inline]
2339fn change_bit(byte: u8, index: usize, val: bool) -> u8 {
2340let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
2341let mask = 1 << bit_index;
2342if val {
2343byte | mask
2344} else {
2345byte & !mask
2346}
2347}
2348#[inline]
2349pub fn set_bit(&mut self, index: usize, val: bool) {
2350debug_assert!(index / 8 < self.storage.as_ref().len());
2351let byte_index = index / 8;
2352let byte = &mut self.storage.as_mut()[byte_index];
2353*byte = Self::change_bit(*byte, index, val);
2354}
2355#[inline]
2356pub unsafe fn raw_set_bit(this: *mut Self, index: usize, val: bool) {
2357debug_assert!(index / 8 < core::mem::size_of::<Storage>());
2358let byte_index = index / 8;
2359let byte = unsafe { (core::ptr::addr_of_mut!((*this).storage) as *mut u8).offset(byte_index as isize) };
2360unsafe { *byte = Self::change_bit(*byte, index, val) };
2361}
2362#[inline]
2363pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
2364debug_assert!(bit_width <= 64);
2365debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
2366debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
2367let mut val = 0;
2368for i in 0..(bit_width as usize) {
2369if self.get_bit(i + bit_offset) {
2370let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2371val |= 1 << index;
2372}
2373}
2374val
2375}
2376#[inline]
2377pub unsafe fn raw_get(this: *const Self, bit_offset: usize, bit_width: u8) -> u64 {
2378debug_assert!(bit_width <= 64);
2379debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
2380debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>());
2381let mut val = 0;
2382for i in 0..(bit_width as usize) {
2383if unsafe { Self::raw_get_bit(this, i + bit_offset) } {
2384let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2385val |= 1 << index;
2386}
2387}
2388val
2389}
2390#[inline]
2391pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
2392debug_assert!(bit_width <= 64);
2393debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
2394debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
2395for i in 0..(bit_width as usize) {
2396let mask = 1 << i;
2397let val_bit_is_set = val & mask == mask;
2398let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2399self.set_bit(index + bit_offset, val_bit_is_set);
2400}
2401}
2402#[inline]
2403pub unsafe fn raw_set(this: *mut Self, bit_offset: usize, bit_width: u8, val: u64) {
2404debug_assert!(bit_width <= 64);
2405debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
2406debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>());
2407for i in 0..(bit_width as usize) {
2408let mask = 1 << i;
2409let val_bit_is_set = val & mask == mask;
2410let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2411unsafe { Self::raw_set_bit(this, index + bit_offset, val_bit_is_set) };
2412}
2413}
2414}
2415impl<T> __IncompleteArrayField<T> {
2416#[inline]
2417pub const fn new() -> Self {
2418__IncompleteArrayField(::core::marker::PhantomData, [])
2419}
2420#[inline]
2421pub fn as_ptr(&self) -> *const T {
2422self as *const _ as *const T
2423}
2424#[inline]
2425pub fn as_mut_ptr(&mut self) -> *mut T {
2426self as *mut _ as *mut T
2427}
2428#[inline]
2429pub unsafe fn as_slice(&self, len: usize) -> &[T] {
2430::core::slice::from_raw_parts(self.as_ptr(), len)
2431}
2432#[inline]
2433pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
2434::core::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
2435}
2436}
2437impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
2438fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2439fmt.write_str("__IncompleteArrayField")
2440}
2441}
2442impl<T> __BindgenUnionField<T> {
2443#[inline]
2444pub const fn new() -> Self {
2445__BindgenUnionField(::core::marker::PhantomData)
2446}
2447#[inline]
2448pub unsafe fn as_ref(&self) -> &T {
2449::core::mem::transmute(self)
2450}
2451#[inline]
2452pub unsafe fn as_mut(&mut self) -> &mut T {
2453::core::mem::transmute(self)
2454}
2455}
2456impl<T> ::core::default::Default for __BindgenUnionField<T> {
2457#[inline]
2458fn default() -> Self {
2459Self::new()
2460}
2461}
2462impl<T> ::core::clone::Clone for __BindgenUnionField<T> {
2463#[inline]
2464fn clone(&self) -> Self {
2465*self
2466}
2467}
2468impl<T> ::core::marker::Copy for __BindgenUnionField<T> {}
2469impl<T> ::core::fmt::Debug for __BindgenUnionField<T> {
2470fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2471fmt.write_str("__BindgenUnionField")
2472}
2473}
2474impl<T> ::core::hash::Hash for __BindgenUnionField<T> {
2475fn hash<H: ::core::hash::Hasher>(&self, _state: &mut H) {}
2476}
2477impl<T> ::core::cmp::PartialEq for __BindgenUnionField<T> {
2478fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
2479true
2480}
2481}
2482impl<T> ::core::cmp::Eq for __BindgenUnionField<T> {}
2483impl iphdr {
2484#[inline]
2485pub fn ihl(&self) -> __u8 {
2486unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2487}
2488#[inline]
2489pub fn set_ihl(&mut self, val: __u8) {
2490unsafe {
2491let val: u8 = ::core::mem::transmute(val);
2492self._bitfield_1.set(0usize, 4u8, val as u64)
2493}
2494}
2495#[inline]
2496pub unsafe fn ihl_raw(this: *const Self) -> __u8 {
2497unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 4u8) as u8) }
2498}
2499#[inline]
2500pub unsafe fn set_ihl_raw(this: *mut Self, val: __u8) {
2501unsafe {
2502let val: u8 = ::core::mem::transmute(val);
2503<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 4u8, val as u64)
2504}
2505}
2506#[inline]
2507pub fn version(&self) -> __u8 {
2508unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2509}
2510#[inline]
2511pub fn set_version(&mut self, val: __u8) {
2512unsafe {
2513let val: u8 = ::core::mem::transmute(val);
2514self._bitfield_1.set(4usize, 4u8, val as u64)
2515}
2516}
2517#[inline]
2518pub unsafe fn version_raw(this: *const Self) -> __u8 {
2519unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 4u8) as u8) }
2520}
2521#[inline]
2522pub unsafe fn set_version_raw(this: *mut Self, val: __u8) {
2523unsafe {
2524let val: u8 = ::core::mem::transmute(val);
2525<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 4u8, val as u64)
2526}
2527}
2528#[inline]
2529pub fn new_bitfield_1(ihl: __u8, version: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2530let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2531__bindgen_bitfield_unit.set(0usize, 4u8, {
2532let ihl: u8 = unsafe { ::core::mem::transmute(ihl) };
2533ihl as u64
2534});
2535__bindgen_bitfield_unit.set(4usize, 4u8, {
2536let version: u8 = unsafe { ::core::mem::transmute(version) };
2537version as u64
2538});
2539__bindgen_bitfield_unit
2540}
2541}
2542impl ipv6hdr {
2543#[inline]
2544pub fn priority(&self) -> __u8 {
2545unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2546}
2547#[inline]
2548pub fn set_priority(&mut self, val: __u8) {
2549unsafe {
2550let val: u8 = ::core::mem::transmute(val);
2551self._bitfield_1.set(0usize, 4u8, val as u64)
2552}
2553}
2554#[inline]
2555pub unsafe fn priority_raw(this: *const Self) -> __u8 {
2556unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 4u8) as u8) }
2557}
2558#[inline]
2559pub unsafe fn set_priority_raw(this: *mut Self, val: __u8) {
2560unsafe {
2561let val: u8 = ::core::mem::transmute(val);
2562<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 4u8, val as u64)
2563}
2564}
2565#[inline]
2566pub fn version(&self) -> __u8 {
2567unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2568}
2569#[inline]
2570pub fn set_version(&mut self, val: __u8) {
2571unsafe {
2572let val: u8 = ::core::mem::transmute(val);
2573self._bitfield_1.set(4usize, 4u8, val as u64)
2574}
2575}
2576#[inline]
2577pub unsafe fn version_raw(this: *const Self) -> __u8 {
2578unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 4u8) as u8) }
2579}
2580#[inline]
2581pub unsafe fn set_version_raw(this: *mut Self, val: __u8) {
2582unsafe {
2583let val: u8 = ::core::mem::transmute(val);
2584<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 4u8, val as u64)
2585}
2586}
2587#[inline]
2588pub fn new_bitfield_1(priority: __u8, version: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2589let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2590__bindgen_bitfield_unit.set(0usize, 4u8, {
2591let priority: u8 = unsafe { ::core::mem::transmute(priority) };
2592priority as u64
2593});
2594__bindgen_bitfield_unit.set(4usize, 4u8, {
2595let version: u8 = unsafe { ::core::mem::transmute(version) };
2596version as u64
2597});
2598__bindgen_bitfield_unit
2599}
2600}
2601impl tcphdr {
2602#[inline]
2603pub fn ae(&self) -> __u16 {
2604unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
2605}
2606#[inline]
2607pub fn set_ae(&mut self, val: __u16) {
2608unsafe {
2609let val: u16 = ::core::mem::transmute(val);
2610self._bitfield_1.set(0usize, 1u8, val as u64)
2611}
2612}
2613#[inline]
2614pub unsafe fn ae_raw(this: *const Self) -> __u16 {
2615unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u16) }
2616}
2617#[inline]
2618pub unsafe fn set_ae_raw(this: *mut Self, val: __u16) {
2619unsafe {
2620let val: u16 = ::core::mem::transmute(val);
2621<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
2622}
2623}
2624#[inline]
2625pub fn res1(&self) -> __u16 {
2626unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 3u8) as u16) }
2627}
2628#[inline]
2629pub fn set_res1(&mut self, val: __u16) {
2630unsafe {
2631let val: u16 = ::core::mem::transmute(val);
2632self._bitfield_1.set(1usize, 3u8, val as u64)
2633}
2634}
2635#[inline]
2636pub unsafe fn res1_raw(this: *const Self) -> __u16 {
2637unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 3u8) as u16) }
2638}
2639#[inline]
2640pub unsafe fn set_res1_raw(this: *mut Self, val: __u16) {
2641unsafe {
2642let val: u16 = ::core::mem::transmute(val);
2643<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 3u8, val as u64)
2644}
2645}
2646#[inline]
2647pub fn doff(&self) -> __u16 {
2648unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u16) }
2649}
2650#[inline]
2651pub fn set_doff(&mut self, val: __u16) {
2652unsafe {
2653let val: u16 = ::core::mem::transmute(val);
2654self._bitfield_1.set(4usize, 4u8, val as u64)
2655}
2656}
2657#[inline]
2658pub unsafe fn doff_raw(this: *const Self) -> __u16 {
2659unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 4u8) as u16) }
2660}
2661#[inline]
2662pub unsafe fn set_doff_raw(this: *mut Self, val: __u16) {
2663unsafe {
2664let val: u16 = ::core::mem::transmute(val);
2665<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 4u8, val as u64)
2666}
2667}
2668#[inline]
2669pub fn fin(&self) -> __u16 {
2670unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
2671}
2672#[inline]
2673pub fn set_fin(&mut self, val: __u16) {
2674unsafe {
2675let val: u16 = ::core::mem::transmute(val);
2676self._bitfield_1.set(8usize, 1u8, val as u64)
2677}
2678}
2679#[inline]
2680pub unsafe fn fin_raw(this: *const Self) -> __u16 {
2681unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 8usize, 1u8) as u16) }
2682}
2683#[inline]
2684pub unsafe fn set_fin_raw(this: *mut Self, val: __u16) {
2685unsafe {
2686let val: u16 = ::core::mem::transmute(val);
2687<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 8usize, 1u8, val as u64)
2688}
2689}
2690#[inline]
2691pub fn syn(&self) -> __u16 {
2692unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
2693}
2694#[inline]
2695pub fn set_syn(&mut self, val: __u16) {
2696unsafe {
2697let val: u16 = ::core::mem::transmute(val);
2698self._bitfield_1.set(9usize, 1u8, val as u64)
2699}
2700}
2701#[inline]
2702pub unsafe fn syn_raw(this: *const Self) -> __u16 {
2703unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 9usize, 1u8) as u16) }
2704}
2705#[inline]
2706pub unsafe fn set_syn_raw(this: *mut Self, val: __u16) {
2707unsafe {
2708let val: u16 = ::core::mem::transmute(val);
2709<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 9usize, 1u8, val as u64)
2710}
2711}
2712#[inline]
2713pub fn rst(&self) -> __u16 {
2714unsafe { ::core::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u16) }
2715}
2716#[inline]
2717pub fn set_rst(&mut self, val: __u16) {
2718unsafe {
2719let val: u16 = ::core::mem::transmute(val);
2720self._bitfield_1.set(10usize, 1u8, val as u64)
2721}
2722}
2723#[inline]
2724pub unsafe fn rst_raw(this: *const Self) -> __u16 {
2725unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 10usize, 1u8) as u16) }
2726}
2727#[inline]
2728pub unsafe fn set_rst_raw(this: *mut Self, val: __u16) {
2729unsafe {
2730let val: u16 = ::core::mem::transmute(val);
2731<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 10usize, 1u8, val as u64)
2732}
2733}
2734#[inline]
2735pub fn psh(&self) -> __u16 {
2736unsafe { ::core::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u16) }
2737}
2738#[inline]
2739pub fn set_psh(&mut self, val: __u16) {
2740unsafe {
2741let val: u16 = ::core::mem::transmute(val);
2742self._bitfield_1.set(11usize, 1u8, val as u64)
2743}
2744}
2745#[inline]
2746pub unsafe fn psh_raw(this: *const Self) -> __u16 {
2747unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 11usize, 1u8) as u16) }
2748}
2749#[inline]
2750pub unsafe fn set_psh_raw(this: *mut Self, val: __u16) {
2751unsafe {
2752let val: u16 = ::core::mem::transmute(val);
2753<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 11usize, 1u8, val as u64)
2754}
2755}
2756#[inline]
2757pub fn ack(&self) -> __u16 {
2758unsafe { ::core::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u16) }
2759}
2760#[inline]
2761pub fn set_ack(&mut self, val: __u16) {
2762unsafe {
2763let val: u16 = ::core::mem::transmute(val);
2764self._bitfield_1.set(12usize, 1u8, val as u64)
2765}
2766}
2767#[inline]
2768pub unsafe fn ack_raw(this: *const Self) -> __u16 {
2769unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 12usize, 1u8) as u16) }
2770}
2771#[inline]
2772pub unsafe fn set_ack_raw(this: *mut Self, val: __u16) {
2773unsafe {
2774let val: u16 = ::core::mem::transmute(val);
2775<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 12usize, 1u8, val as u64)
2776}
2777}
2778#[inline]
2779pub fn urg(&self) -> __u16 {
2780unsafe { ::core::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u16) }
2781}
2782#[inline]
2783pub fn set_urg(&mut self, val: __u16) {
2784unsafe {
2785let val: u16 = ::core::mem::transmute(val);
2786self._bitfield_1.set(13usize, 1u8, val as u64)
2787}
2788}
2789#[inline]
2790pub unsafe fn urg_raw(this: *const Self) -> __u16 {
2791unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 13usize, 1u8) as u16) }
2792}
2793#[inline]
2794pub unsafe fn set_urg_raw(this: *mut Self, val: __u16) {
2795unsafe {
2796let val: u16 = ::core::mem::transmute(val);
2797<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 13usize, 1u8, val as u64)
2798}
2799}
2800#[inline]
2801pub fn ece(&self) -> __u16 {
2802unsafe { ::core::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u16) }
2803}
2804#[inline]
2805pub fn set_ece(&mut self, val: __u16) {
2806unsafe {
2807let val: u16 = ::core::mem::transmute(val);
2808self._bitfield_1.set(14usize, 1u8, val as u64)
2809}
2810}
2811#[inline]
2812pub unsafe fn ece_raw(this: *const Self) -> __u16 {
2813unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 14usize, 1u8) as u16) }
2814}
2815#[inline]
2816pub unsafe fn set_ece_raw(this: *mut Self, val: __u16) {
2817unsafe {
2818let val: u16 = ::core::mem::transmute(val);
2819<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 14usize, 1u8, val as u64)
2820}
2821}
2822#[inline]
2823pub fn cwr(&self) -> __u16 {
2824unsafe { ::core::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u16) }
2825}
2826#[inline]
2827pub fn set_cwr(&mut self, val: __u16) {
2828unsafe {
2829let val: u16 = ::core::mem::transmute(val);
2830self._bitfield_1.set(15usize, 1u8, val as u64)
2831}
2832}
2833#[inline]
2834pub unsafe fn cwr_raw(this: *const Self) -> __u16 {
2835unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 15usize, 1u8) as u16) }
2836}
2837#[inline]
2838pub unsafe fn set_cwr_raw(this: *mut Self, val: __u16) {
2839unsafe {
2840let val: u16 = ::core::mem::transmute(val);
2841<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 15usize, 1u8, val as u64)
2842}
2843}
2844#[inline]
2845pub 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]> {
2846let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2847__bindgen_bitfield_unit.set(0usize, 1u8, {
2848let ae: u16 = unsafe { ::core::mem::transmute(ae) };
2849ae as u64
2850});
2851__bindgen_bitfield_unit.set(1usize, 3u8, {
2852let res1: u16 = unsafe { ::core::mem::transmute(res1) };
2853res1 as u64
2854});
2855__bindgen_bitfield_unit.set(4usize, 4u8, {
2856let doff: u16 = unsafe { ::core::mem::transmute(doff) };
2857doff as u64
2858});
2859__bindgen_bitfield_unit.set(8usize, 1u8, {
2860let fin: u16 = unsafe { ::core::mem::transmute(fin) };
2861fin as u64
2862});
2863__bindgen_bitfield_unit.set(9usize, 1u8, {
2864let syn: u16 = unsafe { ::core::mem::transmute(syn) };
2865syn as u64
2866});
2867__bindgen_bitfield_unit.set(10usize, 1u8, {
2868let rst: u16 = unsafe { ::core::mem::transmute(rst) };
2869rst as u64
2870});
2871__bindgen_bitfield_unit.set(11usize, 1u8, {
2872let psh: u16 = unsafe { ::core::mem::transmute(psh) };
2873psh as u64
2874});
2875__bindgen_bitfield_unit.set(12usize, 1u8, {
2876let ack: u16 = unsafe { ::core::mem::transmute(ack) };
2877ack as u64
2878});
2879__bindgen_bitfield_unit.set(13usize, 1u8, {
2880let urg: u16 = unsafe { ::core::mem::transmute(urg) };
2881urg as u64
2882});
2883__bindgen_bitfield_unit.set(14usize, 1u8, {
2884let ece: u16 = unsafe { ::core::mem::transmute(ece) };
2885ece as u64
2886});
2887__bindgen_bitfield_unit.set(15usize, 1u8, {
2888let cwr: u16 = unsafe { ::core::mem::transmute(cwr) };
2889cwr as u64
2890});
2891__bindgen_bitfield_unit
2892}
2893}
2894impl tcp_info {
2895#[inline]
2896pub fn tcpi_snd_wscale(&self) -> __u8 {
2897unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2898}
2899#[inline]
2900pub fn set_tcpi_snd_wscale(&mut self, val: __u8) {
2901unsafe {
2902let val: u8 = ::core::mem::transmute(val);
2903self._bitfield_1.set(0usize, 4u8, val as u64)
2904}
2905}
2906#[inline]
2907pub unsafe fn tcpi_snd_wscale_raw(this: *const Self) -> __u8 {
2908unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 4u8) as u8) }
2909}
2910#[inline]
2911pub unsafe fn set_tcpi_snd_wscale_raw(this: *mut Self, val: __u8) {
2912unsafe {
2913let val: u8 = ::core::mem::transmute(val);
2914<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 4u8, val as u64)
2915}
2916}
2917#[inline]
2918pub fn tcpi_rcv_wscale(&self) -> __u8 {
2919unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2920}
2921#[inline]
2922pub fn set_tcpi_rcv_wscale(&mut self, val: __u8) {
2923unsafe {
2924let val: u8 = ::core::mem::transmute(val);
2925self._bitfield_1.set(4usize, 4u8, val as u64)
2926}
2927}
2928#[inline]
2929pub unsafe fn tcpi_rcv_wscale_raw(this: *const Self) -> __u8 {
2930unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 4u8) as u8) }
2931}
2932#[inline]
2933pub unsafe fn set_tcpi_rcv_wscale_raw(this: *mut Self, val: __u8) {
2934unsafe {
2935let val: u8 = ::core::mem::transmute(val);
2936<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 4u8, val as u64)
2937}
2938}
2939#[inline]
2940pub fn tcpi_delivery_rate_app_limited(&self) -> __u8 {
2941unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) }
2942}
2943#[inline]
2944pub fn set_tcpi_delivery_rate_app_limited(&mut self, val: __u8) {
2945unsafe {
2946let val: u8 = ::core::mem::transmute(val);
2947self._bitfield_1.set(8usize, 1u8, val as u64)
2948}
2949}
2950#[inline]
2951pub unsafe fn tcpi_delivery_rate_app_limited_raw(this: *const Self) -> __u8 {
2952unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 8usize, 1u8) as u8) }
2953}
2954#[inline]
2955pub unsafe fn set_tcpi_delivery_rate_app_limited_raw(this: *mut Self, val: __u8) {
2956unsafe {
2957let val: u8 = ::core::mem::transmute(val);
2958<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 8usize, 1u8, val as u64)
2959}
2960}
2961#[inline]
2962pub fn tcpi_fastopen_client_fail(&self) -> __u8 {
2963unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 2u8) as u8) }
2964}
2965#[inline]
2966pub fn set_tcpi_fastopen_client_fail(&mut self, val: __u8) {
2967unsafe {
2968let val: u8 = ::core::mem::transmute(val);
2969self._bitfield_1.set(9usize, 2u8, val as u64)
2970}
2971}
2972#[inline]
2973pub unsafe fn tcpi_fastopen_client_fail_raw(this: *const Self) -> __u8 {
2974unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 9usize, 2u8) as u8) }
2975}
2976#[inline]
2977pub unsafe fn set_tcpi_fastopen_client_fail_raw(this: *mut Self, val: __u8) {
2978unsafe {
2979let val: u8 = ::core::mem::transmute(val);
2980<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 9usize, 2u8, val as u64)
2981}
2982}
2983#[inline]
2984pub 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]> {
2985let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2986__bindgen_bitfield_unit.set(0usize, 4u8, {
2987let tcpi_snd_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_snd_wscale) };
2988tcpi_snd_wscale as u64
2989});
2990__bindgen_bitfield_unit.set(4usize, 4u8, {
2991let tcpi_rcv_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_rcv_wscale) };
2992tcpi_rcv_wscale as u64
2993});
2994__bindgen_bitfield_unit.set(8usize, 1u8, {
2995let tcpi_delivery_rate_app_limited: u8 = unsafe { ::core::mem::transmute(tcpi_delivery_rate_app_limited) };
2996tcpi_delivery_rate_app_limited as u64
2997});
2998__bindgen_bitfield_unit.set(9usize, 2u8, {
2999let tcpi_fastopen_client_fail: u8 = unsafe { ::core::mem::transmute(tcpi_fastopen_client_fail) };
3000tcpi_fastopen_client_fail as u64
3001});
3002__bindgen_bitfield_unit
3003}
3004}
3005impl tcp_ao_add {
3006#[inline]
3007pub fn set_current(&self) -> __u32 {
3008unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
3009}
3010#[inline]
3011pub fn set_set_current(&mut self, val: __u32) {
3012unsafe {
3013let val: u32 = ::core::mem::transmute(val);
3014self._bitfield_1.set(0usize, 1u8, val as u64)
3015}
3016}
3017#[inline]
3018pub unsafe fn set_current_raw(this: *const Self) -> __u32 {
3019unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u32) }
3020}
3021#[inline]
3022pub unsafe fn set_set_current_raw(this: *mut Self, val: __u32) {
3023unsafe {
3024let val: u32 = ::core::mem::transmute(val);
3025<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
3026}
3027}
3028#[inline]
3029pub fn set_rnext(&self) -> __u32 {
3030unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
3031}
3032#[inline]
3033pub fn set_set_rnext(&mut self, val: __u32) {
3034unsafe {
3035let val: u32 = ::core::mem::transmute(val);
3036self._bitfield_1.set(1usize, 1u8, val as u64)
3037}
3038}
3039#[inline]
3040pub unsafe fn set_rnext_raw(this: *const Self) -> __u32 {
3041unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 1u8) as u32) }
3042}
3043#[inline]
3044pub unsafe fn set_set_rnext_raw(this: *mut Self, val: __u32) {
3045unsafe {
3046let val: u32 = ::core::mem::transmute(val);
3047<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 1u8, val as u64)
3048}
3049}
3050#[inline]
3051pub fn reserved(&self) -> __u32 {
3052unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 30u8) as u32) }
3053}
3054#[inline]
3055pub fn set_reserved(&mut self, val: __u32) {
3056unsafe {
3057let val: u32 = ::core::mem::transmute(val);
3058self._bitfield_1.set(2usize, 30u8, val as u64)
3059}
3060}
3061#[inline]
3062pub unsafe fn reserved_raw(this: *const Self) -> __u32 {
3063unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 2usize, 30u8) as u32) }
3064}
3065#[inline]
3066pub unsafe fn set_reserved_raw(this: *mut Self, val: __u32) {
3067unsafe {
3068let val: u32 = ::core::mem::transmute(val);
3069<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 2usize, 30u8, val as u64)
3070}
3071}
3072#[inline]
3073pub fn new_bitfield_1(set_current: __u32, set_rnext: __u32, reserved: __u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
3074let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
3075__bindgen_bitfield_unit.set(0usize, 1u8, {
3076let set_current: u32 = unsafe { ::core::mem::transmute(set_current) };
3077set_current as u64
3078});
3079__bindgen_bitfield_unit.set(1usize, 1u8, {
3080let set_rnext: u32 = unsafe { ::core::mem::transmute(set_rnext) };
3081set_rnext as u64
3082});
3083__bindgen_bitfield_unit.set(2usize, 30u8, {
3084let reserved: u32 = unsafe { ::core::mem::transmute(reserved) };
3085reserved as u64
3086});
3087__bindgen_bitfield_unit
3088}
3089}
3090impl tcp_ao_del {
3091#[inline]
3092pub fn set_current(&self) -> __u32 {
3093unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
3094}
3095#[inline]
3096pub fn set_set_current(&mut self, val: __u32) {
3097unsafe {
3098let val: u32 = ::core::mem::transmute(val);
3099self._bitfield_1.set(0usize, 1u8, val as u64)
3100}
3101}
3102#[inline]
3103pub unsafe fn set_current_raw(this: *const Self) -> __u32 {
3104unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u32) }
3105}
3106#[inline]
3107pub unsafe fn set_set_current_raw(this: *mut Self, val: __u32) {
3108unsafe {
3109let val: u32 = ::core::mem::transmute(val);
3110<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
3111}
3112}
3113#[inline]
3114pub fn set_rnext(&self) -> __u32 {
3115unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
3116}
3117#[inline]
3118pub fn set_set_rnext(&mut self, val: __u32) {
3119unsafe {
3120let val: u32 = ::core::mem::transmute(val);
3121self._bitfield_1.set(1usize, 1u8, val as u64)
3122}
3123}
3124#[inline]
3125pub unsafe fn set_rnext_raw(this: *const Self) -> __u32 {
3126unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 1u8) as u32) }
3127}
3128#[inline]
3129pub unsafe fn set_set_rnext_raw(this: *mut Self, val: __u32) {
3130unsafe {
3131let val: u32 = ::core::mem::transmute(val);
3132<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 1u8, val as u64)
3133}
3134}
3135#[inline]
3136pub fn del_async(&self) -> __u32 {
3137unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
3138}
3139#[inline]
3140pub fn set_del_async(&mut self, val: __u32) {
3141unsafe {
3142let val: u32 = ::core::mem::transmute(val);
3143self._bitfield_1.set(2usize, 1u8, val as u64)
3144}
3145}
3146#[inline]
3147pub unsafe fn del_async_raw(this: *const Self) -> __u32 {
3148unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 2usize, 1u8) as u32) }
3149}
3150#[inline]
3151pub unsafe fn set_del_async_raw(this: *mut Self, val: __u32) {
3152unsafe {
3153let val: u32 = ::core::mem::transmute(val);
3154<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 2usize, 1u8, val as u64)
3155}
3156}
3157#[inline]
3158pub fn reserved(&self) -> __u32 {
3159unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 29u8) as u32) }
3160}
3161#[inline]
3162pub fn set_reserved(&mut self, val: __u32) {
3163unsafe {
3164let val: u32 = ::core::mem::transmute(val);
3165self._bitfield_1.set(3usize, 29u8, val as u64)
3166}
3167}
3168#[inline]
3169pub unsafe fn reserved_raw(this: *const Self) -> __u32 {
3170unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 3usize, 29u8) as u32) }
3171}
3172#[inline]
3173pub unsafe fn set_reserved_raw(this: *mut Self, val: __u32) {
3174unsafe {
3175let val: u32 = ::core::mem::transmute(val);
3176<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 3usize, 29u8, val as u64)
3177}
3178}
3179#[inline]
3180pub fn new_bitfield_1(set_current: __u32, set_rnext: __u32, del_async: __u32, reserved: __u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
3181let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
3182__bindgen_bitfield_unit.set(0usize, 1u8, {
3183let set_current: u32 = unsafe { ::core::mem::transmute(set_current) };
3184set_current as u64
3185});
3186__bindgen_bitfield_unit.set(1usize, 1u8, {
3187let set_rnext: u32 = unsafe { ::core::mem::transmute(set_rnext) };
3188set_rnext as u64
3189});
3190__bindgen_bitfield_unit.set(2usize, 1u8, {
3191let del_async: u32 = unsafe { ::core::mem::transmute(del_async) };
3192del_async as u64
3193});
3194__bindgen_bitfield_unit.set(3usize, 29u8, {
3195let reserved: u32 = unsafe { ::core::mem::transmute(reserved) };
3196reserved as u64
3197});
3198__bindgen_bitfield_unit
3199}
3200}
3201impl tcp_ao_info_opt {
3202#[inline]
3203pub fn set_current(&self) -> __u32 {
3204unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
3205}
3206#[inline]
3207pub fn set_set_current(&mut self, val: __u32) {
3208unsafe {
3209let val: u32 = ::core::mem::transmute(val);
3210self._bitfield_1.set(0usize, 1u8, val as u64)
3211}
3212}
3213#[inline]
3214pub unsafe fn set_current_raw(this: *const Self) -> __u32 {
3215unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u32) }
3216}
3217#[inline]
3218pub unsafe fn set_set_current_raw(this: *mut Self, val: __u32) {
3219unsafe {
3220let val: u32 = ::core::mem::transmute(val);
3221<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
3222}
3223}
3224#[inline]
3225pub fn set_rnext(&self) -> __u32 {
3226unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
3227}
3228#[inline]
3229pub fn set_set_rnext(&mut self, val: __u32) {
3230unsafe {
3231let val: u32 = ::core::mem::transmute(val);
3232self._bitfield_1.set(1usize, 1u8, val as u64)
3233}
3234}
3235#[inline]
3236pub unsafe fn set_rnext_raw(this: *const Self) -> __u32 {
3237unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 1u8) as u32) }
3238}
3239#[inline]
3240pub unsafe fn set_set_rnext_raw(this: *mut Self, val: __u32) {
3241unsafe {
3242let val: u32 = ::core::mem::transmute(val);
3243<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 1u8, val as u64)
3244}
3245}
3246#[inline]
3247pub fn ao_required(&self) -> __u32 {
3248unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
3249}
3250#[inline]
3251pub fn set_ao_required(&mut self, val: __u32) {
3252unsafe {
3253let val: u32 = ::core::mem::transmute(val);
3254self._bitfield_1.set(2usize, 1u8, val as u64)
3255}
3256}
3257#[inline]
3258pub unsafe fn ao_required_raw(this: *const Self) -> __u32 {
3259unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 2usize, 1u8) as u32) }
3260}
3261#[inline]
3262pub unsafe fn set_ao_required_raw(this: *mut Self, val: __u32) {
3263unsafe {
3264let val: u32 = ::core::mem::transmute(val);
3265<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 2usize, 1u8, val as u64)
3266}
3267}
3268#[inline]
3269pub fn set_counters(&self) -> __u32 {
3270unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
3271}
3272#[inline]
3273pub fn set_set_counters(&mut self, val: __u32) {
3274unsafe {
3275let val: u32 = ::core::mem::transmute(val);
3276self._bitfield_1.set(3usize, 1u8, val as u64)
3277}
3278}
3279#[inline]
3280pub unsafe fn set_counters_raw(this: *const Self) -> __u32 {
3281unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 3usize, 1u8) as u32) }
3282}
3283#[inline]
3284pub unsafe fn set_set_counters_raw(this: *mut Self, val: __u32) {
3285unsafe {
3286let val: u32 = ::core::mem::transmute(val);
3287<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 3usize, 1u8, val as u64)
3288}
3289}
3290#[inline]
3291pub fn accept_icmps(&self) -> __u32 {
3292unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
3293}
3294#[inline]
3295pub fn set_accept_icmps(&mut self, val: __u32) {
3296unsafe {
3297let val: u32 = ::core::mem::transmute(val);
3298self._bitfield_1.set(4usize, 1u8, val as u64)
3299}
3300}
3301#[inline]
3302pub unsafe fn accept_icmps_raw(this: *const Self) -> __u32 {
3303unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 4usize, 1u8) as u32) }
3304}
3305#[inline]
3306pub unsafe fn set_accept_icmps_raw(this: *mut Self, val: __u32) {
3307unsafe {
3308let val: u32 = ::core::mem::transmute(val);
3309<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 4usize, 1u8, val as u64)
3310}
3311}
3312#[inline]
3313pub fn reserved(&self) -> __u32 {
3314unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 27u8) as u32) }
3315}
3316#[inline]
3317pub fn set_reserved(&mut self, val: __u32) {
3318unsafe {
3319let val: u32 = ::core::mem::transmute(val);
3320self._bitfield_1.set(5usize, 27u8, val as u64)
3321}
3322}
3323#[inline]
3324pub unsafe fn reserved_raw(this: *const Self) -> __u32 {
3325unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 5usize, 27u8) as u32) }
3326}
3327#[inline]
3328pub unsafe fn set_reserved_raw(this: *mut Self, val: __u32) {
3329unsafe {
3330let val: u32 = ::core::mem::transmute(val);
3331<__BindgenBitfieldUnit<[u8; 4usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 5usize, 27u8, val as u64)
3332}
3333}
3334#[inline]
3335pub fn new_bitfield_1(set_current: __u32, set_rnext: __u32, ao_required: __u32, set_counters: __u32, accept_icmps: __u32, reserved: __u32) -> __BindgenBitfieldUnit<[u8; 4usize]> {
3336let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
3337__bindgen_bitfield_unit.set(0usize, 1u8, {
3338let set_current: u32 = unsafe { ::core::mem::transmute(set_current) };
3339set_current as u64
3340});
3341__bindgen_bitfield_unit.set(1usize, 1u8, {
3342let set_rnext: u32 = unsafe { ::core::mem::transmute(set_rnext) };
3343set_rnext as u64
3344});
3345__bindgen_bitfield_unit.set(2usize, 1u8, {
3346let ao_required: u32 = unsafe { ::core::mem::transmute(ao_required) };
3347ao_required as u64
3348});
3349__bindgen_bitfield_unit.set(3usize, 1u8, {
3350let set_counters: u32 = unsafe { ::core::mem::transmute(set_counters) };
3351set_counters as u64
3352});
3353__bindgen_bitfield_unit.set(4usize, 1u8, {
3354let accept_icmps: u32 = unsafe { ::core::mem::transmute(accept_icmps) };
3355accept_icmps as u64
3356});
3357__bindgen_bitfield_unit.set(5usize, 27u8, {
3358let reserved: u32 = unsafe { ::core::mem::transmute(reserved) };
3359reserved as u64
3360});
3361__bindgen_bitfield_unit
3362}
3363}
3364impl tcp_ao_getsockopt {
3365#[inline]
3366pub fn is_current(&self) -> __u16 {
3367unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
3368}
3369#[inline]
3370pub fn set_is_current(&mut self, val: __u16) {
3371unsafe {
3372let val: u16 = ::core::mem::transmute(val);
3373self._bitfield_1.set(0usize, 1u8, val as u64)
3374}
3375}
3376#[inline]
3377pub unsafe fn is_current_raw(this: *const Self) -> __u16 {
3378unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 0usize, 1u8) as u16) }
3379}
3380#[inline]
3381pub unsafe fn set_is_current_raw(this: *mut Self, val: __u16) {
3382unsafe {
3383let val: u16 = ::core::mem::transmute(val);
3384<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 0usize, 1u8, val as u64)
3385}
3386}
3387#[inline]
3388pub fn is_rnext(&self) -> __u16 {
3389unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u16) }
3390}
3391#[inline]
3392pub fn set_is_rnext(&mut self, val: __u16) {
3393unsafe {
3394let val: u16 = ::core::mem::transmute(val);
3395self._bitfield_1.set(1usize, 1u8, val as u64)
3396}
3397}
3398#[inline]
3399pub unsafe fn is_rnext_raw(this: *const Self) -> __u16 {
3400unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 1usize, 1u8) as u16) }
3401}
3402#[inline]
3403pub unsafe fn set_is_rnext_raw(this: *mut Self, val: __u16) {
3404unsafe {
3405let val: u16 = ::core::mem::transmute(val);
3406<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 1usize, 1u8, val as u64)
3407}
3408}
3409#[inline]
3410pub fn get_all(&self) -> __u16 {
3411unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u16) }
3412}
3413#[inline]
3414pub fn set_get_all(&mut self, val: __u16) {
3415unsafe {
3416let val: u16 = ::core::mem::transmute(val);
3417self._bitfield_1.set(2usize, 1u8, val as u64)
3418}
3419}
3420#[inline]
3421pub unsafe fn get_all_raw(this: *const Self) -> __u16 {
3422unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 2usize, 1u8) as u16) }
3423}
3424#[inline]
3425pub unsafe fn set_get_all_raw(this: *mut Self, val: __u16) {
3426unsafe {
3427let val: u16 = ::core::mem::transmute(val);
3428<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 2usize, 1u8, val as u64)
3429}
3430}
3431#[inline]
3432pub fn reserved(&self) -> __u16 {
3433unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 13u8) as u16) }
3434}
3435#[inline]
3436pub fn set_reserved(&mut self, val: __u16) {
3437unsafe {
3438let val: u16 = ::core::mem::transmute(val);
3439self._bitfield_1.set(3usize, 13u8, val as u64)
3440}
3441}
3442#[inline]
3443pub unsafe fn reserved_raw(this: *const Self) -> __u16 {
3444unsafe { ::core::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(::core::ptr::addr_of!((*this)._bitfield_1), 3usize, 13u8) as u16) }
3445}
3446#[inline]
3447pub unsafe fn set_reserved_raw(this: *mut Self, val: __u16) {
3448unsafe {
3449let val: u16 = ::core::mem::transmute(val);
3450<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(::core::ptr::addr_of_mut!((*this)._bitfield_1), 3usize, 13u8, val as u64)
3451}
3452}
3453#[inline]
3454pub fn new_bitfield_1(is_current: __u16, is_rnext: __u16, get_all: __u16, reserved: __u16) -> __BindgenBitfieldUnit<[u8; 2usize]> {
3455let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
3456__bindgen_bitfield_unit.set(0usize, 1u8, {
3457let is_current: u16 = unsafe { ::core::mem::transmute(is_current) };
3458is_current as u64
3459});
3460__bindgen_bitfield_unit.set(1usize, 1u8, {
3461let is_rnext: u16 = unsafe { ::core::mem::transmute(is_rnext) };
3462is_rnext as u64
3463});
3464__bindgen_bitfield_unit.set(2usize, 1u8, {
3465let get_all: u16 = unsafe { ::core::mem::transmute(get_all) };
3466get_all as u64
3467});
3468__bindgen_bitfield_unit.set(3usize, 13u8, {
3469let reserved: u16 = unsafe { ::core::mem::transmute(reserved) };
3470reserved as u64
3471});
3472__bindgen_bitfield_unit
3473}
3474}
3475impl nf_inet_hooks {
3476pub const NF_INET_INGRESS: nf_inet_hooks = nf_inet_hooks::NF_INET_NUMHOOKS;
3477}
3478impl nf_ip_hook_priorities {
3479pub const NF_IP_PRI_LAST: nf_ip_hook_priorities = nf_ip_hook_priorities::NF_IP_PRI_CONNTRACK_CONFIRM;
3480}
3481impl hwtstamp_flags {
3482pub const HWTSTAMP_FLAG_LAST: hwtstamp_flags = hwtstamp_flags::HWTSTAMP_FLAG_BONDED_PHC_INDEX;
3483}
3484impl hwtstamp_flags {
3485pub const HWTSTAMP_FLAG_MASK: hwtstamp_flags = hwtstamp_flags::HWTSTAMP_FLAG_BONDED_PHC_INDEX;
3486}
3487impl txtime_flags {
3488pub const SOF_TXTIME_FLAGS_LAST: txtime_flags = txtime_flags::SOF_TXTIME_REPORT_ERRORS;
3489}