Debian Codegraph @

debian/rust-vendor/linux-raw-sys/src/sparc/net.rs

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