Debian Codegraph @

.cargo/vendor/linux-raw-sys/src/s390x/net.rs

raw
1 /* automatically generated by rust-bindgen 0.66.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 addr_t = crate::ctypes::c_ulong;
12 pub type saddr_t = crate::ctypes::c_long;
13 pub type __kernel_key_t = crate::ctypes::c_int;
14 pub type __kernel_mqd_t = crate::ctypes::c_int;
15 pub type __kernel_size_t = crate::ctypes::c_ulong;
16 pub type __kernel_ssize_t = crate::ctypes::c_long;
17 pub type __kernel_old_dev_t = crate::ctypes::c_ushort;
18 pub type __kernel_ino_t = crate::ctypes::c_uint;
19 pub type __kernel_mode_t = crate::ctypes::c_uint;
20 pub type __kernel_ipc_pid_t = crate::ctypes::c_int;
21 pub type __kernel_uid_t = crate::ctypes::c_uint;
22 pub type __kernel_gid_t = crate::ctypes::c_uint;
23 pub type __kernel_ptrdiff_t = crate::ctypes::c_long;
24 pub type __kernel_sigset_t = crate::ctypes::c_ulong;
25 pub type __kernel_long_t = crate::ctypes::c_long;
26 pub type __kernel_ulong_t = crate::ctypes::c_ulong;
27 pub type __kernel_pid_t = crate::ctypes::c_int;
28 pub type __kernel_suseconds_t = __kernel_long_t;
29 pub type __kernel_daddr_t = crate::ctypes::c_int;
30 pub type __kernel_uid32_t = crate::ctypes::c_uint;
31 pub type __kernel_gid32_t = crate::ctypes::c_uint;
32 pub type __kernel_old_uid_t = __kernel_uid_t;
33 pub type __kernel_old_gid_t = __kernel_gid_t;
34 pub type __kernel_off_t = __kernel_long_t;
35 pub type __kernel_loff_t = crate::ctypes::c_longlong;
36 pub type __kernel_old_time_t = __kernel_long_t;
37 pub type __kernel_time_t = __kernel_long_t;
38 pub type __kernel_time64_t = crate::ctypes::c_longlong;
39 pub type __kernel_clock_t = __kernel_long_t;
40 pub type __kernel_timer_t = crate::ctypes::c_int;
41 pub type __kernel_clockid_t = crate::ctypes::c_int;
42 pub type __kernel_caddr_t = *mut crate::ctypes::c_char;
43 pub type __kernel_uid16_t = crate::ctypes::c_ushort;
44 pub type __kernel_gid16_t = crate::ctypes::c_ushort;
45 pub type __le16 = __u16;
46 pub type __be16 = __u16;
47 pub type __le32 = __u32;
48 pub type __be32 = __u32;
49 pub type __le64 = __u64;
50 pub type __be64 = __u64;
51 pub type __sum16 = __u16;
52 pub type __wsum = __u32;
53 pub type __poll_t = crate::ctypes::c_uint;
54 pub type __kernel_sa_family_t = crate::ctypes::c_ushort;
55 pub type socklen_t = crate::ctypes::c_uint;
56 #[repr(C)]
57 #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
58 pub struct __BindgenBitfieldUnit<Storage> {
59 storage: Storage,
60 }
61 #[repr(C)]
62 #[derive(Default)]
63 pub struct __IncompleteArrayField<T>(::core::marker::PhantomData<T>, [T; 0]);
64 #[repr(C)]
65 pub struct __BindgenUnionField<T>(::core::marker::PhantomData<T>);
66 #[repr(C, packed(4))]
67 #[derive(Copy, Clone)]
68 pub struct __vector128 {
69 pub __bindgen_anon_1: __vector128__bindgen_ty_1,
70 }
71 #[repr(C)]
72 #[derive(Debug, Copy, Clone)]
73 pub struct __vector128__bindgen_ty_1__bindgen_ty_1 {
74 pub high: __u64,
75 pub low: __u64,
76 }
77 #[repr(C)]
78 #[derive(Copy, Clone)]
79 pub struct __kernel_sockaddr_storage {
80 pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1,
81 }
82 #[repr(C)]
83 #[derive(Debug, Copy, Clone)]
84 pub struct __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 {
85 pub ss_family: __kernel_sa_family_t,
86 pub __data: [crate::ctypes::c_char; 126usize],
87 }
88 #[repr(C)]
89 #[derive(Debug, Copy, Clone)]
90 pub struct in_addr {
91 pub s_addr: __be32,
92 }
93 #[repr(C)]
94 #[derive(Debug, Copy, Clone)]
95 pub struct ip_mreq {
96 pub imr_multiaddr: in_addr,
97 pub imr_interface: in_addr,
98 }
99 #[repr(C)]
100 #[derive(Debug, Copy, Clone)]
101 pub struct ip_mreqn {
102 pub imr_multiaddr: in_addr,
103 pub imr_address: in_addr,
104 pub imr_ifindex: crate::ctypes::c_int,
105 }
106 #[repr(C)]
107 #[derive(Debug, Copy, Clone)]
108 pub struct ip_mreq_source {
109 pub imr_multiaddr: __be32,
110 pub imr_interface: __be32,
111 pub imr_sourceaddr: __be32,
112 }
113 #[repr(C)]
114 pub struct ip_msfilter {
115 pub imsf_multiaddr: __be32,
116 pub imsf_interface: __be32,
117 pub imsf_fmode: __u32,
118 pub imsf_numsrc: __u32,
119 pub __bindgen_anon_1: ip_msfilter__bindgen_ty_1,
120 }
121 #[repr(C)]
122 pub struct ip_msfilter__bindgen_ty_1 {
123 pub imsf_slist: __BindgenUnionField<[__be32; 1usize]>,
124 pub __bindgen_anon_1: __BindgenUnionField<ip_msfilter__bindgen_ty_1__bindgen_ty_1>,
125 pub bindgen_union_field: u32,
126 }
127 #[repr(C)]
128 #[derive(Debug)]
129 pub struct ip_msfilter__bindgen_ty_1__bindgen_ty_1 {
130 pub __empty_imsf_slist_flex: ip_msfilter__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
131 pub imsf_slist_flex: __IncompleteArrayField<__be32>,
132 }
133 #[repr(C)]
134 #[derive(Debug, Copy, Clone)]
135 pub struct ip_msfilter__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {}
136 #[repr(C)]
137 #[derive(Copy, Clone)]
138 pub struct group_req {
139 pub gr_interface: __u32,
140 pub gr_group: __kernel_sockaddr_storage,
141 }
142 #[repr(C)]
143 #[derive(Copy, Clone)]
144 pub struct group_source_req {
145 pub gsr_interface: __u32,
146 pub gsr_group: __kernel_sockaddr_storage,
147 pub gsr_source: __kernel_sockaddr_storage,
148 }
149 #[repr(C)]
150 pub struct group_filter {
151 pub __bindgen_anon_1: group_filter__bindgen_ty_1,
152 }
153 #[repr(C)]
154 pub struct group_filter__bindgen_ty_1 {
155 pub __bindgen_anon_1: __BindgenUnionField<group_filter__bindgen_ty_1__bindgen_ty_1>,
156 pub __bindgen_anon_2: __BindgenUnionField<group_filter__bindgen_ty_1__bindgen_ty_2>,
157 pub bindgen_union_field: [u64; 34usize],
158 }
159 #[repr(C)]
160 #[derive(Copy, Clone)]
161 pub struct group_filter__bindgen_ty_1__bindgen_ty_1 {
162 pub gf_interface_aux: __u32,
163 pub gf_group_aux: __kernel_sockaddr_storage,
164 pub gf_fmode_aux: __u32,
165 pub gf_numsrc_aux: __u32,
166 pub gf_slist: [__kernel_sockaddr_storage; 1usize],
167 }
168 #[repr(C)]
169 pub struct group_filter__bindgen_ty_1__bindgen_ty_2 {
170 pub gf_interface: __u32,
171 pub gf_group: __kernel_sockaddr_storage,
172 pub gf_fmode: __u32,
173 pub gf_numsrc: __u32,
174 pub gf_slist_flex: __IncompleteArrayField<__kernel_sockaddr_storage>,
175 }
176 #[repr(C)]
177 #[derive(Debug, Copy, Clone)]
178 pub struct in_pktinfo {
179 pub ipi_ifindex: crate::ctypes::c_int,
180 pub ipi_spec_dst: in_addr,
181 pub ipi_addr: in_addr,
182 }
183 #[repr(C)]
184 #[derive(Debug, Copy, Clone)]
185 pub struct sockaddr_in {
186 pub sin_family: __kernel_sa_family_t,
187 pub sin_port: __be16,
188 pub sin_addr: in_addr,
189 pub __pad: [crate::ctypes::c_uchar; 8usize],
190 }
191 #[repr(C)]
192 #[derive(Copy, Clone)]
193 pub struct iphdr {
194 pub _bitfield_align_1: [u8; 0],
195 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
196 pub tos: __u8,
197 pub tot_len: __be16,
198 pub id: __be16,
199 pub frag_off: __be16,
200 pub ttl: __u8,
201 pub protocol: __u8,
202 pub check: __sum16,
203 pub __bindgen_anon_1: iphdr__bindgen_ty_1,
204 }
205 #[repr(C)]
206 #[derive(Debug, Copy, Clone)]
207 pub struct iphdr__bindgen_ty_1__bindgen_ty_1 {
208 pub saddr: __be32,
209 pub daddr: __be32,
210 }
211 #[repr(C)]
212 #[derive(Debug, Copy, Clone)]
213 pub struct iphdr__bindgen_ty_1__bindgen_ty_2 {
214 pub saddr: __be32,
215 pub daddr: __be32,
216 }
217 #[repr(C)]
218 #[derive(Debug)]
219 pub struct ip_auth_hdr {
220 pub nexthdr: __u8,
221 pub hdrlen: __u8,
222 pub reserved: __be16,
223 pub spi: __be32,
224 pub seq_no: __be32,
225 pub auth_data: __IncompleteArrayField<__u8>,
226 }
227 #[repr(C)]
228 #[derive(Debug)]
229 pub struct ip_esp_hdr {
230 pub spi: __be32,
231 pub seq_no: __be32,
232 pub enc_data: __IncompleteArrayField<__u8>,
233 }
234 #[repr(C)]
235 #[derive(Debug, Copy, Clone)]
236 pub struct ip_comp_hdr {
237 pub nexthdr: __u8,
238 pub flags: __u8,
239 pub cpi: __be16,
240 }
241 #[repr(C)]
242 #[derive(Debug, Copy, Clone)]
243 pub struct ip_beet_phdr {
244 pub nexthdr: __u8,
245 pub hdrlen: __u8,
246 pub padlen: __u8,
247 pub reserved: __u8,
248 }
249 #[repr(C)]
250 #[derive(Copy, Clone)]
251 pub struct in6_addr {
252 pub in6_u: in6_addr__bindgen_ty_1,
253 }
254 #[repr(C)]
255 #[derive(Copy, Clone)]
256 pub struct sockaddr_in6 {
257 pub sin6_family: crate::ctypes::c_ushort,
258 pub sin6_port: __be16,
259 pub sin6_flowinfo: __be32,
260 pub sin6_addr: in6_addr,
261 pub sin6_scope_id: __u32,
262 }
263 #[repr(C)]
264 #[derive(Copy, Clone)]
265 pub struct ipv6_mreq {
266 pub ipv6mr_multiaddr: in6_addr,
267 pub ipv6mr_ifindex: crate::ctypes::c_int,
268 }
269 #[repr(C)]
270 #[derive(Copy, Clone)]
271 pub struct in6_flowlabel_req {
272 pub flr_dst: in6_addr,
273 pub flr_label: __be32,
274 pub flr_action: __u8,
275 pub flr_share: __u8,
276 pub flr_flags: __u16,
277 pub flr_expires: __u16,
278 pub flr_linger: __u16,
279 pub __flr_pad: __u32,
280 }
281 #[repr(C)]
282 #[derive(Copy, Clone)]
283 pub struct in6_pktinfo {
284 pub ipi6_addr: in6_addr,
285 pub ipi6_ifindex: crate::ctypes::c_int,
286 }
287 #[repr(C)]
288 #[derive(Copy, Clone)]
289 pub struct ip6_mtuinfo {
290 pub ip6m_addr: sockaddr_in6,
291 pub ip6m_mtu: __u32,
292 }
293 #[repr(C)]
294 #[derive(Copy, Clone)]
295 pub struct in6_ifreq {
296 pub ifr6_addr: in6_addr,
297 pub ifr6_prefixlen: __u32,
298 pub ifr6_ifindex: crate::ctypes::c_int,
299 }
300 #[repr(C)]
301 #[derive(Debug, Copy, Clone)]
302 pub struct ipv6_rt_hdr {
303 pub nexthdr: __u8,
304 pub hdrlen: __u8,
305 pub type_: __u8,
306 pub segments_left: __u8,
307 }
308 #[repr(C, packed)]
309 #[derive(Debug, Copy, Clone)]
310 pub struct ipv6_opt_hdr {
311 pub nexthdr: __u8,
312 pub hdrlen: __u8,
313 }
314 #[repr(C)]
315 pub struct rt0_hdr {
316 pub rt_hdr: ipv6_rt_hdr,
317 pub reserved: __u32,
318 pub addr: __IncompleteArrayField<in6_addr>,
319 }
320 #[repr(C)]
321 #[derive(Copy, Clone)]
322 pub struct rt2_hdr {
323 pub rt_hdr: ipv6_rt_hdr,
324 pub reserved: __u32,
325 pub addr: in6_addr,
326 }
327 #[repr(C, packed)]
328 #[derive(Copy, Clone)]
329 pub struct ipv6_destopt_hao {
330 pub type_: __u8,
331 pub length: __u8,
332 pub addr: in6_addr,
333 }
334 #[repr(C)]
335 #[derive(Copy, Clone)]
336 pub struct ipv6hdr {
337 pub _bitfield_align_1: [u8; 0],
338 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
339 pub flow_lbl: [__u8; 3usize],
340 pub payload_len: __be16,
341 pub nexthdr: __u8,
342 pub hop_limit: __u8,
343 pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1,
344 }
345 #[repr(C)]
346 #[derive(Copy, Clone)]
347 pub struct ipv6hdr__bindgen_ty_1__bindgen_ty_1 {
348 pub saddr: in6_addr,
349 pub daddr: in6_addr,
350 }
351 #[repr(C)]
352 #[derive(Copy, Clone)]
353 pub struct ipv6hdr__bindgen_ty_1__bindgen_ty_2 {
354 pub saddr: in6_addr,
355 pub daddr: in6_addr,
356 }
357 #[repr(C)]
358 #[derive(Debug, Copy, Clone)]
359 pub struct tcphdr {
360 pub source: __be16,
361 pub dest: __be16,
362 pub seq: __be32,
363 pub ack_seq: __be32,
364 pub _bitfield_align_1: [u8; 0],
365 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
366 pub window: __be16,
367 pub check: __sum16,
368 pub urg_ptr: __be16,
369 }
370 #[repr(C)]
371 #[derive(Debug, Copy, Clone)]
372 pub struct tcp_repair_opt {
373 pub opt_code: __u32,
374 pub opt_val: __u32,
375 }
376 #[repr(C)]
377 #[derive(Debug, Copy, Clone)]
378 pub struct tcp_repair_window {
379 pub snd_wl1: __u32,
380 pub snd_wnd: __u32,
381 pub max_window: __u32,
382 pub rcv_wnd: __u32,
383 pub rcv_wup: __u32,
384 }
385 #[repr(C)]
386 #[derive(Debug, Copy, Clone)]
387 pub struct tcp_info {
388 pub tcpi_state: __u8,
389 pub tcpi_ca_state: __u8,
390 pub tcpi_retransmits: __u8,
391 pub tcpi_probes: __u8,
392 pub tcpi_backoff: __u8,
393 pub tcpi_options: __u8,
394 pub _bitfield_align_1: [u8; 0],
395 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
396 pub tcpi_rto: __u32,
397 pub tcpi_ato: __u32,
398 pub tcpi_snd_mss: __u32,
399 pub tcpi_rcv_mss: __u32,
400 pub tcpi_unacked: __u32,
401 pub tcpi_sacked: __u32,
402 pub tcpi_lost: __u32,
403 pub tcpi_retrans: __u32,
404 pub tcpi_fackets: __u32,
405 pub tcpi_last_data_sent: __u32,
406 pub tcpi_last_ack_sent: __u32,
407 pub tcpi_last_data_recv: __u32,
408 pub tcpi_last_ack_recv: __u32,
409 pub tcpi_pmtu: __u32,
410 pub tcpi_rcv_ssthresh: __u32,
411 pub tcpi_rtt: __u32,
412 pub tcpi_rttvar: __u32,
413 pub tcpi_snd_ssthresh: __u32,
414 pub tcpi_snd_cwnd: __u32,
415 pub tcpi_advmss: __u32,
416 pub tcpi_reordering: __u32,
417 pub tcpi_rcv_rtt: __u32,
418 pub tcpi_rcv_space: __u32,
419 pub tcpi_total_retrans: __u32,
420 pub tcpi_pacing_rate: __u64,
421 pub tcpi_max_pacing_rate: __u64,
422 pub tcpi_bytes_acked: __u64,
423 pub tcpi_bytes_received: __u64,
424 pub tcpi_segs_out: __u32,
425 pub tcpi_segs_in: __u32,
426 pub tcpi_notsent_bytes: __u32,
427 pub tcpi_min_rtt: __u32,
428 pub tcpi_data_segs_in: __u32,
429 pub tcpi_data_segs_out: __u32,
430 pub tcpi_delivery_rate: __u64,
431 pub tcpi_busy_time: __u64,
432 pub tcpi_rwnd_limited: __u64,
433 pub tcpi_sndbuf_limited: __u64,
434 pub tcpi_delivered: __u32,
435 pub tcpi_delivered_ce: __u32,
436 pub tcpi_bytes_sent: __u64,
437 pub tcpi_bytes_retrans: __u64,
438 pub tcpi_dsack_dups: __u32,
439 pub tcpi_reord_seen: __u32,
440 pub tcpi_rcv_ooopack: __u32,
441 pub tcpi_snd_wnd: __u32,
442 pub tcpi_rcv_wnd: __u32,
443 pub tcpi_rehash: __u32,
444 }
445 #[repr(C)]
446 #[derive(Copy, Clone)]
447 pub struct tcp_md5sig {
448 pub tcpm_addr: __kernel_sockaddr_storage,
449 pub tcpm_flags: __u8,
450 pub tcpm_prefixlen: __u8,
451 pub tcpm_keylen: __u16,
452 pub tcpm_ifindex: crate::ctypes::c_int,
453 pub tcpm_key: [__u8; 80usize],
454 }
455 #[repr(C)]
456 #[derive(Debug, Copy, Clone)]
457 pub struct tcp_diag_md5sig {
458 pub tcpm_family: __u8,
459 pub tcpm_prefixlen: __u8,
460 pub tcpm_keylen: __u16,
461 pub tcpm_addr: [__be32; 4usize],
462 pub tcpm_key: [__u8; 80usize],
463 }
464 #[repr(C)]
465 #[derive(Debug, Copy, Clone)]
466 pub struct tcp_zerocopy_receive {
467 pub address: __u64,
468 pub length: __u32,
469 pub recv_skip_hint: __u32,
470 pub inq: __u32,
471 pub err: __s32,
472 pub copybuf_address: __u64,
473 pub copybuf_len: __s32,
474 pub flags: __u32,
475 pub msg_control: __u64,
476 pub msg_controllen: __u64,
477 pub msg_flags: __u32,
478 pub reserved: __u32,
479 }
480 #[repr(C)]
481 #[derive(Debug, Copy, Clone)]
482 pub struct sockaddr_un {
483 pub sun_family: __kernel_sa_family_t,
484 pub sun_path: [crate::ctypes::c_char; 108usize],
485 }
486 #[repr(C)]
487 #[derive(Copy, Clone)]
488 pub struct sockaddr {
489 pub __storage: __kernel_sockaddr_storage,
490 }
491 #[repr(C)]
492 #[derive(Debug, Copy, Clone)]
493 pub struct sync_serial_settings {
494 pub clock_rate: crate::ctypes::c_uint,
495 pub clock_type: crate::ctypes::c_uint,
496 pub loopback: crate::ctypes::c_ushort,
497 }
498 #[repr(C)]
499 #[derive(Debug, Copy, Clone)]
500 pub struct te1_settings {
501 pub clock_rate: crate::ctypes::c_uint,
502 pub clock_type: crate::ctypes::c_uint,
503 pub loopback: crate::ctypes::c_ushort,
504 pub slot_map: crate::ctypes::c_uint,
505 }
506 #[repr(C)]
507 #[derive(Debug, Copy, Clone)]
508 pub struct raw_hdlc_proto {
509 pub encoding: crate::ctypes::c_ushort,
510 pub parity: crate::ctypes::c_ushort,
511 }
512 #[repr(C)]
513 #[derive(Debug, Copy, Clone)]
514 pub struct fr_proto {
515 pub t391: crate::ctypes::c_uint,
516 pub t392: crate::ctypes::c_uint,
517 pub n391: crate::ctypes::c_uint,
518 pub n392: crate::ctypes::c_uint,
519 pub n393: crate::ctypes::c_uint,
520 pub lmi: crate::ctypes::c_ushort,
521 pub dce: crate::ctypes::c_ushort,
522 }
523 #[repr(C)]
524 #[derive(Debug, Copy, Clone)]
525 pub struct fr_proto_pvc {
526 pub dlci: crate::ctypes::c_uint,
527 }
528 #[repr(C)]
529 #[derive(Debug, Copy, Clone)]
530 pub struct fr_proto_pvc_info {
531 pub dlci: crate::ctypes::c_uint,
532 pub master: [crate::ctypes::c_char; 16usize],
533 }
534 #[repr(C)]
535 #[derive(Debug, Copy, Clone)]
536 pub struct cisco_proto {
537 pub interval: crate::ctypes::c_uint,
538 pub timeout: crate::ctypes::c_uint,
539 }
540 #[repr(C)]
541 #[derive(Debug, Copy, Clone)]
542 pub struct x25_hdlc_proto {
543 pub dce: crate::ctypes::c_ushort,
544 pub modulo: crate::ctypes::c_uint,
545 pub window: crate::ctypes::c_uint,
546 pub t1: crate::ctypes::c_uint,
547 pub t2: crate::ctypes::c_uint,
548 pub n2: crate::ctypes::c_uint,
549 }
550 #[repr(C)]
551 #[derive(Debug, Copy, Clone)]
552 pub struct ifmap {
553 pub mem_start: crate::ctypes::c_ulong,
554 pub mem_end: crate::ctypes::c_ulong,
555 pub base_addr: crate::ctypes::c_ushort,
556 pub irq: crate::ctypes::c_uchar,
557 pub dma: crate::ctypes::c_uchar,
558 pub port: crate::ctypes::c_uchar,
559 }
560 #[repr(C)]
561 #[derive(Copy, Clone)]
562 pub struct if_settings {
563 pub type_: crate::ctypes::c_uint,
564 pub size: crate::ctypes::c_uint,
565 pub ifs_ifsu: if_settings__bindgen_ty_1,
566 }
567 #[repr(C)]
568 #[derive(Copy, Clone)]
569 pub struct ifreq {
570 pub ifr_ifrn: ifreq__bindgen_ty_1,
571 pub ifr_ifru: ifreq__bindgen_ty_2,
572 }
573 #[repr(C)]
574 #[derive(Copy, Clone)]
575 pub struct ifconf {
576 pub ifc_len: crate::ctypes::c_int,
577 pub ifc_ifcu: ifconf__bindgen_ty_1,
578 }
579 #[repr(C)]
580 pub struct xt_entry_match {
581 pub u: xt_entry_match__bindgen_ty_1,
582 pub data: __IncompleteArrayField<crate::ctypes::c_uchar>,
583 }
584 #[repr(C)]
585 #[derive(Debug, Copy, Clone)]
586 pub struct xt_entry_match__bindgen_ty_1__bindgen_ty_1 {
587 pub match_size: __u16,
588 pub name: [crate::ctypes::c_char; 29usize],
589 pub revision: __u8,
590 }
591 #[repr(C)]
592 #[derive(Debug, Copy, Clone)]
593 pub struct xt_entry_match__bindgen_ty_1__bindgen_ty_2 {
594 pub match_size: __u16,
595 pub match_: *mut xt_match,
596 }
597 #[repr(C)]
598 pub struct xt_entry_target {
599 pub u: xt_entry_target__bindgen_ty_1,
600 pub data: __IncompleteArrayField<crate::ctypes::c_uchar>,
601 }
602 #[repr(C)]
603 #[derive(Debug, Copy, Clone)]
604 pub struct xt_entry_target__bindgen_ty_1__bindgen_ty_1 {
605 pub target_size: __u16,
606 pub name: [crate::ctypes::c_char; 29usize],
607 pub revision: __u8,
608 }
609 #[repr(C)]
610 #[derive(Debug, Copy, Clone)]
611 pub struct xt_entry_target__bindgen_ty_1__bindgen_ty_2 {
612 pub target_size: __u16,
613 pub target: *mut xt_target,
614 }
615 #[repr(C)]
616 pub struct xt_standard_target {
617 pub target: xt_entry_target,
618 pub verdict: crate::ctypes::c_int,
619 }
620 #[repr(C)]
621 pub struct xt_error_target {
622 pub target: xt_entry_target,
623 pub errorname: [crate::ctypes::c_char; 30usize],
624 }
625 #[repr(C)]
626 #[derive(Debug, Copy, Clone)]
627 pub struct xt_get_revision {
628 pub name: [crate::ctypes::c_char; 29usize],
629 pub revision: __u8,
630 }
631 #[repr(C)]
632 #[derive(Debug, Copy, Clone)]
633 pub struct _xt_align {
634 pub u8_: __u8,
635 pub u16_: __u16,
636 pub u32_: __u32,
637 pub u64_: __u64,
638 }
639 #[repr(C)]
640 #[derive(Debug, Copy, Clone)]
641 pub struct xt_counters {
642 pub pcnt: __u64,
643 pub bcnt: __u64,
644 }
645 #[repr(C)]
646 #[derive(Debug)]
647 pub struct xt_counters_info {
648 pub name: [crate::ctypes::c_char; 32usize],
649 pub num_counters: crate::ctypes::c_uint,
650 pub counters: __IncompleteArrayField<xt_counters>,
651 }
652 #[repr(C)]
653 #[derive(Debug, Copy, Clone)]
654 pub struct xt_tcp {
655 pub spts: [__u16; 2usize],
656 pub dpts: [__u16; 2usize],
657 pub option: __u8,
658 pub flg_mask: __u8,
659 pub flg_cmp: __u8,
660 pub invflags: __u8,
661 }
662 #[repr(C)]
663 #[derive(Debug, Copy, Clone)]
664 pub struct xt_udp {
665 pub spts: [__u16; 2usize],
666 pub dpts: [__u16; 2usize],
667 pub invflags: __u8,
668 }
669 #[repr(C)]
670 #[derive(Copy, Clone)]
671 pub struct ip6t_ip6 {
672 pub src: in6_addr,
673 pub dst: in6_addr,
674 pub smsk: in6_addr,
675 pub dmsk: in6_addr,
676 pub iniface: [crate::ctypes::c_char; 16usize],
677 pub outiface: [crate::ctypes::c_char; 16usize],
678 pub iniface_mask: [crate::ctypes::c_uchar; 16usize],
679 pub outiface_mask: [crate::ctypes::c_uchar; 16usize],
680 pub proto: __u16,
681 pub tos: __u8,
682 pub flags: __u8,
683 pub invflags: __u8,
684 }
685 #[repr(C)]
686 pub struct ip6t_entry {
687 pub ipv6: ip6t_ip6,
688 pub nfcache: crate::ctypes::c_uint,
689 pub target_offset: __u16,
690 pub next_offset: __u16,
691 pub comefrom: crate::ctypes::c_uint,
692 pub counters: xt_counters,
693 pub elems: __IncompleteArrayField<crate::ctypes::c_uchar>,
694 }
695 #[repr(C)]
696 pub struct ip6t_standard {
697 pub entry: ip6t_entry,
698 pub target: xt_standard_target,
699 }
700 #[repr(C)]
701 pub struct ip6t_error {
702 pub entry: ip6t_entry,
703 pub target: xt_error_target,
704 }
705 #[repr(C)]
706 #[derive(Debug, Copy, Clone)]
707 pub struct ip6t_icmp {
708 pub type_: __u8,
709 pub code: [__u8; 2usize],
710 pub invflags: __u8,
711 }
712 #[repr(C)]
713 #[derive(Debug, Copy, Clone)]
714 pub struct ip6t_getinfo {
715 pub name: [crate::ctypes::c_char; 32usize],
716 pub valid_hooks: crate::ctypes::c_uint,
717 pub hook_entry: [crate::ctypes::c_uint; 5usize],
718 pub underflow: [crate::ctypes::c_uint; 5usize],
719 pub num_entries: crate::ctypes::c_uint,
720 pub size: crate::ctypes::c_uint,
721 }
722 #[repr(C)]
723 pub struct ip6t_replace {
724 pub name: [crate::ctypes::c_char; 32usize],
725 pub valid_hooks: crate::ctypes::c_uint,
726 pub num_entries: crate::ctypes::c_uint,
727 pub size: crate::ctypes::c_uint,
728 pub hook_entry: [crate::ctypes::c_uint; 5usize],
729 pub underflow: [crate::ctypes::c_uint; 5usize],
730 pub num_counters: crate::ctypes::c_uint,
731 pub counters: *mut xt_counters,
732 pub entries: __IncompleteArrayField<ip6t_entry>,
733 }
734 #[repr(C)]
735 pub struct ip6t_get_entries {
736 pub name: [crate::ctypes::c_char; 32usize],
737 pub size: crate::ctypes::c_uint,
738 pub entrytable: __IncompleteArrayField<ip6t_entry>,
739 }
740 #[repr(C)]
741 #[derive(Debug, Copy, Clone)]
742 pub struct linger {
743 pub l_onoff: crate::ctypes::c_int,
744 pub l_linger: crate::ctypes::c_int,
745 }
746 #[repr(C)]
747 #[derive(Debug, Copy, Clone)]
748 pub struct msghdr {
749 pub msg_name: *mut crate::ctypes::c_void,
750 pub msg_namelen: crate::ctypes::c_int,
751 pub msg_iov: *mut iovec,
752 pub msg_iovlen: usize,
753 pub msg_control: *mut crate::ctypes::c_void,
754 pub msg_controllen: usize,
755 pub msg_flags: crate::ctypes::c_uint,
756 }
757 #[repr(C)]
758 #[derive(Debug, Copy, Clone)]
759 pub struct cmsghdr {
760 pub cmsg_len: usize,
761 pub cmsg_level: crate::ctypes::c_int,
762 pub cmsg_type: crate::ctypes::c_int,
763 }
764 #[repr(C)]
765 #[derive(Debug, Copy, Clone)]
766 pub struct ucred {
767 pub pid: __u32,
768 pub uid: __u32,
769 pub gid: __u32,
770 }
771 #[repr(C)]
772 #[derive(Debug, Copy, Clone)]
773 pub struct mmsghdr {
774 pub msg_hdr: msghdr,
775 pub msg_len: crate::ctypes::c_uint,
776 }
777 #[repr(C)]
778 #[derive(Debug, Copy, Clone)]
779 pub struct xt_match {
780 pub _address: u8,
781 }
782 #[repr(C)]
783 #[derive(Debug, Copy, Clone)]
784 pub struct xt_target {
785 pub _address: u8,
786 }
787 #[repr(C)]
788 #[derive(Debug, Copy, Clone)]
789 pub struct iovec {
790 pub _address: u8,
791 }
792 pub const _K_SS_MAXSIZE: u32 = 128;
793 pub const SOCK_SNDBUF_LOCK: u32 = 1;
794 pub const SOCK_RCVBUF_LOCK: u32 = 2;
795 pub const SOCK_BUF_LOCK_MASK: u32 = 3;
796 pub const SOCK_TXREHASH_DEFAULT: u32 = 255;
797 pub const SOCK_TXREHASH_DISABLED: u32 = 0;
798 pub const SOCK_TXREHASH_ENABLED: u32 = 1;
799 pub const IP_TOS: u32 = 1;
800 pub const IP_TTL: u32 = 2;
801 pub const IP_HDRINCL: u32 = 3;
802 pub const IP_OPTIONS: u32 = 4;
803 pub const IP_ROUTER_ALERT: u32 = 5;
804 pub const IP_RECVOPTS: u32 = 6;
805 pub const IP_RETOPTS: u32 = 7;
806 pub const IP_PKTINFO: u32 = 8;
807 pub const IP_PKTOPTIONS: u32 = 9;
808 pub const IP_MTU_DISCOVER: u32 = 10;
809 pub const IP_RECVERR: u32 = 11;
810 pub const IP_RECVTTL: u32 = 12;
811 pub const IP_RECVTOS: u32 = 13;
812 pub const IP_MTU: u32 = 14;
813 pub const IP_FREEBIND: u32 = 15;
814 pub const IP_IPSEC_POLICY: u32 = 16;
815 pub const IP_XFRM_POLICY: u32 = 17;
816 pub const IP_PASSSEC: u32 = 18;
817 pub const IP_TRANSPARENT: u32 = 19;
818 pub const IP_RECVRETOPTS: u32 = 7;
819 pub const IP_ORIGDSTADDR: u32 = 20;
820 pub const IP_RECVORIGDSTADDR: u32 = 20;
821 pub const IP_MINTTL: u32 = 21;
822 pub const IP_NODEFRAG: u32 = 22;
823 pub const IP_CHECKSUM: u32 = 23;
824 pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24;
825 pub const IP_RECVFRAGSIZE: u32 = 25;
826 pub const IP_RECVERR_RFC4884: u32 = 26;
827 pub const IP_PMTUDISC_DONT: u32 = 0;
828 pub const IP_PMTUDISC_WANT: u32 = 1;
829 pub const IP_PMTUDISC_DO: u32 = 2;
830 pub const IP_PMTUDISC_PROBE: u32 = 3;
831 pub const IP_PMTUDISC_INTERFACE: u32 = 4;
832 pub const IP_PMTUDISC_OMIT: u32 = 5;
833 pub const IP_MULTICAST_IF: u32 = 32;
834 pub const IP_MULTICAST_TTL: u32 = 33;
835 pub const IP_MULTICAST_LOOP: u32 = 34;
836 pub const IP_ADD_MEMBERSHIP: u32 = 35;
837 pub const IP_DROP_MEMBERSHIP: u32 = 36;
838 pub const IP_UNBLOCK_SOURCE: u32 = 37;
839 pub const IP_BLOCK_SOURCE: u32 = 38;
840 pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39;
841 pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40;
842 pub const IP_MSFILTER: u32 = 41;
843 pub const MCAST_JOIN_GROUP: u32 = 42;
844 pub const MCAST_BLOCK_SOURCE: u32 = 43;
845 pub const MCAST_UNBLOCK_SOURCE: u32 = 44;
846 pub const MCAST_LEAVE_GROUP: u32 = 45;
847 pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46;
848 pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47;
849 pub const MCAST_MSFILTER: u32 = 48;
850 pub const IP_MULTICAST_ALL: u32 = 49;
851 pub const IP_UNICAST_IF: u32 = 50;
852 pub const IP_LOCAL_PORT_RANGE: u32 = 51;
853 pub const MCAST_EXCLUDE: u32 = 0;
854 pub const MCAST_INCLUDE: u32 = 1;
855 pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1;
856 pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1;
857 pub const __SOCK_SIZE__: u32 = 16;
858 pub const IN_CLASSA_NET: u32 = 4278190080;
859 pub const IN_CLASSA_NSHIFT: u32 = 24;
860 pub const IN_CLASSA_HOST: u32 = 16777215;
861 pub const IN_CLASSA_MAX: u32 = 128;
862 pub const IN_CLASSB_NET: u32 = 4294901760;
863 pub const IN_CLASSB_NSHIFT: u32 = 16;
864 pub const IN_CLASSB_HOST: u32 = 65535;
865 pub const IN_CLASSB_MAX: u32 = 65536;
866 pub const IN_CLASSC_NET: u32 = 4294967040;
867 pub const IN_CLASSC_NSHIFT: u32 = 8;
868 pub const IN_CLASSC_HOST: u32 = 255;
869 pub const IN_MULTICAST_NET: u32 = 3758096384;
870 pub const IN_CLASSE_NET: u32 = 4294967295;
871 pub const IN_CLASSE_NSHIFT: u32 = 0;
872 pub const IN_LOOPBACKNET: u32 = 127;
873 pub const INADDR_LOOPBACK: u32 = 2130706433;
874 pub const INADDR_UNSPEC_GROUP: u32 = 3758096384;
875 pub const INADDR_ALLHOSTS_GROUP: u32 = 3758096385;
876 pub const INADDR_ALLRTRS_GROUP: u32 = 3758096386;
877 pub const INADDR_ALLSNOOPERS_GROUP: u32 = 3758096490;
878 pub const INADDR_MAX_LOCAL_GROUP: u32 = 3758096639;
879 pub const __BIG_ENDIAN: u32 = 4321;
880 pub const IPTOS_TOS_MASK: u32 = 30;
881 pub const IPTOS_LOWDELAY: u32 = 16;
882 pub const IPTOS_THROUGHPUT: u32 = 8;
883 pub const IPTOS_RELIABILITY: u32 = 4;
884 pub const IPTOS_MINCOST: u32 = 2;
885 pub const IPTOS_PREC_MASK: u32 = 224;
886 pub const IPTOS_PREC_NETCONTROL: u32 = 224;
887 pub const IPTOS_PREC_INTERNETCONTROL: u32 = 192;
888 pub const IPTOS_PREC_CRITIC_ECP: u32 = 160;
889 pub const IPTOS_PREC_FLASHOVERRIDE: u32 = 128;
890 pub const IPTOS_PREC_FLASH: u32 = 96;
891 pub const IPTOS_PREC_IMMEDIATE: u32 = 64;
892 pub const IPTOS_PREC_PRIORITY: u32 = 32;
893 pub const IPTOS_PREC_ROUTINE: u32 = 0;
894 pub const IPOPT_COPY: u32 = 128;
895 pub const IPOPT_CLASS_MASK: u32 = 96;
896 pub const IPOPT_NUMBER_MASK: u32 = 31;
897 pub const IPOPT_CONTROL: u32 = 0;
898 pub const IPOPT_RESERVED1: u32 = 32;
899 pub const IPOPT_MEASUREMENT: u32 = 64;
900 pub const IPOPT_RESERVED2: u32 = 96;
901 pub const IPOPT_END: u32 = 0;
902 pub const IPOPT_NOOP: u32 = 1;
903 pub const IPOPT_SEC: u32 = 130;
904 pub const IPOPT_LSRR: u32 = 131;
905 pub const IPOPT_TIMESTAMP: u32 = 68;
906 pub const IPOPT_CIPSO: u32 = 134;
907 pub const IPOPT_RR: u32 = 7;
908 pub const IPOPT_SID: u32 = 136;
909 pub const IPOPT_SSRR: u32 = 137;
910 pub const IPOPT_RA: u32 = 148;
911 pub const IPVERSION: u32 = 4;
912 pub const MAXTTL: u32 = 255;
913 pub const IPDEFTTL: u32 = 64;
914 pub const IPOPT_OPTVAL: u32 = 0;
915 pub const IPOPT_OLEN: u32 = 1;
916 pub const IPOPT_OFFSET: u32 = 2;
917 pub const IPOPT_MINOFF: u32 = 4;
918 pub const MAX_IPOPTLEN: u32 = 40;
919 pub const IPOPT_NOP: u32 = 1;
920 pub const IPOPT_EOL: u32 = 0;
921 pub const IPOPT_TS: u32 = 68;
922 pub const IPOPT_TS_TSONLY: u32 = 0;
923 pub const IPOPT_TS_TSANDADDR: u32 = 1;
924 pub const IPOPT_TS_PRESPEC: u32 = 3;
925 pub const IPV4_BEET_PHMAXLEN: u32 = 8;
926 pub const IPV6_FL_A_GET: u32 = 0;
927 pub const IPV6_FL_A_PUT: u32 = 1;
928 pub const IPV6_FL_A_RENEW: u32 = 2;
929 pub const IPV6_FL_F_CREATE: u32 = 1;
930 pub const IPV6_FL_F_EXCL: u32 = 2;
931 pub const IPV6_FL_F_REFLECT: u32 = 4;
932 pub const IPV6_FL_F_REMOTE: u32 = 8;
933 pub const IPV6_FL_S_NONE: u32 = 0;
934 pub const IPV6_FL_S_EXCL: u32 = 1;
935 pub const IPV6_FL_S_PROCESS: u32 = 2;
936 pub const IPV6_FL_S_USER: u32 = 3;
937 pub const IPV6_FL_S_ANY: u32 = 255;
938 pub const IPV6_FLOWINFO_FLOWLABEL: u32 = 1048575;
939 pub const IPV6_FLOWINFO_PRIORITY: u32 = 267386880;
940 pub const IPV6_PRIORITY_UNCHARACTERIZED: u32 = 0;
941 pub const IPV6_PRIORITY_FILLER: u32 = 256;
942 pub const IPV6_PRIORITY_UNATTENDED: u32 = 512;
943 pub const IPV6_PRIORITY_RESERVED1: u32 = 768;
944 pub const IPV6_PRIORITY_BULK: u32 = 1024;
945 pub const IPV6_PRIORITY_RESERVED2: u32 = 1280;
946 pub const IPV6_PRIORITY_INTERACTIVE: u32 = 1536;
947 pub const IPV6_PRIORITY_CONTROL: u32 = 1792;
948 pub const IPV6_PRIORITY_8: u32 = 2048;
949 pub const IPV6_PRIORITY_9: u32 = 2304;
950 pub const IPV6_PRIORITY_10: u32 = 2560;
951 pub const IPV6_PRIORITY_11: u32 = 2816;
952 pub const IPV6_PRIORITY_12: u32 = 3072;
953 pub const IPV6_PRIORITY_13: u32 = 3328;
954 pub const IPV6_PRIORITY_14: u32 = 3584;
955 pub const IPV6_PRIORITY_15: u32 = 3840;
956 pub const IPPROTO_HOPOPTS: u32 = 0;
957 pub const IPPROTO_ROUTING: u32 = 43;
958 pub const IPPROTO_FRAGMENT: u32 = 44;
959 pub const IPPROTO_ICMPV6: u32 = 58;
960 pub const IPPROTO_NONE: u32 = 59;
961 pub const IPPROTO_DSTOPTS: u32 = 60;
962 pub const IPPROTO_MH: u32 = 135;
963 pub const IPV6_TLV_PAD1: u32 = 0;
964 pub const IPV6_TLV_PADN: u32 = 1;
965 pub const IPV6_TLV_ROUTERALERT: u32 = 5;
966 pub const IPV6_TLV_CALIPSO: u32 = 7;
967 pub const IPV6_TLV_IOAM: u32 = 49;
968 pub const IPV6_TLV_JUMBO: u32 = 194;
969 pub const IPV6_TLV_HAO: u32 = 201;
970 pub const IPV6_ADDRFORM: u32 = 1;
971 pub const IPV6_2292PKTINFO: u32 = 2;
972 pub const IPV6_2292HOPOPTS: u32 = 3;
973 pub const IPV6_2292DSTOPTS: u32 = 4;
974 pub const IPV6_2292RTHDR: u32 = 5;
975 pub const IPV6_2292PKTOPTIONS: u32 = 6;
976 pub const IPV6_CHECKSUM: u32 = 7;
977 pub const IPV6_2292HOPLIMIT: u32 = 8;
978 pub const IPV6_NEXTHOP: u32 = 9;
979 pub const IPV6_AUTHHDR: u32 = 10;
980 pub const IPV6_FLOWINFO: u32 = 11;
981 pub const IPV6_UNICAST_HOPS: u32 = 16;
982 pub const IPV6_MULTICAST_IF: u32 = 17;
983 pub const IPV6_MULTICAST_HOPS: u32 = 18;
984 pub const IPV6_MULTICAST_LOOP: u32 = 19;
985 pub const IPV6_ADD_MEMBERSHIP: u32 = 20;
986 pub const IPV6_DROP_MEMBERSHIP: u32 = 21;
987 pub const IPV6_ROUTER_ALERT: u32 = 22;
988 pub const IPV6_MTU_DISCOVER: u32 = 23;
989 pub const IPV6_MTU: u32 = 24;
990 pub const IPV6_RECVERR: u32 = 25;
991 pub const IPV6_V6ONLY: u32 = 26;
992 pub const IPV6_JOIN_ANYCAST: u32 = 27;
993 pub const IPV6_LEAVE_ANYCAST: u32 = 28;
994 pub const IPV6_MULTICAST_ALL: u32 = 29;
995 pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30;
996 pub const IPV6_RECVERR_RFC4884: u32 = 31;
997 pub const IPV6_PMTUDISC_DONT: u32 = 0;
998 pub const IPV6_PMTUDISC_WANT: u32 = 1;
999 pub const IPV6_PMTUDISC_DO: u32 = 2;
1000 pub const IPV6_PMTUDISC_PROBE: u32 = 3;
1001 pub const IPV6_PMTUDISC_INTERFACE: u32 = 4;
1002 pub const IPV6_PMTUDISC_OMIT: u32 = 5;
1003 pub const IPV6_FLOWLABEL_MGR: u32 = 32;
1004 pub const IPV6_FLOWINFO_SEND: u32 = 33;
1005 pub const IPV6_IPSEC_POLICY: u32 = 34;
1006 pub const IPV6_XFRM_POLICY: u32 = 35;
1007 pub const IPV6_HDRINCL: u32 = 36;
1008 pub const IPV6_RECVPKTINFO: u32 = 49;
1009 pub const IPV6_PKTINFO: u32 = 50;
1010 pub const IPV6_RECVHOPLIMIT: u32 = 51;
1011 pub const IPV6_HOPLIMIT: u32 = 52;
1012 pub const IPV6_RECVHOPOPTS: u32 = 53;
1013 pub const IPV6_HOPOPTS: u32 = 54;
1014 pub const IPV6_RTHDRDSTOPTS: u32 = 55;
1015 pub const IPV6_RECVRTHDR: u32 = 56;
1016 pub const IPV6_RTHDR: u32 = 57;
1017 pub const IPV6_RECVDSTOPTS: u32 = 58;
1018 pub const IPV6_DSTOPTS: u32 = 59;
1019 pub const IPV6_RECVPATHMTU: u32 = 60;
1020 pub const IPV6_PATHMTU: u32 = 61;
1021 pub const IPV6_DONTFRAG: u32 = 62;
1022 pub const IPV6_RECVTCLASS: u32 = 66;
1023 pub const IPV6_TCLASS: u32 = 67;
1024 pub const IPV6_AUTOFLOWLABEL: u32 = 70;
1025 pub const IPV6_ADDR_PREFERENCES: u32 = 72;
1026 pub const IPV6_PREFER_SRC_TMP: u32 = 1;
1027 pub const IPV6_PREFER_SRC_PUBLIC: u32 = 2;
1028 pub const IPV6_PREFER_SRC_PUBTMP_DEFAULT: u32 = 256;
1029 pub const IPV6_PREFER_SRC_COA: u32 = 4;
1030 pub const IPV6_PREFER_SRC_HOME: u32 = 1024;
1031 pub const IPV6_PREFER_SRC_CGA: u32 = 8;
1032 pub const IPV6_PREFER_SRC_NONCGA: u32 = 2048;
1033 pub const IPV6_MINHOPCOUNT: u32 = 73;
1034 pub const IPV6_ORIGDSTADDR: u32 = 74;
1035 pub const IPV6_RECVORIGDSTADDR: u32 = 74;
1036 pub const IPV6_TRANSPARENT: u32 = 75;
1037 pub const IPV6_UNICAST_IF: u32 = 76;
1038 pub const IPV6_RECVFRAGSIZE: u32 = 77;
1039 pub const IPV6_FREEBIND: u32 = 78;
1040 pub const IPV6_MIN_MTU: u32 = 1280;
1041 pub const IPV6_SRCRT_STRICT: u32 = 1;
1042 pub const IPV6_SRCRT_TYPE_0: u32 = 0;
1043 pub const IPV6_SRCRT_TYPE_2: u32 = 2;
1044 pub const IPV6_SRCRT_TYPE_3: u32 = 3;
1045 pub const IPV6_SRCRT_TYPE_4: u32 = 4;
1046 pub const IPV6_OPT_ROUTERALERT_MLD: u32 = 0;
1047 pub const SIOCGSTAMP_OLD: u32 = 35078;
1048 pub const SIOCGSTAMPNS_OLD: u32 = 35079;
1049 pub const SOL_SOCKET: u32 = 1;
1050 pub const SO_DEBUG: u32 = 1;
1051 pub const SO_REUSEADDR: u32 = 2;
1052 pub const SO_TYPE: u32 = 3;
1053 pub const SO_ERROR: u32 = 4;
1054 pub const SO_DONTROUTE: u32 = 5;
1055 pub const SO_BROADCAST: u32 = 6;
1056 pub const SO_SNDBUF: u32 = 7;
1057 pub const SO_RCVBUF: u32 = 8;
1058 pub const SO_SNDBUFFORCE: u32 = 32;
1059 pub const SO_RCVBUFFORCE: u32 = 33;
1060 pub const SO_KEEPALIVE: u32 = 9;
1061 pub const SO_OOBINLINE: u32 = 10;
1062 pub const SO_NO_CHECK: u32 = 11;
1063 pub const SO_PRIORITY: u32 = 12;
1064 pub const SO_LINGER: u32 = 13;
1065 pub const SO_BSDCOMPAT: u32 = 14;
1066 pub const SO_REUSEPORT: u32 = 15;
1067 pub const SO_PASSCRED: u32 = 16;
1068 pub const SO_PEERCRED: u32 = 17;
1069 pub const SO_RCVLOWAT: u32 = 18;
1070 pub const SO_SNDLOWAT: u32 = 19;
1071 pub const SO_RCVTIMEO_OLD: u32 = 20;
1072 pub const SO_SNDTIMEO_OLD: u32 = 21;
1073 pub const SO_SECURITY_AUTHENTICATION: u32 = 22;
1074 pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23;
1075 pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24;
1076 pub const SO_BINDTODEVICE: u32 = 25;
1077 pub const SO_ATTACH_FILTER: u32 = 26;
1078 pub const SO_DETACH_FILTER: u32 = 27;
1079 pub const SO_GET_FILTER: u32 = 26;
1080 pub const SO_PEERNAME: u32 = 28;
1081 pub const SO_ACCEPTCONN: u32 = 30;
1082 pub const SO_PEERSEC: u32 = 31;
1083 pub const SO_PASSSEC: u32 = 34;
1084 pub const SO_MARK: u32 = 36;
1085 pub const SO_PROTOCOL: u32 = 38;
1086 pub const SO_DOMAIN: u32 = 39;
1087 pub const SO_RXQ_OVFL: u32 = 40;
1088 pub const SO_WIFI_STATUS: u32 = 41;
1089 pub const SCM_WIFI_STATUS: u32 = 41;
1090 pub const SO_PEEK_OFF: u32 = 42;
1091 pub const SO_NOFCS: u32 = 43;
1092 pub const SO_LOCK_FILTER: u32 = 44;
1093 pub const SO_SELECT_ERR_QUEUE: u32 = 45;
1094 pub const SO_BUSY_POLL: u32 = 46;
1095 pub const SO_MAX_PACING_RATE: u32 = 47;
1096 pub const SO_BPF_EXTENSIONS: u32 = 48;
1097 pub const SO_INCOMING_CPU: u32 = 49;
1098 pub const SO_ATTACH_BPF: u32 = 50;
1099 pub const SO_DETACH_BPF: u32 = 27;
1100 pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51;
1101 pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52;
1102 pub const SO_CNX_ADVICE: u32 = 53;
1103 pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54;
1104 pub const SO_MEMINFO: u32 = 55;
1105 pub const SO_INCOMING_NAPI_ID: u32 = 56;
1106 pub const SO_COOKIE: u32 = 57;
1107 pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58;
1108 pub const SO_PEERGROUPS: u32 = 59;
1109 pub const SO_ZEROCOPY: u32 = 60;
1110 pub const SO_TXTIME: u32 = 61;
1111 pub const SCM_TXTIME: u32 = 61;
1112 pub const SO_BINDTOIFINDEX: u32 = 62;
1113 pub const SO_TIMESTAMP_OLD: u32 = 29;
1114 pub const SO_TIMESTAMPNS_OLD: u32 = 35;
1115 pub const SO_TIMESTAMPING_OLD: u32 = 37;
1116 pub const SO_TIMESTAMP_NEW: u32 = 63;
1117 pub const SO_TIMESTAMPNS_NEW: u32 = 64;
1118 pub const SO_TIMESTAMPING_NEW: u32 = 65;
1119 pub const SO_RCVTIMEO_NEW: u32 = 66;
1120 pub const SO_SNDTIMEO_NEW: u32 = 67;
1121 pub const SO_DETACH_REUSEPORT_BPF: u32 = 68;
1122 pub const SO_PREFER_BUSY_POLL: u32 = 69;
1123 pub const SO_BUSY_POLL_BUDGET: u32 = 70;
1124 pub const SO_NETNS_COOKIE: u32 = 71;
1125 pub const SO_BUF_LOCK: u32 = 72;
1126 pub const SO_RESERVE_MEM: u32 = 73;
1127 pub const SO_TXREHASH: u32 = 74;
1128 pub const SO_RCVMARK: u32 = 75;
1129 pub const SO_TIMESTAMP: u32 = 29;
1130 pub const SO_TIMESTAMPNS: u32 = 35;
1131 pub const SO_TIMESTAMPING: u32 = 37;
1132 pub const SO_RCVTIMEO: u32 = 20;
1133 pub const SO_SNDTIMEO: u32 = 21;
1134 pub const SCM_TIMESTAMP: u32 = 29;
1135 pub const SCM_TIMESTAMPNS: u32 = 35;
1136 pub const SCM_TIMESTAMPING: u32 = 37;
1137 pub const SYS_SOCKET: u32 = 1;
1138 pub const SYS_BIND: u32 = 2;
1139 pub const SYS_CONNECT: u32 = 3;
1140 pub const SYS_LISTEN: u32 = 4;
1141 pub const SYS_ACCEPT: u32 = 5;
1142 pub const SYS_GETSOCKNAME: u32 = 6;
1143 pub const SYS_GETPEERNAME: u32 = 7;
1144 pub const SYS_SOCKETPAIR: u32 = 8;
1145 pub const SYS_SEND: u32 = 9;
1146 pub const SYS_RECV: u32 = 10;
1147 pub const SYS_SENDTO: u32 = 11;
1148 pub const SYS_RECVFROM: u32 = 12;
1149 pub const SYS_SHUTDOWN: u32 = 13;
1150 pub const SYS_SETSOCKOPT: u32 = 14;
1151 pub const SYS_GETSOCKOPT: u32 = 15;
1152 pub const SYS_SENDMSG: u32 = 16;
1153 pub const SYS_RECVMSG: u32 = 17;
1154 pub const SYS_ACCEPT4: u32 = 18;
1155 pub const SYS_RECVMMSG: u32 = 19;
1156 pub const SYS_SENDMMSG: u32 = 20;
1157 pub const __SO_ACCEPTCON: u32 = 65536;
1158 pub const TCP_MSS_DEFAULT: u32 = 536;
1159 pub const TCP_MSS_DESIRED: u32 = 1220;
1160 pub const TCP_NODELAY: u32 = 1;
1161 pub const TCP_MAXSEG: u32 = 2;
1162 pub const TCP_CORK: u32 = 3;
1163 pub const TCP_KEEPIDLE: u32 = 4;
1164 pub const TCP_KEEPINTVL: u32 = 5;
1165 pub const TCP_KEEPCNT: u32 = 6;
1166 pub const TCP_SYNCNT: u32 = 7;
1167 pub const TCP_LINGER2: u32 = 8;
1168 pub const TCP_DEFER_ACCEPT: u32 = 9;
1169 pub const TCP_WINDOW_CLAMP: u32 = 10;
1170 pub const TCP_INFO: u32 = 11;
1171 pub const TCP_QUICKACK: u32 = 12;
1172 pub const TCP_CONGESTION: u32 = 13;
1173 pub const TCP_MD5SIG: u32 = 14;
1174 pub const TCP_THIN_LINEAR_TIMEOUTS: u32 = 16;
1175 pub const TCP_THIN_DUPACK: u32 = 17;
1176 pub const TCP_USER_TIMEOUT: u32 = 18;
1177 pub const TCP_REPAIR: u32 = 19;
1178 pub const TCP_REPAIR_QUEUE: u32 = 20;
1179 pub const TCP_QUEUE_SEQ: u32 = 21;
1180 pub const TCP_REPAIR_OPTIONS: u32 = 22;
1181 pub const TCP_FASTOPEN: u32 = 23;
1182 pub const TCP_TIMESTAMP: u32 = 24;
1183 pub const TCP_NOTSENT_LOWAT: u32 = 25;
1184 pub const TCP_CC_INFO: u32 = 26;
1185 pub const TCP_SAVE_SYN: u32 = 27;
1186 pub const TCP_SAVED_SYN: u32 = 28;
1187 pub const TCP_REPAIR_WINDOW: u32 = 29;
1188 pub const TCP_FASTOPEN_CONNECT: u32 = 30;
1189 pub const TCP_ULP: u32 = 31;
1190 pub const TCP_MD5SIG_EXT: u32 = 32;
1191 pub const TCP_FASTOPEN_KEY: u32 = 33;
1192 pub const TCP_FASTOPEN_NO_COOKIE: u32 = 34;
1193 pub const TCP_ZEROCOPY_RECEIVE: u32 = 35;
1194 pub const TCP_INQ: u32 = 36;
1195 pub const TCP_CM_INQ: u32 = 36;
1196 pub const TCP_TX_DELAY: u32 = 37;
1197 pub const TCP_REPAIR_ON: u32 = 1;
1198 pub const TCP_REPAIR_OFF: u32 = 0;
1199 pub const TCP_REPAIR_OFF_NO_WP: i32 = -1;
1200 pub const TCPI_OPT_TIMESTAMPS: u32 = 1;
1201 pub const TCPI_OPT_SACK: u32 = 2;
1202 pub const TCPI_OPT_WSCALE: u32 = 4;
1203 pub const TCPI_OPT_ECN: u32 = 8;
1204 pub const TCPI_OPT_ECN_SEEN: u32 = 16;
1205 pub const TCPI_OPT_SYN_DATA: u32 = 32;
1206 pub const TCP_MD5SIG_MAXKEYLEN: u32 = 80;
1207 pub const TCP_MD5SIG_FLAG_PREFIX: u32 = 1;
1208 pub const TCP_MD5SIG_FLAG_IFINDEX: u32 = 2;
1209 pub const TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT: u32 = 1;
1210 pub const UNIX_PATH_MAX: u32 = 108;
1211 pub const IFNAMSIZ: u32 = 16;
1212 pub const IFALIASZ: u32 = 256;
1213 pub const ALTIFNAMSIZ: u32 = 128;
1214 pub const GENERIC_HDLC_VERSION: u32 = 4;
1215 pub const CLOCK_DEFAULT: u32 = 0;
1216 pub const CLOCK_EXT: u32 = 1;
1217 pub const CLOCK_INT: u32 = 2;
1218 pub const CLOCK_TXINT: u32 = 3;
1219 pub const CLOCK_TXFROMRX: u32 = 4;
1220 pub const ENCODING_DEFAULT: u32 = 0;
1221 pub const ENCODING_NRZ: u32 = 1;
1222 pub const ENCODING_NRZI: u32 = 2;
1223 pub const ENCODING_FM_MARK: u32 = 3;
1224 pub const ENCODING_FM_SPACE: u32 = 4;
1225 pub const ENCODING_MANCHESTER: u32 = 5;
1226 pub const PARITY_DEFAULT: u32 = 0;
1227 pub const PARITY_NONE: u32 = 1;
1228 pub const PARITY_CRC16_PR0: u32 = 2;
1229 pub const PARITY_CRC16_PR1: u32 = 3;
1230 pub const PARITY_CRC16_PR0_CCITT: u32 = 4;
1231 pub const PARITY_CRC16_PR1_CCITT: u32 = 5;
1232 pub const PARITY_CRC32_PR0_CCITT: u32 = 6;
1233 pub const PARITY_CRC32_PR1_CCITT: u32 = 7;
1234 pub const LMI_DEFAULT: u32 = 0;
1235 pub const LMI_NONE: u32 = 1;
1236 pub const LMI_ANSI: u32 = 2;
1237 pub const LMI_CCITT: u32 = 3;
1238 pub const LMI_CISCO: u32 = 4;
1239 pub const IF_GET_IFACE: u32 = 1;
1240 pub const IF_GET_PROTO: u32 = 2;
1241 pub const IF_IFACE_V35: u32 = 4096;
1242 pub const IF_IFACE_V24: u32 = 4097;
1243 pub const IF_IFACE_X21: u32 = 4098;
1244 pub const IF_IFACE_T1: u32 = 4099;
1245 pub const IF_IFACE_E1: u32 = 4100;
1246 pub const IF_IFACE_SYNC_SERIAL: u32 = 4101;
1247 pub const IF_IFACE_X21D: u32 = 4102;
1248 pub const IF_PROTO_HDLC: u32 = 8192;
1249 pub const IF_PROTO_PPP: u32 = 8193;
1250 pub const IF_PROTO_CISCO: u32 = 8194;
1251 pub const IF_PROTO_FR: u32 = 8195;
1252 pub const IF_PROTO_FR_ADD_PVC: u32 = 8196;
1253 pub const IF_PROTO_FR_DEL_PVC: u32 = 8197;
1254 pub const IF_PROTO_X25: u32 = 8198;
1255 pub const IF_PROTO_HDLC_ETH: u32 = 8199;
1256 pub const IF_PROTO_FR_ADD_ETH_PVC: u32 = 8200;
1257 pub const IF_PROTO_FR_DEL_ETH_PVC: u32 = 8201;
1258 pub const IF_PROTO_FR_PVC: u32 = 8202;
1259 pub const IF_PROTO_FR_ETH_PVC: u32 = 8203;
1260 pub const IF_PROTO_RAW: u32 = 8204;
1261 pub const IFHWADDRLEN: u32 = 6;
1262 pub const NF_DROP: u32 = 0;
1263 pub const NF_ACCEPT: u32 = 1;
1264 pub const NF_STOLEN: u32 = 2;
1265 pub const NF_QUEUE: u32 = 3;
1266 pub const NF_REPEAT: u32 = 4;
1267 pub const NF_STOP: u32 = 5;
1268 pub const NF_MAX_VERDICT: u32 = 5;
1269 pub const NF_VERDICT_MASK: u32 = 255;
1270 pub const NF_VERDICT_FLAG_QUEUE_BYPASS: u32 = 32768;
1271 pub const NF_VERDICT_QMASK: u32 = 4294901760;
1272 pub const NF_VERDICT_QBITS: u32 = 16;
1273 pub const NF_VERDICT_BITS: u32 = 16;
1274 pub const NF_IP6_PRE_ROUTING: u32 = 0;
1275 pub const NF_IP6_LOCAL_IN: u32 = 1;
1276 pub const NF_IP6_FORWARD: u32 = 2;
1277 pub const NF_IP6_LOCAL_OUT: u32 = 3;
1278 pub const NF_IP6_POST_ROUTING: u32 = 4;
1279 pub const NF_IP6_NUMHOOKS: u32 = 5;
1280 pub const XT_FUNCTION_MAXNAMELEN: u32 = 30;
1281 pub const XT_EXTENSION_MAXNAMELEN: u32 = 29;
1282 pub const XT_TABLE_MAXNAMELEN: u32 = 32;
1283 pub const XT_CONTINUE: u32 = 4294967295;
1284 pub const XT_RETURN: i32 = -5;
1285 pub const XT_STANDARD_TARGET: &[u8; 1] = b"\0";
1286 pub const XT_ERROR_TARGET: &[u8; 6] = b"ERROR\0";
1287 pub const XT_INV_PROTO: u32 = 64;
1288 pub const IP6T_FUNCTION_MAXNAMELEN: u32 = 30;
1289 pub const IP6T_TABLE_MAXNAMELEN: u32 = 32;
1290 pub const IP6T_CONTINUE: u32 = 4294967295;
1291 pub const IP6T_RETURN: i32 = -5;
1292 pub const XT_TCP_INV_SRCPT: u32 = 1;
1293 pub const XT_TCP_INV_DSTPT: u32 = 2;
1294 pub const XT_TCP_INV_FLAGS: u32 = 4;
1295 pub const XT_TCP_INV_OPTION: u32 = 8;
1296 pub const XT_TCP_INV_MASK: u32 = 15;
1297 pub const XT_UDP_INV_SRCPT: u32 = 1;
1298 pub const XT_UDP_INV_DSTPT: u32 = 2;
1299 pub const XT_UDP_INV_MASK: u32 = 3;
1300 pub const IP6T_TCP_INV_SRCPT: u32 = 1;
1301 pub const IP6T_TCP_INV_DSTPT: u32 = 2;
1302 pub const IP6T_TCP_INV_FLAGS: u32 = 4;
1303 pub const IP6T_TCP_INV_OPTION: u32 = 8;
1304 pub const IP6T_TCP_INV_MASK: u32 = 15;
1305 pub const IP6T_UDP_INV_SRCPT: u32 = 1;
1306 pub const IP6T_UDP_INV_DSTPT: u32 = 2;
1307 pub const IP6T_UDP_INV_MASK: u32 = 3;
1308 pub const IP6T_STANDARD_TARGET: &[u8; 1] = b"\0";
1309 pub const IP6T_ERROR_TARGET: &[u8; 6] = b"ERROR\0";
1310 pub const IP6T_F_PROTO: u32 = 1;
1311 pub const IP6T_F_TOS: u32 = 2;
1312 pub const IP6T_F_GOTO: u32 = 4;
1313 pub const IP6T_F_MASK: u32 = 7;
1314 pub const IP6T_INV_VIA_IN: u32 = 1;
1315 pub const IP6T_INV_VIA_OUT: u32 = 2;
1316 pub const IP6T_INV_TOS: u32 = 4;
1317 pub const IP6T_INV_SRCIP: u32 = 8;
1318 pub const IP6T_INV_DSTIP: u32 = 16;
1319 pub const IP6T_INV_FRAG: u32 = 32;
1320 pub const IP6T_INV_PROTO: u32 = 64;
1321 pub const IP6T_INV_MASK: u32 = 127;
1322 pub const IP6T_BASE_CTL: u32 = 64;
1323 pub const IP6T_SO_SET_REPLACE: u32 = 64;
1324 pub const IP6T_SO_SET_ADD_COUNTERS: u32 = 65;
1325 pub const IP6T_SO_SET_MAX: u32 = 65;
1326 pub const IP6T_SO_GET_INFO: u32 = 64;
1327 pub const IP6T_SO_GET_ENTRIES: u32 = 65;
1328 pub const IP6T_SO_GET_REVISION_MATCH: u32 = 68;
1329 pub const IP6T_SO_GET_REVISION_TARGET: u32 = 69;
1330 pub const IP6T_SO_GET_MAX: u32 = 69;
1331 pub const IP6T_SO_ORIGINAL_DST: u32 = 80;
1332 pub const IP6T_ICMP_INV: u32 = 1;
1333 pub const NF_IP_PRE_ROUTING: u32 = 0;
1334 pub const NF_IP_LOCAL_IN: u32 = 1;
1335 pub const NF_IP_FORWARD: u32 = 2;
1336 pub const NF_IP_LOCAL_OUT: u32 = 3;
1337 pub const NF_IP_POST_ROUTING: u32 = 4;
1338 pub const NF_IP_NUMHOOKS: u32 = 5;
1339 pub const SO_ORIGINAL_DST: u32 = 80;
1340 pub const SHUT_RD: u32 = 0;
1341 pub const SHUT_WR: u32 = 1;
1342 pub const SHUT_RDWR: u32 = 2;
1343 pub const SOCK_STREAM: u32 = 1;
1344 pub const SOCK_DGRAM: u32 = 2;
1345 pub const SOCK_RAW: u32 = 3;
1346 pub const SOCK_RDM: u32 = 4;
1347 pub const SOCK_SEQPACKET: u32 = 5;
1348 pub const MSG_DONTWAIT: u32 = 64;
1349 pub const AF_UNSPEC: u32 = 0;
1350 pub const AF_UNIX: u32 = 1;
1351 pub const AF_INET: u32 = 2;
1352 pub const AF_AX25: u32 = 3;
1353 pub const AF_IPX: u32 = 4;
1354 pub const AF_APPLETALK: u32 = 5;
1355 pub const AF_NETROM: u32 = 6;
1356 pub const AF_BRIDGE: u32 = 7;
1357 pub const AF_ATMPVC: u32 = 8;
1358 pub const AF_X25: u32 = 9;
1359 pub const AF_INET6: u32 = 10;
1360 pub const AF_ROSE: u32 = 11;
1361 pub const AF_DECnet: u32 = 12;
1362 pub const AF_NETBEUI: u32 = 13;
1363 pub const AF_SECURITY: u32 = 14;
1364 pub const AF_KEY: u32 = 15;
1365 pub const AF_NETLINK: u32 = 16;
1366 pub const AF_PACKET: u32 = 17;
1367 pub const AF_ASH: u32 = 18;
1368 pub const AF_ECONET: u32 = 19;
1369 pub const AF_ATMSVC: u32 = 20;
1370 pub const AF_RDS: u32 = 21;
1371 pub const AF_SNA: u32 = 22;
1372 pub const AF_IRDA: u32 = 23;
1373 pub const AF_PPPOX: u32 = 24;
1374 pub const AF_WANPIPE: u32 = 25;
1375 pub const AF_LLC: u32 = 26;
1376 pub const AF_CAN: u32 = 29;
1377 pub const AF_TIPC: u32 = 30;
1378 pub const AF_BLUETOOTH: u32 = 31;
1379 pub const AF_IUCV: u32 = 32;
1380 pub const AF_RXRPC: u32 = 33;
1381 pub const AF_ISDN: u32 = 34;
1382 pub const AF_PHONET: u32 = 35;
1383 pub const AF_IEEE802154: u32 = 36;
1384 pub const AF_CAIF: u32 = 37;
1385 pub const AF_ALG: u32 = 38;
1386 pub const AF_NFC: u32 = 39;
1387 pub const AF_VSOCK: u32 = 40;
1388 pub const AF_KCM: u32 = 41;
1389 pub const AF_QIPCRTR: u32 = 42;
1390 pub const AF_SMC: u32 = 43;
1391 pub const AF_XDP: u32 = 44;
1392 pub const AF_MCTP: u32 = 45;
1393 pub const AF_MAX: u32 = 46;
1394 pub const MSG_OOB: u32 = 1;
1395 pub const MSG_PEEK: u32 = 2;
1396 pub const MSG_DONTROUTE: u32 = 4;
1397 pub const MSG_CTRUNC: u32 = 8;
1398 pub const MSG_PROBE: u32 = 16;
1399 pub const MSG_TRUNC: u32 = 32;
1400 pub const MSG_EOR: u32 = 128;
1401 pub const MSG_WAITALL: u32 = 256;
1402 pub const MSG_FIN: u32 = 512;
1403 pub const MSG_SYN: u32 = 1024;
1404 pub const MSG_CONFIRM: u32 = 2048;
1405 pub const MSG_RST: u32 = 4096;
1406 pub const MSG_ERRQUEUE: u32 = 8192;
1407 pub const MSG_NOSIGNAL: u32 = 16384;
1408 pub const MSG_MORE: u32 = 32768;
1409 pub const MSG_CMSG_CLOEXEC: u32 = 1073741824;
1410 pub const SCM_RIGHTS: u32 = 1;
1411 pub const SCM_CREDENTIALS: u32 = 2;
1412 pub const SCM_SECURITY: u32 = 3;
1413 pub const SOL_IP: u32 = 0;
1414 pub const SOL_TCP: u32 = 6;
1415 pub const SOL_UDP: u32 = 17;
1416 pub const SOL_IPV6: u32 = 41;
1417 pub const SOL_ICMPV6: u32 = 58;
1418 pub const SOL_SCTP: u32 = 132;
1419 pub const SOL_UDPLITE: u32 = 136;
1420 pub const SOL_RAW: u32 = 255;
1421 pub const SOL_IPX: u32 = 256;
1422 pub const SOL_AX25: u32 = 257;
1423 pub const SOL_ATALK: u32 = 258;
1424 pub const SOL_NETROM: u32 = 259;
1425 pub const SOL_ROSE: u32 = 260;
1426 pub const SOL_DECNET: u32 = 261;
1427 pub const SOL_X25: u32 = 262;
1428 pub const SOL_PACKET: u32 = 263;
1429 pub const SOL_ATM: u32 = 264;
1430 pub const SOL_AAL: u32 = 265;
1431 pub const SOL_IRDA: u32 = 266;
1432 pub const SOL_NETBEUI: u32 = 267;
1433 pub const SOL_LLC: u32 = 268;
1434 pub const SOL_DCCP: u32 = 269;
1435 pub const SOL_NETLINK: u32 = 270;
1436 pub const SOL_TIPC: u32 = 271;
1437 pub const SOL_RXRPC: u32 = 272;
1438 pub const SOL_PPPOL2TP: u32 = 273;
1439 pub const SOL_BLUETOOTH: u32 = 274;
1440 pub const SOL_PNPIPE: u32 = 275;
1441 pub const SOL_RDS: u32 = 276;
1442 pub const SOL_IUCV: u32 = 277;
1443 pub const SOL_CAIF: u32 = 278;
1444 pub const SOL_ALG: u32 = 279;
1445 pub const SOL_NFC: u32 = 280;
1446 pub const SOL_KCM: u32 = 281;
1447 pub const SOL_TLS: u32 = 282;
1448 pub const SOL_XDP: u32 = 283;
1449 pub const SOL_MPTCP: u32 = 284;
1450 pub const SOL_MCTP: u32 = 285;
1451 pub const SOL_SMC: u32 = 286;
1452 pub const IPPROTO_IP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IP;
1453 pub const IPPROTO_ICMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ICMP;
1454 pub const IPPROTO_IGMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IGMP;
1455 pub const IPPROTO_IPIP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPIP;
1456 pub const IPPROTO_TCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TCP;
1457 pub const IPPROTO_EGP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_EGP;
1458 pub const IPPROTO_PUP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PUP;
1459 pub const IPPROTO_UDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDP;
1460 pub const IPPROTO_IDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IDP;
1461 pub const IPPROTO_TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TP;
1462 pub const IPPROTO_DCCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_DCCP;
1463 pub const IPPROTO_IPV6: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPV6;
1464 pub const IPPROTO_RSVP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RSVP;
1465 pub const IPPROTO_GRE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_GRE;
1466 pub const IPPROTO_ESP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ESP;
1467 pub const IPPROTO_AH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AH;
1468 pub const IPPROTO_MTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MTP;
1469 pub const IPPROTO_BEETPH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_BEETPH;
1470 pub const IPPROTO_ENCAP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ENCAP;
1471 pub const IPPROTO_PIM: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PIM;
1472 pub const IPPROTO_COMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_COMP;
1473 pub const IPPROTO_L2TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_L2TP;
1474 pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP;
1475 pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE;
1476 pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS;
1477 pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET;
1478 pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW;
1479 pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP;
1480 pub const IPPROTO_MAX: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MAX;
1481 pub const IPV4_DEVCONF_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORWARDING;
1482 pub const IPV4_DEVCONF_MC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MC_FORWARDING;
1483 pub const IPV4_DEVCONF_PROXY_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP;
1484 pub const IPV4_DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_REDIRECTS;
1485 pub const IPV4_DEVCONF_SECURE_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SECURE_REDIRECTS;
1486 pub const IPV4_DEVCONF_SEND_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SEND_REDIRECTS;
1487 pub const IPV4_DEVCONF_SHARED_MEDIA: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SHARED_MEDIA;
1488 pub const IPV4_DEVCONF_RP_FILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_RP_FILTER;
1489 pub const IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE;
1490 pub const IPV4_DEVCONF_BOOTP_RELAY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BOOTP_RELAY;
1491 pub const IPV4_DEVCONF_LOG_MARTIANS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_LOG_MARTIANS;
1492 pub const IPV4_DEVCONF_TAG: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_TAG;
1493 pub const IPV4_DEVCONF_ARPFILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARPFILTER;
1494 pub const IPV4_DEVCONF_MEDIUM_ID: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MEDIUM_ID;
1495 pub const IPV4_DEVCONF_NOXFRM: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOXFRM;
1496 pub const IPV4_DEVCONF_NOPOLICY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOPOLICY;
1497 pub const IPV4_DEVCONF_FORCE_IGMP_VERSION: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORCE_IGMP_VERSION;
1498 pub const IPV4_DEVCONF_ARP_ANNOUNCE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ANNOUNCE;
1499 pub const IPV4_DEVCONF_ARP_IGNORE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_IGNORE;
1500 pub const IPV4_DEVCONF_PROMOTE_SECONDARIES: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROMOTE_SECONDARIES;
1501 pub const IPV4_DEVCONF_ARP_ACCEPT: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ACCEPT;
1502 pub const IPV4_DEVCONF_ARP_NOTIFY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_NOTIFY;
1503 pub const IPV4_DEVCONF_ACCEPT_LOCAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_LOCAL;
1504 pub const IPV4_DEVCONF_SRC_VMARK: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SRC_VMARK;
1505 pub const IPV4_DEVCONF_PROXY_ARP_PVLAN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP_PVLAN;
1506 pub const IPV4_DEVCONF_ROUTE_LOCALNET: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ROUTE_LOCALNET;
1507 pub const IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL;
1508 pub const IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL;
1509 pub const IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
1510 pub const IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
1511 pub const IPV4_DEVCONF_DROP_GRATUITOUS_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_GRATUITOUS_ARP;
1512 pub const IPV4_DEVCONF_BC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BC_FORWARDING;
1513 pub const IPV4_DEVCONF_ARP_EVICT_NOCARRIER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_EVICT_NOCARRIER;
1514 pub const __IPV4_DEVCONF_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IPV4_DEVCONF_MAX;
1515 pub const DEVCONF_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORWARDING;
1516 pub const DEVCONF_HOPLIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_HOPLIMIT;
1517 pub const DEVCONF_MTU6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MTU6;
1518 pub const DEVCONF_ACCEPT_RA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA;
1519 pub const DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_REDIRECTS;
1520 pub const DEVCONF_AUTOCONF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_AUTOCONF;
1521 pub const DEVCONF_DAD_TRANSMITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DAD_TRANSMITS;
1522 pub const DEVCONF_RTR_SOLICITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICITS;
1523 pub const DEVCONF_RTR_SOLICIT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_INTERVAL;
1524 pub const DEVCONF_RTR_SOLICIT_DELAY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_DELAY;
1525 pub const DEVCONF_USE_TEMPADDR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_TEMPADDR;
1526 pub const DEVCONF_TEMP_VALID_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_VALID_LFT;
1527 pub const DEVCONF_TEMP_PREFERED_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_PREFERED_LFT;
1528 pub const DEVCONF_REGEN_MAX_RETRY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_REGEN_MAX_RETRY;
1529 pub const DEVCONF_MAX_DESYNC_FACTOR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_DESYNC_FACTOR;
1530 pub const DEVCONF_MAX_ADDRESSES: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_ADDRESSES;
1531 pub const DEVCONF_FORCE_MLD_VERSION: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_MLD_VERSION;
1532 pub const DEVCONF_ACCEPT_RA_DEFRTR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_DEFRTR;
1533 pub const DEVCONF_ACCEPT_RA_PINFO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_PINFO;
1534 pub const DEVCONF_ACCEPT_RA_RTR_PREF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RTR_PREF;
1535 pub const DEVCONF_RTR_PROBE_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_PROBE_INTERVAL;
1536 pub const DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN;
1537 pub const DEVCONF_PROXY_NDP: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_PROXY_NDP;
1538 pub const DEVCONF_OPTIMISTIC_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_OPTIMISTIC_DAD;
1539 pub const DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_SOURCE_ROUTE;
1540 pub const DEVCONF_MC_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MC_FORWARDING;
1541 pub const DEVCONF_DISABLE_IPV6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_IPV6;
1542 pub const DEVCONF_ACCEPT_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_DAD;
1543 pub const DEVCONF_FORCE_TLLAO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_TLLAO;
1544 pub const DEVCONF_NDISC_NOTIFY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_NOTIFY;
1545 pub const DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL;
1546 pub const DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL;
1547 pub const DEVCONF_SUPPRESS_FRAG_NDISC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SUPPRESS_FRAG_NDISC;
1548 pub const DEVCONF_ACCEPT_RA_FROM_LOCAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_FROM_LOCAL;
1549 pub const DEVCONF_USE_OPTIMISTIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OPTIMISTIC;
1550 pub const DEVCONF_ACCEPT_RA_MTU: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MTU;
1551 pub const DEVCONF_STABLE_SECRET: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_STABLE_SECRET;
1552 pub const DEVCONF_USE_OIF_ADDRS_ONLY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OIF_ADDRS_ONLY;
1553 pub const DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT;
1554 pub const DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
1555 pub const DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
1556 pub const DEVCONF_DROP_UNSOLICITED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNSOLICITED_NA;
1557 pub const DEVCONF_KEEP_ADDR_ON_DOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_KEEP_ADDR_ON_DOWN;
1558 pub const DEVCONF_RTR_SOLICIT_MAX_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_MAX_INTERVAL;
1559 pub const DEVCONF_SEG6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_ENABLED;
1560 pub const DEVCONF_SEG6_REQUIRE_HMAC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_REQUIRE_HMAC;
1561 pub const DEVCONF_ENHANCED_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ENHANCED_DAD;
1562 pub const DEVCONF_ADDR_GEN_MODE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ADDR_GEN_MODE;
1563 pub const DEVCONF_DISABLE_POLICY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_POLICY;
1564 pub const DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN;
1565 pub const DEVCONF_NDISC_TCLASS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_TCLASS;
1566 pub const DEVCONF_RPL_SEG_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RPL_SEG_ENABLED;
1567 pub const DEVCONF_RA_DEFRTR_METRIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RA_DEFRTR_METRIC;
1568 pub const DEVCONF_IOAM6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ENABLED;
1569 pub const DEVCONF_IOAM6_ID: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID;
1570 pub const DEVCONF_IOAM6_ID_WIDE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID_WIDE;
1571 pub const DEVCONF_NDISC_EVICT_NOCARRIER: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_EVICT_NOCARRIER;
1572 pub const DEVCONF_ACCEPT_UNTRACKED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_UNTRACKED_NA;
1573 pub const DEVCONF_MAX: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX;
1574 pub const TCP_FLAG_CWR: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_CWR;
1575 pub const TCP_FLAG_ECE: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ECE;
1576 pub const TCP_FLAG_URG: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_URG;
1577 pub const TCP_FLAG_ACK: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ACK;
1578 pub const TCP_FLAG_PSH: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_PSH;
1579 pub const TCP_FLAG_RST: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_RST;
1580 pub const TCP_FLAG_SYN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_SYN;
1581 pub const TCP_FLAG_FIN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_FIN;
1582 pub const TCP_RESERVED_BITS: _bindgen_ty_4 = _bindgen_ty_4::TCP_RESERVED_BITS;
1583 pub const TCP_DATA_OFFSET: _bindgen_ty_4 = _bindgen_ty_4::TCP_DATA_OFFSET;
1584 pub const TCP_NO_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_NO_QUEUE;
1585 pub const TCP_RECV_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_RECV_QUEUE;
1586 pub const TCP_SEND_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_SEND_QUEUE;
1587 pub const TCP_QUEUES_NR: _bindgen_ty_5 = _bindgen_ty_5::TCP_QUEUES_NR;
1588 pub const TCP_NLA_PAD: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PAD;
1589 pub const TCP_NLA_BUSY: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BUSY;
1590 pub const TCP_NLA_RWND_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RWND_LIMITED;
1591 pub const TCP_NLA_SNDBUF_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDBUF_LIMITED;
1592 pub const TCP_NLA_DATA_SEGS_OUT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DATA_SEGS_OUT;
1593 pub const TCP_NLA_TOTAL_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TOTAL_RETRANS;
1594 pub const TCP_NLA_PACING_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PACING_RATE;
1595 pub const TCP_NLA_DELIVERY_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE;
1596 pub const TCP_NLA_SND_CWND: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_CWND;
1597 pub const TCP_NLA_REORDERING: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORDERING;
1598 pub const TCP_NLA_MIN_RTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_MIN_RTT;
1599 pub const TCP_NLA_RECUR_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RECUR_RETRANS;
1600 pub const TCP_NLA_DELIVERY_RATE_APP_LMT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE_APP_LMT;
1601 pub const TCP_NLA_SNDQ_SIZE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDQ_SIZE;
1602 pub const TCP_NLA_CA_STATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_CA_STATE;
1603 pub const TCP_NLA_SND_SSTHRESH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_SSTHRESH;
1604 pub const TCP_NLA_DELIVERED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED;
1605 pub const TCP_NLA_DELIVERED_CE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED_CE;
1606 pub const TCP_NLA_BYTES_SENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_SENT;
1607 pub const TCP_NLA_BYTES_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_RETRANS;
1608 pub const TCP_NLA_DSACK_DUPS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DSACK_DUPS;
1609 pub const TCP_NLA_REORD_SEEN: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORD_SEEN;
1610 pub const TCP_NLA_SRTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SRTT;
1611 pub const TCP_NLA_TIMEOUT_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TIMEOUT_REHASH;
1612 pub const TCP_NLA_BYTES_NOTSENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_NOTSENT;
1613 pub const TCP_NLA_EDT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_EDT;
1614 pub const TCP_NLA_TTL: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TTL;
1615 pub const TCP_NLA_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REHASH;
1616 pub const IF_OPER_UNKNOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_UNKNOWN;
1617 pub const IF_OPER_NOTPRESENT: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_NOTPRESENT;
1618 pub const IF_OPER_DOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_DOWN;
1619 pub const IF_OPER_LOWERLAYERDOWN: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_LOWERLAYERDOWN;
1620 pub const IF_OPER_TESTING: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_TESTING;
1621 pub const IF_OPER_DORMANT: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_DORMANT;
1622 pub const IF_OPER_UP: _bindgen_ty_7 = _bindgen_ty_7::IF_OPER_UP;
1623 pub const IF_LINK_MODE_DEFAULT: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_DEFAULT;
1624 pub const IF_LINK_MODE_DORMANT: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_DORMANT;
1625 pub const IF_LINK_MODE_TESTING: _bindgen_ty_8 = _bindgen_ty_8::IF_LINK_MODE_TESTING;
1626 pub const NFPROTO_UNSPEC: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_UNSPEC;
1627 pub const NFPROTO_INET: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_INET;
1628 pub const NFPROTO_IPV4: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_IPV4;
1629 pub const NFPROTO_ARP: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_ARP;
1630 pub const NFPROTO_NETDEV: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_NETDEV;
1631 pub const NFPROTO_BRIDGE: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_BRIDGE;
1632 pub const NFPROTO_IPV6: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_IPV6;
1633 pub const NFPROTO_DECNET: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_DECNET;
1634 pub const NFPROTO_NUMPROTO: _bindgen_ty_9 = _bindgen_ty_9::NFPROTO_NUMPROTO;
1635 #[repr(u32)]
1636 #[non_exhaustive]
1637 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1638 pub enum _bindgen_ty_1 {
1639 IPPROTO_IP = 0,
1640 IPPROTO_ICMP = 1,
1641 IPPROTO_IGMP = 2,
1642 IPPROTO_IPIP = 4,
1643 IPPROTO_TCP = 6,
1644 IPPROTO_EGP = 8,
1645 IPPROTO_PUP = 12,
1646 IPPROTO_UDP = 17,
1647 IPPROTO_IDP = 22,
1648 IPPROTO_TP = 29,
1649 IPPROTO_DCCP = 33,
1650 IPPROTO_IPV6 = 41,
1651 IPPROTO_RSVP = 46,
1652 IPPROTO_GRE = 47,
1653 IPPROTO_ESP = 50,
1654 IPPROTO_AH = 51,
1655 IPPROTO_MTP = 92,
1656 IPPROTO_BEETPH = 94,
1657 IPPROTO_ENCAP = 98,
1658 IPPROTO_PIM = 103,
1659 IPPROTO_COMP = 108,
1660 IPPROTO_L2TP = 115,
1661 IPPROTO_SCTP = 132,
1662 IPPROTO_UDPLITE = 136,
1663 IPPROTO_MPLS = 137,
1664 IPPROTO_ETHERNET = 143,
1665 IPPROTO_RAW = 255,
1666 IPPROTO_MPTCP = 262,
1667 IPPROTO_MAX = 263,
1668 }
1669 #[repr(u32)]
1670 #[non_exhaustive]
1671 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1672 pub enum _bindgen_ty_2 {
1673 IPV4_DEVCONF_FORWARDING = 1,
1674 IPV4_DEVCONF_MC_FORWARDING = 2,
1675 IPV4_DEVCONF_PROXY_ARP = 3,
1676 IPV4_DEVCONF_ACCEPT_REDIRECTS = 4,
1677 IPV4_DEVCONF_SECURE_REDIRECTS = 5,
1678 IPV4_DEVCONF_SEND_REDIRECTS = 6,
1679 IPV4_DEVCONF_SHARED_MEDIA = 7,
1680 IPV4_DEVCONF_RP_FILTER = 8,
1681 IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9,
1682 IPV4_DEVCONF_BOOTP_RELAY = 10,
1683 IPV4_DEVCONF_LOG_MARTIANS = 11,
1684 IPV4_DEVCONF_TAG = 12,
1685 IPV4_DEVCONF_ARPFILTER = 13,
1686 IPV4_DEVCONF_MEDIUM_ID = 14,
1687 IPV4_DEVCONF_NOXFRM = 15,
1688 IPV4_DEVCONF_NOPOLICY = 16,
1689 IPV4_DEVCONF_FORCE_IGMP_VERSION = 17,
1690 IPV4_DEVCONF_ARP_ANNOUNCE = 18,
1691 IPV4_DEVCONF_ARP_IGNORE = 19,
1692 IPV4_DEVCONF_PROMOTE_SECONDARIES = 20,
1693 IPV4_DEVCONF_ARP_ACCEPT = 21,
1694 IPV4_DEVCONF_ARP_NOTIFY = 22,
1695 IPV4_DEVCONF_ACCEPT_LOCAL = 23,
1696 IPV4_DEVCONF_SRC_VMARK = 24,
1697 IPV4_DEVCONF_PROXY_ARP_PVLAN = 25,
1698 IPV4_DEVCONF_ROUTE_LOCALNET = 26,
1699 IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27,
1700 IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28,
1701 IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29,
1702 IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30,
1703 IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31,
1704 IPV4_DEVCONF_BC_FORWARDING = 32,
1705 IPV4_DEVCONF_ARP_EVICT_NOCARRIER = 33,
1706 __IPV4_DEVCONF_MAX = 34,
1707 }
1708 #[repr(u32)]
1709 #[non_exhaustive]
1710 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1711 pub enum _bindgen_ty_3 {
1712 DEVCONF_FORWARDING = 0,
1713 DEVCONF_HOPLIMIT = 1,
1714 DEVCONF_MTU6 = 2,
1715 DEVCONF_ACCEPT_RA = 3,
1716 DEVCONF_ACCEPT_REDIRECTS = 4,
1717 DEVCONF_AUTOCONF = 5,
1718 DEVCONF_DAD_TRANSMITS = 6,
1719 DEVCONF_RTR_SOLICITS = 7,
1720 DEVCONF_RTR_SOLICIT_INTERVAL = 8,
1721 DEVCONF_RTR_SOLICIT_DELAY = 9,
1722 DEVCONF_USE_TEMPADDR = 10,
1723 DEVCONF_TEMP_VALID_LFT = 11,
1724 DEVCONF_TEMP_PREFERED_LFT = 12,
1725 DEVCONF_REGEN_MAX_RETRY = 13,
1726 DEVCONF_MAX_DESYNC_FACTOR = 14,
1727 DEVCONF_MAX_ADDRESSES = 15,
1728 DEVCONF_FORCE_MLD_VERSION = 16,
1729 DEVCONF_ACCEPT_RA_DEFRTR = 17,
1730 DEVCONF_ACCEPT_RA_PINFO = 18,
1731 DEVCONF_ACCEPT_RA_RTR_PREF = 19,
1732 DEVCONF_RTR_PROBE_INTERVAL = 20,
1733 DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21,
1734 DEVCONF_PROXY_NDP = 22,
1735 DEVCONF_OPTIMISTIC_DAD = 23,
1736 DEVCONF_ACCEPT_SOURCE_ROUTE = 24,
1737 DEVCONF_MC_FORWARDING = 25,
1738 DEVCONF_DISABLE_IPV6 = 26,
1739 DEVCONF_ACCEPT_DAD = 27,
1740 DEVCONF_FORCE_TLLAO = 28,
1741 DEVCONF_NDISC_NOTIFY = 29,
1742 DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30,
1743 DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31,
1744 DEVCONF_SUPPRESS_FRAG_NDISC = 32,
1745 DEVCONF_ACCEPT_RA_FROM_LOCAL = 33,
1746 DEVCONF_USE_OPTIMISTIC = 34,
1747 DEVCONF_ACCEPT_RA_MTU = 35,
1748 DEVCONF_STABLE_SECRET = 36,
1749 DEVCONF_USE_OIF_ADDRS_ONLY = 37,
1750 DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38,
1751 DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39,
1752 DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40,
1753 DEVCONF_DROP_UNSOLICITED_NA = 41,
1754 DEVCONF_KEEP_ADDR_ON_DOWN = 42,
1755 DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43,
1756 DEVCONF_SEG6_ENABLED = 44,
1757 DEVCONF_SEG6_REQUIRE_HMAC = 45,
1758 DEVCONF_ENHANCED_DAD = 46,
1759 DEVCONF_ADDR_GEN_MODE = 47,
1760 DEVCONF_DISABLE_POLICY = 48,
1761 DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49,
1762 DEVCONF_NDISC_TCLASS = 50,
1763 DEVCONF_RPL_SEG_ENABLED = 51,
1764 DEVCONF_RA_DEFRTR_METRIC = 52,
1765 DEVCONF_IOAM6_ENABLED = 53,
1766 DEVCONF_IOAM6_ID = 54,
1767 DEVCONF_IOAM6_ID_WIDE = 55,
1768 DEVCONF_NDISC_EVICT_NOCARRIER = 56,
1769 DEVCONF_ACCEPT_UNTRACKED_NA = 57,
1770 DEVCONF_MAX = 58,
1771 }
1772 #[repr(u32)]
1773 #[non_exhaustive]
1774 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1775 pub enum socket_state {
1776 SS_FREE = 0,
1777 SS_UNCONNECTED = 1,
1778 SS_CONNECTING = 2,
1779 SS_CONNECTED = 3,
1780 SS_DISCONNECTING = 4,
1781 }
1782 #[repr(u32)]
1783 #[non_exhaustive]
1784 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1785 pub enum _bindgen_ty_4 {
1786 TCP_FLAG_CWR = 8388608,
1787 TCP_FLAG_ECE = 4194304,
1788 TCP_FLAG_URG = 2097152,
1789 TCP_FLAG_ACK = 1048576,
1790 TCP_FLAG_PSH = 524288,
1791 TCP_FLAG_RST = 262144,
1792 TCP_FLAG_SYN = 131072,
1793 TCP_FLAG_FIN = 65536,
1794 TCP_RESERVED_BITS = 251658240,
1795 TCP_DATA_OFFSET = 4026531840,
1796 }
1797 #[repr(u32)]
1798 #[non_exhaustive]
1799 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1800 pub enum _bindgen_ty_5 {
1801 TCP_NO_QUEUE = 0,
1802 TCP_RECV_QUEUE = 1,
1803 TCP_SEND_QUEUE = 2,
1804 TCP_QUEUES_NR = 3,
1805 }
1806 #[repr(u32)]
1807 #[non_exhaustive]
1808 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1809 pub enum tcp_fastopen_client_fail {
1810 TFO_STATUS_UNSPEC = 0,
1811 TFO_COOKIE_UNAVAILABLE = 1,
1812 TFO_DATA_NOT_ACKED = 2,
1813 TFO_SYN_RETRANSMITTED = 3,
1814 }
1815 #[repr(u32)]
1816 #[non_exhaustive]
1817 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1818 pub enum tcp_ca_state {
1819 TCP_CA_Open = 0,
1820 TCP_CA_Disorder = 1,
1821 TCP_CA_CWR = 2,
1822 TCP_CA_Recovery = 3,
1823 TCP_CA_Loss = 4,
1824 }
1825 #[repr(u32)]
1826 #[non_exhaustive]
1827 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1828 pub enum _bindgen_ty_6 {
1829 TCP_NLA_PAD = 0,
1830 TCP_NLA_BUSY = 1,
1831 TCP_NLA_RWND_LIMITED = 2,
1832 TCP_NLA_SNDBUF_LIMITED = 3,
1833 TCP_NLA_DATA_SEGS_OUT = 4,
1834 TCP_NLA_TOTAL_RETRANS = 5,
1835 TCP_NLA_PACING_RATE = 6,
1836 TCP_NLA_DELIVERY_RATE = 7,
1837 TCP_NLA_SND_CWND = 8,
1838 TCP_NLA_REORDERING = 9,
1839 TCP_NLA_MIN_RTT = 10,
1840 TCP_NLA_RECUR_RETRANS = 11,
1841 TCP_NLA_DELIVERY_RATE_APP_LMT = 12,
1842 TCP_NLA_SNDQ_SIZE = 13,
1843 TCP_NLA_CA_STATE = 14,
1844 TCP_NLA_SND_SSTHRESH = 15,
1845 TCP_NLA_DELIVERED = 16,
1846 TCP_NLA_DELIVERED_CE = 17,
1847 TCP_NLA_BYTES_SENT = 18,
1848 TCP_NLA_BYTES_RETRANS = 19,
1849 TCP_NLA_DSACK_DUPS = 20,
1850 TCP_NLA_REORD_SEEN = 21,
1851 TCP_NLA_SRTT = 22,
1852 TCP_NLA_TIMEOUT_REHASH = 23,
1853 TCP_NLA_BYTES_NOTSENT = 24,
1854 TCP_NLA_EDT = 25,
1855 TCP_NLA_TTL = 26,
1856 TCP_NLA_REHASH = 27,
1857 }
1858 #[repr(u32)]
1859 #[non_exhaustive]
1860 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1861 pub enum net_device_flags {
1862 IFF_UP = 1,
1863 IFF_BROADCAST = 2,
1864 IFF_DEBUG = 4,
1865 IFF_LOOPBACK = 8,
1866 IFF_POINTOPOINT = 16,
1867 IFF_NOTRAILERS = 32,
1868 IFF_RUNNING = 64,
1869 IFF_NOARP = 128,
1870 IFF_PROMISC = 256,
1871 IFF_ALLMULTI = 512,
1872 IFF_MASTER = 1024,
1873 IFF_SLAVE = 2048,
1874 IFF_MULTICAST = 4096,
1875 IFF_PORTSEL = 8192,
1876 IFF_AUTOMEDIA = 16384,
1877 IFF_DYNAMIC = 32768,
1878 IFF_LOWER_UP = 65536,
1879 IFF_DORMANT = 131072,
1880 IFF_ECHO = 262144,
1881 }
1882 #[repr(u32)]
1883 #[non_exhaustive]
1884 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1885 pub enum _bindgen_ty_7 {
1886 IF_OPER_UNKNOWN = 0,
1887 IF_OPER_NOTPRESENT = 1,
1888 IF_OPER_DOWN = 2,
1889 IF_OPER_LOWERLAYERDOWN = 3,
1890 IF_OPER_TESTING = 4,
1891 IF_OPER_DORMANT = 5,
1892 IF_OPER_UP = 6,
1893 }
1894 #[repr(u32)]
1895 #[non_exhaustive]
1896 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1897 pub enum _bindgen_ty_8 {
1898 IF_LINK_MODE_DEFAULT = 0,
1899 IF_LINK_MODE_DORMANT = 1,
1900 IF_LINK_MODE_TESTING = 2,
1901 }
1902 #[repr(u32)]
1903 #[non_exhaustive]
1904 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1905 pub enum nf_inet_hooks {
1906 NF_INET_PRE_ROUTING = 0,
1907 NF_INET_LOCAL_IN = 1,
1908 NF_INET_FORWARD = 2,
1909 NF_INET_LOCAL_OUT = 3,
1910 NF_INET_POST_ROUTING = 4,
1911 NF_INET_NUMHOOKS = 5,
1912 }
1913 #[repr(u32)]
1914 #[non_exhaustive]
1915 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1916 pub enum nf_dev_hooks {
1917 NF_NETDEV_INGRESS = 0,
1918 NF_NETDEV_EGRESS = 1,
1919 NF_NETDEV_NUMHOOKS = 2,
1920 }
1921 #[repr(u32)]
1922 #[non_exhaustive]
1923 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1924 pub enum _bindgen_ty_9 {
1925 NFPROTO_UNSPEC = 0,
1926 NFPROTO_INET = 1,
1927 NFPROTO_IPV4 = 2,
1928 NFPROTO_ARP = 3,
1929 NFPROTO_NETDEV = 5,
1930 NFPROTO_BRIDGE = 7,
1931 NFPROTO_IPV6 = 10,
1932 NFPROTO_DECNET = 12,
1933 NFPROTO_NUMPROTO = 13,
1934 }
1935 #[repr(i32)]
1936 #[non_exhaustive]
1937 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1938 pub enum nf_ip6_hook_priorities {
1939 NF_IP6_PRI_FIRST = -2147483648,
1940 NF_IP6_PRI_RAW_BEFORE_DEFRAG = -450,
1941 NF_IP6_PRI_CONNTRACK_DEFRAG = -400,
1942 NF_IP6_PRI_RAW = -300,
1943 NF_IP6_PRI_SELINUX_FIRST = -225,
1944 NF_IP6_PRI_CONNTRACK = -200,
1945 NF_IP6_PRI_MANGLE = -150,
1946 NF_IP6_PRI_NAT_DST = -100,
1947 NF_IP6_PRI_FILTER = 0,
1948 NF_IP6_PRI_SECURITY = 50,
1949 NF_IP6_PRI_NAT_SRC = 100,
1950 NF_IP6_PRI_SELINUX_LAST = 225,
1951 NF_IP6_PRI_CONNTRACK_HELPER = 300,
1952 NF_IP6_PRI_LAST = 2147483647,
1953 }
1954 #[repr(i32)]
1955 #[non_exhaustive]
1956 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1957 pub enum nf_ip_hook_priorities {
1958 NF_IP_PRI_FIRST = -2147483648,
1959 NF_IP_PRI_RAW_BEFORE_DEFRAG = -450,
1960 NF_IP_PRI_CONNTRACK_DEFRAG = -400,
1961 NF_IP_PRI_RAW = -300,
1962 NF_IP_PRI_SELINUX_FIRST = -225,
1963 NF_IP_PRI_CONNTRACK = -200,
1964 NF_IP_PRI_MANGLE = -150,
1965 NF_IP_PRI_NAT_DST = -100,
1966 NF_IP_PRI_FILTER = 0,
1967 NF_IP_PRI_SECURITY = 50,
1968 NF_IP_PRI_NAT_SRC = 100,
1969 NF_IP_PRI_SELINUX_LAST = 225,
1970 NF_IP_PRI_CONNTRACK_HELPER = 300,
1971 NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647,
1972 }
1973 #[repr(C)]
1974 #[derive(Copy, Clone)]
1975 pub union __vector128__bindgen_ty_1 {
1976 pub __bindgen_anon_1: __vector128__bindgen_ty_1__bindgen_ty_1,
1977 pub u: [__u32; 4usize],
1978 }
1979 #[repr(C)]
1980 #[derive(Copy, Clone)]
1981 pub union __kernel_sockaddr_storage__bindgen_ty_1 {
1982 pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1,
1983 pub __align: *mut crate::ctypes::c_void,
1984 }
1985 #[repr(C)]
1986 #[derive(Copy, Clone)]
1987 pub union iphdr__bindgen_ty_1 {
1988 pub __bindgen_anon_1: iphdr__bindgen_ty_1__bindgen_ty_1,
1989 pub addrs: iphdr__bindgen_ty_1__bindgen_ty_2,
1990 }
1991 #[repr(C)]
1992 #[derive(Copy, Clone)]
1993 pub union in6_addr__bindgen_ty_1 {
1994 pub u6_addr8: [__u8; 16usize],
1995 pub u6_addr16: [__be16; 8usize],
1996 pub u6_addr32: [__be32; 4usize],
1997 }
1998 #[repr(C)]
1999 #[derive(Copy, Clone)]
2000 pub union ipv6hdr__bindgen_ty_1 {
2001 pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1__bindgen_ty_1,
2002 pub addrs: ipv6hdr__bindgen_ty_1__bindgen_ty_2,
2003 }
2004 #[repr(C)]
2005 #[derive(Copy, Clone)]
2006 pub union tcp_word_hdr {
2007 pub hdr: tcphdr,
2008 pub words: [__be32; 5usize],
2009 }
2010 #[repr(C)]
2011 #[derive(Copy, Clone)]
2012 pub union if_settings__bindgen_ty_1 {
2013 pub raw_hdlc: *mut raw_hdlc_proto,
2014 pub cisco: *mut cisco_proto,
2015 pub fr: *mut fr_proto,
2016 pub fr_pvc: *mut fr_proto_pvc,
2017 pub fr_pvc_info: *mut fr_proto_pvc_info,
2018 pub x25: *mut x25_hdlc_proto,
2019 pub sync: *mut sync_serial_settings,
2020 pub te1: *mut te1_settings,
2021 }
2022 #[repr(C)]
2023 #[derive(Copy, Clone)]
2024 pub union ifreq__bindgen_ty_1 {
2025 pub ifrn_name: [crate::ctypes::c_char; 16usize],
2026 }
2027 #[repr(C)]
2028 #[derive(Copy, Clone)]
2029 pub union ifreq__bindgen_ty_2 {
2030 pub ifru_addr: sockaddr,
2031 pub ifru_dstaddr: sockaddr,
2032 pub ifru_broadaddr: sockaddr,
2033 pub ifru_netmask: sockaddr,
2034 pub ifru_hwaddr: sockaddr,
2035 pub ifru_flags: crate::ctypes::c_short,
2036 pub ifru_ivalue: crate::ctypes::c_int,
2037 pub ifru_mtu: crate::ctypes::c_int,
2038 pub ifru_map: ifmap,
2039 pub ifru_slave: [crate::ctypes::c_char; 16usize],
2040 pub ifru_newname: [crate::ctypes::c_char; 16usize],
2041 pub ifru_data: *mut crate::ctypes::c_void,
2042 pub ifru_settings: if_settings,
2043 }
2044 #[repr(C)]
2045 #[derive(Copy, Clone)]
2046 pub union ifconf__bindgen_ty_1 {
2047 pub ifcu_buf: *mut crate::ctypes::c_char,
2048 pub ifcu_req: *mut ifreq,
2049 }
2050 #[repr(C)]
2051 #[derive(Copy, Clone)]
2052 pub union nf_inet_addr {
2053 pub all: [__u32; 4usize],
2054 pub ip: __be32,
2055 pub ip6: [__be32; 4usize],
2056 pub in_: in_addr,
2057 pub in6: in6_addr,
2058 }
2059 #[repr(C)]
2060 #[derive(Copy, Clone)]
2061 pub union xt_entry_match__bindgen_ty_1 {
2062 pub user: xt_entry_match__bindgen_ty_1__bindgen_ty_1,
2063 pub kernel: xt_entry_match__bindgen_ty_1__bindgen_ty_2,
2064 pub match_size: __u16,
2065 }
2066 #[repr(C)]
2067 #[derive(Copy, Clone)]
2068 pub union xt_entry_target__bindgen_ty_1 {
2069 pub user: xt_entry_target__bindgen_ty_1__bindgen_ty_1,
2070 pub kernel: xt_entry_target__bindgen_ty_1__bindgen_ty_2,
2071 pub target_size: __u16,
2072 }
2073 impl<Storage> __BindgenBitfieldUnit<Storage> {
2074 #[inline]
2075 pub const fn new(storage: Storage) -> Self {
2076 Self { storage }
2077 }
2078 }
2079 impl<Storage> __BindgenBitfieldUnit<Storage>
2080 where
2081 Storage: AsRef<[u8]> + AsMut<[u8]>,
2082 {
2083 #[inline]
2084 pub fn get_bit(&self, index: usize) -> bool {
2085 debug_assert!(index / 8 < self.storage.as_ref().len());
2086 let byte_index = index / 8;
2087 let byte = self.storage.as_ref()[byte_index];
2088 let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
2089 let mask = 1 << bit_index;
2090 byte & mask == mask
2091 }
2092 #[inline]
2093 pub fn set_bit(&mut self, index: usize, val: bool) {
2094 debug_assert!(index / 8 < self.storage.as_ref().len());
2095 let byte_index = index / 8;
2096 let byte = &mut self.storage.as_mut()[byte_index];
2097 let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
2098 let mask = 1 << bit_index;
2099 if val {
2100 *byte |= mask;
2101 } else {
2102 *byte &= !mask;
2103 }
2104 }
2105 #[inline]
2106 pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
2107 debug_assert!(bit_width <= 64);
2108 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
2109 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
2110 let mut val = 0;
2111 for i in 0..(bit_width as usize) {
2112 if self.get_bit(i + bit_offset) {
2113 let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2114 val |= 1 << index;
2115 }
2116 }
2117 val
2118 }
2119 #[inline]
2120 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
2121 debug_assert!(bit_width <= 64);
2122 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
2123 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
2124 for i in 0..(bit_width as usize) {
2125 let mask = 1 << i;
2126 let val_bit_is_set = val & mask == mask;
2127 let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
2128 self.set_bit(index + bit_offset, val_bit_is_set);
2129 }
2130 }
2131 }
2132 impl<T> __IncompleteArrayField<T> {
2133 #[inline]
2134 pub const fn new() -> Self {
2135 __IncompleteArrayField(::core::marker::PhantomData, [])
2136 }
2137 #[inline]
2138 pub fn as_ptr(&self) -> *const T {
2139 self as *const _ as *const T
2140 }
2141 #[inline]
2142 pub fn as_mut_ptr(&mut self) -> *mut T {
2143 self as *mut _ as *mut T
2144 }
2145 #[inline]
2146 pub unsafe fn as_slice(&self, len: usize) -> &[T] {
2147 ::core::slice::from_raw_parts(self.as_ptr(), len)
2148 }
2149 #[inline]
2150 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
2151 ::core::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
2152 }
2153 }
2154 impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
2155 fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2156 fmt.write_str("__IncompleteArrayField")
2157 }
2158 }
2159 impl<T> __BindgenUnionField<T> {
2160 #[inline]
2161 pub const fn new() -> Self {
2162 __BindgenUnionField(::core::marker::PhantomData)
2163 }
2164 #[inline]
2165 pub unsafe fn as_ref(&self) -> &T {
2166 ::core::mem::transmute(self)
2167 }
2168 #[inline]
2169 pub unsafe fn as_mut(&mut self) -> &mut T {
2170 ::core::mem::transmute(self)
2171 }
2172 }
2173 impl<T> ::core::default::Default for __BindgenUnionField<T> {
2174 #[inline]
2175 fn default() -> Self {
2176 Self::new()
2177 }
2178 }
2179 impl<T> ::core::clone::Clone for __BindgenUnionField<T> {
2180 #[inline]
2181 fn clone(&self) -> Self {
2182 Self::new()
2183 }
2184 }
2185 impl<T> ::core::marker::Copy for __BindgenUnionField<T> {}
2186 impl<T> ::core::fmt::Debug for __BindgenUnionField<T> {
2187 fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2188 fmt.write_str("__BindgenUnionField")
2189 }
2190 }
2191 impl<T> ::core::hash::Hash for __BindgenUnionField<T> {
2192 fn hash<H: ::core::hash::Hasher>(&self, _state: &mut H) {}
2193 }
2194 impl<T> ::core::cmp::PartialEq for __BindgenUnionField<T> {
2195 fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
2196 true
2197 }
2198 }
2199 impl<T> ::core::cmp::Eq for __BindgenUnionField<T> {}
2200 impl iphdr {
2201 #[inline]
2202 pub fn version(&self) -> __u8 {
2203 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2204 }
2205 #[inline]
2206 pub fn set_version(&mut self, val: __u8) {
2207 unsafe {
2208 let val: u8 = ::core::mem::transmute(val);
2209 self._bitfield_1.set(0usize, 4u8, val as u64)
2210 }
2211 }
2212 #[inline]
2213 pub fn ihl(&self) -> __u8 {
2214 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2215 }
2216 #[inline]
2217 pub fn set_ihl(&mut self, val: __u8) {
2218 unsafe {
2219 let val: u8 = ::core::mem::transmute(val);
2220 self._bitfield_1.set(4usize, 4u8, val as u64)
2221 }
2222 }
2223 #[inline]
2224 pub fn new_bitfield_1(version: __u8, ihl: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2225 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2226 __bindgen_bitfield_unit.set(0usize, 4u8, {
2227 let version: u8 = unsafe { ::core::mem::transmute(version) };
2228 version as u64
2229 });
2230 __bindgen_bitfield_unit.set(4usize, 4u8, {
2231 let ihl: u8 = unsafe { ::core::mem::transmute(ihl) };
2232 ihl as u64
2233 });
2234 __bindgen_bitfield_unit
2235 }
2236 }
2237 impl ipv6hdr {
2238 #[inline]
2239 pub fn version(&self) -> __u8 {
2240 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2241 }
2242 #[inline]
2243 pub fn set_version(&mut self, val: __u8) {
2244 unsafe {
2245 let val: u8 = ::core::mem::transmute(val);
2246 self._bitfield_1.set(0usize, 4u8, val as u64)
2247 }
2248 }
2249 #[inline]
2250 pub fn priority(&self) -> __u8 {
2251 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2252 }
2253 #[inline]
2254 pub fn set_priority(&mut self, val: __u8) {
2255 unsafe {
2256 let val: u8 = ::core::mem::transmute(val);
2257 self._bitfield_1.set(4usize, 4u8, val as u64)
2258 }
2259 }
2260 #[inline]
2261 pub fn new_bitfield_1(version: __u8, priority: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2262 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2263 __bindgen_bitfield_unit.set(0usize, 4u8, {
2264 let version: u8 = unsafe { ::core::mem::transmute(version) };
2265 version as u64
2266 });
2267 __bindgen_bitfield_unit.set(4usize, 4u8, {
2268 let priority: u8 = unsafe { ::core::mem::transmute(priority) };
2269 priority as u64
2270 });
2271 __bindgen_bitfield_unit
2272 }
2273 }
2274 impl tcphdr {
2275 #[inline]
2276 pub fn doff(&self) -> __u16 {
2277 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u16) }
2278 }
2279 #[inline]
2280 pub fn set_doff(&mut self, val: __u16) {
2281 unsafe {
2282 let val: u16 = ::core::mem::transmute(val);
2283 self._bitfield_1.set(0usize, 4u8, val as u64)
2284 }
2285 }
2286 #[inline]
2287 pub fn res1(&self) -> __u16 {
2288 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u16) }
2289 }
2290 #[inline]
2291 pub fn set_res1(&mut self, val: __u16) {
2292 unsafe {
2293 let val: u16 = ::core::mem::transmute(val);
2294 self._bitfield_1.set(4usize, 4u8, val as u64)
2295 }
2296 }
2297 #[inline]
2298 pub fn cwr(&self) -> __u16 {
2299 unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
2300 }
2301 #[inline]
2302 pub fn set_cwr(&mut self, val: __u16) {
2303 unsafe {
2304 let val: u16 = ::core::mem::transmute(val);
2305 self._bitfield_1.set(8usize, 1u8, val as u64)
2306 }
2307 }
2308 #[inline]
2309 pub fn ece(&self) -> __u16 {
2310 unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
2311 }
2312 #[inline]
2313 pub fn set_ece(&mut self, val: __u16) {
2314 unsafe {
2315 let val: u16 = ::core::mem::transmute(val);
2316 self._bitfield_1.set(9usize, 1u8, val as u64)
2317 }
2318 }
2319 #[inline]
2320 pub fn urg(&self) -> __u16 {
2321 unsafe { ::core::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u16) }
2322 }
2323 #[inline]
2324 pub fn set_urg(&mut self, val: __u16) {
2325 unsafe {
2326 let val: u16 = ::core::mem::transmute(val);
2327 self._bitfield_1.set(10usize, 1u8, val as u64)
2328 }
2329 }
2330 #[inline]
2331 pub fn ack(&self) -> __u16 {
2332 unsafe { ::core::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u16) }
2333 }
2334 #[inline]
2335 pub fn set_ack(&mut self, val: __u16) {
2336 unsafe {
2337 let val: u16 = ::core::mem::transmute(val);
2338 self._bitfield_1.set(11usize, 1u8, val as u64)
2339 }
2340 }
2341 #[inline]
2342 pub fn psh(&self) -> __u16 {
2343 unsafe { ::core::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u16) }
2344 }
2345 #[inline]
2346 pub fn set_psh(&mut self, val: __u16) {
2347 unsafe {
2348 let val: u16 = ::core::mem::transmute(val);
2349 self._bitfield_1.set(12usize, 1u8, val as u64)
2350 }
2351 }
2352 #[inline]
2353 pub fn rst(&self) -> __u16 {
2354 unsafe { ::core::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u16) }
2355 }
2356 #[inline]
2357 pub fn set_rst(&mut self, val: __u16) {
2358 unsafe {
2359 let val: u16 = ::core::mem::transmute(val);
2360 self._bitfield_1.set(13usize, 1u8, val as u64)
2361 }
2362 }
2363 #[inline]
2364 pub fn syn(&self) -> __u16 {
2365 unsafe { ::core::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u16) }
2366 }
2367 #[inline]
2368 pub fn set_syn(&mut self, val: __u16) {
2369 unsafe {
2370 let val: u16 = ::core::mem::transmute(val);
2371 self._bitfield_1.set(14usize, 1u8, val as u64)
2372 }
2373 }
2374 #[inline]
2375 pub fn fin(&self) -> __u16 {
2376 unsafe { ::core::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u16) }
2377 }
2378 #[inline]
2379 pub fn set_fin(&mut self, val: __u16) {
2380 unsafe {
2381 let val: u16 = ::core::mem::transmute(val);
2382 self._bitfield_1.set(15usize, 1u8, val as u64)
2383 }
2384 }
2385 #[inline]
2386 pub fn new_bitfield_1(doff: __u16, res1: __u16, cwr: __u16, ece: __u16, urg: __u16, ack: __u16, psh: __u16, rst: __u16, syn: __u16, fin: __u16) -> __BindgenBitfieldUnit<[u8; 2usize]> {
2387 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2388 __bindgen_bitfield_unit.set(0usize, 4u8, {
2389 let doff: u16 = unsafe { ::core::mem::transmute(doff) };
2390 doff as u64
2391 });
2392 __bindgen_bitfield_unit.set(4usize, 4u8, {
2393 let res1: u16 = unsafe { ::core::mem::transmute(res1) };
2394 res1 as u64
2395 });
2396 __bindgen_bitfield_unit.set(8usize, 1u8, {
2397 let cwr: u16 = unsafe { ::core::mem::transmute(cwr) };
2398 cwr as u64
2399 });
2400 __bindgen_bitfield_unit.set(9usize, 1u8, {
2401 let ece: u16 = unsafe { ::core::mem::transmute(ece) };
2402 ece as u64
2403 });
2404 __bindgen_bitfield_unit.set(10usize, 1u8, {
2405 let urg: u16 = unsafe { ::core::mem::transmute(urg) };
2406 urg as u64
2407 });
2408 __bindgen_bitfield_unit.set(11usize, 1u8, {
2409 let ack: u16 = unsafe { ::core::mem::transmute(ack) };
2410 ack as u64
2411 });
2412 __bindgen_bitfield_unit.set(12usize, 1u8, {
2413 let psh: u16 = unsafe { ::core::mem::transmute(psh) };
2414 psh as u64
2415 });
2416 __bindgen_bitfield_unit.set(13usize, 1u8, {
2417 let rst: u16 = unsafe { ::core::mem::transmute(rst) };
2418 rst as u64
2419 });
2420 __bindgen_bitfield_unit.set(14usize, 1u8, {
2421 let syn: u16 = unsafe { ::core::mem::transmute(syn) };
2422 syn as u64
2423 });
2424 __bindgen_bitfield_unit.set(15usize, 1u8, {
2425 let fin: u16 = unsafe { ::core::mem::transmute(fin) };
2426 fin as u64
2427 });
2428 __bindgen_bitfield_unit
2429 }
2430 }
2431 impl tcp_info {
2432 #[inline]
2433 pub fn tcpi_snd_wscale(&self) -> __u8 {
2434 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
2435 }
2436 #[inline]
2437 pub fn set_tcpi_snd_wscale(&mut self, val: __u8) {
2438 unsafe {
2439 let val: u8 = ::core::mem::transmute(val);
2440 self._bitfield_1.set(0usize, 4u8, val as u64)
2441 }
2442 }
2443 #[inline]
2444 pub fn tcpi_rcv_wscale(&self) -> __u8 {
2445 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
2446 }
2447 #[inline]
2448 pub fn set_tcpi_rcv_wscale(&mut self, val: __u8) {
2449 unsafe {
2450 let val: u8 = ::core::mem::transmute(val);
2451 self._bitfield_1.set(4usize, 4u8, val as u64)
2452 }
2453 }
2454 #[inline]
2455 pub fn tcpi_delivery_rate_app_limited(&self) -> __u8 {
2456 unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) }
2457 }
2458 #[inline]
2459 pub fn set_tcpi_delivery_rate_app_limited(&mut self, val: __u8) {
2460 unsafe {
2461 let val: u8 = ::core::mem::transmute(val);
2462 self._bitfield_1.set(8usize, 1u8, val as u64)
2463 }
2464 }
2465 #[inline]
2466 pub fn tcpi_fastopen_client_fail(&self) -> __u8 {
2467 unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 2u8) as u8) }
2468 }
2469 #[inline]
2470 pub fn set_tcpi_fastopen_client_fail(&mut self, val: __u8) {
2471 unsafe {
2472 let val: u8 = ::core::mem::transmute(val);
2473 self._bitfield_1.set(9usize, 2u8, val as u64)
2474 }
2475 }
2476 #[inline]
2477 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]> {
2478 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2479 __bindgen_bitfield_unit.set(0usize, 4u8, {
2480 let tcpi_snd_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_snd_wscale) };
2481 tcpi_snd_wscale as u64
2482 });
2483 __bindgen_bitfield_unit.set(4usize, 4u8, {
2484 let tcpi_rcv_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_rcv_wscale) };
2485 tcpi_rcv_wscale as u64
2486 });
2487 __bindgen_bitfield_unit.set(8usize, 1u8, {
2488 let tcpi_delivery_rate_app_limited: u8 = unsafe { ::core::mem::transmute(tcpi_delivery_rate_app_limited) };
2489 tcpi_delivery_rate_app_limited as u64
2490 });
2491 __bindgen_bitfield_unit.set(9usize, 2u8, {
2492 let tcpi_fastopen_client_fail: u8 = unsafe { ::core::mem::transmute(tcpi_fastopen_client_fail) };
2493 tcpi_fastopen_client_fail as u64
2494 });
2495 __bindgen_bitfield_unit
2496 }
2497 }
2498 impl nf_inet_hooks {
2499 pub const NF_INET_INGRESS: nf_inet_hooks = nf_inet_hooks::NF_INET_NUMHOOKS;
2500 }
2501 impl nf_ip_hook_priorities {
2502 pub const NF_IP_PRI_LAST: nf_ip_hook_priorities = nf_ip_hook_priorities::NF_IP_PRI_CONNTRACK_CONFIRM;
2503 }