Debian Codegraph @

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