# structs

name: dccp_hdr_ext
include_file: /usr/include/linux/dccp.h
nasm_code:
; from header /usr/include/linux/dccp.h
struc dccp_hdr_ext
    .dccph_seq_low   resb 4
endstruc
%define struc_dccp_hdr_ext_size 4


name: dccp_hdr_request
include_file: /usr/include/linux/dccp.h
nasm_code:
; from header /usr/include/linux/dccp.h
struc dccp_hdr_request
    .dccph_req_servi resb 4
endstruc
%define struc_dccp_hdr_request_size 4


name: dccp_hdr_ack_bits
include_file: /usr/include/linux/dccp.h
nasm_code:
; from header /usr/include/linux/dccp.h
struc dccp_hdr_ack_bits
    .dccph_reserved1 resb 2
    .dccph_ack_nr_hi resb 2
    .dccph_ack_nr_lo resb 4
endstruc
%define struc_dccp_hdr_ack_bits_size 8


name: dccp_hdr_response
include_file: /usr/include/linux/dccp.h
nasm_code:
; from header /usr/include/linux/dccp.h
struc dccp_hdr_response
    .dccph_resp_ack  resb 8 ; struc dccp_hdr_ack_bits
    .dccph_resp_serv resb 4
endstruc
%define struc_dccp_hdr_response_size 12


name: dccp_hdr_reset
include_file: /usr/include/linux/dccp.h
nasm_code:
; from header /usr/include/linux/dccp.h
struc dccp_hdr_reset
    .dccph_reset_ack resb 8 ; struc dccp_hdr_ack_bits
    .dccph_reset_cod resb 1
    .dccph_reset_dat resb 3 ; None
endstruc
%define struc_dccp_hdr_reset_size 12


name: tcf_em_cmp
include_file: /usr/include/linux/tc_ematch/tc_em_cmp.h
nasm_code:
; from header /usr/include/linux/tc_ematch/tc_em_cmp.h
struc tcf_em_cmp
    .val             resb 4
    .mask            resb 4
    .off             resb 2
    .align           resb 1
    .flags           resb 1
    .layer           resb 1
    .opnd            resb 1
endstruc
%define struc_tcf_em_cmp_size 12


name: tcf_em_text
include_file: /usr/include/linux/tc_ematch/tc_em_text.h
nasm_code:
; from header /usr/include/linux/tc_ematch/tc_em_text.h
struc tcf_em_text
    .algo            resb 16 ; None
    .from_offset     resb 2
    .to_offset       resb 2
    .pattern_len     resb 2
    .from_layer      resb 1
    .to_layer        resb 1
    .pad             resb 1
endstruc
%define struc_tcf_em_text_size 24


name: tcf_em_nbyte
include_file: /usr/include/linux/tc_ematch/tc_em_nbyte.h
nasm_code:
; from header /usr/include/linux/tc_ematch/tc_em_nbyte.h
struc tcf_em_nbyte
    .off             resb 2
    .len             resb 2
    .layer           resb 1
endstruc
%define struc_tcf_em_nbyte_size 4


name: tcf_meta_val
include_file: /usr/include/linux/tc_ematch/tc_em_meta.h
nasm_code:
; from header /usr/include/linux/tc_ematch/tc_em_meta.h
struc tcf_meta_val
    .kind            resb 2
    .shift           resb 1
    .op              resb 1
endstruc
%define struc_tcf_meta_val_size 4


name: tcf_meta_hdr
include_file: /usr/include/linux/tc_ematch/tc_em_meta.h
nasm_code:
; from header /usr/include/linux/tc_ematch/tc_em_meta.h
struc tcf_meta_hdr
    .left            resb 4 ; struc tcf_meta_val
    .right           resb 4 ; struc tcf_meta_val
endstruc
%define struc_tcf_meta_hdr_size 8


name: fddi_8022_1_hdr
include_file: /usr/include/linux/if_fddi.h
nasm_code:
; from header /usr/include/linux/if_fddi.h
struc fddi_8022_1_hdr
    .dsap            resb 1
    .ssap            resb 1
    .ctrl            resb 1
endstruc
%define struc_fddi_8022_1_hdr_size 3


name: fddi_8022_2_hdr
include_file: /usr/include/linux/if_fddi.h
nasm_code:
; from header /usr/include/linux/if_fddi.h
struc fddi_8022_2_hdr
    .dsap            resb 1
    .ssap            resb 1
    .ctrl_1          resb 1
    .ctrl_2          resb 1
endstruc
%define struc_fddi_8022_2_hdr_size 4


name: fddi_snap_hdr
include_file: /usr/include/linux/if_fddi.h
nasm_code:
; from header /usr/include/linux/if_fddi.h
struc fddi_snap_hdr
    .dsap            resb 1
    .ssap            resb 1
    .ctrl            resb 1
    .oui             resb 3 ; None
    .ethertype       resb 2
endstruc
%define struc_fddi_snap_hdr_size 8


name: fddihdr
include_file: /usr/include/linux/if_fddi.h
nasm_code:
; from header /usr/include/linux/if_fddi.h
struc fddihdr
    .fc              resb 1
    .daddr           resb 6 ; None
    .saddr           resb 6 ; None
    .hdr             resb 8 ; union None
endstruc
%define struc_fddihdr_size 21


name: hsc_rx_config
include_file: /usr/include/linux/hsi/hsi_char.h
nasm_code:
; from header /usr/include/linux/hsi/hsi_char.h
struc hsc_rx_config
    .mode            resb 4
    .flow            resb 4
    .channels        resb 4
endstruc
%define struc_hsc_rx_config_size 12


name: hsc_tx_config
include_file: /usr/include/linux/hsi/hsi_char.h
nasm_code:
; from header /usr/include/linux/hsi/hsi_char.h
struc hsc_tx_config
    .mode            resb 4
    .channels        resb 4
    .speed           resb 4
    .arb_mode        resb 4
endstruc
%define struc_hsc_tx_config_size 16


name: cs_buffer_config
include_file: /usr/include/linux/hsi/cs-protocol.h
nasm_code:
; from header /usr/include/linux/hsi/cs-protocol.h
struc cs_buffer_config
    .rx_bufs         resb 4
    .tx_bufs         resb 4
    .buf_size        resb 4
    .flags           resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_cs_buffer_config_size 32


name: cs_timestamp
include_file: /usr/include/linux/hsi/cs-protocol.h
nasm_code:
; from header /usr/include/linux/hsi/cs-protocol.h
struc cs_timestamp
    .tv_sec          resb 4
    .tv_nsec         resb 4
endstruc
%define struc_cs_timestamp_size 8


name: cs_mmap_config_block
include_file: /usr/include/linux/hsi/cs-protocol.h
nasm_code:
; from header /usr/include/linux/hsi/cs-protocol.h
struc cs_mmap_config_block
    .reserved1       resb 4
    .buf_size        resb 4
    .rx_bufs         resb 4
    .tx_bufs         resb 4
    .reserved2       resb 4
    .rx_offsets      resb 64 ; None
    .tx_offsets      resb 64 ; None
    .rx_ptr          resb 4
    .rx_ptr_boundary resb 4
    .reserved3       resb 8 ; None
    .tstamp_rx_ctrl  resb 8 ; struc cs_timestamp
endstruc
%define struc_cs_mmap_config_block_size 172


name: minix_inode
include_file: /usr/include/linux/minix_fs.h
nasm_code:
; from header /usr/include/linux/minix_fs.h
struc minix_inode
    .i_mode          resb 2
    .i_uid           resb 2
    .i_size          resb 4
    .i_time          resb 4
    .i_gid           resb 1
    .i_nlinks        resb 1
    .i_zone          resb 18 ; None
endstruc
%define struc_minix_inode_size 32


name: minix2_inode
include_file: /usr/include/linux/minix_fs.h
nasm_code:
; from header /usr/include/linux/minix_fs.h
struc minix2_inode
    .i_mode          resb 2
    .i_nlinks        resb 2
    .i_uid           resb 2
    .i_gid           resb 2
    .i_size          resb 4
    .i_atime         resb 4
    .i_mtime         resb 4
    .i_ctime         resb 4
    .i_zone          resb 40 ; None
endstruc
%define struc_minix2_inode_size 64


name: minix_super_block
include_file: /usr/include/linux/minix_fs.h
nasm_code:
; from header /usr/include/linux/minix_fs.h
struc minix_super_block
    .s_ninodes       resb 2
    .s_nzones        resb 2
    .s_imap_blocks   resb 2
    .s_zmap_blocks   resb 2
    .s_firstdatazone resb 2
    .s_log_zone_size resb 2
    .s_max_size      resb 4
    .s_magic         resb 2
    .s_state         resb 2
    .s_zones         resb 4
endstruc
%define struc_minix_super_block_size 24


name: minix3_super_block
include_file: /usr/include/linux/minix_fs.h
nasm_code:
; from header /usr/include/linux/minix_fs.h
struc minix3_super_block
    .s_ninodes       resb 4
    .s_pad0          resb 2
    .s_imap_blocks   resb 2
    .s_zmap_blocks   resb 2
    .s_firstdatazone resb 2
    .s_log_zone_size resb 2
    .s_pad1          resb 2
    .s_max_size      resb 4
    .s_zones         resb 4
    .s_magic         resb 2
    .s_pad2          resb 2
    .s_blocksize     resb 2
    .s_disk_version  resb 1
endstruc
%define struc_minix3_super_block_size 32


name: minix_dir_entry
include_file: /usr/include/linux/minix_fs.h
nasm_code:
; from header /usr/include/linux/minix_fs.h
struc minix_dir_entry
    .inode           resb 2
    .name            resb 0 ; None
endstruc
%define struc_minix_dir_entry_size 2


name: minix3_dir_entry
include_file: /usr/include/linux/minix_fs.h
nasm_code:
; from header /usr/include/linux/minix_fs.h
struc minix3_dir_entry
    .inode           resb 4
    .name            resb 0 ; None
endstruc
%define struc_minix3_dir_entry_size 4


name: bpf_perf_event_data
include_file: /usr/include/linux/bpf_perf_event.h
nasm_code:
; from header /usr/include/linux/bpf_perf_event.h
struc bpf_perf_event_data
    .regs            resb 168 ; bpf_user_pt_regs_t
    .sample_period   resb 8
    .addr            resb 8
endstruc
%define struc_bpf_perf_event_data_size 184


name: elf32_fdpic_loadseg
include_file: /usr/include/linux/elf-fdpic.h
nasm_code:
; from header /usr/include/linux/elf-fdpic.h
struc elf32_fdpic_loadseg
    .addr            resb 4
    .p_vaddr         resb 4
    .p_memsz         resb 4
endstruc
%define struc_elf32_fdpic_loadseg_size 12


name: elf32_fdpic_loadmap
include_file: /usr/include/linux/elf-fdpic.h
nasm_code:
; from header /usr/include/linux/elf-fdpic.h
struc elf32_fdpic_loadmap
    .version         resb 2
    .nsegs           resb 2
    .segs            resb 0 ; None
endstruc
%define struc_elf32_fdpic_loadmap_size 4


name: sadb_msg
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_msg
    .sadb_msg_versio resb 1
    .sadb_msg_type   resb 1
    .sadb_msg_errno  resb 1
    .sadb_msg_satype resb 1
    .sadb_msg_len    resb 2
    .sadb_msg_reserv resb 2
    .sadb_msg_seq    resb 4
    .sadb_msg_pid    resb 4
endstruc
%define struc_sadb_msg_size 16


name: sadb_ext
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_ext
    .sadb_ext_len    resb 2
    .sadb_ext_type   resb 2
endstruc
%define struc_sadb_ext_size 4


name: sadb_sa
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_sa
    .sadb_sa_len     resb 2
    .sadb_sa_exttype resb 2
    .sadb_sa_spi     resb 4
    .sadb_sa_replay  resb 1
    .sadb_sa_state   resb 1
    .sadb_sa_auth    resb 1
    .sadb_sa_encrypt resb 1
    .sadb_sa_flags   resb 4
endstruc
%define struc_sadb_sa_size 16


name: sadb_lifetime
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_lifetime
    .sadb_lifetime_l resb 2
    .sadb_lifetime_e resb 2
    .sadb_lifetime_a resb 4
    .sadb_lifetime_b resb 8
    .sadb_lifetime_a resb 8
    .sadb_lifetime_u resb 8
endstruc
%define struc_sadb_lifetime_size 32


name: sadb_address
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_address
    .sadb_address_le resb 2
    .sadb_address_ex resb 2
    .sadb_address_pr resb 1
    .sadb_address_pr resb 1
    .sadb_address_re resb 2
endstruc
%define struc_sadb_address_size 8


name: sadb_key
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_key
    .sadb_key_len    resb 2
    .sadb_key_exttyp resb 2
    .sadb_key_bits   resb 2
    .sadb_key_reserv resb 2
endstruc
%define struc_sadb_key_size 8


name: sadb_ident
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_ident
    .sadb_ident_len  resb 2
    .sadb_ident_extt resb 2
    .sadb_ident_type resb 2
    .sadb_ident_rese resb 2
    .sadb_ident_id   resb 8
endstruc
%define struc_sadb_ident_size 16


name: sadb_sens
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_sens
    .sadb_sens_len   resb 2
    .sadb_sens_extty resb 2
    .sadb_sens_dpd   resb 4
    .sadb_sens_sens_ resb 1
    .sadb_sens_sens_ resb 1
    .sadb_sens_integ resb 1
    .sadb_sens_integ resb 1
    .sadb_sens_reser resb 4
endstruc
%define struc_sadb_sens_size 16


name: sadb_prop
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_prop
    .sadb_prop_len   resb 2
    .sadb_prop_extty resb 2
    .sadb_prop_repla resb 1
    .sadb_prop_reser resb 3 ; None
endstruc
%define struc_sadb_prop_size 8


name: sadb_comb
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_comb
    .sadb_comb_auth  resb 1
    .sadb_comb_encry resb 1
    .sadb_comb_flags resb 2
    .sadb_comb_auth_ resb 2
    .sadb_comb_auth_ resb 2
    .sadb_comb_encry resb 2
    .sadb_comb_encry resb 2
    .sadb_comb_reser resb 4
    .sadb_comb_soft_ resb 4
    .sadb_comb_hard_ resb 4
    .sadb_comb_soft_ resb 8
    .sadb_comb_hard_ resb 8
    .sadb_comb_soft_ resb 8
    .sadb_comb_hard_ resb 8
    .sadb_comb_soft_ resb 8
    .sadb_comb_hard_ resb 8
endstruc
%define struc_sadb_comb_size 72


name: sadb_supported
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_supported
    .sadb_supported_ resb 2
    .sadb_supported_ resb 2
    .sadb_supported_ resb 4
endstruc
%define struc_sadb_supported_size 8


name: sadb_alg
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_alg
    .sadb_alg_id     resb 1
    .sadb_alg_ivlen  resb 1
    .sadb_alg_minbit resb 2
    .sadb_alg_maxbit resb 2
    .sadb_alg_reserv resb 2
endstruc
%define struc_sadb_alg_size 8


name: sadb_spirange
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_spirange
    .sadb_spirange_l resb 2
    .sadb_spirange_e resb 2
    .sadb_spirange_m resb 4
    .sadb_spirange_m resb 4
    .sadb_spirange_r resb 4
endstruc
%define struc_sadb_spirange_size 16


name: sadb_x_kmprivate
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_kmprivate
    .sadb_x_kmprivat resb 2
    .sadb_x_kmprivat resb 2
    .sadb_x_kmprivat resb 4
endstruc
%define struc_sadb_x_kmprivate_size 8


name: sadb_x_sa2
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_sa2
    .sadb_x_sa2_len  resb 2
    .sadb_x_sa2_extt resb 2
    .sadb_x_sa2_mode resb 1
    .sadb_x_sa2_rese resb 1
    .sadb_x_sa2_rese resb 2
    .sadb_x_sa2_sequ resb 4
    .sadb_x_sa2_reqi resb 4
endstruc
%define struc_sadb_x_sa2_size 16


name: sadb_x_policy
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_policy
    .sadb_x_policy_l resb 2
    .sadb_x_policy_e resb 2
    .sadb_x_policy_t resb 2
    .sadb_x_policy_d resb 1
    .sadb_x_policy_r resb 1
    .sadb_x_policy_i resb 4
    .sadb_x_policy_p resb 4
endstruc
%define struc_sadb_x_policy_size 16


name: sadb_x_ipsecrequest
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_ipsecrequest
    .sadb_x_ipsecreq resb 2
    .sadb_x_ipsecreq resb 2
    .sadb_x_ipsecreq resb 1
    .sadb_x_ipsecreq resb 1
    .sadb_x_ipsecreq resb 2
    .sadb_x_ipsecreq resb 4
    .sadb_x_ipsecreq resb 4
endstruc
%define struc_sadb_x_ipsecrequest_size 16


name: sadb_x_nat_t_type
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_nat_t_type
    .sadb_x_nat_t_ty resb 2
    .sadb_x_nat_t_ty resb 2
    .sadb_x_nat_t_ty resb 1
    .sadb_x_nat_t_ty resb 3 ; None
endstruc
%define struc_sadb_x_nat_t_type_size 8


name: sadb_x_nat_t_port
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_nat_t_port
    .sadb_x_nat_t_po resb 2
    .sadb_x_nat_t_po resb 2
    .sadb_x_nat_t_po resb 2
    .sadb_x_nat_t_po resb 2
endstruc
%define struc_sadb_x_nat_t_port_size 8


name: sadb_x_sec_ctx
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_sec_ctx
    .sadb_x_sec_len  resb 2
    .sadb_x_sec_extt resb 2
    .sadb_x_ctx_alg  resb 1
    .sadb_x_ctx_doi  resb 1
    .sadb_x_ctx_len  resb 2
endstruc
%define struc_sadb_x_sec_ctx_size 8


name: sadb_x_kmaddress
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_kmaddress
    .sadb_x_kmaddres resb 2
    .sadb_x_kmaddres resb 2
    .sadb_x_kmaddres resb 4
endstruc
%define struc_sadb_x_kmaddress_size 8


name: sadb_x_filter
include_file: /usr/include/linux/pfkeyv2.h
nasm_code:
; from header /usr/include/linux/pfkeyv2.h
struc sadb_x_filter
    .sadb_x_filter_l resb 2
    .sadb_x_filter_e resb 2
    .sadb_x_filter_s resb 16 ; None
    .sadb_x_filter_d resb 16 ; None
    .sadb_x_filter_f resb 2
    .sadb_x_filter_s resb 1
    .sadb_x_filter_d resb 1
endstruc
%define struc_sadb_x_filter_size 40


name: fsl_hv_ioctl_restart
include_file: /usr/include/linux/fsl_hypervisor.h
nasm_code:
; from header /usr/include/linux/fsl_hypervisor.h
struc fsl_hv_ioctl_restart
    .ret             resb 4
    .partition       resb 4
endstruc
%define struc_fsl_hv_ioctl_restart_size 8


name: fsl_hv_ioctl_status
include_file: /usr/include/linux/fsl_hypervisor.h
nasm_code:
; from header /usr/include/linux/fsl_hypervisor.h
struc fsl_hv_ioctl_status
    .ret             resb 4
    .partition       resb 4
    .status          resb 4
endstruc
%define struc_fsl_hv_ioctl_status_size 12


name: fsl_hv_ioctl_start
include_file: /usr/include/linux/fsl_hypervisor.h
nasm_code:
; from header /usr/include/linux/fsl_hypervisor.h
struc fsl_hv_ioctl_start
    .ret             resb 4
    .partition       resb 4
    .entry_point     resb 4
    .load            resb 4
endstruc
%define struc_fsl_hv_ioctl_start_size 16


name: fsl_hv_ioctl_stop
include_file: /usr/include/linux/fsl_hypervisor.h
nasm_code:
; from header /usr/include/linux/fsl_hypervisor.h
struc fsl_hv_ioctl_stop
    .ret             resb 4
    .partition       resb 4
endstruc
%define struc_fsl_hv_ioctl_stop_size 8


name: fsl_hv_ioctl_memcpy
include_file: /usr/include/linux/fsl_hypervisor.h
nasm_code:
; from header /usr/include/linux/fsl_hypervisor.h
struc fsl_hv_ioctl_memcpy
    .ret             resb 4
    .source          resb 4
    .target          resb 4
    .reserved        resb 4
    .local_vaddr     resb 8
    .remote_paddr    resb 8
    .count           resb 8
endstruc
%define struc_fsl_hv_ioctl_memcpy_size 40


name: fsl_hv_ioctl_doorbell
include_file: /usr/include/linux/fsl_hypervisor.h
nasm_code:
; from header /usr/include/linux/fsl_hypervisor.h
struc fsl_hv_ioctl_doorbell
    .ret             resb 4
    .doorbell        resb 4
endstruc
%define struc_fsl_hv_ioctl_doorbell_size 8


name: fsl_hv_ioctl_prop
include_file: /usr/include/linux/fsl_hypervisor.h
nasm_code:
; from header /usr/include/linux/fsl_hypervisor.h
struc fsl_hv_ioctl_prop
    .ret             resb 4
    .handle          resb 4
    .path            resb 8
    .propname        resb 8
    .propval         resb 8
    .proplen         resb 4
    .reserved        resb 4
endstruc
%define struc_fsl_hv_ioctl_prop_size 40


name: rtattr
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc rtattr
    .rta_len         resb 2
    .rta_type        resb 2
endstruc
%define struc_rtattr_size 4


name: rtmsg
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc rtmsg
    .rtm_family      resb 1
    .rtm_dst_len     resb 1
    .rtm_src_len     resb 1
    .rtm_tos         resb 1
    .rtm_table       resb 1
    .rtm_protocol    resb 1
    .rtm_scope       resb 1
    .rtm_type        resb 1
    .rtm_flags       resb 4
endstruc
%define struc_rtmsg_size 12


name: rtnexthop
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc rtnexthop
    .rtnh_len        resb 2
    .rtnh_flags      resb 1
    .rtnh_hops       resb 1
    .rtnh_ifindex    resb 4
endstruc
%define struc_rtnexthop_size 8


name: rtvia
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc rtvia
    .rtvia_family    resb 2
    .rtvia_addr      resb 0 ; None
endstruc
%define struc_rtvia_size 2


name: rta_cacheinfo
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc rta_cacheinfo
    .rta_clntref     resb 4
    .rta_lastuse     resb 4
    .rta_expires     resb 4
    .rta_error       resb 4
    .rta_used        resb 4
    .rta_id          resb 4
    .rta_ts          resb 4
    .rta_tsage       resb 4
endstruc
%define struc_rta_cacheinfo_size 32


name: rta_session
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc rta_session
    .proto           resb 1
    .pad1            resb 1
    .pad2            resb 2
    .u               resb 4 ; union None
endstruc
%define struc_rta_session_size 8


name: rta_mfc_stats
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc rta_mfc_stats
    .mfcs_packets    resb 8
    .mfcs_bytes      resb 8
    .mfcs_wrong_if   resb 8
endstruc
%define struc_rta_mfc_stats_size 24


name: rtgenmsg
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc rtgenmsg
    .rtgen_family    resb 1
endstruc
%define struc_rtgenmsg_size 1


name: ifinfomsg
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc ifinfomsg
    .ifi_family      resb 1
    .__ifi_pad       resb 1
    .ifi_type        resb 2
    .ifi_index       resb 4
    .ifi_flags       resb 4
    .ifi_change      resb 4
endstruc
%define struc_ifinfomsg_size 16


name: prefixmsg
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc prefixmsg
    .prefix_family   resb 1
    .prefix_pad1     resb 1
    .prefix_pad2     resb 2
    .prefix_ifindex  resb 4
    .prefix_type     resb 1
    .prefix_len      resb 1
    .prefix_flags    resb 1
    .prefix_pad3     resb 1
endstruc
%define struc_prefixmsg_size 12


name: prefix_cacheinfo
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc prefix_cacheinfo
    .preferred_time  resb 4
    .valid_time      resb 4
endstruc
%define struc_prefix_cacheinfo_size 8


name: tcmsg
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc tcmsg
    .tcm_family      resb 1
    .tcm__pad1       resb 1
    .tcm__pad2       resb 2
    .tcm_ifindex     resb 4
    .tcm_handle      resb 4
    .tcm_parent      resb 4
    .tcm_info        resb 4
endstruc
%define struc_tcmsg_size 20


name: nduseroptmsg
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc nduseroptmsg
    .nduseropt_famil resb 1
    .nduseropt_pad1  resb 1
    .nduseropt_opts_ resb 2
    .nduseropt_ifind resb 4
    .nduseropt_icmp_ resb 1
    .nduseropt_icmp_ resb 1
    .nduseropt_pad2  resb 2
    .nduseropt_pad3  resb 4
endstruc
%define struc_nduseroptmsg_size 16


name: tcamsg
include_file: /usr/include/linux/rtnetlink.h
nasm_code:
; from header /usr/include/linux/rtnetlink.h
struc tcamsg
    .tca_family      resb 1
    .tca__pad1       resb 1
    .tca__pad2       resb 2
endstruc
%define struc_tcamsg_size 4


name: romfs_super_block
include_file: /usr/include/linux/romfs_fs.h
nasm_code:
; from header /usr/include/linux/romfs_fs.h
struc romfs_super_block
    .word0           resb 4
    .word1           resb 4
    .size            resb 4
    .checksum        resb 4
    .name            resb 0 ; None
endstruc
%define struc_romfs_super_block_size 16


name: romfs_inode
include_file: /usr/include/linux/romfs_fs.h
nasm_code:
; from header /usr/include/linux/romfs_fs.h
struc romfs_inode
    .next            resb 4
    .spec            resb 4
    .size            resb 4
    .checksum        resb 4
    .name            resb 0 ; None
endstruc
%define struc_romfs_inode_size 16


name: uffd_msg
include_file: /usr/include/linux/userfaultfd.h
nasm_code:
; from header /usr/include/linux/userfaultfd.h
struc uffd_msg
    .event           resb 1
    .reserved1       resb 1
    .reserved2       resb 2
    .reserved3       resb 4
    .arg             resb 24 ; union None
endstruc
%define struc_uffd_msg_size 32


name: uffdio_api
include_file: /usr/include/linux/userfaultfd.h
nasm_code:
; from header /usr/include/linux/userfaultfd.h
struc uffdio_api
    .api             resb 8
    .features        resb 8
    .ioctls          resb 8
endstruc
%define struc_uffdio_api_size 24


name: uffdio_range
include_file: /usr/include/linux/userfaultfd.h
nasm_code:
; from header /usr/include/linux/userfaultfd.h
struc uffdio_range
    .start           resb 8
    .len             resb 8
endstruc
%define struc_uffdio_range_size 16


name: uffdio_register
include_file: /usr/include/linux/userfaultfd.h
nasm_code:
; from header /usr/include/linux/userfaultfd.h
struc uffdio_register
    .range           resb 16 ; struc uffdio_range
    .mode            resb 8
    .ioctls          resb 8
endstruc
%define struc_uffdio_register_size 32


name: uffdio_copy
include_file: /usr/include/linux/userfaultfd.h
nasm_code:
; from header /usr/include/linux/userfaultfd.h
struc uffdio_copy
    .dst             resb 8
    .src             resb 8
    .len             resb 8
    .mode            resb 8
    .copy            resb 8
endstruc
%define struc_uffdio_copy_size 40


name: uffdio_zeropage
include_file: /usr/include/linux/userfaultfd.h
nasm_code:
; from header /usr/include/linux/userfaultfd.h
struc uffdio_zeropage
    .range           resb 16 ; struc uffdio_range
    .mode            resb 8
    .zeropage        resb 8
endstruc
%define struc_uffdio_zeropage_size 32


name: uffdio_writeprotect
include_file: /usr/include/linux/userfaultfd.h
nasm_code:
; from header /usr/include/linux/userfaultfd.h
struc uffdio_writeprotect
    .range           resb 16 ; struc uffdio_range
    .mode            resb 8
endstruc
%define struc_uffdio_writeprotect_size 24


name: serial_struct
include_file: /usr/include/linux/serial.h
nasm_code:
; from header /usr/include/linux/serial.h
struc serial_struct
    .type            resb 4
    .line            resb 4
    .port            resb 4
    .irq             resb 4
    .flags           resb 4
    .xmit_fifo_size  resb 4
    .custom_divisor  resb 4
    .baud_base       resb 4
    .close_delay     resb 2
    .io_type         resb 1
    .reserved_char   resb 1 ; None
    .hub6            resb 4
    .closing_wait    resb 2
    .closing_wait2   resb 2
    .iomem_base      resb 8
    .iomem_reg_shift resb 2
    .port_high       resb 4
    .iomap_base      resb 8
endstruc
%define struc_serial_struct_size 72


name: serial_multiport_struct
include_file: /usr/include/linux/serial.h
nasm_code:
; from header /usr/include/linux/serial.h
struc serial_multiport_struct
    .irq             resb 4
    .port1           resb 4
    .mask1           resb 1
    .match1          resb 1
    .port2           resb 4
    .mask2           resb 1
    .match2          resb 1
    .port3           resb 4
    .mask3           resb 1
    .match3          resb 1
    .port4           resb 4
    .mask4           resb 1
    .match4          resb 1
    .port_monitor    resb 4
    .reserved        resb 128 ; None
endstruc
%define struc_serial_multiport_struct_size 168


name: serial_icounter_struct
include_file: /usr/include/linux/serial.h
nasm_code:
; from header /usr/include/linux/serial.h
struc serial_icounter_struct
    .cts             resb 4
    .dsr             resb 4
    .rng             resb 4
    .dcd             resb 4
    .rx              resb 4
    .tx              resb 4
    .frame           resb 4
    .overrun         resb 4
    .parity          resb 4
    .brk             resb 4
    .buf_overrun     resb 4
    .reserved        resb 36 ; None
endstruc
%define struc_serial_icounter_struct_size 80


name: serial_rs485
include_file: /usr/include/linux/serial.h
nasm_code:
; from header /usr/include/linux/serial.h
struc serial_rs485
    .flags           resb 4
    .delay_rts_befor resb 4
    .delay_rts_after resb 4
    .padding         resb 20 ; None
endstruc
%define struc_serial_rs485_size 32


name: serial_iso7816
include_file: /usr/include/linux/serial.h
nasm_code:
; from header /usr/include/linux/serial.h
struc serial_iso7816
    .flags           resb 4
    .tg              resb 4
    .sc_fi           resb 4
    .sc_di           resb 4
    .clk             resb 4
    .reserved        resb 20 ; None
endstruc
%define struc_serial_iso7816_size 40


name: uinput_ff_upload
include_file: /usr/include/linux/uinput.h
nasm_code:
; from header /usr/include/linux/uinput.h
struc uinput_ff_upload
    .request_id      resb 4
    .retval          resb 4
    .effect          resb 48 ; struc ff_effect
    .old             resb 48 ; struc ff_effect
endstruc
%define struc_uinput_ff_upload_size 104


name: uinput_ff_erase
include_file: /usr/include/linux/uinput.h
nasm_code:
; from header /usr/include/linux/uinput.h
struc uinput_ff_erase
    .request_id      resb 4
    .retval          resb 4
    .effect_id       resb 4
endstruc
%define struc_uinput_ff_erase_size 12


name: uinput_setup
include_file: /usr/include/linux/uinput.h
nasm_code:
; from header /usr/include/linux/uinput.h
struc uinput_setup
    .id              resb 8 ; struc input_id
    .name            resb 80 ; None
    .ff_effects_max  resb 4
endstruc
%define struc_uinput_setup_size 92


name: uinput_abs_setup
include_file: /usr/include/linux/uinput.h
nasm_code:
; from header /usr/include/linux/uinput.h
struc uinput_abs_setup
    .code            resb 2
    .absinfo         resb 24 ; struc input_absinfo
endstruc
%define struc_uinput_abs_setup_size 28


name: uinput_user_dev
include_file: /usr/include/linux/uinput.h
nasm_code:
; from header /usr/include/linux/uinput.h
struc uinput_user_dev
    .name            resb 80 ; None
    .id              resb 8 ; struc input_id
    .ff_effects_max  resb 4
    .absmax          resb 256 ; None
    .absmin          resb 256 ; None
    .absfuzz         resb 256 ; None
    .absflat         resb 256 ; None
endstruc
%define struc_uinput_user_dev_size 1116


name: if_dqblk
include_file: /usr/include/linux/quota.h
nasm_code:
; from header /usr/include/linux/quota.h
struc if_dqblk
    .dqb_bhardlimit  resb 8
    .dqb_bsoftlimit  resb 8
    .dqb_curspace    resb 8
    .dqb_ihardlimit  resb 8
    .dqb_isoftlimit  resb 8
    .dqb_curinodes   resb 8
    .dqb_btime       resb 8
    .dqb_itime       resb 8
    .dqb_valid       resb 4
endstruc
%define struc_if_dqblk_size 72


name: if_nextdqblk
include_file: /usr/include/linux/quota.h
nasm_code:
; from header /usr/include/linux/quota.h
struc if_nextdqblk
    .dqb_bhardlimit  resb 8
    .dqb_bsoftlimit  resb 8
    .dqb_curspace    resb 8
    .dqb_ihardlimit  resb 8
    .dqb_isoftlimit  resb 8
    .dqb_curinodes   resb 8
    .dqb_btime       resb 8
    .dqb_itime       resb 8
    .dqb_valid       resb 4
    .dqb_id          resb 4
endstruc
%define struc_if_nextdqblk_size 72


name: if_dqinfo
include_file: /usr/include/linux/quota.h
nasm_code:
; from header /usr/include/linux/quota.h
struc if_dqinfo
    .dqi_bgrace      resb 8
    .dqi_igrace      resb 8
    .dqi_flags       resb 4
    .dqi_valid       resb 4
endstruc
%define struc_if_dqinfo_size 24


name: vt_mode
include_file: /usr/include/linux/vt.h
nasm_code:
; from header /usr/include/linux/vt.h
struc vt_mode
    .mode            resb 1
    .waitv           resb 1
    .relsig          resb 2
    .acqsig          resb 2
    .frsig           resb 2
endstruc
%define struc_vt_mode_size 8


name: vt_stat
include_file: /usr/include/linux/vt.h
nasm_code:
; from header /usr/include/linux/vt.h
struc vt_stat
    .v_active        resb 2
    .v_signal        resb 2
    .v_state         resb 2
endstruc
%define struc_vt_stat_size 6


name: vt_sizes
include_file: /usr/include/linux/vt.h
nasm_code:
; from header /usr/include/linux/vt.h
struc vt_sizes
    .v_rows          resb 2
    .v_cols          resb 2
    .v_scrollsize    resb 2
endstruc
%define struc_vt_sizes_size 6


name: vt_consize
include_file: /usr/include/linux/vt.h
nasm_code:
; from header /usr/include/linux/vt.h
struc vt_consize
    .v_rows          resb 2
    .v_cols          resb 2
    .v_vlin          resb 2
    .v_clin          resb 2
    .v_vcol          resb 2
    .v_ccol          resb 2
endstruc
%define struc_vt_consize_size 12


name: vt_event
include_file: /usr/include/linux/vt.h
nasm_code:
; from header /usr/include/linux/vt.h
struc vt_event
    .event           resb 4
    .oldev           resb 4
    .newev           resb 4
    .pad             resb 16 ; None
endstruc
%define struc_vt_event_size 28


name: vt_setactivate
include_file: /usr/include/linux/vt.h
nasm_code:
; from header /usr/include/linux/vt.h
struc vt_setactivate
    .console         resb 4
    .mode            resb 8 ; struc vt_mode
endstruc
%define struc_vt_setactivate_size 12


name: phm_reg
include_file: /usr/include/linux/phantom.h
nasm_code:
; from header /usr/include/linux/phantom.h
struc phm_reg
    .reg             resb 4
    .value           resb 4
endstruc
%define struc_phm_reg_size 8


name: phm_regs
include_file: /usr/include/linux/phantom.h
nasm_code:
; from header /usr/include/linux/phantom.h
struc phm_regs
    .count           resb 4
    .mask            resb 4
    .values          resb 32 ; None
endstruc
%define struc_phm_regs_size 40


name: timespec
include_file: /usr/include/linux/time.h
nasm_code:
; from header /usr/include/linux/time.h
struc timespec
    .tv_sec          resb 8
    .tv_nsec         resb 8
endstruc
%define struc_timespec_size 16


name: timeval
include_file: /usr/include/linux/time.h
nasm_code:
; from header /usr/include/linux/time.h
struc timeval
    .tv_sec          resb 8
    .tv_usec         resb 8
endstruc
%define struc_timeval_size 16


name: itimerspec
include_file: /usr/include/linux/time.h
nasm_code:
; from header /usr/include/linux/time.h
struc itimerspec
    .it_interval     resb 16 ; struc timespec
    .it_value        resb 16 ; struc timespec
endstruc
%define struc_itimerspec_size 32


name: itimerval
include_file: /usr/include/linux/time.h
nasm_code:
; from header /usr/include/linux/time.h
struc itimerval
    .it_interval     resb 16 ; struc timeval
    .it_value        resb 16 ; struc timeval
endstruc
%define struc_itimerval_size 32


name: timezone
include_file: /usr/include/linux/time.h
nasm_code:
; from header /usr/include/linux/time.h
struc timezone
    .tz_minuteswest  resb 4
    .tz_dsttime      resb 4
endstruc
%define struc_timezone_size 8


name: tiocl_selection
include_file: /usr/include/linux/tiocl.h
nasm_code:
; from header /usr/include/linux/tiocl.h
struc tiocl_selection
    .xs              resb 2
    .ys              resb 2
    .xe              resb 2
    .ye              resb 2
    .sel_mode        resb 2
endstruc
%define struc_tiocl_selection_size 10


name: rtc_time
include_file: /usr/include/linux/rtc.h
nasm_code:
; from header /usr/include/linux/rtc.h
struc rtc_time
    .tm_sec          resb 4
    .tm_min          resb 4
    .tm_hour         resb 4
    .tm_mday         resb 4
    .tm_mon          resb 4
    .tm_year         resb 4
    .tm_wday         resb 4
    .tm_yday         resb 4
    .tm_isdst        resb 4
endstruc
%define struc_rtc_time_size 36


name: rtc_wkalrm
include_file: /usr/include/linux/rtc.h
nasm_code:
; from header /usr/include/linux/rtc.h
struc rtc_wkalrm
    .enabled         resb 1
    .pending         resb 1
    .time            resb 36 ; struc rtc_time
endstruc
%define struc_rtc_wkalrm_size 40


name: rtc_pll_info
include_file: /usr/include/linux/rtc.h
nasm_code:
; from header /usr/include/linux/rtc.h
struc rtc_pll_info
    .pll_ctrl        resb 4
    .pll_value       resb 4
    .pll_max         resb 4
    .pll_min         resb 4
    .pll_posmult     resb 4
    .pll_negmult     resb 4
    .pll_clock       resb 8
endstruc
%define struc_rtc_pll_info_size 32


name: media_device_info
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_device_info
    .driver          resb 16 ; None
    .model           resb 32 ; None
    .serial          resb 40 ; None
    .bus_info        resb 32 ; None
    .media_version   resb 4
    .hw_revision     resb 4
    .driver_version  resb 4
    .reserved        resb 124 ; None
endstruc
%define struc_media_device_info_size 256


name: media_pad_desc
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_pad_desc
    .entity          resb 4
    .index           resb 2
    .flags           resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_media_pad_desc_size 20


name: media_link_desc
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_link_desc
    .source          resb 20 ; struc media_pad_desc
    .sink            resb 20 ; struc media_pad_desc
    .flags           resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_media_link_desc_size 52


name: media_links_enum
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_links_enum
    .entity          resb 4
    .pads            resb 8
    .links           resb 8
    .reserved        resb 16 ; None
endstruc
%define struc_media_links_enum_size 40


name: media_v2_entity
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_v2_entity
    .id              resb 4
    .name            resb 64 ; None
    .function        resb 4
    .flags           resb 4
    .reserved        resb 20 ; None
endstruc
%define struc_media_v2_entity_size 96


name: media_v2_intf_devnode
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_v2_intf_devnode
    .major           resb 4
    .minor           resb 4
endstruc
%define struc_media_v2_intf_devnode_size 8


name: media_v2_pad
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_v2_pad
    .id              resb 4
    .entity_id       resb 4
    .flags           resb 4
    .index           resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_media_v2_pad_size 32


name: media_v2_link
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_v2_link
    .id              resb 4
    .source_id       resb 4
    .sink_id         resb 4
    .flags           resb 4
    .reserved        resb 24 ; None
endstruc
%define struc_media_v2_link_size 40


name: media_v2_topology
include_file: /usr/include/linux/media.h
nasm_code:
; from header /usr/include/linux/media.h
struc media_v2_topology
    .topology_versio resb 8
    .num_entities    resb 4
    .reserved1       resb 4
    .ptr_entities    resb 8
    .num_interfaces  resb 4
    .reserved2       resb 4
    .ptr_interfaces  resb 8
    .num_pads        resb 4
    .reserved3       resb 4
    .ptr_pads        resb 8
    .num_links       resb 4
    .reserved4       resb 4
    .ptr_links       resb 8
endstruc
%define struc_media_v2_topology_size 72


name: tee_ioctl_version_data
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_version_data
    .impl_id         resb 4
    .impl_caps       resb 4
    .gen_caps        resb 4
endstruc
%define struc_tee_ioctl_version_data_size 12


name: tee_ioctl_shm_alloc_data
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_shm_alloc_data
    .size            resb 8
    .flags           resb 4
    .id              resb 4
endstruc
%define struc_tee_ioctl_shm_alloc_data_size 16


name: tee_ioctl_buf_data
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_buf_data
    .buf_ptr         resb 8
    .buf_len         resb 8
endstruc
%define struc_tee_ioctl_buf_data_size 16


name: tee_ioctl_param
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_param
    .attr            resb 8
    .a               resb 8
    .b               resb 8
    .c               resb 8
endstruc
%define struc_tee_ioctl_param_size 32


name: tee_ioctl_open_session_arg
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_open_session_arg
    .uuid            resb 16 ; None
    .clnt_uuid       resb 16 ; None
    .clnt_login      resb 4
    .cancel_id       resb 4
    .session         resb 4
    .ret             resb 4
    .ret_origin      resb 4
    .num_params      resb 4
    .params          resb 0 ; None
endstruc
%define struc_tee_ioctl_open_session_arg_size 56


name: tee_ioctl_invoke_arg
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_invoke_arg
    .func            resb 4
    .session         resb 4
    .cancel_id       resb 4
    .ret             resb 4
    .ret_origin      resb 4
    .num_params      resb 4
    .params          resb 0 ; None
endstruc
%define struc_tee_ioctl_invoke_arg_size 24


name: tee_ioctl_cancel_arg
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_cancel_arg
    .cancel_id       resb 4
    .session         resb 4
endstruc
%define struc_tee_ioctl_cancel_arg_size 8


name: tee_ioctl_close_session_arg
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_close_session_arg
    .session         resb 4
endstruc
%define struc_tee_ioctl_close_session_arg_size 4


name: tee_iocl_supp_recv_arg
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_iocl_supp_recv_arg
    .func            resb 4
    .num_params      resb 4
    .params          resb 0 ; None
endstruc
%define struc_tee_iocl_supp_recv_arg_size 8


name: tee_iocl_supp_send_arg
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_iocl_supp_send_arg
    .ret             resb 4
    .num_params      resb 4
    .params          resb 0 ; None
endstruc
%define struc_tee_iocl_supp_send_arg_size 8


name: tee_ioctl_shm_register_data
include_file: /usr/include/linux/tee.h
nasm_code:
; from header /usr/include/linux/tee.h
struc tee_ioctl_shm_register_data
    .addr            resb 8
    .length          resb 8
    .flags           resb 4
    .id              resb 4
endstruc
%define struc_tee_ioctl_shm_register_data_size 24


name: _IOCTL_Command_struct
include_file: /usr/include/linux/cciss_ioctl.h
nasm_code:
; from header /usr/include/linux/cciss_ioctl.h
struc _IOCTL_Command_struct
    .LUN_info        resb 8 ; LUNAddr_struct
    .Request         resb 20 ; RequestBlock_struct
    .error_info      resb 48 ; ErrorInfo_struct
    .buf_size        resb 2
    .buf             resb 8
endstruc
%define struc__IOCTL_Command_struct_size 88


name: _BIG_IOCTL_Command_struct
include_file: /usr/include/linux/cciss_ioctl.h
nasm_code:
; from header /usr/include/linux/cciss_ioctl.h
struc _BIG_IOCTL_Command_struct
    .LUN_info        resb 8 ; LUNAddr_struct
    .Request         resb 20 ; RequestBlock_struct
    .error_info      resb 48 ; ErrorInfo_struct
    .malloc_size     resb 4
    .buf_size        resb 4
    .buf             resb 8
endstruc
%define struc__BIG_IOCTL_Command_struct_size 96


name: watchdog_info
include_file: /usr/include/linux/watchdog.h
nasm_code:
; from header /usr/include/linux/watchdog.h
struc watchdog_info
    .options         resb 4
    .firmware_versio resb 4
    .identity        resb 32 ; None
endstruc
%define struc_watchdog_info_size 40


name: kcmp_epoll_slot
include_file: /usr/include/linux/kcmp.h
nasm_code:
; from header /usr/include/linux/kcmp.h
struc kcmp_epoll_slot
    .efd             resb 4
    .tfd             resb 4
    .toff            resb 4
endstruc
%define struc_kcmp_epoll_slot_size 12


name: scc_stat
include_file: /usr/include/linux/scc.h
nasm_code:
; from header /usr/include/linux/scc.h
struc scc_stat
    .rxints          resb 8
    .txints          resb 8
    .exints          resb 8
    .spints          resb 8
    .txframes        resb 8
    .rxframes        resb 8
    .rxerrs          resb 8
    .txerrs          resb 8
    .nospace         resb 4
    .rx_over         resb 4
    .tx_under        resb 4
    .tx_state        resb 4
    .tx_queued       resb 4
    .maxqueue        resb 4
    .bufsize         resb 4
endstruc
%define struc_scc_stat_size 96


name: scc_modem
include_file: /usr/include/linux/scc.h
nasm_code:
; from header /usr/include/linux/scc.h
struc scc_modem
    .speed           resb 8
    .clocksrc        resb 1
    .nrz             resb 1
endstruc
%define struc_scc_modem_size 16


name: scc_kiss_cmd
include_file: /usr/include/linux/scc.h
nasm_code:
; from header /usr/include/linux/scc.h
struc scc_kiss_cmd
    .command         resb 4
    .param           resb 4
endstruc
%define struc_scc_kiss_cmd_size 8


name: scc_hw_config
include_file: /usr/include/linux/scc.h
nasm_code:
; from header /usr/include/linux/scc.h
struc scc_hw_config
    .data_a          resb 8
    .ctrl_a          resb 8
    .data_b          resb 8
    .ctrl_b          resb 8
    .vector_latch    resb 8
    .special         resb 8
    .irq             resb 4
    .clock           resb 8
    .option          resb 1
    .brand           resb 1
    .escc            resb 1
endstruc
%define struc_scc_hw_config_size 72


name: scc_mem_config
include_file: /usr/include/linux/scc.h
nasm_code:
; from header /usr/include/linux/scc.h
struc scc_mem_config
    .dummy           resb 4
    .bufsize         resb 4
endstruc
%define struc_scc_mem_config_size 8


name: scc_calibrate
include_file: /usr/include/linux/scc.h
nasm_code:
; from header /usr/include/linux/scc.h
struc scc_calibrate
    .time            resb 4
    .pattern         resb 1
endstruc
%define struc_scc_calibrate_size 8


name: smc_diag_req
include_file: /usr/include/linux/smc_diag.h
nasm_code:
; from header /usr/include/linux/smc_diag.h
struc smc_diag_req
    .diag_family     resb 1
    .pad             resb 2 ; None
    .diag_ext        resb 1
    .id              resb 48 ; struc inet_diag_sockid
endstruc
%define struc_smc_diag_req_size 52


name: smc_diag_cursor
include_file: /usr/include/linux/smc_diag.h
nasm_code:
; from header /usr/include/linux/smc_diag.h
struc smc_diag_cursor
    .reserved        resb 2
    .wrap            resb 2
    .count           resb 4
endstruc
%define struc_smc_diag_cursor_size 8


name: smc_diag_conninfo
include_file: /usr/include/linux/smc_diag.h
nasm_code:
; from header /usr/include/linux/smc_diag.h
struc smc_diag_conninfo
    .token           resb 4
    .sndbuf_size     resb 4
    .rmbe_size       resb 4
    .peer_rmbe_size  resb 4
    .rx_prod         resb 8 ; struc smc_diag_cursor
    .rx_cons         resb 8 ; struc smc_diag_cursor
    .tx_prod         resb 8 ; struc smc_diag_cursor
    .tx_cons         resb 8 ; struc smc_diag_cursor
    .rx_prod_flags   resb 1
    .rx_conn_state_f resb 1
    .tx_prod_flags   resb 1
    .tx_conn_state_f resb 1
    .tx_prep         resb 8 ; struc smc_diag_cursor
    .tx_sent         resb 8 ; struc smc_diag_cursor
    .tx_fin          resb 8 ; struc smc_diag_cursor
endstruc
%define struc_smc_diag_conninfo_size 76


name: smc_diag_linkinfo
include_file: /usr/include/linux/smc_diag.h
nasm_code:
; from header /usr/include/linux/smc_diag.h
struc smc_diag_linkinfo
    .link_id         resb 1
    .ibname          resb 64 ; None
    .ibport          resb 1
    .gid             resb 40 ; None
    .peer_gid        resb 40 ; None
endstruc
%define struc_smc_diag_linkinfo_size 146


name: smc_diag_lgrinfo
include_file: /usr/include/linux/smc_diag.h
nasm_code:
; from header /usr/include/linux/smc_diag.h
struc smc_diag_lgrinfo
    .lnk             resb 146 ; None
    .role            resb 1
endstruc
%define struc_smc_diag_lgrinfo_size 147


name: smc_diag_fallback
include_file: /usr/include/linux/smc_diag.h
nasm_code:
; from header /usr/include/linux/smc_diag.h
struc smc_diag_fallback
    .reason          resb 4
    .peer_diagnosis  resb 4
endstruc
%define struc_smc_diag_fallback_size 8


name: smcd_diag_dmbinfo
include_file: /usr/include/linux/smc_diag.h
nasm_code:
; from header /usr/include/linux/smc_diag.h
struc smcd_diag_dmbinfo
    .linkid          resb 4
    .peer_gid        resb 8
    .my_gid          resb 8
    .token           resb 8
    .peer_token      resb 8
endstruc
%define struc_smcd_diag_dmbinfo_size 40


name: kcov_remote_arg
include_file: /usr/include/linux/kcov.h
nasm_code:
; from header /usr/include/linux/kcov.h
struc kcov_remote_arg
    .trace_mode      resb 4
    .area_size       resb 4
    .num_handles     resb 4
    .common_handle   resb 8
    .handles         resb 0 ; None
endstruc
%define struc_kcov_remote_arg_size 24


name: icmp6hdr
include_file: /usr/include/linux/icmpv6.h
nasm_code:
; from header /usr/include/linux/icmpv6.h
struc icmp6hdr
    .icmp6_type      resb 1
    .icmp6_code      resb 1
    .icmp6_cksum     resb 2
    .icmp6_dataun    resb 4 ; union None
endstruc
%define struc_icmp6hdr_size 8


name: icmpv6_echo
include_file: /usr/include/linux/icmpv6.h
nasm_code:
; from header /usr/include/linux/icmpv6.h
struc icmpv6_echo
    .identifier      resb 2
    .sequence        resb 2
endstruc
%define struc_icmpv6_echo_size 4


name: icmpv6_nd_advt
include_file: /usr/include/linux/icmpv6.h
nasm_code:
; from header /usr/include/linux/icmpv6.h
struc icmpv6_nd_advt
    .reserved        resb 4
    .override        resb 4
    .solicited       resb 4
    .router          resb 4
    .reserved2       resb 4
endstruc
%define struc_icmpv6_nd_advt_size 4


name: icmpv6_nd_ra
include_file: /usr/include/linux/icmpv6.h
nasm_code:
; from header /usr/include/linux/icmpv6.h
struc icmpv6_nd_ra
    .hop_limit       resb 1
    .reserved        resb 1
    .router_pref     resb 1
    .home_agent      resb 1
    .other           resb 1
    .managed         resb 1
    .rt_lifetime     resb 2
endstruc
%define struc_icmpv6_nd_ra_size 4


name: icmp6_filter
include_file: /usr/include/linux/icmpv6.h
nasm_code:
; from header /usr/include/linux/icmpv6.h
struc icmp6_filter
    .data            resb 32 ; None
endstruc
%define struc_icmp6_filter_size 32


name: nlist
include_file: /usr/include/linux/a.out.h
nasm_code:
; from header /usr/include/linux/a.out.h
struc nlist
    .n_un            resb 8 ; union None
    .n_type          resb 1
    .n_other         resb 1
    .n_desc          resb 2
    .n_value         resb 8
endstruc
%define struc_nlist_size 24


name: _PhysDevAddr_struct
include_file: /usr/include/linux/cciss_defs.h
nasm_code:
; from header /usr/include/linux/cciss_defs.h
struc _PhysDevAddr_struct
    .TargetId        resb 4
    .Bus             resb 4
    .Mode            resb 4
    .Target          resb 4 ; None
endstruc
%define struc__PhysDevAddr_struct_size 8


name: _LogDevAddr_struct
include_file: /usr/include/linux/cciss_defs.h
nasm_code:
; from header /usr/include/linux/cciss_defs.h
struc _LogDevAddr_struct
    .VolId           resb 4
    .Mode            resb 4
    .reserved        resb 4 ; None
endstruc
%define struc__LogDevAddr_struct_size 8


name: _RequestBlock_struct
include_file: /usr/include/linux/cciss_defs.h
nasm_code:
; from header /usr/include/linux/cciss_defs.h
struc _RequestBlock_struct
    .CDBLen          resb 1
    .Type            resb 1 ; struc None
    .Timeout         resb 2
    .CDB             resb 16 ; None
endstruc
%define struc__RequestBlock_struct_size 20


name: _ErrorInfo_struct
include_file: /usr/include/linux/cciss_defs.h
nasm_code:
; from header /usr/include/linux/cciss_defs.h
struc _ErrorInfo_struct
    .ScsiStatus      resb 1
    .SenseLen        resb 1
    .CommandStatus   resb 2
    .ResidualCnt     resb 4
    .MoreErrInfo     resb 8 ; MoreErrInfo_struct
    .SenseInfo       resb 32 ; None
endstruc
%define struc__ErrorInfo_struct_size 48


name: atm_newif_br2684
include_file: /usr/include/linux/atmbr2684.h
nasm_code:
; from header /usr/include/linux/atmbr2684.h
struc atm_newif_br2684
    .backend_num     resb 2
    .media           resb 4
    .ifname          resb 16 ; None
    .mtu             resb 4
endstruc
%define struc_atm_newif_br2684_size 28


name: br2684_if_spec
include_file: /usr/include/linux/atmbr2684.h
nasm_code:
; from header /usr/include/linux/atmbr2684.h
struc br2684_if_spec
    .method          resb 4
    .spec            resb 16 ; union None
endstruc
%define struc_br2684_if_spec_size 20


name: atm_backend_br2684
include_file: /usr/include/linux/atmbr2684.h
nasm_code:
; from header /usr/include/linux/atmbr2684.h
struc atm_backend_br2684
    .backend_num     resb 2
    .ifspec          resb 20 ; struc br2684_if_spec
    .fcs_in          resb 4
    .fcs_out         resb 4
    .fcs_auto        resb 4
    .encaps          resb 4
    .has_vpiid       resb 4
    .vpn_id          resb 7 ; None
    .send_padding    resb 4
    .min_size        resb 4
endstruc
%define struc_atm_backend_br2684_size 60


name: br2684_filter
include_file: /usr/include/linux/atmbr2684.h
nasm_code:
; from header /usr/include/linux/atmbr2684.h
struc br2684_filter
    .prefix          resb 4
    .netmask         resb 4
endstruc
%define struc_br2684_filter_size 8


name: br2684_filter_set
include_file: /usr/include/linux/atmbr2684.h
nasm_code:
; from header /usr/include/linux/atmbr2684.h
struc br2684_filter_set
    .ifspec          resb 20 ; struc br2684_if_spec
    .filter          resb 8 ; struc br2684_filter
endstruc
%define struc_br2684_filter_set_size 28


name: um_timetravel_msg
include_file: /usr/include/linux/um_timetravel.h
nasm_code:
; from header /usr/include/linux/um_timetravel.h
struc um_timetravel_msg
    .op              resb 4
    .seq             resb 4
    .time            resb 8
endstruc
%define struc_um_timetravel_msg_size 16


name: oldold_utsname
include_file: /usr/include/linux/utsname.h
nasm_code:
; from header /usr/include/linux/utsname.h
struc oldold_utsname
    .sysname         resb 9 ; None
    .nodename        resb 9 ; None
    .release         resb 9 ; None
    .version         resb 9 ; None
    .machine         resb 9 ; None
endstruc
%define struc_oldold_utsname_size 45


name: old_utsname
include_file: /usr/include/linux/utsname.h
nasm_code:
; from header /usr/include/linux/utsname.h
struc old_utsname
    .sysname         resb 65 ; None
    .nodename        resb 65 ; None
    .release         resb 65 ; None
    .version         resb 65 ; None
    .machine         resb 65 ; None
endstruc
%define struc_old_utsname_size 325


name: new_utsname
include_file: /usr/include/linux/utsname.h
nasm_code:
; from header /usr/include/linux/utsname.h
struc new_utsname
    .sysname         resb 65 ; None
    .nodename        resb 65 ; None
    .release         resb 65 ; None
    .version         resb 65 ; None
    .machine         resb 65 ; None
    .domainname      resb 65 ; None
endstruc
%define struc_new_utsname_size 390


name: tls_crypto_info
include_file: /usr/include/linux/tls.h
nasm_code:
; from header /usr/include/linux/tls.h
struc tls_crypto_info
    .version         resb 2
    .cipher_type     resb 2
endstruc
%define struc_tls_crypto_info_size 4


name: tls12_crypto_info_aes_gcm_128
include_file: /usr/include/linux/tls.h
nasm_code:
; from header /usr/include/linux/tls.h
struc tls12_crypto_info_aes_gcm_128
    .info            resb 4 ; struc tls_crypto_info
    .iv              resb 8 ; None
    .key             resb 16 ; None
    .salt            resb 4 ; None
    .rec_seq         resb 8 ; None
endstruc
%define struc_tls12_crypto_info_aes_gcm_128_size 40


name: tls12_crypto_info_aes_gcm_256
include_file: /usr/include/linux/tls.h
nasm_code:
; from header /usr/include/linux/tls.h
struc tls12_crypto_info_aes_gcm_256
    .info            resb 4 ; struc tls_crypto_info
    .iv              resb 8 ; None
    .key             resb 32 ; None
    .salt            resb 4 ; None
    .rec_seq         resb 8 ; None
endstruc
%define struc_tls12_crypto_info_aes_gcm_256_size 56


name: tls12_crypto_info_aes_ccm_128
include_file: /usr/include/linux/tls.h
nasm_code:
; from header /usr/include/linux/tls.h
struc tls12_crypto_info_aes_ccm_128
    .info            resb 4 ; struc tls_crypto_info
    .iv              resb 8 ; None
    .key             resb 16 ; None
    .salt            resb 4 ; None
    .rec_seq         resb 8 ; None
endstruc
%define struc_tls12_crypto_info_aes_ccm_128_size 40


name: netlink_diag_req
include_file: /usr/include/linux/netlink_diag.h
nasm_code:
; from header /usr/include/linux/netlink_diag.h
struc netlink_diag_req
    .sdiag_family    resb 1
    .sdiag_protocol  resb 1
    .pad             resb 2
    .ndiag_ino       resb 4
    .ndiag_show      resb 4
    .ndiag_cookie    resb 8 ; None
endstruc
%define struc_netlink_diag_req_size 20


name: netlink_diag_msg
include_file: /usr/include/linux/netlink_diag.h
nasm_code:
; from header /usr/include/linux/netlink_diag.h
struc netlink_diag_msg
    .ndiag_family    resb 1
    .ndiag_type      resb 1
    .ndiag_protocol  resb 1
    .ndiag_state     resb 1
    .ndiag_portid    resb 4
    .ndiag_dst_porti resb 4
    .ndiag_dst_group resb 4
    .ndiag_ino       resb 4
    .ndiag_cookie    resb 8 ; None
endstruc
%define struc_netlink_diag_msg_size 28


name: netlink_diag_ring
include_file: /usr/include/linux/netlink_diag.h
nasm_code:
; from header /usr/include/linux/netlink_diag.h
struc netlink_diag_ring
    .ndr_block_size  resb 4
    .ndr_block_nr    resb 4
    .ndr_frame_size  resb 4
    .ndr_frame_nr    resb 4
endstruc
%define struc_netlink_diag_ring_size 16


name: ethhdr
include_file: /usr/include/linux/if_ether.h
nasm_code:
; from header /usr/include/linux/if_ether.h
struc ethhdr
    .h_dest          resb 6 ; None
    .h_source        resb 6 ; None
    .h_proto         resb 2
endstruc
%define struc_ethhdr_size 14


name: dfl_fpga_port_info
include_file: /usr/include/linux/fpga-dfl.h
nasm_code:
; from header /usr/include/linux/fpga-dfl.h
struc dfl_fpga_port_info
    .argsz           resb 4
    .flags           resb 4
    .num_regions     resb 4
    .num_umsgs       resb 4
endstruc
%define struc_dfl_fpga_port_info_size 16


name: dfl_fpga_port_region_info
include_file: /usr/include/linux/fpga-dfl.h
nasm_code:
; from header /usr/include/linux/fpga-dfl.h
struc dfl_fpga_port_region_info
    .argsz           resb 4
    .flags           resb 4
    .index           resb 4
    .padding         resb 4
    .size            resb 8
    .offset          resb 8
endstruc
%define struc_dfl_fpga_port_region_info_size 32


name: dfl_fpga_port_dma_map
include_file: /usr/include/linux/fpga-dfl.h
nasm_code:
; from header /usr/include/linux/fpga-dfl.h
struc dfl_fpga_port_dma_map
    .argsz           resb 4
    .flags           resb 4
    .user_addr       resb 8
    .length          resb 8
    .iova            resb 8
endstruc
%define struc_dfl_fpga_port_dma_map_size 32


name: dfl_fpga_port_dma_unmap
include_file: /usr/include/linux/fpga-dfl.h
nasm_code:
; from header /usr/include/linux/fpga-dfl.h
struc dfl_fpga_port_dma_unmap
    .argsz           resb 4
    .flags           resb 4
    .iova            resb 8
endstruc
%define struc_dfl_fpga_port_dma_unmap_size 16


name: dfl_fpga_irq_set
include_file: /usr/include/linux/fpga-dfl.h
nasm_code:
; from header /usr/include/linux/fpga-dfl.h
struc dfl_fpga_irq_set
    .start           resb 4
    .count           resb 4
    .evtfds          resb 0 ; None
endstruc
%define struc_dfl_fpga_irq_set_size 8


name: dfl_fpga_fme_port_pr
include_file: /usr/include/linux/fpga-dfl.h
nasm_code:
; from header /usr/include/linux/fpga-dfl.h
struc dfl_fpga_fme_port_pr
    .argsz           resb 4
    .flags           resb 4
    .port_id         resb 4
    .buffer_size     resb 4
    .buffer_address  resb 8
endstruc
%define struc_dfl_fpga_fme_port_pr_size 24


name: v4l2_subdev_format
include_file: /usr/include/linux/v4l2-subdev.h
nasm_code:
; from header /usr/include/linux/v4l2-subdev.h
struc v4l2_subdev_format
    .which           resb 4
    .pad             resb 4
    .format          resb 48 ; struc v4l2_mbus_framefmt
    .reserved        resb 32 ; None
endstruc
%define struc_v4l2_subdev_format_size 88


name: v4l2_subdev_crop
include_file: /usr/include/linux/v4l2-subdev.h
nasm_code:
; from header /usr/include/linux/v4l2-subdev.h
struc v4l2_subdev_crop
    .which           resb 4
    .pad             resb 4
    .rect            resb 16 ; struc v4l2_rect
    .reserved        resb 32 ; None
endstruc
%define struc_v4l2_subdev_crop_size 56


name: v4l2_subdev_mbus_code_enum
include_file: /usr/include/linux/v4l2-subdev.h
nasm_code:
; from header /usr/include/linux/v4l2-subdev.h
struc v4l2_subdev_mbus_code_enum
    .pad             resb 4
    .index           resb 4
    .code            resb 4
    .which           resb 4
    .flags           resb 4
    .reserved        resb 28 ; None
endstruc
%define struc_v4l2_subdev_mbus_code_enum_size 48


name: v4l2_subdev_frame_size_enum
include_file: /usr/include/linux/v4l2-subdev.h
nasm_code:
; from header /usr/include/linux/v4l2-subdev.h
struc v4l2_subdev_frame_size_enum
    .index           resb 4
    .pad             resb 4
    .code            resb 4
    .min_width       resb 4
    .max_width       resb 4
    .min_height      resb 4
    .max_height      resb 4
    .which           resb 4
    .reserved        resb 32 ; None
endstruc
%define struc_v4l2_subdev_frame_size_enum_size 64


name: v4l2_subdev_frame_interval
include_file: /usr/include/linux/v4l2-subdev.h
nasm_code:
; from header /usr/include/linux/v4l2-subdev.h
struc v4l2_subdev_frame_interval
    .pad             resb 4
    .interval        resb 8 ; struc v4l2_fract
    .reserved        resb 36 ; None
endstruc
%define struc_v4l2_subdev_frame_interval_size 48


name: v4l2_subdev_frame_interval_enum
include_file: /usr/include/linux/v4l2-subdev.h
nasm_code:
; from header /usr/include/linux/v4l2-subdev.h
struc v4l2_subdev_frame_interval_enum
    .index           resb 4
    .pad             resb 4
    .code            resb 4
    .width           resb 4
    .height          resb 4
    .interval        resb 8 ; struc v4l2_fract
    .which           resb 4
    .reserved        resb 32 ; None
endstruc
%define struc_v4l2_subdev_frame_interval_enum_size 64


name: v4l2_subdev_selection
include_file: /usr/include/linux/v4l2-subdev.h
nasm_code:
; from header /usr/include/linux/v4l2-subdev.h
struc v4l2_subdev_selection
    .which           resb 4
    .pad             resb 4
    .target          resb 4
    .flags           resb 4
    .r               resb 16 ; struc v4l2_rect
    .reserved        resb 32 ; None
endstruc
%define struc_v4l2_subdev_selection_size 64


name: v4l2_subdev_capability
include_file: /usr/include/linux/v4l2-subdev.h
nasm_code:
; from header /usr/include/linux/v4l2-subdev.h
struc v4l2_subdev_capability
    .version         resb 4
    .capabilities    resb 4
    .reserved        resb 56 ; None
endstruc
%define struc_v4l2_subdev_capability_size 64


name: gsm_netconfig
include_file: /usr/include/linux/gsmmux.h
nasm_code:
; from header /usr/include/linux/gsmmux.h
struc gsm_netconfig
    .adaption        resb 4
    .protocol        resb 2
    .unused2         resb 2
    .if_name         resb 16 ; None
    .unused          resb 28 ; None
endstruc
%define struc_gsm_netconfig_size 52


name: spi_ioc_transfer
include_file: /usr/include/linux/spi/spidev.h
nasm_code:
; from header /usr/include/linux/spi/spidev.h
struc spi_ioc_transfer
    .tx_buf          resb 8
    .rx_buf          resb 8
    .len             resb 4
    .speed_hz        resb 4
    .delay_usecs     resb 2
    .bits_per_word   resb 1
    .cs_change       resb 1
    .tx_nbits        resb 1
    .rx_nbits        resb 1
    .word_delay_usec resb 1
    .pad             resb 1
endstruc
%define struc_spi_ioc_transfer_size 32


name: consolefontdesc
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc consolefontdesc
    .charcount       resb 2
    .charheight      resb 2
    .chardata        resb 8
endstruc
%define struc_consolefontdesc_size 16


name: unipair
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc unipair
    .unicode         resb 2
    .fontpos         resb 2
endstruc
%define struc_unipair_size 4


name: unimapdesc
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc unimapdesc
    .entry_ct        resb 2
    .entries         resb 8
endstruc
%define struc_unimapdesc_size 16


name: unimapinit
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc unimapinit
    .advised_hashsiz resb 2
    .advised_hashste resb 2
    .advised_hashlev resb 2
endstruc
%define struc_unimapinit_size 6


name: kbentry
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc kbentry
    .kb_table        resb 1
    .kb_index        resb 1
    .kb_value        resb 2
endstruc
%define struc_kbentry_size 4


name: kbsentry
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc kbsentry
    .kb_func         resb 1
    .kb_string       resb 512 ; None
endstruc
%define struc_kbsentry_size 513


name: kbdiacr
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc kbdiacr
    .diacr           resb 1
    .base            resb 1
    .result          resb 1
endstruc
%define struc_kbdiacr_size 3


name: kbdiacrs
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc kbdiacrs
    .kb_cnt          resb 4
    .kbdiacr         resb 768 ; None
endstruc
%define struc_kbdiacrs_size 772


name: kbdiacruc
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc kbdiacruc
    .diacr           resb 4
    .base            resb 4
    .result          resb 4
endstruc
%define struc_kbdiacruc_size 12


name: kbdiacrsuc
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc kbdiacrsuc
    .kb_cnt          resb 4
    .kbdiacruc       resb 3072 ; None
endstruc
%define struc_kbdiacrsuc_size 3076


name: kbkeycode
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc kbkeycode
    .scancode        resb 4
    .keycode         resb 4
endstruc
%define struc_kbkeycode_size 8


name: kbd_repeat
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc kbd_repeat
    .delay           resb 4
    .period          resb 4
endstruc
%define struc_kbd_repeat_size 8


name: console_font_op
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc console_font_op
    .op              resb 4
    .flags           resb 4
    .width           resb 4
    .height          resb 4
    .charcount       resb 4
    .data            resb 8
endstruc
%define struc_console_font_op_size 32


name: console_font
include_file: /usr/include/linux/kd.h
nasm_code:
; from header /usr/include/linux/kd.h
struc console_font
    .width           resb 4
    .height          resb 4
    .charcount       resb 4
    .data            resb 8
endstruc
%define struc_console_font_size 24


name: vring_desc
include_file: /usr/include/linux/virtio_ring.h
nasm_code:
; from header /usr/include/linux/virtio_ring.h
struc vring_desc
    .addr            resb 8
    .len             resb 4
    .flags           resb 2
    .next            resb 2
endstruc
%define struc_vring_desc_size 16


name: vring_avail
include_file: /usr/include/linux/virtio_ring.h
nasm_code:
; from header /usr/include/linux/virtio_ring.h
struc vring_avail
    .flags           resb 2
    .idx             resb 2
    .ring            resb 0 ; None
endstruc
%define struc_vring_avail_size 4


name: vring_used_elem
include_file: /usr/include/linux/virtio_ring.h
nasm_code:
; from header /usr/include/linux/virtio_ring.h
struc vring_used_elem
    .id              resb 4
    .len             resb 4
endstruc
%define struc_vring_used_elem_size 8


name: vring_used
include_file: /usr/include/linux/virtio_ring.h
nasm_code:
; from header /usr/include/linux/virtio_ring.h
struc vring_used
    .flags           resb 2
    .idx             resb 2
    .ring            resb 0 ; None
endstruc
%define struc_vring_used_size 4


name: vring
include_file: /usr/include/linux/virtio_ring.h
nasm_code:
; from header /usr/include/linux/virtio_ring.h
struc vring
    .num             resb 4
    .desc            resb 8
    .avail           resb 8
    .used            resb 8
endstruc
%define struc_vring_size 32


name: vring_packed_desc_event
include_file: /usr/include/linux/virtio_ring.h
nasm_code:
; from header /usr/include/linux/virtio_ring.h
struc vring_packed_desc_event
    .off_wrap        resb 2
    .flags           resb 2
endstruc
%define struc_vring_packed_desc_event_size 4


name: vring_packed_desc
include_file: /usr/include/linux/virtio_ring.h
nasm_code:
; from header /usr/include/linux/virtio_ring.h
struc vring_packed_desc
    .addr            resb 8
    .len             resb 4
    .id              resb 2
    .flags           resb 2
endstruc
%define struc_vring_packed_desc_size 16


name: statx_timestamp
include_file: /usr/include/linux/stat.h
nasm_code:
; from header /usr/include/linux/stat.h
struc statx_timestamp
    .tv_sec          resb 8
    .tv_nsec         resb 4
    .__reserved      resb 4
endstruc
%define struc_statx_timestamp_size 16


name: statx
include_file: /usr/include/linux/stat.h
nasm_code:
; from header /usr/include/linux/stat.h
struc statx
    .stx_mask        resb 4
    .stx_blksize     resb 4
    .stx_attributes  resb 8
    .stx_nlink       resb 4
    .stx_uid         resb 4
    .stx_gid         resb 4
    .stx_mode        resb 2
    .__spare0        resb 2 ; None
    .stx_ino         resb 8
    .stx_size        resb 8
    .stx_blocks      resb 8
    .stx_attributes_ resb 8
    .stx_atime       resb 16 ; struc statx_timestamp
    .stx_btime       resb 16 ; struc statx_timestamp
    .stx_ctime       resb 16 ; struc statx_timestamp
    .stx_mtime       resb 16 ; struc statx_timestamp
    .stx_rdev_major  resb 4
    .stx_rdev_minor  resb 4
    .stx_dev_major   resb 4
    .stx_dev_minor   resb 4
    .stx_mnt_id      resb 8
    .__spare2        resb 8
    .__spare3        resb 96 ; None
endstruc
%define struc_statx_size 256


name: autofs_packet_hdr
include_file: /usr/include/linux/auto_fs.h
nasm_code:
; from header /usr/include/linux/auto_fs.h
struc autofs_packet_hdr
    .proto_version   resb 4
    .type            resb 4
endstruc
%define struc_autofs_packet_hdr_size 8


name: autofs_packet_missing
include_file: /usr/include/linux/auto_fs.h
nasm_code:
; from header /usr/include/linux/auto_fs.h
struc autofs_packet_missing
    .hdr             resb 8 ; struc autofs_packet_hdr
    .wait_queue_toke resb 4
    .len             resb 4
    .name            resb 256 ; None
endstruc
%define struc_autofs_packet_missing_size 272


name: autofs_packet_expire
include_file: /usr/include/linux/auto_fs.h
nasm_code:
; from header /usr/include/linux/auto_fs.h
struc autofs_packet_expire
    .hdr             resb 8 ; struc autofs_packet_hdr
    .len             resb 4
    .name            resb 256 ; None
endstruc
%define struc_autofs_packet_expire_size 268


name: autofs_packet_expire_multi
include_file: /usr/include/linux/auto_fs.h
nasm_code:
; from header /usr/include/linux/auto_fs.h
struc autofs_packet_expire_multi
    .hdr             resb 8 ; struc autofs_packet_hdr
    .wait_queue_toke resb 4
    .len             resb 4
    .name            resb 256 ; None
endstruc
%define struc_autofs_packet_expire_multi_size 272


name: autofs_v5_packet
include_file: /usr/include/linux/auto_fs.h
nasm_code:
; from header /usr/include/linux/auto_fs.h
struc autofs_v5_packet
    .hdr             resb 8 ; struc autofs_packet_hdr
    .wait_queue_toke resb 4
    .dev             resb 4
    .ino             resb 8
    .uid             resb 4
    .gid             resb 4
    .pid             resb 4
    .tgid            resb 4
    .len             resb 4
    .name            resb 256 ; None
endstruc
%define struc_autofs_v5_packet_size 304


name: iso_volume_descriptor
include_file: /usr/include/linux/iso_fs.h
nasm_code:
; from header /usr/include/linux/iso_fs.h
struc iso_volume_descriptor
    .type            resb 1 ; None
    .id              resb 5 ; None
    .version         resb 1 ; None
    .data            resb 2041 ; None
endstruc
%define struc_iso_volume_descriptor_size 2048


name: iso_primary_descriptor
include_file: /usr/include/linux/iso_fs.h
nasm_code:
; from header /usr/include/linux/iso_fs.h
struc iso_primary_descriptor
    .type            resb 1 ; None
    .id              resb 5 ; None
    .version         resb 1 ; None
    .unused1         resb 1 ; None
    .system_id       resb 32 ; None
    .volume_id       resb 32 ; None
    .unused2         resb 8 ; None
    .volume_space_si resb 8 ; None
    .unused3         resb 32 ; None
    .volume_set_size resb 4 ; None
    .volume_sequence resb 4 ; None
    .logical_block_s resb 4 ; None
    .path_table_size resb 8 ; None
    .type_l_path_tab resb 4 ; None
    .opt_type_l_path resb 4 ; None
    .type_m_path_tab resb 4 ; None
    .opt_type_m_path resb 4 ; None
    .root_directory_ resb 34 ; None
    .volume_set_id   resb 128 ; None
    .publisher_id    resb 128 ; None
    .preparer_id     resb 128 ; None
    .application_id  resb 128 ; None
    .copyright_file_ resb 37 ; None
    .abstract_file_i resb 37 ; None
    .bibliographic_f resb 37 ; None
    .creation_date   resb 17 ; None
    .modification_da resb 17 ; None
    .expiration_date resb 17 ; None
    .effective_date  resb 17 ; None
    .file_structure_ resb 1 ; None
    .unused4         resb 1 ; None
    .application_dat resb 512 ; None
    .unused5         resb 653 ; None
endstruc
%define struc_iso_primary_descriptor_size 2048


name: iso_supplementary_descriptor
include_file: /usr/include/linux/iso_fs.h
nasm_code:
; from header /usr/include/linux/iso_fs.h
struc iso_supplementary_descriptor
    .type            resb 1 ; None
    .id              resb 5 ; None
    .version         resb 1 ; None
    .flags           resb 1 ; None
    .system_id       resb 32 ; None
    .volume_id       resb 32 ; None
    .unused2         resb 8 ; None
    .volume_space_si resb 8 ; None
    .escape          resb 32 ; None
    .volume_set_size resb 4 ; None
    .volume_sequence resb 4 ; None
    .logical_block_s resb 4 ; None
    .path_table_size resb 8 ; None
    .type_l_path_tab resb 4 ; None
    .opt_type_l_path resb 4 ; None
    .type_m_path_tab resb 4 ; None
    .opt_type_m_path resb 4 ; None
    .root_directory_ resb 34 ; None
    .volume_set_id   resb 128 ; None
    .publisher_id    resb 128 ; None
    .preparer_id     resb 128 ; None
    .application_id  resb 128 ; None
    .copyright_file_ resb 37 ; None
    .abstract_file_i resb 37 ; None
    .bibliographic_f resb 37 ; None
    .creation_date   resb 17 ; None
    .modification_da resb 17 ; None
    .expiration_date resb 17 ; None
    .effective_date  resb 17 ; None
    .file_structure_ resb 1 ; None
    .unused4         resb 1 ; None
    .application_dat resb 512 ; None
    .unused5         resb 653 ; None
endstruc
%define struc_iso_supplementary_descriptor_size 2048


name: hs_volume_descriptor
include_file: /usr/include/linux/iso_fs.h
nasm_code:
; from header /usr/include/linux/iso_fs.h
struc hs_volume_descriptor
    .foo             resb 8 ; None
    .type            resb 1 ; None
    .id              resb 5 ; None
    .version         resb 1 ; None
    .data            resb 2033 ; None
endstruc
%define struc_hs_volume_descriptor_size 2048


name: hs_primary_descriptor
include_file: /usr/include/linux/iso_fs.h
nasm_code:
; from header /usr/include/linux/iso_fs.h
struc hs_primary_descriptor
    .foo             resb 8 ; None
    .type            resb 1 ; None
    .id              resb 5 ; None
    .version         resb 1 ; None
    .unused1         resb 1 ; None
    .system_id       resb 32 ; None
    .volume_id       resb 32 ; None
    .unused2         resb 8 ; None
    .volume_space_si resb 8 ; None
    .unused3         resb 32 ; None
    .volume_set_size resb 4 ; None
    .volume_sequence resb 4 ; None
    .logical_block_s resb 4 ; None
    .path_table_size resb 8 ; None
    .type_l_path_tab resb 4 ; None
    .unused4         resb 28 ; None
    .root_directory_ resb 34 ; None
endstruc
%define struc_hs_primary_descriptor_size 214


name: iso_directory_record
include_file: /usr/include/linux/iso_fs.h
nasm_code:
; from header /usr/include/linux/iso_fs.h
struc iso_directory_record
    .length          resb 1 ; None
    .ext_attr_length resb 1 ; None
    .extent          resb 8 ; None
    .size            resb 8 ; None
    .date            resb 7 ; None
    .flags           resb 1 ; None
    .file_unit_size  resb 1 ; None
    .interleave      resb 1 ; None
    .volume_sequence resb 4 ; None
    .name_len        resb 1 ; None
    .name            resb 0 ; None
endstruc
%define struc_iso_directory_record_size 33


name: sockaddr_qrtr
include_file: /usr/include/linux/qrtr.h
nasm_code:
; from header /usr/include/linux/qrtr.h
struc sockaddr_qrtr
    .sq_family       resb 2
    .sq_node         resb 4
    .sq_port         resb 4
endstruc
%define struc_sockaddr_qrtr_size 12


name: fch_hdr
include_file: /usr/include/linux/if_fc.h
nasm_code:
; from header /usr/include/linux/if_fc.h
struc fch_hdr
    .daddr           resb 6 ; None
    .saddr           resb 6 ; None
endstruc
%define struc_fch_hdr_size 12


name: fcllc
include_file: /usr/include/linux/if_fc.h
nasm_code:
; from header /usr/include/linux/if_fc.h
struc fcllc
    .dsap            resb 1
    .ssap            resb 1
    .llc             resb 1
    .protid          resb 3 ; None
    .ethertype       resb 2
endstruc
%define struc_fcllc_size 8


name: dlm_lksb
include_file: /usr/include/linux/dlm.h
nasm_code:
; from header /usr/include/linux/dlm.h
struc dlm_lksb
    .sb_status       resb 4
    .sb_lkid         resb 4
    .sb_flags        resb 1
    .sb_lvbptr       resb 8
endstruc
%define struc_dlm_lksb_size 24


name: dma_heap_allocation_data
include_file: /usr/include/linux/dma-heap.h
nasm_code:
; from header /usr/include/linux/dma-heap.h
struc dma_heap_allocation_data
    .len             resb 8
    .fd              resb 4
    .fd_flags        resb 4
    .heap_flags      resb 8
endstruc
%define struc_dma_heap_allocation_data_size 24


name: opal_key
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_key
    .lr              resb 1
    .key_len         resb 1
    .__align         resb 6 ; None
    .key             resb 256 ; None
endstruc
%define struc_opal_key_size 264


name: opal_lr_act
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_lr_act
    .key             resb 264 ; struc opal_key
    .sum             resb 4
    .num_lrs         resb 1
    .lr              resb 9 ; None
    .align           resb 2 ; None
endstruc
%define struc_opal_lr_act_size 280


name: opal_session_info
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_session_info
    .sum             resb 4
    .who             resb 4
    .opal_key        resb 264 ; struc opal_key
endstruc
%define struc_opal_session_info_size 272


name: opal_user_lr_setup
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_user_lr_setup
    .range_start     resb 8
    .range_length    resb 8
    .RLE             resb 4
    .WLE             resb 4
    .session         resb 272 ; struc opal_session_info
endstruc
%define struc_opal_user_lr_setup_size 296


name: opal_lock_unlock
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_lock_unlock
    .session         resb 272 ; struc opal_session_info
    .l_state         resb 4
    .__align         resb 4 ; None
endstruc
%define struc_opal_lock_unlock_size 280


name: opal_new_pw
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_new_pw
    .session         resb 272 ; struc opal_session_info
    .new_user_pw     resb 272 ; struc opal_session_info
endstruc
%define struc_opal_new_pw_size 544


name: opal_mbr_data
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_mbr_data
    .key             resb 264 ; struc opal_key
    .enable_disable  resb 1
    .__align         resb 7 ; None
endstruc
%define struc_opal_mbr_data_size 272


name: opal_mbr_done
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_mbr_done
    .key             resb 264 ; struc opal_key
    .done_flag       resb 1
    .__align         resb 7 ; None
endstruc
%define struc_opal_mbr_done_size 272


name: opal_shadow_mbr
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_shadow_mbr
    .key             resb 264 ; struc opal_key
    .data            resb 8
    .offset          resb 8
    .size            resb 8
endstruc
%define struc_opal_shadow_mbr_size 288


name: opal_read_write_table
include_file: /usr/include/linux/sed-opal.h
nasm_code:
; from header /usr/include/linux/sed-opal.h
struc opal_read_write_table
    .key             resb 264 ; struc opal_key
    .data            resb 8
    .table_uid       resb 8 ; None
    .offset          resb 8
    .size            resb 8
    .flags           resb 8
    .priv            resb 8
endstruc
%define struc_opal_read_write_table_size 312


name: nfs_mount_data
include_file: /usr/include/linux/nfs_mount.h
nasm_code:
; from header /usr/include/linux/nfs_mount.h
struc nfs_mount_data
    .version         resb 4
    .fd              resb 4
    .old_root        resb 32 ; struc nfs2_fh
    .flags           resb 4
    .rsize           resb 4
    .wsize           resb 4
    .timeo           resb 4
    .retrans         resb 4
    .acregmin        resb 4
    .acregmax        resb 4
    .acdirmin        resb 4
    .acdirmax        resb 4
    .addr            resb 16 ; struc sockaddr_in
    .hostname        resb 256 ; None
    .namlen          resb 4
    .bsize           resb 4
    .root            resb 66 ; struc nfs3_fh
    .pseudoflavor    resb 4
    .context         resb 257 ; None
endstruc
%define struc_nfs_mount_data_size 688


name: i2400m_bcf_hdr
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_bcf_hdr
    .module_type     resb 4
    .header_len      resb 4
    .header_version  resb 4
    .module_id       resb 4
    .module_vendor   resb 4
    .date            resb 4
    .size            resb 4
    .key_size        resb 4
    .modulus_size    resb 4
    .exponent_size   resb 4
    .reserved        resb 88 ; None
endstruc
%define struc_i2400m_bcf_hdr_size 128


name: i2400m_bootrom_header
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_bootrom_header
    .command         resb 4
    .target_addr     resb 4
    .data_size       resb 4
    .block_checksum  resb 4
    .payload         resb 0 ; None
endstruc
%define struc_i2400m_bootrom_header_size 16


name: i2400m_pl_data_hdr
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_pl_data_hdr
    .reserved        resb 4
endstruc
%define struc_i2400m_pl_data_hdr_size 4


name: i2400m_pl_edata_hdr
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_pl_edata_hdr
    .reorder         resb 4
    .cs              resb 1
    .reserved        resb 11 ; None
endstruc
%define struc_i2400m_pl_edata_hdr_size 16


name: i2400m_pld
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_pld
    .val             resb 4
endstruc
%define struc_i2400m_pld_size 4


name: i2400m_tlv_hdr
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_hdr
    .type            resb 2
    .length          resb 2
    .pl              resb 0 ; None
endstruc
%define struc_i2400m_tlv_hdr_size 4


name: i2400m_l3l4_hdr
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_l3l4_hdr
    .type            resb 2
    .length          resb 2
    .version         resb 2
    .resv1           resb 2
    .status          resb 2
    .resv2           resb 2
    .pl              resb 0 ; None
endstruc
%define struc_i2400m_l3l4_hdr_size 12


name: i2400m_tlv_system_state
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_system_state
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .state           resb 4
endstruc
%define struc_i2400m_tlv_system_state_size 8


name: i2400m_tlv_l4_message_versions
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_l4_message_versions
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .major           resb 2
    .minor           resb 2
    .branch          resb 2
    .reserved        resb 2
endstruc
%define struc_i2400m_tlv_l4_message_versions_size 12


name: i2400m_tlv_detailed_device_info
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_detailed_device_info
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .reserved1       resb 400 ; None
    .mac_address     resb 6 ; None
    .reserved2       resb 2 ; None
endstruc
%define struc_i2400m_tlv_detailed_device_info_size 412


name: i2400m_tlv_rf_switches_status
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_rf_switches_status
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .sw_rf_switch    resb 1
    .hw_rf_switch    resb 1
    .reserved        resb 2 ; None
endstruc
%define struc_i2400m_tlv_rf_switches_status_size 8


name: i2400m_tlv_rf_operation
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_rf_operation
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .status          resb 4
endstruc
%define struc_i2400m_tlv_rf_operation_size 8


name: i2400m_tlv_device_reset_type
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_device_reset_type
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .reset_type      resb 4
endstruc
%define struc_i2400m_tlv_device_reset_type_size 8


name: i2400m_tlv_config_idle_parameters
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_config_idle_parameters
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .idle_timeout    resb 4
    .idle_paging_int resb 4
endstruc
%define struc_i2400m_tlv_config_idle_parameters_size 12


name: i2400m_tlv_media_status
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_media_status
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .media_status    resb 4
endstruc
%define struc_i2400m_tlv_media_status_size 8


name: i2400m_tlv_config_idle_timeout
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_config_idle_timeout
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .timeout         resb 4
endstruc
%define struc_i2400m_tlv_config_idle_timeout_size 8


name: i2400m_tlv_config_d2h_data_format
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_config_d2h_data_format
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .format          resb 1
    .reserved        resb 3 ; None
endstruc
%define struc_i2400m_tlv_config_d2h_data_format_size 8


name: i2400m_tlv_config_dl_host_reorder
include_file: /usr/include/linux/wimax/i2400m.h
nasm_code:
; from header /usr/include/linux/wimax/i2400m.h
struc i2400m_tlv_config_dl_host_reorder
    .hdr             resb 4 ; struc i2400m_tlv_hdr
    .reorder         resb 1
    .reserved        resb 3 ; None
endstruc
%define struc_i2400m_tlv_config_dl_host_reorder_size 8


name: btf_header
include_file: /usr/include/linux/btf.h
nasm_code:
; from header /usr/include/linux/btf.h
struc btf_header
    .magic           resb 2
    .version         resb 1
    .flags           resb 1
    .hdr_len         resb 4
    .type_off        resb 4
    .type_len        resb 4
    .str_off         resb 4
    .str_len         resb 4
endstruc
%define struc_btf_header_size 24


name: btf_enum
include_file: /usr/include/linux/btf.h
nasm_code:
; from header /usr/include/linux/btf.h
struc btf_enum
    .name_off        resb 4
    .val             resb 4
endstruc
%define struc_btf_enum_size 8


name: btf_array
include_file: /usr/include/linux/btf.h
nasm_code:
; from header /usr/include/linux/btf.h
struc btf_array
    .type            resb 4
    .index_type      resb 4
    .nelems          resb 4
endstruc
%define struc_btf_array_size 12


name: btf_member
include_file: /usr/include/linux/btf.h
nasm_code:
; from header /usr/include/linux/btf.h
struc btf_member
    .name_off        resb 4
    .type            resb 4
    .offset          resb 4
endstruc
%define struc_btf_member_size 12


name: btf_param
include_file: /usr/include/linux/btf.h
nasm_code:
; from header /usr/include/linux/btf.h
struc btf_param
    .name_off        resb 4
    .type            resb 4
endstruc
%define struc_btf_param_size 8


name: btf_var
include_file: /usr/include/linux/btf.h
nasm_code:
; from header /usr/include/linux/btf.h
struc btf_var
    .linkage         resb 4
endstruc
%define struc_btf_var_size 4


name: btf_var_secinfo
include_file: /usr/include/linux/btf.h
nasm_code:
; from header /usr/include/linux/btf.h
struc btf_var_secinfo
    .type            resb 4
    .offset          resb 4
    .size            resb 4
endstruc
%define struc_btf_var_secinfo_size 12


name: tc_police
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_police
    .index           resb 4
    .action          resb 4
    .limit           resb 4
    .burst           resb 4
    .mtu             resb 4
    .rate            resb 12 ; struc tc_ratespec
    .peakrate        resb 12 ; struc tc_ratespec
    .refcnt          resb 4
    .bindcnt         resb 4
    .capab           resb 4
endstruc
%define struc_tc_police_size 56


name: tcf_t
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tcf_t
    .install         resb 8
    .lastuse         resb 8
    .expires         resb 8
    .firstuse        resb 8
endstruc
%define struc_tcf_t_size 32


name: tc_cnt
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_cnt
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_cnt_size 8


name: tc_u32_key
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_u32_key
    .mask            resb 4
    .val             resb 4
    .off             resb 4
    .offmask         resb 4
endstruc
%define struc_tc_u32_key_size 16


name: tc_u32_sel
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_u32_sel
    .flags           resb 1
    .offshift        resb 1
    .nkeys           resb 1
    .offmask         resb 2
    .off             resb 2
    .offoff          resb 2
    .hoff            resb 2
    .hmask           resb 4
    .keys            resb 0 ; None
endstruc
%define struc_tc_u32_sel_size 16


name: tc_u32_mark
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_u32_mark
    .val             resb 4
    .mask            resb 4
    .success         resb 4
endstruc
%define struc_tc_u32_mark_size 12


name: tc_u32_pcnt
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_u32_pcnt
    .rcnt            resb 8
    .rhit            resb 8
    .kcnts           resb 0 ; None
endstruc
%define struc_tc_u32_pcnt_size 16


name: tc_rsvp_gpi
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_rsvp_gpi
    .key             resb 4
    .mask            resb 4
    .offset          resb 4
endstruc
%define struc_tc_rsvp_gpi_size 12


name: tc_rsvp_pinfo
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_rsvp_pinfo
    .dpi             resb 12 ; struc tc_rsvp_gpi
    .spi             resb 12 ; struc tc_rsvp_gpi
    .protocol        resb 1
    .tunnelid        resb 1
    .tunnelhdr       resb 1
    .pad             resb 1
endstruc
%define struc_tc_rsvp_pinfo_size 28


name: tc_basic_pcnt
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_basic_pcnt
    .rcnt            resb 8
    .rhit            resb 8
endstruc
%define struc_tc_basic_pcnt_size 16


name: tc_matchall_pcnt
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tc_matchall_pcnt
    .rhit            resb 8
endstruc
%define struc_tc_matchall_pcnt_size 8


name: tcf_ematch_tree_hdr
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tcf_ematch_tree_hdr
    .nmatches        resb 2
    .progid          resb 2
endstruc
%define struc_tcf_ematch_tree_hdr_size 4


name: tcf_ematch_hdr
include_file: /usr/include/linux/pkt_cls.h
nasm_code:
; from header /usr/include/linux/pkt_cls.h
struc tcf_ematch_hdr
    .matchid         resb 2
    .kind            resb 2
    .flags           resb 2
    .pad             resb 2
endstruc
%define struc_tcf_ematch_hdr_size 8


name: nf_dn_rtmsg
include_file: /usr/include/linux/netfilter_decnet.h
nasm_code:
; from header /usr/include/linux/netfilter_decnet.h
struc nf_dn_rtmsg
    .nfdn_ifindex    resb 4
endstruc
%define struc_nf_dn_rtmsg_size 4


name: vfio_info_cap_header
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_info_cap_header
    .id              resb 2
    .version         resb 2
    .next            resb 4
endstruc
%define struc_vfio_info_cap_header_size 8


name: vfio_group_status
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_group_status
    .argsz           resb 4
    .flags           resb 4
endstruc
%define struc_vfio_group_status_size 8


name: vfio_device_info
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_device_info
    .argsz           resb 4
    .flags           resb 4
    .num_regions     resb 4
    .num_irqs        resb 4
    .cap_offset      resb 4
endstruc
%define struc_vfio_device_info_size 20


name: vfio_region_info
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_region_info
    .argsz           resb 4
    .flags           resb 4
    .index           resb 4
    .cap_offset      resb 4
    .size            resb 8
    .offset          resb 8
endstruc
%define struc_vfio_region_info_size 32


name: vfio_region_sparse_mmap_area
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_region_sparse_mmap_area
    .offset          resb 8
    .size            resb 8
endstruc
%define struc_vfio_region_sparse_mmap_area_size 16


name: vfio_region_info_cap_sparse_mmap
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_region_info_cap_sparse_mmap
    .header          resb 8 ; struc vfio_info_cap_header
    .nr_areas        resb 4
    .reserved        resb 4
    .areas           resb 0 ; None
endstruc
%define struc_vfio_region_info_cap_sparse_mmap_size 16


name: vfio_region_info_cap_type
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_region_info_cap_type
    .header          resb 8 ; struc vfio_info_cap_header
    .type            resb 4
    .subtype         resb 4
endstruc
%define struc_vfio_region_info_cap_type_size 16


name: vfio_region_gfx_edid
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_region_gfx_edid
    .edid_offset     resb 4
    .edid_max_size   resb 4
    .edid_size       resb 4
    .max_xres        resb 4
    .max_yres        resb 4
    .link_state      resb 4
endstruc
%define struc_vfio_region_gfx_edid_size 24


name: vfio_device_migration_info
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_device_migration_info
    .device_state    resb 4
    .reserved        resb 4
    .pending_bytes   resb 8
    .data_offset     resb 8
    .data_size       resb 8
endstruc
%define struc_vfio_device_migration_info_size 32


name: vfio_region_info_cap_nvlink2_ssatgt
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_region_info_cap_nvlink2_ssatgt
    .header          resb 8 ; struc vfio_info_cap_header
    .tgt             resb 8
endstruc
%define struc_vfio_region_info_cap_nvlink2_ssatgt_size 16


name: vfio_region_info_cap_nvlink2_lnkspd
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_region_info_cap_nvlink2_lnkspd
    .header          resb 8 ; struc vfio_info_cap_header
    .link_speed      resb 4
    .__pad           resb 4
endstruc
%define struc_vfio_region_info_cap_nvlink2_lnkspd_size 16


name: vfio_irq_info
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_irq_info
    .argsz           resb 4
    .flags           resb 4
    .index           resb 4
    .count           resb 4
endstruc
%define struc_vfio_irq_info_size 16


name: vfio_irq_set
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_irq_set
    .argsz           resb 4
    .flags           resb 4
    .index           resb 4
    .start           resb 4
    .count           resb 4
    .data            resb 0 ; None
endstruc
%define struc_vfio_irq_set_size 20


name: vfio_pci_dependent_device
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_pci_dependent_device
    .group_id        resb 4
    .segment         resb 2
    .bus             resb 1
    .devfn           resb 1
endstruc
%define struc_vfio_pci_dependent_device_size 8


name: vfio_pci_hot_reset_info
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_pci_hot_reset_info
    .argsz           resb 4
    .flags           resb 4
    .count           resb 4
    .devices         resb 0 ; None
endstruc
%define struc_vfio_pci_hot_reset_info_size 12


name: vfio_pci_hot_reset
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_pci_hot_reset
    .argsz           resb 4
    .flags           resb 4
    .count           resb 4
    .group_fds       resb 0 ; None
endstruc
%define struc_vfio_pci_hot_reset_size 12


name: vfio_device_ioeventfd
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_device_ioeventfd
    .argsz           resb 4
    .flags           resb 4
    .offset          resb 8
    .data            resb 8
    .fd              resb 4
endstruc
%define struc_vfio_device_ioeventfd_size 32


name: vfio_device_feature
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_device_feature
    .argsz           resb 4
    .flags           resb 4
    .data            resb 0 ; None
endstruc
%define struc_vfio_device_feature_size 8


name: vfio_iommu_type1_info
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_type1_info
    .argsz           resb 4
    .flags           resb 4
    .iova_pgsizes    resb 8
    .cap_offset      resb 4
endstruc
%define struc_vfio_iommu_type1_info_size 24


name: vfio_iova_range
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iova_range
    .start           resb 8
    .end             resb 8
endstruc
%define struc_vfio_iova_range_size 16


name: vfio_iommu_type1_info_cap_iova_range
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_type1_info_cap_iova_range
    .header          resb 8 ; struc vfio_info_cap_header
    .nr_iovas        resb 4
    .reserved        resb 4
    .iova_ranges     resb 0 ; None
endstruc
%define struc_vfio_iommu_type1_info_cap_iova_range_size 16


name: vfio_iommu_type1_info_cap_migration
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_type1_info_cap_migration
    .header          resb 8 ; struc vfio_info_cap_header
    .flags           resb 4
    .pgsize_bitmap   resb 8
    .max_dirty_bitma resb 8
endstruc
%define struc_vfio_iommu_type1_info_cap_migration_size 32


name: vfio_iommu_type1_info_dma_avail
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_type1_info_dma_avail
    .header          resb 8 ; struc vfio_info_cap_header
    .avail           resb 4
endstruc
%define struc_vfio_iommu_type1_info_dma_avail_size 12


name: vfio_iommu_type1_dma_map
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_type1_dma_map
    .argsz           resb 4
    .flags           resb 4
    .vaddr           resb 8
    .iova            resb 8
    .size            resb 8
endstruc
%define struc_vfio_iommu_type1_dma_map_size 32


name: vfio_bitmap
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_bitmap
    .pgsize          resb 8
    .size            resb 8
    .data            resb 8
endstruc
%define struc_vfio_bitmap_size 24


name: vfio_iommu_type1_dma_unmap
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_type1_dma_unmap
    .argsz           resb 4
    .flags           resb 4
    .iova            resb 8
    .size            resb 8
    .data            resb 0 ; None
endstruc
%define struc_vfio_iommu_type1_dma_unmap_size 24


name: vfio_iommu_type1_dirty_bitmap
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_type1_dirty_bitmap
    .argsz           resb 4
    .flags           resb 4
    .data            resb 0 ; None
endstruc
%define struc_vfio_iommu_type1_dirty_bitmap_size 8


name: vfio_iommu_type1_dirty_bitmap_get
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_type1_dirty_bitmap_get
    .iova            resb 8
    .size            resb 8
    .bitmap          resb 24 ; struc vfio_bitmap
endstruc
%define struc_vfio_iommu_type1_dirty_bitmap_get_size 40


name: vfio_iommu_spapr_tce_ddw_info
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_spapr_tce_ddw_info
    .pgsizes         resb 8
    .max_dynamic_win resb 4
    .levels          resb 4
endstruc
%define struc_vfio_iommu_spapr_tce_ddw_info_size 16


name: vfio_iommu_spapr_tce_info
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_spapr_tce_info
    .argsz           resb 4
    .flags           resb 4
    .dma32_window_st resb 4
    .dma32_window_si resb 4
    .ddw             resb 16 ; struc vfio_iommu_spapr_tce_ddw_info
endstruc
%define struc_vfio_iommu_spapr_tce_info_size 32


name: vfio_eeh_pe_err
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_eeh_pe_err
    .type            resb 4
    .func            resb 4
    .addr            resb 8
    .mask            resb 8
endstruc
%define struc_vfio_eeh_pe_err_size 24


name: vfio_iommu_spapr_register_memory
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_spapr_register_memory
    .argsz           resb 4
    .flags           resb 4
    .vaddr           resb 8
    .size            resb 8
endstruc
%define struc_vfio_iommu_spapr_register_memory_size 24


name: vfio_iommu_spapr_tce_create
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_spapr_tce_create
    .argsz           resb 4
    .flags           resb 4
    .page_shift      resb 4
    .__resv1         resb 4
    .window_size     resb 8
    .levels          resb 4
    .__resv2         resb 4
    .start_addr      resb 8
endstruc
%define struc_vfio_iommu_spapr_tce_create_size 40


name: vfio_iommu_spapr_tce_remove
include_file: /usr/include/linux/vfio.h
nasm_code:
; from header /usr/include/linux/vfio.h
struc vfio_iommu_spapr_tce_remove
    .argsz           resb 4
    .flags           resb 4
    .start_addr      resb 8
endstruc
%define struc_vfio_iommu_spapr_tce_remove_size 16


name: ovs_header
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_header
    .dp_ifindex      resb 4
endstruc
%define struc_ovs_header_size 4


name: ovs_dp_stats
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_dp_stats
    .n_hit           resb 8
    .n_missed        resb 8
    .n_lost          resb 8
    .n_flows         resb 8
endstruc
%define struc_ovs_dp_stats_size 32


name: ovs_dp_megaflow_stats
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_dp_megaflow_stats
    .n_mask_hit      resb 8
    .n_masks         resb 4
    .pad0            resb 4
    .n_cache_hit     resb 8
    .pad1            resb 8
endstruc
%define struc_ovs_dp_megaflow_stats_size 32


name: ovs_vport_stats
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_vport_stats
    .rx_packets      resb 8
    .tx_packets      resb 8
    .rx_bytes        resb 8
    .tx_bytes        resb 8
    .rx_errors       resb 8
    .tx_errors       resb 8
    .rx_dropped      resb 8
    .tx_dropped      resb 8
endstruc
%define struc_ovs_vport_stats_size 64


name: ovs_flow_stats
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_flow_stats
    .n_packets       resb 8
    .n_bytes         resb 8
endstruc
%define struc_ovs_flow_stats_size 16


name: ovs_key_ethernet
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_ethernet
    .eth_src         resb 6 ; None
    .eth_dst         resb 6 ; None
endstruc
%define struc_ovs_key_ethernet_size 12


name: ovs_key_mpls
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_mpls
    .mpls_lse        resb 4
endstruc
%define struc_ovs_key_mpls_size 4


name: ovs_key_ipv4
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_ipv4
    .ipv4_src        resb 4
    .ipv4_dst        resb 4
    .ipv4_proto      resb 1
    .ipv4_tos        resb 1
    .ipv4_ttl        resb 1
    .ipv4_frag       resb 1
endstruc
%define struc_ovs_key_ipv4_size 12


name: ovs_key_ipv6
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_ipv6
    .ipv6_src        resb 16 ; None
    .ipv6_dst        resb 16 ; None
    .ipv6_label      resb 4
    .ipv6_proto      resb 1
    .ipv6_tclass     resb 1
    .ipv6_hlimit     resb 1
    .ipv6_frag       resb 1
endstruc
%define struc_ovs_key_ipv6_size 40


name: ovs_key_tcp
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_tcp
    .tcp_src         resb 2
    .tcp_dst         resb 2
endstruc
%define struc_ovs_key_tcp_size 4


name: ovs_key_udp
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_udp
    .udp_src         resb 2
    .udp_dst         resb 2
endstruc
%define struc_ovs_key_udp_size 4


name: ovs_key_sctp
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_sctp
    .sctp_src        resb 2
    .sctp_dst        resb 2
endstruc
%define struc_ovs_key_sctp_size 4


name: ovs_key_icmp
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_icmp
    .icmp_type       resb 1
    .icmp_code       resb 1
endstruc
%define struc_ovs_key_icmp_size 2


name: ovs_key_icmpv6
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_icmpv6
    .icmpv6_type     resb 1
    .icmpv6_code     resb 1
endstruc
%define struc_ovs_key_icmpv6_size 2


name: ovs_key_arp
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_arp
    .arp_sip         resb 4
    .arp_tip         resb 4
    .arp_op          resb 2
    .arp_sha         resb 6 ; None
    .arp_tha         resb 6 ; None
endstruc
%define struc_ovs_key_arp_size 24


name: ovs_key_nd
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_nd
    .nd_target       resb 16 ; None
    .nd_sll          resb 6 ; None
    .nd_tll          resb 6 ; None
endstruc
%define struc_ovs_key_nd_size 28


name: ovs_key_ct_tuple_ipv4
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_ct_tuple_ipv4
    .ipv4_src        resb 4
    .ipv4_dst        resb 4
    .src_port        resb 2
    .dst_port        resb 2
    .ipv4_proto      resb 1
endstruc
%define struc_ovs_key_ct_tuple_ipv4_size 16


name: ovs_key_ct_tuple_ipv6
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_key_ct_tuple_ipv6
    .ipv6_src        resb 16 ; None
    .ipv6_dst        resb 16 ; None
    .src_port        resb 2
    .dst_port        resb 2
    .ipv6_proto      resb 1
endstruc
%define struc_ovs_key_ct_tuple_ipv6_size 40


name: ovs_nsh_key_base
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_nsh_key_base
    .flags           resb 1
    .ttl             resb 1
    .mdtype          resb 1
    .np              resb 1
    .path_hdr        resb 4
endstruc
%define struc_ovs_nsh_key_base_size 8


name: ovs_nsh_key_md1
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_nsh_key_md1
    .context         resb 16 ; None
endstruc
%define struc_ovs_nsh_key_md1_size 16


name: ovs_action_trunc
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_action_trunc
    .max_len         resb 4
endstruc
%define struc_ovs_action_trunc_size 4


name: ovs_action_push_mpls
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_action_push_mpls
    .mpls_lse        resb 4
    .mpls_ethertype  resb 2
endstruc
%define struc_ovs_action_push_mpls_size 8


name: ovs_action_add_mpls
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_action_add_mpls
    .mpls_lse        resb 4
    .mpls_ethertype  resb 2
    .tun_flags       resb 2
endstruc
%define struc_ovs_action_add_mpls_size 8


name: ovs_action_push_vlan
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_action_push_vlan
    .vlan_tpid       resb 2
    .vlan_tci        resb 2
endstruc
%define struc_ovs_action_push_vlan_size 4


name: ovs_action_hash
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_action_hash
    .hash_alg        resb 4
    .hash_basis      resb 4
endstruc
%define struc_ovs_action_hash_size 8


name: ovs_action_push_eth
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_action_push_eth
    .addresses       resb 12 ; struc ovs_key_ethernet
endstruc
%define struc_ovs_action_push_eth_size 12


name: ovs_zone_limit
include_file: /usr/include/linux/openvswitch.h
nasm_code:
; from header /usr/include/linux/openvswitch.h
struc ovs_zone_limit
    .zone_id         resb 4
    .limit           resb 4
    .count           resb 4
endstruc
%define struc_ovs_zone_limit_size 12


name: prctl_mm_map
include_file: /usr/include/linux/prctl.h
nasm_code:
; from header /usr/include/linux/prctl.h
struc prctl_mm_map
    .start_code      resb 8
    .end_code        resb 8
    .start_data      resb 8
    .end_data        resb 8
    .start_brk       resb 8
    .brk             resb 8
    .start_stack     resb 8
    .arg_start       resb 8
    .arg_end         resb 8
    .env_start       resb 8
    .env_end         resb 8
    .auxv            resb 8
    .auxv_size       resb 4
    .exe_fd          resb 4
endstruc
%define struc_prctl_mm_map_size 104


name: cec_op_arib_data
include_file: /usr/include/linux/cec-funcs.h
nasm_code:
; from header /usr/include/linux/cec-funcs.h
struc cec_op_arib_data
    .transport_id    resb 2
    .service_id      resb 2
    .orig_network_id resb 2
endstruc
%define struc_cec_op_arib_data_size 6


name: cec_op_atsc_data
include_file: /usr/include/linux/cec-funcs.h
nasm_code:
; from header /usr/include/linux/cec-funcs.h
struc cec_op_atsc_data
    .transport_id    resb 2
    .program_number  resb 2
endstruc
%define struc_cec_op_atsc_data_size 4


name: cec_op_dvb_data
include_file: /usr/include/linux/cec-funcs.h
nasm_code:
; from header /usr/include/linux/cec-funcs.h
struc cec_op_dvb_data
    .transport_id    resb 2
    .service_id      resb 2
    .orig_network_id resb 2
endstruc
%define struc_cec_op_dvb_data_size 6


name: cec_op_channel_data
include_file: /usr/include/linux/cec-funcs.h
nasm_code:
; from header /usr/include/linux/cec-funcs.h
struc cec_op_channel_data
    .channel_number_ resb 1
    .major           resb 2
    .minor           resb 2
endstruc
%define struc_cec_op_channel_data_size 6


name: selnl_msg_setenforce
include_file: /usr/include/linux/selinux_netlink.h
nasm_code:
; from header /usr/include/linux/selinux_netlink.h
struc selnl_msg_setenforce
    .val             resb 4
endstruc
%define struc_selnl_msg_setenforce_size 4


name: selnl_msg_policyload
include_file: /usr/include/linux/selinux_netlink.h
nasm_code:
; from header /usr/include/linux/selinux_netlink.h
struc selnl_msg_policyload
    .seqno           resb 4
endstruc
%define struc_selnl_msg_policyload_size 4


name: ip_vs_service_user
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_service_user
    .protocol        resb 2
    .addr            resb 4
    .port            resb 2
    .fwmark          resb 4
    .sched_name      resb 16 ; None
    .flags           resb 4
    .timeout         resb 4
    .netmask         resb 4
endstruc
%define struc_ip_vs_service_user_size 44


name: ip_vs_dest_user
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_dest_user
    .addr            resb 4
    .port            resb 2
    .conn_flags      resb 4
    .weight          resb 4
    .u_threshold     resb 4
    .l_threshold     resb 4
endstruc
%define struc_ip_vs_dest_user_size 24


name: ip_vs_stats_user
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_stats_user
    .conns           resb 4
    .inpkts          resb 4
    .outpkts         resb 4
    .inbytes         resb 8
    .outbytes        resb 8
    .cps             resb 4
    .inpps           resb 4
    .outpps          resb 4
    .inbps           resb 4
    .outbps          resb 4
endstruc
%define struc_ip_vs_stats_user_size 56


name: ip_vs_getinfo
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_getinfo
    .version         resb 4
    .size            resb 4
    .num_services    resb 4
endstruc
%define struc_ip_vs_getinfo_size 12


name: ip_vs_service_entry
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_service_entry
    .protocol        resb 2
    .addr            resb 4
    .port            resb 2
    .fwmark          resb 4
    .sched_name      resb 16 ; None
    .flags           resb 4
    .timeout         resb 4
    .netmask         resb 4
    .num_dests       resb 4
    .stats           resb 56 ; struc ip_vs_stats_user
endstruc
%define struc_ip_vs_service_entry_size 104


name: ip_vs_dest_entry
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_dest_entry
    .addr            resb 4
    .port            resb 2
    .conn_flags      resb 4
    .weight          resb 4
    .u_threshold     resb 4
    .l_threshold     resb 4
    .activeconns     resb 4
    .inactconns      resb 4
    .persistconns    resb 4
    .stats           resb 56 ; struc ip_vs_stats_user
endstruc
%define struc_ip_vs_dest_entry_size 96


name: ip_vs_get_dests
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_get_dests
    .protocol        resb 2
    .addr            resb 4
    .port            resb 2
    .fwmark          resb 4
    .num_dests       resb 4
    .entrytable      resb 0 ; None
endstruc
%define struc_ip_vs_get_dests_size 24


name: ip_vs_get_services
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_get_services
    .num_services    resb 4
    .entrytable      resb 0 ; None
endstruc
%define struc_ip_vs_get_services_size 8


name: ip_vs_timeout_user
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_timeout_user
    .tcp_timeout     resb 4
    .tcp_fin_timeout resb 4
    .udp_timeout     resb 4
endstruc
%define struc_ip_vs_timeout_user_size 12


name: ip_vs_daemon_user
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_daemon_user
    .state           resb 4
    .mcast_ifn       resb 16 ; None
    .syncid          resb 4
endstruc
%define struc_ip_vs_daemon_user_size 24


name: ip_vs_flags
include_file: /usr/include/linux/ip_vs.h
nasm_code:
; from header /usr/include/linux/ip_vs.h
struc ip_vs_flags
    .flags           resb 4
    .mask            resb 4
endstruc
%define struc_ip_vs_flags_size 8


name: pg_write_hdr
include_file: /usr/include/linux/pg.h
nasm_code:
; from header /usr/include/linux/pg.h
struc pg_write_hdr
    .magic           resb 1
    .func            resb 1
    .dlen            resb 4
    .timeout         resb 4
    .packet          resb 12 ; None
endstruc
%define struc_pg_write_hdr_size 24


name: pg_read_hdr
include_file: /usr/include/linux/pg.h
nasm_code:
; from header /usr/include/linux/pg.h
struc pg_read_hdr
    .magic           resb 1
    .scsi            resb 1
    .dlen            resb 4
    .duration        resb 4
    .pad             resb 12 ; None
endstruc
%define struc_pg_read_hdr_size 24


name: cb_id
include_file: /usr/include/linux/connector.h
nasm_code:
; from header /usr/include/linux/connector.h
struc cb_id
    .idx             resb 4
    .val             resb 4
endstruc
%define struc_cb_id_size 8


name: cn_msg
include_file: /usr/include/linux/connector.h
nasm_code:
; from header /usr/include/linux/connector.h
struc cn_msg
    .id              resb 8 ; struc cb_id
    .seq             resb 4
    .ack             resb 4
    .len             resb 2
    .flags           resb 2
    .data            resb 0 ; None
endstruc
%define struc_cn_msg_size 20


name: sockaddr_xdp
include_file: /usr/include/linux/if_xdp.h
nasm_code:
; from header /usr/include/linux/if_xdp.h
struc sockaddr_xdp
    .sxdp_family     resb 2
    .sxdp_flags      resb 2
    .sxdp_ifindex    resb 4
    .sxdp_queue_id   resb 4
    .sxdp_shared_ume resb 4
endstruc
%define struc_sockaddr_xdp_size 16


name: xdp_ring_offset
include_file: /usr/include/linux/if_xdp.h
nasm_code:
; from header /usr/include/linux/if_xdp.h
struc xdp_ring_offset
    .producer        resb 8
    .consumer        resb 8
    .desc            resb 8
    .flags           resb 8
endstruc
%define struc_xdp_ring_offset_size 32


name: xdp_mmap_offsets
include_file: /usr/include/linux/if_xdp.h
nasm_code:
; from header /usr/include/linux/if_xdp.h
struc xdp_mmap_offsets
    .rx              resb 32 ; struc xdp_ring_offset
    .tx              resb 32 ; struc xdp_ring_offset
    .fr              resb 32 ; struc xdp_ring_offset
    .cr              resb 32 ; struc xdp_ring_offset
endstruc
%define struc_xdp_mmap_offsets_size 128


name: xdp_umem_reg
include_file: /usr/include/linux/if_xdp.h
nasm_code:
; from header /usr/include/linux/if_xdp.h
struc xdp_umem_reg
    .addr            resb 8
    .len             resb 8
    .chunk_size      resb 4
    .headroom        resb 4
    .flags           resb 4
endstruc
%define struc_xdp_umem_reg_size 32


name: xdp_statistics
include_file: /usr/include/linux/if_xdp.h
nasm_code:
; from header /usr/include/linux/if_xdp.h
struc xdp_statistics
    .rx_dropped      resb 8
    .rx_invalid_desc resb 8
    .tx_invalid_desc resb 8
    .rx_ring_full    resb 8
    .rx_fill_ring_em resb 8
    .tx_ring_empty_d resb 8
endstruc
%define struc_xdp_statistics_size 48


name: xdp_options
include_file: /usr/include/linux/if_xdp.h
nasm_code:
; from header /usr/include/linux/if_xdp.h
struc xdp_options
    .flags           resb 4
endstruc
%define struc_xdp_options_size 4


name: xdp_desc
include_file: /usr/include/linux/if_xdp.h
nasm_code:
; from header /usr/include/linux/if_xdp.h
struc xdp_desc
    .addr            resb 8
    .len             resb 4
    .options         resb 4
endstruc
%define struc_xdp_desc_size 16


name: virtio_console_config
include_file: /usr/include/linux/virtio_console.h
nasm_code:
; from header /usr/include/linux/virtio_console.h
struc virtio_console_config
    .cols            resb 2
    .rows            resb 2
    .max_nr_ports    resb 4
    .emerg_wr        resb 4
endstruc
%define struc_virtio_console_config_size 12


name: virtio_console_control
include_file: /usr/include/linux/virtio_console.h
nasm_code:
; from header /usr/include/linux/virtio_console.h
struc virtio_console_control
    .id              resb 4
    .event           resb 2
    .value           resb 2
endstruc
%define struc_virtio_console_control_size 8


name: aspeed_lpc_ctrl_mapping
include_file: /usr/include/linux/aspeed-lpc-ctrl.h
nasm_code:
; from header /usr/include/linux/aspeed-lpc-ctrl.h
struc aspeed_lpc_ctrl_mapping
    .window_type     resb 1
    .window_id       resb 1
    .flags           resb 2
    .addr            resb 4
    .offset          resb 4
    .size            resb 4
endstruc
%define struc_aspeed_lpc_ctrl_mapping_size 16


name: ifbond
include_file: /usr/include/linux/if_bonding.h
nasm_code:
; from header /usr/include/linux/if_bonding.h
struc ifbond
    .bond_mode       resb 4
    .num_slaves      resb 4
    .miimon          resb 4
endstruc
%define struc_ifbond_size 12


name: ifslave
include_file: /usr/include/linux/if_bonding.h
nasm_code:
; from header /usr/include/linux/if_bonding.h
struc ifslave
    .slave_id        resb 4
    .slave_name      resb 16 ; None
    .link            resb 1
    .state           resb 1
    .link_failure_co resb 4
endstruc
%define struc_ifslave_size 28


name: ad_info
include_file: /usr/include/linux/if_bonding.h
nasm_code:
; from header /usr/include/linux/if_bonding.h
struc ad_info
    .aggregator_id   resb 2
    .ports           resb 2
    .actor_key       resb 2
    .partner_key     resb 2
    .partner_system  resb 6 ; None
endstruc
%define struc_ad_info_size 14


name: __kernel_timespec
include_file: /usr/include/linux/time_types.h
nasm_code:
; from header /usr/include/linux/time_types.h
struc __kernel_timespec
    .tv_sec          resb 8
    .tv_nsec         resb 8
endstruc
%define struc___kernel_timespec_size 16


name: __kernel_itimerspec
include_file: /usr/include/linux/time_types.h
nasm_code:
; from header /usr/include/linux/time_types.h
struc __kernel_itimerspec
    .it_interval     resb 16 ; struc __kernel_timespec
    .it_value        resb 16 ; struc __kernel_timespec
endstruc
%define struc___kernel_itimerspec_size 32


name: __kernel_old_timeval
include_file: /usr/include/linux/time_types.h
nasm_code:
; from header /usr/include/linux/time_types.h
struc __kernel_old_timeval
    .tv_sec          resb 8
    .tv_usec         resb 8
endstruc
%define struc___kernel_old_timeval_size 16


name: __kernel_old_timespec
include_file: /usr/include/linux/time_types.h
nasm_code:
; from header /usr/include/linux/time_types.h
struc __kernel_old_timespec
    .tv_sec          resb 8
    .tv_nsec         resb 8
endstruc
%define struc___kernel_old_timespec_size 16


name: __kernel_old_itimerval
include_file: /usr/include/linux/time_types.h
nasm_code:
; from header /usr/include/linux/time_types.h
struc __kernel_old_itimerval
    .it_interval     resb 16 ; struc __kernel_old_timeval
    .it_value        resb 16 ; struc __kernel_old_timeval
endstruc
%define struc___kernel_old_itimerval_size 32


name: __kernel_sock_timeval
include_file: /usr/include/linux/time_types.h
nasm_code:
; from header /usr/include/linux/time_types.h
struc __kernel_sock_timeval
    .tv_sec          resb 8
    .tv_usec         resb 8
endstruc
%define struc___kernel_sock_timeval_size 16


name: nbd_request
include_file: /usr/include/linux/nbd.h
nasm_code:
; from header /usr/include/linux/nbd.h
struc nbd_request
    .magic           resb 4
    .type            resb 4
    .handle          resb 8 ; None
    .from            resb 8
    .len             resb 4
endstruc
%define struc_nbd_request_size 28


name: nbd_reply
include_file: /usr/include/linux/nbd.h
nasm_code:
; from header /usr/include/linux/nbd.h
struc nbd_reply
    .magic           resb 4
    .error           resb 4
    .handle          resb 8 ; None
endstruc
%define struc_nbd_reply_size 16


name: uleds_user_dev
include_file: /usr/include/linux/uleds.h
nasm_code:
; from header /usr/include/linux/uleds.h
struc uleds_user_dev
    .name            resb 64 ; None
    .max_brightness  resb 4
endstruc
%define struc_uleds_user_dev_size 68


name: hiddev_event
include_file: /usr/include/linux/hiddev.h
nasm_code:
; from header /usr/include/linux/hiddev.h
struc hiddev_event
    .hid             resb 4
    .value           resb 4
endstruc
%define struc_hiddev_event_size 8


name: hiddev_devinfo
include_file: /usr/include/linux/hiddev.h
nasm_code:
; from header /usr/include/linux/hiddev.h
struc hiddev_devinfo
    .bustype         resb 4
    .busnum          resb 4
    .devnum          resb 4
    .ifnum           resb 4
    .vendor          resb 2
    .product         resb 2
    .version         resb 2
    .num_application resb 4
endstruc
%define struc_hiddev_devinfo_size 28


name: hiddev_collection_info
include_file: /usr/include/linux/hiddev.h
nasm_code:
; from header /usr/include/linux/hiddev.h
struc hiddev_collection_info
    .index           resb 4
    .type            resb 4
    .usage           resb 4
    .level           resb 4
endstruc
%define struc_hiddev_collection_info_size 16


name: hiddev_string_descriptor
include_file: /usr/include/linux/hiddev.h
nasm_code:
; from header /usr/include/linux/hiddev.h
struc hiddev_string_descriptor
    .index           resb 4
    .value           resb 256 ; None
endstruc
%define struc_hiddev_string_descriptor_size 260


name: hiddev_report_info
include_file: /usr/include/linux/hiddev.h
nasm_code:
; from header /usr/include/linux/hiddev.h
struc hiddev_report_info
    .report_type     resb 4
    .report_id       resb 4
    .num_fields      resb 4
endstruc
%define struc_hiddev_report_info_size 12


name: hiddev_field_info
include_file: /usr/include/linux/hiddev.h
nasm_code:
; from header /usr/include/linux/hiddev.h
struc hiddev_field_info
    .report_type     resb 4
    .report_id       resb 4
    .field_index     resb 4
    .maxusage        resb 4
    .flags           resb 4
    .physical        resb 4
    .logical         resb 4
    .application     resb 4
    .logical_minimum resb 4
    .logical_maximum resb 4
    .physical_minimu resb 4
    .physical_maximu resb 4
    .unit_exponent   resb 4
    .unit            resb 4
endstruc
%define struc_hiddev_field_info_size 56


name: hiddev_usage_ref
include_file: /usr/include/linux/hiddev.h
nasm_code:
; from header /usr/include/linux/hiddev.h
struc hiddev_usage_ref
    .report_type     resb 4
    .report_id       resb 4
    .field_index     resb 4
    .usage_index     resb 4
    .usage_code      resb 4
    .value           resb 4
endstruc
%define struc_hiddev_usage_ref_size 24


name: hiddev_usage_ref_multi
include_file: /usr/include/linux/hiddev.h
nasm_code:
; from header /usr/include/linux/hiddev.h
struc hiddev_usage_ref_multi
    .uref            resb 24 ; struc hiddev_usage_ref
    .num_values      resb 4
    .values          resb 4096 ; None
endstruc
%define struc_hiddev_usage_ref_multi_size 4124


name: arpt_devaddr_info
include_file: /usr/include/linux/netfilter_arp/arp_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_arp/arp_tables.h
struc arpt_devaddr_info
    .addr            resb 16 ; None
    .mask            resb 16 ; None
endstruc
%define struc_arpt_devaddr_info_size 32


name: arpt_arp
include_file: /usr/include/linux/netfilter_arp/arp_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_arp/arp_tables.h
struc arpt_arp
    .src             resb 4 ; struc in_addr
    .tgt             resb 4 ; struc in_addr
    .smsk            resb 4 ; struc in_addr
    .tmsk            resb 4 ; struc in_addr
    .arhln           resb 1
    .arhln_mask      resb 1
    .src_devaddr     resb 32 ; struc arpt_devaddr_info
    .tgt_devaddr     resb 32 ; struc arpt_devaddr_info
    .arpop           resb 2
    .arpop_mask      resb 2
    .arhrd           resb 2
    .arhrd_mask      resb 2
    .arpro           resb 2
    .arpro_mask      resb 2
    .iniface         resb 16 ; None
    .outiface        resb 16 ; None
    .iniface_mask    resb 16 ; None
    .outiface_mask   resb 16 ; None
    .flags           resb 1
    .invflags        resb 2
endstruc
%define struc_arpt_arp_size 164


name: arpt_getinfo
include_file: /usr/include/linux/netfilter_arp/arp_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_arp/arp_tables.h
struc arpt_getinfo
    .name            resb 32 ; None
    .valid_hooks     resb 4
    .hook_entry      resb 12 ; None
    .underflow       resb 12 ; None
    .num_entries     resb 4
    .size            resb 4
endstruc
%define struc_arpt_getinfo_size 68


name: arpt_replace
include_file: /usr/include/linux/netfilter_arp/arp_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_arp/arp_tables.h
struc arpt_replace
    .name            resb 32 ; None
    .valid_hooks     resb 4
    .num_entries     resb 4
    .size            resb 4
    .hook_entry      resb 12 ; None
    .underflow       resb 12 ; None
    .num_counters    resb 4
    .counters        resb 8
    .entries         resb 0 ; None
endstruc
%define struc_arpt_replace_size 80


name: arpt_get_entries
include_file: /usr/include/linux/netfilter_arp/arp_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_arp/arp_tables.h
struc arpt_get_entries
    .name            resb 32 ; None
    .size            resb 4
    .entrytable      resb 0 ; None
endstruc
%define struc_arpt_get_entries_size 40


name: zatm_pool_info
include_file: /usr/include/linux/atm_zatm.h
nasm_code:
; from header /usr/include/linux/atm_zatm.h
struc zatm_pool_info
    .ref_count       resb 4
    .low_water       resb 4
    .high_water      resb 4
    .rqa_count       resb 4
    .rqu_count       resb 4
    .offset          resb 4
    .next_off        resb 4
    .next_cnt        resb 4
    .next_thres      resb 4
endstruc
%define struc_zatm_pool_info_size 36


name: zatm_pool_req
include_file: /usr/include/linux/atm_zatm.h
nasm_code:
; from header /usr/include/linux/atm_zatm.h
struc zatm_pool_req
    .pool_num        resb 4
    .info            resb 36 ; struc zatm_pool_info
endstruc
%define struc_zatm_pool_req_size 40


name: sonet_stats
include_file: /usr/include/linux/sonet.h
nasm_code:
; from header /usr/include/linux/sonet.h
struc sonet_stats
    .section_bip     resb 4
    .line_bip        resb 4
    .path_bip        resb 4
    .line_febe       resb 4
    .path_febe       resb 4
    .corr_hcs        resb 4
    .uncorr_hcs      resb 4
    .tx_cells        resb 4
    .rx_cells        resb 4
endstruc
%define struc_sonet_stats_size 36


name: tc_ct
include_file: /usr/include/linux/tc_act/tc_ct.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_ct.h
struc tc_ct
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_ct_size 20


name: tc_ctinfo
include_file: /usr/include/linux/tc_act/tc_ctinfo.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_ctinfo.h
struc tc_ctinfo
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_ctinfo_size 20


name: tc_gact
include_file: /usr/include/linux/tc_act/tc_gact.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_gact.h
struc tc_gact
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_gact_size 20


name: tc_gact_p
include_file: /usr/include/linux/tc_act/tc_gact.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_gact.h
struc tc_gact_p
    .ptype           resb 2
    .pval            resb 2
    .paction         resb 4
endstruc
%define struc_tc_gact_p_size 8


name: tc_csum
include_file: /usr/include/linux/tc_act/tc_csum.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_csum.h
struc tc_csum
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .update_flags    resb 4
endstruc
%define struc_tc_csum_size 24


name: tc_tunnel_key
include_file: /usr/include/linux/tc_act/tc_tunnel_key.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_tunnel_key.h
struc tc_tunnel_key
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .t_action        resb 4
endstruc
%define struc_tc_tunnel_key_size 24


name: tc_mpls
include_file: /usr/include/linux/tc_act/tc_mpls.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_mpls.h
struc tc_mpls
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .m_action        resb 4
endstruc
%define struc_tc_mpls_size 24


name: tc_act_bpf
include_file: /usr/include/linux/tc_act/tc_bpf.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_bpf.h
struc tc_act_bpf
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_act_bpf_size 20


name: tc_mirred
include_file: /usr/include/linux/tc_act/tc_mirred.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_mirred.h
struc tc_mirred
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .eaction         resb 4
    .ifindex         resb 4
endstruc
%define struc_tc_mirred_size 28


name: tc_ife
include_file: /usr/include/linux/tc_act/tc_ife.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_ife.h
struc tc_ife
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .flags           resb 2
endstruc
%define struc_tc_ife_size 24


name: tc_skbmod
include_file: /usr/include/linux/tc_act/tc_skbmod.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_skbmod.h
struc tc_skbmod
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .flags           resb 8
endstruc
%define struc_tc_skbmod_size 32


name: tc_connmark
include_file: /usr/include/linux/tc_act/tc_connmark.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_connmark.h
struc tc_connmark
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .zone            resb 2
endstruc
%define struc_tc_connmark_size 24


name: tc_vlan
include_file: /usr/include/linux/tc_act/tc_vlan.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_vlan.h
struc tc_vlan
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .v_action        resb 4
endstruc
%define struc_tc_vlan_size 24


name: tc_defact
include_file: /usr/include/linux/tc_act/tc_defact.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_defact.h
struc tc_defact
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_defact_size 20


name: tc_sample
include_file: /usr/include/linux/tc_act/tc_sample.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_sample.h
struc tc_sample
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_sample_size 20


name: tc_pedit_key
include_file: /usr/include/linux/tc_act/tc_pedit.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_pedit.h
struc tc_pedit_key
    .mask            resb 4
    .val             resb 4
    .off             resb 4
    .at              resb 4
    .offmask         resb 4
    .shift           resb 4
endstruc
%define struc_tc_pedit_key_size 24


name: tc_pedit_sel
include_file: /usr/include/linux/tc_act/tc_pedit.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_pedit.h
struc tc_pedit_sel
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .nkeys           resb 1
    .flags           resb 1
    .keys            resb 0 ; None
endstruc
%define struc_tc_pedit_sel_size 24


name: tc_gate
include_file: /usr/include/linux/tc_act/tc_gate.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_gate.h
struc tc_gate
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_gate_size 20


name: tc_skbedit
include_file: /usr/include/linux/tc_act/tc_skbedit.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_skbedit.h
struc tc_skbedit
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
endstruc
%define struc_tc_skbedit_size 20


name: tc_nat
include_file: /usr/include/linux/tc_act/tc_nat.h
nasm_code:
; from header /usr/include/linux/tc_act/tc_nat.h
struc tc_nat
    .index           resb 4
    .capab           resb 4
    .action          resb 4
    .refcnt          resb 4
    .bindcnt         resb 4
    .old_addr        resb 4
    .new_addr        resb 4
    .mask            resb 4
    .flags           resb 4
endstruc
%define struc_tc_nat_size 36


name: rand_pool_info
include_file: /usr/include/linux/random.h
nasm_code:
; from header /usr/include/linux/random.h
struc rand_pool_info
    .entropy_count   resb 4
    .buf_size        resb 4
    .buf             resb 0 ; None
endstruc
%define struc_rand_pool_info_size 8


name: fw_cdev_event_common
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_common
    .closure         resb 8
    .type            resb 4
endstruc
%define struc_fw_cdev_event_common_size 16


name: fw_cdev_event_bus_reset
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_bus_reset
    .closure         resb 8
    .type            resb 4
    .node_id         resb 4
    .local_node_id   resb 4
    .bm_node_id      resb 4
    .irm_node_id     resb 4
    .root_node_id    resb 4
    .generation      resb 4
endstruc
%define struc_fw_cdev_event_bus_reset_size 40


name: fw_cdev_event_response
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_response
    .closure         resb 8
    .type            resb 4
    .rcode           resb 4
    .length          resb 4
    .data            resb 0 ; None
endstruc
%define struc_fw_cdev_event_response_size 24


name: fw_cdev_event_request
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_request
    .closure         resb 8
    .type            resb 4
    .tcode           resb 4
    .offset          resb 8
    .handle          resb 4
    .length          resb 4
    .data            resb 0 ; None
endstruc
%define struc_fw_cdev_event_request_size 32


name: fw_cdev_event_request2
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_request2
    .closure         resb 8
    .type            resb 4
    .tcode           resb 4
    .offset          resb 8
    .source_node_id  resb 4
    .destination_nod resb 4
    .card            resb 4
    .generation      resb 4
    .handle          resb 4
    .length          resb 4
    .data            resb 0 ; None
endstruc
%define struc_fw_cdev_event_request2_size 48


name: fw_cdev_event_iso_interrupt
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_iso_interrupt
    .closure         resb 8
    .type            resb 4
    .cycle           resb 4
    .header_length   resb 4
    .header          resb 0 ; None
endstruc
%define struc_fw_cdev_event_iso_interrupt_size 24


name: fw_cdev_event_iso_interrupt_mc
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_iso_interrupt_mc
    .closure         resb 8
    .type            resb 4
    .completed       resb 4
endstruc
%define struc_fw_cdev_event_iso_interrupt_mc_size 16


name: fw_cdev_event_iso_resource
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_iso_resource
    .closure         resb 8
    .type            resb 4
    .handle          resb 4
    .channel         resb 4
    .bandwidth       resb 4
endstruc
%define struc_fw_cdev_event_iso_resource_size 24


name: fw_cdev_event_phy_packet
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_event_phy_packet
    .closure         resb 8
    .type            resb 4
    .rcode           resb 4
    .length          resb 4
    .data            resb 0 ; None
endstruc
%define struc_fw_cdev_event_phy_packet_size 24


name: fw_cdev_get_info
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_get_info
    .version         resb 4
    .rom_length      resb 4
    .rom             resb 8
    .bus_reset       resb 8
    .bus_reset_closu resb 8
    .card            resb 4
endstruc
%define struc_fw_cdev_get_info_size 40


name: fw_cdev_send_request
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_send_request
    .tcode           resb 4
    .length          resb 4
    .offset          resb 8
    .closure         resb 8
    .data            resb 8
    .generation      resb 4
endstruc
%define struc_fw_cdev_send_request_size 40


name: fw_cdev_send_response
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_send_response
    .rcode           resb 4
    .length          resb 4
    .data            resb 8
    .handle          resb 4
endstruc
%define struc_fw_cdev_send_response_size 24


name: fw_cdev_allocate
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_allocate
    .offset          resb 8
    .closure         resb 8
    .length          resb 4
    .handle          resb 4
    .region_end      resb 8
endstruc
%define struc_fw_cdev_allocate_size 32


name: fw_cdev_deallocate
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_deallocate
    .handle          resb 4
endstruc
%define struc_fw_cdev_deallocate_size 4


name: fw_cdev_initiate_bus_reset
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_initiate_bus_reset
    .type            resb 4
endstruc
%define struc_fw_cdev_initiate_bus_reset_size 4


name: fw_cdev_add_descriptor
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_add_descriptor
    .immediate       resb 4
    .key             resb 4
    .data            resb 8
    .length          resb 4
    .handle          resb 4
endstruc
%define struc_fw_cdev_add_descriptor_size 24


name: fw_cdev_remove_descriptor
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_remove_descriptor
    .handle          resb 4
endstruc
%define struc_fw_cdev_remove_descriptor_size 4


name: fw_cdev_create_iso_context
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_create_iso_context
    .type            resb 4
    .header_size     resb 4
    .channel         resb 4
    .speed           resb 4
    .closure         resb 8
    .handle          resb 4
endstruc
%define struc_fw_cdev_create_iso_context_size 32


name: fw_cdev_set_iso_channels
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_set_iso_channels
    .channels        resb 8
    .handle          resb 4
endstruc
%define struc_fw_cdev_set_iso_channels_size 16


name: fw_cdev_iso_packet
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_iso_packet
    .control         resb 4
    .header          resb 0 ; None
endstruc
%define struc_fw_cdev_iso_packet_size 4


name: fw_cdev_queue_iso
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_queue_iso
    .packets         resb 8
    .data            resb 8
    .size            resb 4
    .handle          resb 4
endstruc
%define struc_fw_cdev_queue_iso_size 24


name: fw_cdev_start_iso
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_start_iso
    .cycle           resb 4
    .sync            resb 4
    .tags            resb 4
    .handle          resb 4
endstruc
%define struc_fw_cdev_start_iso_size 16


name: fw_cdev_stop_iso
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_stop_iso
    .handle          resb 4
endstruc
%define struc_fw_cdev_stop_iso_size 4


name: fw_cdev_flush_iso
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_flush_iso
    .handle          resb 4
endstruc
%define struc_fw_cdev_flush_iso_size 4


name: fw_cdev_get_cycle_timer
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_get_cycle_timer
    .local_time      resb 8
    .cycle_timer     resb 4
endstruc
%define struc_fw_cdev_get_cycle_timer_size 16


name: fw_cdev_get_cycle_timer2
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_get_cycle_timer2
    .tv_sec          resb 8
    .tv_nsec         resb 4
    .clk_id          resb 4
    .cycle_timer     resb 4
endstruc
%define struc_fw_cdev_get_cycle_timer2_size 24


name: fw_cdev_allocate_iso_resource
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_allocate_iso_resource
    .closure         resb 8
    .channels        resb 8
    .bandwidth       resb 4
    .handle          resb 4
endstruc
%define struc_fw_cdev_allocate_iso_resource_size 24


name: fw_cdev_send_stream_packet
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_send_stream_packet
    .length          resb 4
    .tag             resb 4
    .channel         resb 4
    .sy              resb 4
    .closure         resb 8
    .data            resb 8
    .generation      resb 4
    .speed           resb 4
endstruc
%define struc_fw_cdev_send_stream_packet_size 40


name: fw_cdev_send_phy_packet
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_send_phy_packet
    .closure         resb 8
    .data            resb 8 ; None
    .generation      resb 4
endstruc
%define struc_fw_cdev_send_phy_packet_size 24


name: fw_cdev_receive_phy_packets
include_file: /usr/include/linux/firewire-cdev.h
nasm_code:
; from header /usr/include/linux/firewire-cdev.h
struc fw_cdev_receive_phy_packets
    .closure         resb 8
endstruc
%define struc_fw_cdev_receive_phy_packets_size 8


name: perf_event_query_bpf
include_file: /usr/include/linux/perf_event.h
nasm_code:
; from header /usr/include/linux/perf_event.h
struc perf_event_query_bpf
    .ids_len         resb 4
    .prog_cnt        resb 4
    .ids             resb 0 ; None
endstruc
%define struc_perf_event_query_bpf_size 8


name: perf_event_header
include_file: /usr/include/linux/perf_event.h
nasm_code:
; from header /usr/include/linux/perf_event.h
struc perf_event_header
    .type            resb 4
    .misc            resb 2
    .size            resb 2
endstruc
%define struc_perf_event_header_size 8


name: perf_ns_link_info
include_file: /usr/include/linux/perf_event.h
nasm_code:
; from header /usr/include/linux/perf_event.h
struc perf_ns_link_info
    .dev             resb 8
    .ino             resb 8
endstruc
%define struc_perf_ns_link_info_size 16


name: perf_branch_entry
include_file: /usr/include/linux/perf_event.h
nasm_code:
; from header /usr/include/linux/perf_event.h
struc perf_branch_entry
    .from            resb 8
    .to              resb 8
    .mispred         resb 8
    .predicted       resb 8
    .in_tx           resb 8
    .abort           resb 8
    .cycles          resb 8
    .type            resb 8
    .reserved        resb 8
endstruc
%define struc_perf_branch_entry_size 24


name: nfs2_fh
include_file: /usr/include/linux/nfs2.h
nasm_code:
; from header /usr/include/linux/nfs2.h
struc nfs2_fh
    .data            resb 32 ; None
endstruc
%define struc_nfs2_fh_size 32


name: nilfs_cpinfo
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_cpinfo
    .ci_flags        resb 4
    .ci_pad          resb 4
    .ci_cno          resb 8
    .ci_create       resb 8
    .ci_nblk_inc     resb 8
    .ci_inodes_count resb 8
    .ci_blocks_count resb 8
    .ci_next         resb 8
endstruc
%define struc_nilfs_cpinfo_size 56


name: nilfs_suinfo
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_suinfo
    .sui_lastmod     resb 8
    .sui_nblocks     resb 4
    .sui_flags       resb 4
endstruc
%define struc_nilfs_suinfo_size 16


name: nilfs_suinfo_update
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_suinfo_update
    .sup_segnum      resb 8
    .sup_flags       resb 4
    .sup_reserved    resb 4
    .sup_sui         resb 16 ; struc nilfs_suinfo
endstruc
%define struc_nilfs_suinfo_update_size 32


name: nilfs_cpmode
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_cpmode
    .cm_cno          resb 8
    .cm_mode         resb 4
    .cm_pad          resb 4
endstruc
%define struc_nilfs_cpmode_size 16


name: nilfs_argv
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_argv
    .v_base          resb 8
    .v_nmembs        resb 4
    .v_size          resb 2
    .v_flags         resb 2
    .v_index         resb 8
endstruc
%define struc_nilfs_argv_size 24


name: nilfs_period
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_period
    .p_start         resb 8
    .p_end           resb 8
endstruc
%define struc_nilfs_period_size 16


name: nilfs_cpstat
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_cpstat
    .cs_cno          resb 8
    .cs_ncps         resb 8
    .cs_nsss         resb 8
endstruc
%define struc_nilfs_cpstat_size 24


name: nilfs_sustat
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_sustat
    .ss_nsegs        resb 8
    .ss_ncleansegs   resb 8
    .ss_ndirtysegs   resb 8
    .ss_ctime        resb 8
    .ss_nongc_ctime  resb 8
    .ss_prot_seq     resb 8
endstruc
%define struc_nilfs_sustat_size 48


name: nilfs_vinfo
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_vinfo
    .vi_vblocknr     resb 8
    .vi_start        resb 8
    .vi_end          resb 8
    .vi_blocknr      resb 8
endstruc
%define struc_nilfs_vinfo_size 32


name: nilfs_vdesc
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_vdesc
    .vd_ino          resb 8
    .vd_cno          resb 8
    .vd_vblocknr     resb 8
    .vd_period       resb 16 ; struc nilfs_period
    .vd_blocknr      resb 8
    .vd_offset       resb 8
    .vd_flags        resb 4
    .vd_pad          resb 4
endstruc
%define struc_nilfs_vdesc_size 64


name: nilfs_bdesc
include_file: /usr/include/linux/nilfs2_api.h
nasm_code:
; from header /usr/include/linux/nilfs2_api.h
struc nilfs_bdesc
    .bd_ino          resb 8
    .bd_oblocknr     resb 8
    .bd_blocknr      resb 8
    .bd_offset       resb 8
    .bd_level        resb 4
    .bd_pad          resb 4
endstruc
%define struc_nilfs_bdesc_size 40


name: mmc_ioc_cmd
include_file: /usr/include/linux/mmc/ioctl.h
nasm_code:
; from header /usr/include/linux/mmc/ioctl.h
struc mmc_ioc_cmd
    .write_flag      resb 4
    .is_acmd         resb 4
    .opcode          resb 4
    .arg             resb 4
    .response        resb 16 ; None
    .flags           resb 4
    .blksz           resb 4
    .blocks          resb 4
    .postsleep_min_u resb 4
    .postsleep_max_u resb 4
    .data_timeout_ns resb 4
    .cmd_timeout_ms  resb 4
    .__pad           resb 4
    .data_ptr        resb 8
endstruc
%define struc_mmc_ioc_cmd_size 72


name: mmc_ioc_multi_cmd
include_file: /usr/include/linux/mmc/ioctl.h
nasm_code:
; from header /usr/include/linux/mmc/ioctl.h
struc mmc_ioc_multi_cmd
    .num_of_cmds     resb 8
    .cmds            resb 0 ; None
endstruc
%define struc_mmc_ioc_multi_cmd_size 8


name: sg_io_v4
include_file: /usr/include/linux/bsg.h
nasm_code:
; from header /usr/include/linux/bsg.h
struc sg_io_v4
    .guard           resb 4
    .protocol        resb 4
    .subprotocol     resb 4
    .request_len     resb 4
    .request         resb 8
    .request_tag     resb 8
    .request_attr    resb 4
    .request_priorit resb 4
    .request_extra   resb 4
    .max_response_le resb 4
    .response        resb 8
    .dout_iovec_coun resb 4
    .dout_xfer_len   resb 4
    .din_iovec_count resb 4
    .din_xfer_len    resb 4
    .dout_xferp      resb 8
    .din_xferp       resb 8
    .timeout         resb 4
    .flags           resb 4
    .usr_ptr         resb 8
    .spare_in        resb 4
    .driver_status   resb 4
    .transport_statu resb 4
    .device_status   resb 4
    .retry_delay     resb 4
    .info            resb 4
    .duration        resb 4
    .response_len    resb 4
    .din_resid       resb 4
    .dout_resid      resb 4
    .generated_tag   resb 8
    .spare_out       resb 4
    .padding         resb 4
endstruc
%define struc_sg_io_v4_size 160


name: elf32_rel
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf32_rel
    .r_offset        resb 4
    .r_info          resb 4
endstruc
%define struc_elf32_rel_size 8


name: elf64_rel
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf64_rel
    .r_offset        resb 8
    .r_info          resb 8
endstruc
%define struc_elf64_rel_size 16


name: elf64_rela
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf64_rela
    .r_offset        resb 8
    .r_info          resb 8
    .r_addend        resb 8
endstruc
%define struc_elf64_rela_size 24


name: elf64_sym
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf64_sym
    .st_name         resb 4
    .st_info         resb 1
    .st_other        resb 1
    .st_shndx        resb 2
    .st_value        resb 8
    .st_size         resb 8
endstruc
%define struc_elf64_sym_size 24


name: elf64_hdr
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf64_hdr
    .e_ident         resb 16 ; None
    .e_type          resb 2
    .e_machine       resb 2
    .e_version       resb 4
    .e_entry         resb 8
    .e_phoff         resb 8
    .e_shoff         resb 8
    .e_flags         resb 4
    .e_ehsize        resb 2
    .e_phentsize     resb 2
    .e_phnum         resb 2
    .e_shentsize     resb 2
    .e_shnum         resb 2
    .e_shstrndx      resb 2
endstruc
%define struc_elf64_hdr_size 64


name: elf64_phdr
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf64_phdr
    .p_type          resb 4
    .p_flags         resb 4
    .p_offset        resb 8
    .p_vaddr         resb 8
    .p_paddr         resb 8
    .p_filesz        resb 8
    .p_memsz         resb 8
    .p_align         resb 8
endstruc
%define struc_elf64_phdr_size 56


name: elf32_shdr
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf32_shdr
    .sh_name         resb 4
    .sh_type         resb 4
    .sh_flags        resb 4
    .sh_addr         resb 4
    .sh_offset       resb 4
    .sh_size         resb 4
    .sh_link         resb 4
    .sh_info         resb 4
    .sh_addralign    resb 4
    .sh_entsize      resb 4
endstruc
%define struc_elf32_shdr_size 40


name: elf64_shdr
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf64_shdr
    .sh_name         resb 4
    .sh_type         resb 4
    .sh_flags        resb 8
    .sh_addr         resb 8
    .sh_offset       resb 8
    .sh_size         resb 8
    .sh_link         resb 4
    .sh_info         resb 4
    .sh_addralign    resb 8
    .sh_entsize      resb 8
endstruc
%define struc_elf64_shdr_size 64


name: elf32_note
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf32_note
    .n_namesz        resb 4
    .n_descsz        resb 4
    .n_type          resb 4
endstruc
%define struc_elf32_note_size 12


name: elf64_note
include_file: /usr/include/linux/elf.h
nasm_code:
; from header /usr/include/linux/elf.h
struc elf64_note
    .n_namesz        resb 4
    .n_descsz        resb 4
    .n_type          resb 4
endstruc
%define struc_elf64_note_size 12


name: net_dm_drop_point
include_file: /usr/include/linux/net_dropmon.h
nasm_code:
; from header /usr/include/linux/net_dropmon.h
struc net_dm_drop_point
    .pc              resb 8 ; None
    .count           resb 4
endstruc
%define struc_net_dm_drop_point_size 12


name: net_dm_config_entry
include_file: /usr/include/linux/net_dropmon.h
nasm_code:
; from header /usr/include/linux/net_dropmon.h
struc net_dm_config_entry
    .type            resb 4
    .data            resb 8
endstruc
%define struc_net_dm_config_entry_size 16


name: net_dm_config_msg
include_file: /usr/include/linux/net_dropmon.h
nasm_code:
; from header /usr/include/linux/net_dropmon.h
struc net_dm_config_msg
    .entries         resb 4
    .options         resb 0 ; None
endstruc
%define struc_net_dm_config_msg_size 8


name: net_dm_alert_msg
include_file: /usr/include/linux/net_dropmon.h
nasm_code:
; from header /usr/include/linux/net_dropmon.h
struc net_dm_alert_msg
    .entries         resb 4
    .points          resb 0 ; None
endstruc
%define struc_net_dm_alert_msg_size 4


name: net_dm_user_msg
include_file: /usr/include/linux/net_dropmon.h
nasm_code:
; from header /usr/include/linux/net_dropmon.h
struc net_dm_user_msg
    .u               resb 8 ; union None
endstruc
%define struc_net_dm_user_msg_size 8


name: btrfs_disk_key
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_disk_key
    .objectid        resb 8
    .type            resb 1
    .offset          resb 8
endstruc
%define struc_btrfs_disk_key_size 17


name: btrfs_key
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_key
    .objectid        resb 8
    .type            resb 1
    .offset          resb 8
endstruc
%define struc_btrfs_key_size 17


name: btrfs_dev_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_dev_item
    .devid           resb 8
    .total_bytes     resb 8
    .bytes_used      resb 8
    .io_align        resb 4
    .io_width        resb 4
    .sector_size     resb 4
    .type            resb 8
    .generation      resb 8
    .start_offset    resb 8
    .dev_group       resb 4
    .seek_speed      resb 1
    .bandwidth       resb 1
    .uuid            resb 16 ; None
    .fsid            resb 16 ; None
endstruc
%define struc_btrfs_dev_item_size 98


name: btrfs_stripe
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_stripe
    .devid           resb 8
    .offset          resb 8
    .dev_uuid        resb 16 ; None
endstruc
%define struc_btrfs_stripe_size 32


name: btrfs_chunk
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_chunk
    .length          resb 8
    .owner           resb 8
    .stripe_len      resb 8
    .type            resb 8
    .io_align        resb 4
    .io_width        resb 4
    .sector_size     resb 4
    .num_stripes     resb 2
    .sub_stripes     resb 2
    .stripe          resb 32 ; struc btrfs_stripe
endstruc
%define struc_btrfs_chunk_size 80


name: btrfs_free_space_entry
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_free_space_entry
    .offset          resb 8
    .bytes           resb 8
    .type            resb 1
endstruc
%define struc_btrfs_free_space_entry_size 17


name: btrfs_free_space_header
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_free_space_header
    .location        resb 17 ; struc btrfs_disk_key
    .generation      resb 8
    .num_entries     resb 8
    .num_bitmaps     resb 8
endstruc
%define struc_btrfs_free_space_header_size 41


name: btrfs_extent_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_extent_item
    .refs            resb 8
    .generation      resb 8
    .flags           resb 8
endstruc
%define struc_btrfs_extent_item_size 24


name: btrfs_extent_item_v0
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_extent_item_v0
    .refs            resb 4
endstruc
%define struc_btrfs_extent_item_v0_size 4


name: btrfs_tree_block_info
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_tree_block_info
    .key             resb 17 ; struc btrfs_disk_key
    .level           resb 1
endstruc
%define struc_btrfs_tree_block_info_size 18


name: btrfs_extent_data_ref
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_extent_data_ref
    .root            resb 8
    .objectid        resb 8
    .offset          resb 8
    .count           resb 4
endstruc
%define struc_btrfs_extent_data_ref_size 28


name: btrfs_shared_data_ref
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_shared_data_ref
    .count           resb 4
endstruc
%define struc_btrfs_shared_data_ref_size 4


name: btrfs_extent_inline_ref
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_extent_inline_ref
    .type            resb 1
    .offset          resb 8
endstruc
%define struc_btrfs_extent_inline_ref_size 9


name: btrfs_dev_extent
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_dev_extent
    .chunk_tree      resb 8
    .chunk_objectid  resb 8
    .chunk_offset    resb 8
    .length          resb 8
    .chunk_tree_uuid resb 16 ; None
endstruc
%define struc_btrfs_dev_extent_size 48


name: btrfs_inode_ref
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_inode_ref
    .index           resb 8
    .name_len        resb 2
endstruc
%define struc_btrfs_inode_ref_size 10


name: btrfs_inode_extref
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_inode_extref
    .parent_objectid resb 8
    .index           resb 8
    .name_len        resb 2
    .name            resb 0 ; None
endstruc
%define struc_btrfs_inode_extref_size 18


name: btrfs_timespec
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_timespec
    .sec             resb 8
    .nsec            resb 4
endstruc
%define struc_btrfs_timespec_size 12


name: btrfs_inode_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_inode_item
    .generation      resb 8
    .transid         resb 8
    .size            resb 8
    .nbytes          resb 8
    .block_group     resb 8
    .nlink           resb 4
    .uid             resb 4
    .gid             resb 4
    .mode            resb 4
    .rdev            resb 8
    .flags           resb 8
    .sequence        resb 8
    .reserved        resb 32 ; None
    .atime           resb 12 ; struc btrfs_timespec
    .ctime           resb 12 ; struc btrfs_timespec
    .mtime           resb 12 ; struc btrfs_timespec
    .otime           resb 12 ; struc btrfs_timespec
endstruc
%define struc_btrfs_inode_item_size 160


name: btrfs_dir_log_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_dir_log_item
    .end             resb 8
endstruc
%define struc_btrfs_dir_log_item_size 8


name: btrfs_dir_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_dir_item
    .location        resb 17 ; struc btrfs_disk_key
    .transid         resb 8
    .data_len        resb 2
    .name_len        resb 2
    .type            resb 1
endstruc
%define struc_btrfs_dir_item_size 30


name: btrfs_root_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_root_item
    .inode           resb 160 ; struc btrfs_inode_item
    .generation      resb 8
    .root_dirid      resb 8
    .bytenr          resb 8
    .byte_limit      resb 8
    .bytes_used      resb 8
    .last_snapshot   resb 8
    .flags           resb 8
    .refs            resb 4
    .drop_progress   resb 17 ; struc btrfs_disk_key
    .drop_level      resb 1
    .level           resb 1
    .generation_v2   resb 8
    .uuid            resb 16 ; None
    .parent_uuid     resb 16 ; None
    .received_uuid   resb 16 ; None
    .ctransid        resb 8
    .otransid        resb 8
    .stransid        resb 8
    .rtransid        resb 8
    .ctime           resb 12 ; struc btrfs_timespec
    .otime           resb 12 ; struc btrfs_timespec
    .stime           resb 12 ; struc btrfs_timespec
    .rtime           resb 12 ; struc btrfs_timespec
    .reserved        resb 64 ; None
endstruc
%define struc_btrfs_root_item_size 439


name: btrfs_root_ref
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_root_ref
    .dirid           resb 8
    .sequence        resb 8
    .name_len        resb 2
endstruc
%define struc_btrfs_root_ref_size 18


name: btrfs_balance_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_balance_item
    .flags           resb 8
    .data            resb 136 ; struc btrfs_disk_balance_args
    .meta            resb 136 ; struc btrfs_disk_balance_args
    .sys             resb 136 ; struc btrfs_disk_balance_args
    .unused          resb 32 ; None
endstruc
%define struc_btrfs_balance_item_size 448


name: btrfs_file_extent_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_file_extent_item
    .generation      resb 8
    .ram_bytes       resb 8
    .compression     resb 1
    .encryption      resb 1
    .other_encoding  resb 2
    .type            resb 1
    .disk_bytenr     resb 8
    .disk_num_bytes  resb 8
    .offset          resb 8
    .num_bytes       resb 8
endstruc
%define struc_btrfs_file_extent_item_size 53


name: btrfs_csum_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_csum_item
    .csum            resb 1
endstruc
%define struc_btrfs_csum_item_size 1


name: btrfs_dev_stats_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_dev_stats_item
    .values          resb 40 ; None
endstruc
%define struc_btrfs_dev_stats_item_size 40


name: btrfs_dev_replace_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_dev_replace_item
    .src_devid       resb 8
    .cursor_left     resb 8
    .cursor_right    resb 8
    .cont_reading_fr resb 8
    .replace_state   resb 8
    .time_started    resb 8
    .time_stopped    resb 8
    .num_write_error resb 8
    .num_uncorrectab resb 8
endstruc
%define struc_btrfs_dev_replace_item_size 72


name: btrfs_block_group_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_block_group_item
    .used            resb 8
    .chunk_objectid  resb 8
    .flags           resb 8
endstruc
%define struc_btrfs_block_group_item_size 24


name: btrfs_free_space_info
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_free_space_info
    .extent_count    resb 4
    .flags           resb 4
endstruc
%define struc_btrfs_free_space_info_size 8


name: btrfs_qgroup_status_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_qgroup_status_item
    .version         resb 8
    .generation      resb 8
    .flags           resb 8
    .rescan          resb 8
endstruc
%define struc_btrfs_qgroup_status_item_size 32


name: btrfs_qgroup_info_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_qgroup_info_item
    .generation      resb 8
    .rfer            resb 8
    .rfer_cmpr       resb 8
    .excl            resb 8
    .excl_cmpr       resb 8
endstruc
%define struc_btrfs_qgroup_info_item_size 40


name: btrfs_qgroup_limit_item
include_file: /usr/include/linux/btrfs_tree.h
nasm_code:
; from header /usr/include/linux/btrfs_tree.h
struc btrfs_qgroup_limit_item
    .flags           resb 8
    .max_rfer        resb 8
    .max_excl        resb 8
    .rsv_rfer        resb 8
    .rsv_excl        resb 8
endstruc
%define struc_btrfs_qgroup_limit_item_size 40


name: ip6t_reject_info
include_file: /usr/include/linux/netfilter_ipv6/ip6t_REJECT.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_REJECT.h
struc ip6t_reject_info
    .with            resb 4
endstruc
%define struc_ip6t_reject_info_size 4


name: ip6t_npt_tginfo
include_file: /usr/include/linux/netfilter_ipv6/ip6t_NPT.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_NPT.h
struc ip6t_npt_tginfo
    .src_pfx         resb 16 ; union nf_inet_addr
    .dst_pfx         resb 16 ; union nf_inet_addr
    .src_pfx_len     resb 1
    .dst_pfx_len     resb 1
    .adjustment      resb 2
endstruc
%define struc_ip6t_npt_tginfo_size 36


name: ip6t_srh
include_file: /usr/include/linux/netfilter_ipv6/ip6t_srh.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_srh.h
struc ip6t_srh
    .next_hdr        resb 1
    .hdr_len         resb 1
    .segs_left       resb 1
    .last_entry      resb 1
    .tag             resb 2
    .mt_flags        resb 2
    .mt_invflags     resb 2
endstruc
%define struc_ip6t_srh_size 10


name: ip6t_srh1
include_file: /usr/include/linux/netfilter_ipv6/ip6t_srh.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_srh.h
struc ip6t_srh1
    .next_hdr        resb 1
    .hdr_len         resb 1
    .segs_left       resb 1
    .last_entry      resb 1
    .tag             resb 2
    .psid_addr       resb 16 ; struc in6_addr
    .nsid_addr       resb 16 ; struc in6_addr
    .lsid_addr       resb 16 ; struc in6_addr
    .psid_msk        resb 16 ; struc in6_addr
    .nsid_msk        resb 16 ; struc in6_addr
    .lsid_msk        resb 16 ; struc in6_addr
    .mt_flags        resb 2
    .mt_invflags     resb 2
endstruc
%define struc_ip6t_srh1_size 108


name: ip6t_mh
include_file: /usr/include/linux/netfilter_ipv6/ip6t_mh.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_mh.h
struc ip6t_mh
    .types           resb 2 ; None
    .invflags        resb 1
endstruc
%define struc_ip6t_mh_size 3


name: ip6t_HL_info
include_file: /usr/include/linux/netfilter_ipv6/ip6t_HL.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_HL.h
struc ip6t_HL_info
    .mode            resb 1
    .hop_limit       resb 1
endstruc
%define struc_ip6t_HL_info_size 2


name: ip6t_rt
include_file: /usr/include/linux/netfilter_ipv6/ip6t_rt.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_rt.h
struc ip6t_rt
    .rt_type         resb 4
    .segsleft        resb 8 ; None
    .hdrlen          resb 4
    .flags           resb 1
    .invflags        resb 1
    .addrs           resb 256 ; None
    .addrnr          resb 1
endstruc
%define struc_ip6t_rt_size 280


name: ip6t_ip6
include_file: /usr/include/linux/netfilter_ipv6/ip6_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6_tables.h
struc ip6t_ip6
    .src             resb 16 ; struc in6_addr
    .dst             resb 16 ; struc in6_addr
    .smsk            resb 16 ; struc in6_addr
    .dmsk            resb 16 ; struc in6_addr
    .iniface         resb 16 ; None
    .outiface        resb 16 ; None
    .iniface_mask    resb 16 ; None
    .outiface_mask   resb 16 ; None
    .proto           resb 2
    .tos             resb 1
    .flags           resb 1
    .invflags        resb 1
endstruc
%define struc_ip6t_ip6_size 136


name: ip6t_entry
include_file: /usr/include/linux/netfilter_ipv6/ip6_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6_tables.h
struc ip6t_entry
    .ipv6            resb 136 ; struc ip6t_ip6
    .nfcache         resb 4
    .target_offset   resb 2
    .next_offset     resb 2
    .comefrom        resb 4
    .counters        resb 16 ; struc xt_counters
    .elems           resb 0 ; None
endstruc
%define struc_ip6t_entry_size 168


name: ip6t_standard
include_file: /usr/include/linux/netfilter_ipv6/ip6_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6_tables.h
struc ip6t_standard
    .entry           resb 168 ; struc ip6t_entry
    .target          resb 40 ; struc xt_standard_target
endstruc
%define struc_ip6t_standard_size 208


name: ip6t_error
include_file: /usr/include/linux/netfilter_ipv6/ip6_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6_tables.h
struc ip6t_error
    .entry           resb 168 ; struc ip6t_entry
    .target          resb 64 ; struc xt_error_target
endstruc
%define struc_ip6t_error_size 232


name: ip6t_icmp
include_file: /usr/include/linux/netfilter_ipv6/ip6_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6_tables.h
struc ip6t_icmp
    .type            resb 1
    .code            resb 2 ; None
    .invflags        resb 1
endstruc
%define struc_ip6t_icmp_size 4


name: ip6t_getinfo
include_file: /usr/include/linux/netfilter_ipv6/ip6_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6_tables.h
struc ip6t_getinfo
    .name            resb 32 ; None
    .valid_hooks     resb 4
    .hook_entry      resb 20 ; None
    .underflow       resb 20 ; None
    .num_entries     resb 4
    .size            resb 4
endstruc
%define struc_ip6t_getinfo_size 84


name: ip6t_replace
include_file: /usr/include/linux/netfilter_ipv6/ip6_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6_tables.h
struc ip6t_replace
    .name            resb 32 ; None
    .valid_hooks     resb 4
    .num_entries     resb 4
    .size            resb 4
    .hook_entry      resb 20 ; None
    .underflow       resb 20 ; None
    .num_counters    resb 4
    .counters        resb 8
    .entries         resb 0 ; None
endstruc
%define struc_ip6t_replace_size 96


name: ip6t_get_entries
include_file: /usr/include/linux/netfilter_ipv6/ip6_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6_tables.h
struc ip6t_get_entries
    .name            resb 32 ; None
    .size            resb 4
    .entrytable      resb 0 ; None
endstruc
%define struc_ip6t_get_entries_size 40


name: ip6t_hl_info
include_file: /usr/include/linux/netfilter_ipv6/ip6t_hl.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_hl.h
struc ip6t_hl_info
    .mode            resb 1
    .hop_limit       resb 1
endstruc
%define struc_ip6t_hl_info_size 2


name: ip6t_ipv6header_info
include_file: /usr/include/linux/netfilter_ipv6/ip6t_ipv6header.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_ipv6header.h
struc ip6t_ipv6header_info
    .matchflags      resb 1
    .invflags        resb 1
    .modeflag        resb 1
endstruc
%define struc_ip6t_ipv6header_info_size 3


name: ip6t_log_info
include_file: /usr/include/linux/netfilter_ipv6/ip6t_LOG.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_LOG.h
struc ip6t_log_info
    .level           resb 1
    .logflags        resb 1
    .prefix          resb 30 ; None
endstruc
%define struc_ip6t_log_info_size 32


name: ip6t_ah
include_file: /usr/include/linux/netfilter_ipv6/ip6t_ah.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_ah.h
struc ip6t_ah
    .spis            resb 8 ; None
    .hdrlen          resb 4
    .hdrres          resb 1
    .invflags        resb 1
endstruc
%define struc_ip6t_ah_size 16


name: ip6t_frag
include_file: /usr/include/linux/netfilter_ipv6/ip6t_frag.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_frag.h
struc ip6t_frag
    .ids             resb 8 ; None
    .hdrlen          resb 4
    .flags           resb 1
    .invflags        resb 1
endstruc
%define struc_ip6t_frag_size 16


name: ip6t_opts
include_file: /usr/include/linux/netfilter_ipv6/ip6t_opts.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv6/ip6t_opts.h
struc ip6t_opts
    .hdrlen          resb 4
    .flags           resb 1
    .invflags        resb 1
    .opts            resb 32 ; None
    .optsnr          resb 1
endstruc
%define struc_ip6t_opts_size 40


name: open_how
include_file: /usr/include/linux/openat2.h
nasm_code:
; from header /usr/include/linux/openat2.h
struc open_how
    .flags           resb 8
    .mode            resb 8
    .resolve         resb 8
endstruc
%define struc_open_how_size 24


name: proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc proc_event
    .what            resb 4
    .cpu             resb 4
    .timestamp_ns    resb 8
    .event_data      resb 24 ; union None
endstruc
%define struc_proc_event_size 40


name: fork_proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc fork_proc_event
    .parent_pid      resb 4
    .parent_tgid     resb 4
    .child_pid       resb 4
    .child_tgid      resb 4
endstruc
%define struc_fork_proc_event_size 16


name: exec_proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc exec_proc_event
    .process_pid     resb 4
    .process_tgid    resb 4
endstruc
%define struc_exec_proc_event_size 8


name: id_proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc id_proc_event
    .process_pid     resb 4
    .process_tgid    resb 4
    .r               resb 4 ; union None
    .e               resb 4 ; union None
endstruc
%define struc_id_proc_event_size 16


name: sid_proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc sid_proc_event
    .process_pid     resb 4
    .process_tgid    resb 4
endstruc
%define struc_sid_proc_event_size 8


name: ptrace_proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc ptrace_proc_event
    .process_pid     resb 4
    .process_tgid    resb 4
    .tracer_pid      resb 4
    .tracer_tgid     resb 4
endstruc
%define struc_ptrace_proc_event_size 16


name: comm_proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc comm_proc_event
    .process_pid     resb 4
    .process_tgid    resb 4
    .comm            resb 16 ; None
endstruc
%define struc_comm_proc_event_size 24


name: coredump_proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc coredump_proc_event
    .process_pid     resb 4
    .process_tgid    resb 4
    .parent_pid      resb 4
    .parent_tgid     resb 4
endstruc
%define struc_coredump_proc_event_size 16


name: exit_proc_event
include_file: /usr/include/linux/cn_proc.h
nasm_code:
; from header /usr/include/linux/cn_proc.h
struc exit_proc_event
    .process_pid     resb 4
    .process_tgid    resb 4
    .exit_code       resb 4
    .exit_signal     resb 4
    .parent_pid      resb 4
    .parent_tgid     resb 4
endstruc
%define struc_exit_proc_event_size 24


name: sock_filter
include_file: /usr/include/linux/filter.h
nasm_code:
; from header /usr/include/linux/filter.h
struc sock_filter
    .code            resb 2
    .jt              resb 1
    .jf              resb 1
    .k               resb 4
endstruc
%define struc_sock_filter_size 8


name: sock_fprog
include_file: /usr/include/linux/filter.h
nasm_code:
; from header /usr/include/linux/filter.h
struc sock_fprog
    .len             resb 2
    .filter          resb 8
endstruc
%define struc_sock_fprog_size 16


name: iphdr
include_file: /usr/include/linux/ip.h
nasm_code:
; from header /usr/include/linux/ip.h
struc iphdr
    .ihl             resb 1
    .version         resb 1
    .tos             resb 1
    .tot_len         resb 2
    .id              resb 2
    .frag_off        resb 2
    .ttl             resb 1
    .protocol        resb 1
    .check           resb 2
    .saddr           resb 4
    .daddr           resb 4
endstruc
%define struc_iphdr_size 20


name: ip_auth_hdr
include_file: /usr/include/linux/ip.h
nasm_code:
; from header /usr/include/linux/ip.h
struc ip_auth_hdr
    .nexthdr         resb 1
    .hdrlen          resb 1
    .reserved        resb 2
    .spi             resb 4
    .seq_no          resb 4
    .auth_data       resb 0 ; None
endstruc
%define struc_ip_auth_hdr_size 12


name: ip_esp_hdr
include_file: /usr/include/linux/ip.h
nasm_code:
; from header /usr/include/linux/ip.h
struc ip_esp_hdr
    .spi             resb 4
    .seq_no          resb 4
    .enc_data        resb 0 ; None
endstruc
%define struc_ip_esp_hdr_size 8


name: ip_comp_hdr
include_file: /usr/include/linux/ip.h
nasm_code:
; from header /usr/include/linux/ip.h
struc ip_comp_hdr
    .nexthdr         resb 1
    .flags           resb 1
    .cpi             resb 2
endstruc
%define struc_ip_comp_hdr_size 4


name: ip_beet_phdr
include_file: /usr/include/linux/ip.h
nasm_code:
; from header /usr/include/linux/ip.h
struc ip_beet_phdr
    .nexthdr         resb 1
    .hdrlen          resb 1
    .padlen          resb 1
    .reserved        resb 1
endstruc
%define struc_ip_beet_phdr_size 4


name: tcmu_mailbox
include_file: /usr/include/linux/target_core_user.h
nasm_code:
; from header /usr/include/linux/target_core_user.h
struc tcmu_mailbox
    .version         resb 2
    .flags           resb 2
    .cmdr_off        resb 4
    .cmdr_size       resb 4
    .cmd_head        resb 4
    .cmd_tail        resb 4
endstruc
%define struc_tcmu_mailbox_size 128


name: tcmu_cmd_entry_hdr
include_file: /usr/include/linux/target_core_user.h
nasm_code:
; from header /usr/include/linux/target_core_user.h
struc tcmu_cmd_entry_hdr
    .len_op          resb 4
    .cmd_id          resb 2
    .kflags          resb 1
    .uflags          resb 1
endstruc
%define struc_tcmu_cmd_entry_hdr_size 8


name: tcmu_tmr_entry
include_file: /usr/include/linux/target_core_user.h
nasm_code:
; from header /usr/include/linux/target_core_user.h
struc tcmu_tmr_entry
    .hdr             resb 8 ; struc tcmu_cmd_entry_hdr
    .tmr_type        resb 1
    .__pad1          resb 1
    .__pad2          resb 2
    .cmd_cnt         resb 4
    .__pad3          resb 8
    .__pad4          resb 8
    .cmd_ids         resb 0 ; None
endstruc
%define struc_tcmu_tmr_entry_size 32


name: utimbuf
include_file: /usr/include/linux/utime.h
nasm_code:
; from header /usr/include/linux/utime.h
struc utimbuf
    .actime          resb 8
    .modtime         resb 8
endstruc
%define struc_utimbuf_size 16


name: v4l2_rect
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_rect
    .left            resb 4
    .top             resb 4
    .width           resb 4
    .height          resb 4
endstruc
%define struc_v4l2_rect_size 16


name: v4l2_fract
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_fract
    .numerator       resb 4
    .denominator     resb 4
endstruc
%define struc_v4l2_fract_size 8


name: v4l2_area
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_area
    .width           resb 4
    .height          resb 4
endstruc
%define struc_v4l2_area_size 8


name: v4l2_capability
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_capability
    .driver          resb 16 ; None
    .card            resb 32 ; None
    .bus_info        resb 32 ; None
    .version         resb 4
    .capabilities    resb 4
    .device_caps     resb 4
    .reserved        resb 12 ; None
endstruc
%define struc_v4l2_capability_size 104


name: v4l2_fmtdesc
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_fmtdesc
    .index           resb 4
    .type            resb 4
    .flags           resb 4
    .description     resb 32 ; None
    .pixelformat     resb 4
    .mbus_code       resb 4
    .reserved        resb 12 ; None
endstruc
%define struc_v4l2_fmtdesc_size 64


name: v4l2_frmsize_discrete
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_frmsize_discrete
    .width           resb 4
    .height          resb 4
endstruc
%define struc_v4l2_frmsize_discrete_size 8


name: v4l2_frmsize_stepwise
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_frmsize_stepwise
    .min_width       resb 4
    .max_width       resb 4
    .step_width      resb 4
    .min_height      resb 4
    .max_height      resb 4
    .step_height     resb 4
endstruc
%define struc_v4l2_frmsize_stepwise_size 24


name: v4l2_frmival_stepwise
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_frmival_stepwise
    .min             resb 8 ; struc v4l2_fract
    .max             resb 8 ; struc v4l2_fract
    .step            resb 8 ; struc v4l2_fract
endstruc
%define struc_v4l2_frmival_stepwise_size 24


name: v4l2_timecode
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_timecode
    .type            resb 4
    .flags           resb 4
    .frames          resb 1
    .seconds         resb 1
    .minutes         resb 1
    .hours           resb 1
    .userbits        resb 4 ; None
endstruc
%define struc_v4l2_timecode_size 16


name: v4l2_jpegcompression
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_jpegcompression
    .quality         resb 4
    .APPn            resb 4
    .APP_len         resb 4
    .APP_data        resb 60 ; None
    .COM_len         resb 4
    .COM_data        resb 60 ; None
    .jpeg_markers    resb 4
endstruc
%define struc_v4l2_jpegcompression_size 140


name: v4l2_requestbuffers
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_requestbuffers
    .count           resb 4
    .type            resb 4
    .memory          resb 4
    .capabilities    resb 4
    .reserved        resb 4 ; None
endstruc
%define struc_v4l2_requestbuffers_size 20


name: v4l2_plane
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_plane
    .bytesused       resb 4
    .length          resb 4
    .m               resb 8 ; union None
    .data_offset     resb 4
    .reserved        resb 44 ; None
endstruc
%define struc_v4l2_plane_size 64


name: v4l2_exportbuffer
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_exportbuffer
    .type            resb 4
    .index           resb 4
    .plane           resb 4
    .flags           resb 4
    .fd              resb 4
    .reserved        resb 44 ; None
endstruc
%define struc_v4l2_exportbuffer_size 64


name: v4l2_framebuffer
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_framebuffer
    .capability      resb 4
    .flags           resb 4
    .base            resb 8
    .fmt             resb 32 ; struc None
endstruc
%define struc_v4l2_framebuffer_size 48


name: v4l2_clip
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_clip
    .c               resb 16 ; struc v4l2_rect
    .next            resb 8
endstruc
%define struc_v4l2_clip_size 24


name: v4l2_window
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_window
    .w               resb 16 ; struc v4l2_rect
    .field           resb 4
    .chromakey       resb 4
    .clips           resb 8
    .clipcount       resb 4
    .bitmap          resb 8
    .global_alpha    resb 1
endstruc
%define struc_v4l2_window_size 56


name: v4l2_captureparm
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_captureparm
    .capability      resb 4
    .capturemode     resb 4
    .timeperframe    resb 8 ; struc v4l2_fract
    .extendedmode    resb 4
    .readbuffers     resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_v4l2_captureparm_size 40


name: v4l2_outputparm
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_outputparm
    .capability      resb 4
    .outputmode      resb 4
    .timeperframe    resb 8 ; struc v4l2_fract
    .extendedmode    resb 4
    .writebuffers    resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_v4l2_outputparm_size 40


name: v4l2_cropcap
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_cropcap
    .type            resb 4
    .bounds          resb 16 ; struc v4l2_rect
    .defrect         resb 16 ; struc v4l2_rect
    .pixelaspect     resb 8 ; struc v4l2_fract
endstruc
%define struc_v4l2_cropcap_size 44


name: v4l2_crop
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_crop
    .type            resb 4
    .c               resb 16 ; struc v4l2_rect
endstruc
%define struc_v4l2_crop_size 20


name: v4l2_selection
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_selection
    .type            resb 4
    .target          resb 4
    .flags           resb 4
    .r               resb 16 ; struc v4l2_rect
    .reserved        resb 36 ; None
endstruc
%define struc_v4l2_selection_size 64


name: v4l2_standard
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_standard
    .index           resb 4
    .id              resb 8
    .name            resb 24 ; None
    .frameperiod     resb 8 ; struc v4l2_fract
    .framelines      resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_v4l2_standard_size 72


name: v4l2_bt_timings
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_bt_timings
    .width           resb 4
    .height          resb 4
    .interlaced      resb 4
    .polarities      resb 4
    .pixelclock      resb 8
    .hfrontporch     resb 4
    .hsync           resb 4
    .hbackporch      resb 4
    .vfrontporch     resb 4
    .vsync           resb 4
    .vbackporch      resb 4
    .il_vfrontporch  resb 4
    .il_vsync        resb 4
    .il_vbackporch   resb 4
    .standards       resb 4
    .flags           resb 4
    .picture_aspect  resb 8 ; struc v4l2_fract
    .cea861_vic      resb 1
    .hdmi_vic        resb 1
    .reserved        resb 46 ; None
endstruc
%define struc_v4l2_bt_timings_size 124


name: v4l2_enum_dv_timings
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_enum_dv_timings
    .index           resb 4
    .pad             resb 4
    .reserved        resb 8 ; None
    .timings         resb 132 ; struc v4l2_dv_timings
endstruc
%define struc_v4l2_enum_dv_timings_size 148


name: v4l2_bt_timings_cap
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_bt_timings_cap
    .min_width       resb 4
    .max_width       resb 4
    .min_height      resb 4
    .max_height      resb 4
    .min_pixelclock  resb 8
    .max_pixelclock  resb 8
    .standards       resb 4
    .capabilities    resb 4
    .reserved        resb 64 ; None
endstruc
%define struc_v4l2_bt_timings_cap_size 104


name: v4l2_input
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_input
    .index           resb 4
    .name            resb 32 ; None
    .type            resb 4
    .audioset        resb 4
    .tuner           resb 4
    .std             resb 8
    .status          resb 4
    .capabilities    resb 4
    .reserved        resb 12 ; None
endstruc
%define struc_v4l2_input_size 80


name: v4l2_output
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_output
    .index           resb 4
    .name            resb 32 ; None
    .type            resb 4
    .audioset        resb 4
    .modulator       resb 4
    .std             resb 8
    .capabilities    resb 4
    .reserved        resb 12 ; None
endstruc
%define struc_v4l2_output_size 72


name: v4l2_control
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_control
    .id              resb 4
    .value           resb 4
endstruc
%define struc_v4l2_control_size 8


name: v4l2_queryctrl
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_queryctrl
    .id              resb 4
    .type            resb 4
    .name            resb 32 ; None
    .minimum         resb 4
    .maximum         resb 4
    .step            resb 4
    .default_value   resb 4
    .flags           resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_v4l2_queryctrl_size 68


name: v4l2_query_ext_ctrl
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_query_ext_ctrl
    .id              resb 4
    .type            resb 4
    .name            resb 32 ; None
    .minimum         resb 8
    .maximum         resb 8
    .step            resb 8
    .default_value   resb 8
    .flags           resb 4
    .elem_size       resb 4
    .elems           resb 4
    .nr_of_dims      resb 4
    .dims            resb 16 ; None
    .reserved        resb 128 ; None
endstruc
%define struc_v4l2_query_ext_ctrl_size 232


name: v4l2_tuner
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_tuner
    .index           resb 4
    .name            resb 32 ; None
    .type            resb 4
    .capability      resb 4
    .rangelow        resb 4
    .rangehigh       resb 4
    .rxsubchans      resb 4
    .audmode         resb 4
    .signal          resb 4
    .afc             resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_v4l2_tuner_size 84


name: v4l2_modulator
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_modulator
    .index           resb 4
    .name            resb 32 ; None
    .capability      resb 4
    .rangelow        resb 4
    .rangehigh       resb 4
    .txsubchans      resb 4
    .type            resb 4
    .reserved        resb 12 ; None
endstruc
%define struc_v4l2_modulator_size 68


name: v4l2_frequency
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_frequency
    .tuner           resb 4
    .type            resb 4
    .frequency       resb 4
    .reserved        resb 32 ; None
endstruc
%define struc_v4l2_frequency_size 44


name: v4l2_frequency_band
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_frequency_band
    .tuner           resb 4
    .type            resb 4
    .index           resb 4
    .capability      resb 4
    .rangelow        resb 4
    .rangehigh       resb 4
    .modulation      resb 4
    .reserved        resb 36 ; None
endstruc
%define struc_v4l2_frequency_band_size 64


name: v4l2_hw_freq_seek
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_hw_freq_seek
    .tuner           resb 4
    .type            resb 4
    .seek_upward     resb 4
    .wrap_around     resb 4
    .spacing         resb 4
    .rangelow        resb 4
    .rangehigh       resb 4
    .reserved        resb 20 ; None
endstruc
%define struc_v4l2_hw_freq_seek_size 48


name: v4l2_rds_data
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_rds_data
    .lsb             resb 1
    .msb             resb 1
    .block           resb 1
endstruc
%define struc_v4l2_rds_data_size 3


name: v4l2_audio
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_audio
    .index           resb 4
    .name            resb 32 ; None
    .capability      resb 4
    .mode            resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_v4l2_audio_size 52


name: v4l2_audioout
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_audioout
    .index           resb 4
    .name            resb 32 ; None
    .capability      resb 4
    .mode            resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_v4l2_audioout_size 52


name: v4l2_enc_idx_entry
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_enc_idx_entry
    .offset          resb 8
    .pts             resb 8
    .length          resb 4
    .flags           resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_v4l2_enc_idx_entry_size 32


name: v4l2_enc_idx
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_enc_idx
    .entries         resb 4
    .entries_cap     resb 4
    .reserved        resb 16 ; None
    .entry           resb 2048 ; None
endstruc
%define struc_v4l2_enc_idx_size 2072


name: v4l2_vbi_format
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_vbi_format
    .sampling_rate   resb 4
    .offset          resb 4
    .samples_per_lin resb 4
    .sample_format   resb 4
    .start           resb 8 ; None
    .count           resb 8 ; None
    .flags           resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_v4l2_vbi_format_size 44


name: v4l2_sliced_vbi_format
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_sliced_vbi_format
    .service_set     resb 2
    .service_lines   resb 96 ; None
    .io_size         resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_v4l2_sliced_vbi_format_size 112


name: v4l2_sliced_vbi_cap
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_sliced_vbi_cap
    .service_set     resb 2
    .service_lines   resb 96 ; None
    .type            resb 4
    .reserved        resb 12 ; None
endstruc
%define struc_v4l2_sliced_vbi_cap_size 116


name: v4l2_sliced_vbi_data
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_sliced_vbi_data
    .id              resb 4
    .field           resb 4
    .line            resb 4
    .reserved        resb 4
    .data            resb 48 ; None
endstruc
%define struc_v4l2_sliced_vbi_data_size 64


name: v4l2_mpeg_vbi_itv0_line
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_mpeg_vbi_itv0_line
    .id              resb 1
    .data            resb 42 ; None
endstruc
%define struc_v4l2_mpeg_vbi_itv0_line_size 43


name: v4l2_mpeg_vbi_itv0
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_mpeg_vbi_itv0
    .linemask        resb 8 ; None
    .line            resb 1505 ; None
endstruc
%define struc_v4l2_mpeg_vbi_itv0_size 1513


name: v4l2_mpeg_vbi_ITV0
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_mpeg_vbi_ITV0
    .line            resb 1548 ; None
endstruc
%define struc_v4l2_mpeg_vbi_ITV0_size 1548


name: v4l2_plane_pix_format
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_plane_pix_format
    .sizeimage       resb 4
    .bytesperline    resb 4
    .reserved        resb 12 ; None
endstruc
%define struc_v4l2_plane_pix_format_size 20


name: v4l2_sdr_format
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_sdr_format
    .pixelformat     resb 4
    .buffersize      resb 4
    .reserved        resb 24 ; None
endstruc
%define struc_v4l2_sdr_format_size 32


name: v4l2_meta_format
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_meta_format
    .dataformat      resb 4
    .buffersize      resb 4
endstruc
%define struc_v4l2_meta_format_size 8


name: v4l2_format
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_format
    .type            resb 4
    .fmt             resb 200 ; union None
endstruc
%define struc_v4l2_format_size 208


name: v4l2_streamparm
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_streamparm
    .type            resb 4
    .parm            resb 200 ; union None
endstruc
%define struc_v4l2_streamparm_size 204


name: v4l2_event_vsync
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_event_vsync
    .field           resb 1
endstruc
%define struc_v4l2_event_vsync_size 1


name: v4l2_event_frame_sync
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_event_frame_sync
    .frame_sequence  resb 4
endstruc
%define struc_v4l2_event_frame_sync_size 4


name: v4l2_event_src_change
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_event_src_change
    .changes         resb 4
endstruc
%define struc_v4l2_event_src_change_size 4


name: v4l2_event_motion_det
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_event_motion_det
    .flags           resb 4
    .frame_sequence  resb 4
    .region_mask     resb 4
endstruc
%define struc_v4l2_event_motion_det_size 12


name: v4l2_event
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_event
    .type            resb 4
    .u               resb 64 ; union None
    .pending         resb 4
    .sequence        resb 4
    .timestamp       resb 16 ; struc timespec
    .id              resb 4
    .reserved        resb 32 ; None
endstruc
%define struc_v4l2_event_size 136


name: v4l2_event_subscription
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_event_subscription
    .type            resb 4
    .id              resb 4
    .flags           resb 4
    .reserved        resb 20 ; None
endstruc
%define struc_v4l2_event_subscription_size 32


name: v4l2_dbg_register
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_dbg_register
    .match           resb 36 ; struc v4l2_dbg_match
    .size            resb 4
    .reg             resb 8
    .val             resb 8
endstruc
%define struc_v4l2_dbg_register_size 56


name: v4l2_dbg_chip_info
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_dbg_chip_info
    .match           resb 36 ; struc v4l2_dbg_match
    .name            resb 32 ; None
    .flags           resb 4
    .reserved        resb 128 ; None
endstruc
%define struc_v4l2_dbg_chip_info_size 200


name: v4l2_create_buffers
include_file: /usr/include/linux/videodev2.h
nasm_code:
; from header /usr/include/linux/videodev2.h
struc v4l2_create_buffers
    .index           resb 4
    .count           resb 4
    .memory          resb 4
    .format          resb 208 ; struc v4l2_format
    .capabilities    resb 4
    .reserved        resb 28 ; None
endstruc
%define struc_v4l2_create_buffers_size 256


name: sdla_mem
include_file: /usr/include/linux/sdla.h
nasm_code:
; from header /usr/include/linux/sdla.h
struc sdla_mem
    .addr            resb 4
    .len             resb 4
    .data            resb 8
endstruc
%define struc_sdla_mem_size 16


name: sdla_conf
include_file: /usr/include/linux/sdla.h
nasm_code:
; from header /usr/include/linux/sdla.h
struc sdla_conf
    .station         resb 2
    .config          resb 2
    .kbaud           resb 2
    .clocking        resb 2
    .max_frm         resb 2
    .T391            resb 2
    .T392            resb 2
    .N391            resb 2
    .N392            resb 2
    .N393            resb 2
    .CIR_fwd         resb 2
    .Bc_fwd          resb 2
    .Be_fwd          resb 2
    .CIR_bwd         resb 2
    .Bc_bwd          resb 2
    .Be_bwd          resb 2
endstruc
%define struc_sdla_conf_size 32


name: sdla_dlci_conf
include_file: /usr/include/linux/sdla.h
nasm_code:
; from header /usr/include/linux/sdla.h
struc sdla_dlci_conf
    .config          resb 2
    .CIR_fwd         resb 2
    .Bc_fwd          resb 2
    .Be_fwd          resb 2
    .CIR_bwd         resb 2
    .Bc_bwd          resb 2
    .Be_bwd          resb 2
    .Tc_fwd          resb 2
    .Tc_bwd          resb 2
    .Tf_max          resb 2
    .Tb_max          resb 2
endstruc
%define struc_sdla_dlci_conf_size 22


name: virtio_blk_config
include_file: /usr/include/linux/virtio_blk.h
nasm_code:
; from header /usr/include/linux/virtio_blk.h
struc virtio_blk_config
    .capacity        resb 8
    .size_max        resb 4
    .seg_max         resb 4
    .geometry        resb 4 ; struc virtio_blk_geometry
    .blk_size        resb 4
    .physical_block_ resb 1
    .alignment_offse resb 1
    .min_io_size     resb 2
    .opt_io_size     resb 4
    .wce             resb 1
    .unused          resb 1
    .num_queues      resb 2
    .max_discard_sec resb 4
    .max_discard_seg resb 4
    .discard_sector_ resb 4
    .max_write_zeroe resb 4
    .max_write_zeroe resb 4
    .write_zeroes_ma resb 1
    .unused1         resb 3 ; None
endstruc
%define struc_virtio_blk_config_size 60


name: virtio_blk_geometry
include_file: /usr/include/linux/virtio_blk.h
nasm_code:
; from header /usr/include/linux/virtio_blk.h
struc virtio_blk_geometry
    .cylinders       resb 2
    .heads           resb 1
    .sectors         resb 1
endstruc
%define struc_virtio_blk_geometry_size 4


name: virtio_blk_outhdr
include_file: /usr/include/linux/virtio_blk.h
nasm_code:
; from header /usr/include/linux/virtio_blk.h
struc virtio_blk_outhdr
    .type            resb 4
    .ioprio          resb 4
    .sector          resb 8
endstruc
%define struc_virtio_blk_outhdr_size 16


name: virtio_blk_discard_write_zeroes
include_file: /usr/include/linux/virtio_blk.h
nasm_code:
; from header /usr/include/linux/virtio_blk.h
struc virtio_blk_discard_write_zeroes
    .sector          resb 8
    .num_sectors     resb 4
    .flags           resb 4
endstruc
%define struc_virtio_blk_discard_write_zeroes_size 16


name: virtio_scsi_inhdr
include_file: /usr/include/linux/virtio_blk.h
nasm_code:
; from header /usr/include/linux/virtio_blk.h
struc virtio_scsi_inhdr
    .errors          resb 4
    .data_len        resb 4
    .sense_len       resb 4
    .residual        resb 4
endstruc
%define struc_virtio_scsi_inhdr_size 16


name: pkt_ctrl_command
include_file: /usr/include/linux/pktcdvd.h
nasm_code:
; from header /usr/include/linux/pktcdvd.h
struc pkt_ctrl_command
    .command         resb 4
    .dev_index       resb 4
    .dev             resb 4
    .pkt_dev         resb 4
    .num_devices     resb 4
    .padding         resb 4
endstruc
%define struc_pkt_ctrl_command_size 24


name: dlm_plock_info
include_file: /usr/include/linux/dlm_plock.h
nasm_code:
; from header /usr/include/linux/dlm_plock.h
struc dlm_plock_info
    .version         resb 12 ; None
    .optype          resb 1
    .ex              resb 1
    .wait            resb 1
    .flags           resb 1
    .pid             resb 4
    .nodeid          resb 4
    .rv              resb 4
    .fsid            resb 4
    .number          resb 8
    .start           resb 8
    .end             resb 8
    .owner           resb 8
endstruc
%define struc_dlm_plock_info_size 64


name: kvm_user_trace_setup
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_user_trace_setup
    .buf_size        resb 4
    .buf_nr          resb 4
endstruc
%define struc_kvm_user_trace_setup_size 8


name: kvm_breakpoint
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_breakpoint
    .enabled         resb 4
    .padding         resb 4
    .address         resb 8
endstruc
%define struc_kvm_breakpoint_size 16


name: kvm_debug_guest
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_debug_guest
    .enabled         resb 4
    .pad             resb 4
    .breakpoints     resb 64 ; None
    .singlestep      resb 4
endstruc
%define struc_kvm_debug_guest_size 80


name: kvm_memory_region
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_memory_region
    .slot            resb 4
    .flags           resb 4
    .guest_phys_addr resb 8
    .memory_size     resb 8
endstruc
%define struc_kvm_memory_region_size 24


name: kvm_userspace_memory_region
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_userspace_memory_region
    .slot            resb 4
    .flags           resb 4
    .guest_phys_addr resb 8
    .memory_size     resb 8
    .userspace_addr  resb 8
endstruc
%define struc_kvm_userspace_memory_region_size 32


name: kvm_irqchip
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_irqchip
    .chip_id         resb 4
    .pad             resb 4
    .chip            resb 512 ; union None
endstruc
%define struc_kvm_irqchip_size 520


name: kvm_pit_config
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_pit_config
    .flags           resb 4
    .pad             resb 60 ; None
endstruc
%define struc_kvm_pit_config_size 64


name: kvm_s390_skeys
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_skeys
    .start_gfn       resb 8
    .count           resb 8
    .skeydata_addr   resb 8
    .flags           resb 4
    .reserved        resb 36 ; None
endstruc
%define struc_kvm_s390_skeys_size 64


name: kvm_hyperv_exit
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_hyperv_exit
    .type            resb 4
    .pad1            resb 4
    .u               resb 48 ; union None
endstruc
%define struc_kvm_hyperv_exit_size 56


name: kvm_coalesced_mmio_ring
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_coalesced_mmio_ring
    .first           resb 4
    .last            resb 4
    .coalesced_mmio  resb 0 ; None
endstruc
%define struc_kvm_coalesced_mmio_ring_size 8


name: kvm_translation
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_translation
    .linear_address  resb 8
    .physical_addres resb 8
    .valid           resb 1
    .writeable       resb 1
    .usermode        resb 1
    .pad             resb 5 ; None
endstruc
%define struc_kvm_translation_size 24


name: kvm_interrupt
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_interrupt
    .irq             resb 4
endstruc
%define struc_kvm_interrupt_size 4


name: kvm_signal_mask
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_signal_mask
    .len             resb 4
    .sigset          resb 0 ; None
endstruc
%define struc_kvm_signal_mask_size 4


name: kvm_tpr_access_ctl
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_tpr_access_ctl
    .enabled         resb 4
    .flags           resb 4
    .reserved        resb 32 ; None
endstruc
%define struc_kvm_tpr_access_ctl_size 40


name: kvm_vapic_addr
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_vapic_addr
    .vapic_addr      resb 8
endstruc
%define struc_kvm_vapic_addr_size 8


name: kvm_mp_state
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_mp_state
    .mp_state        resb 4
endstruc
%define struc_kvm_mp_state_size 4


name: kvm_s390_psw
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_psw
    .mask            resb 8
    .addr            resb 8
endstruc
%define struc_kvm_s390_psw_size 16


name: kvm_s390_interrupt
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_interrupt
    .type            resb 4
    .parm            resb 4
    .parm64          resb 8
endstruc
%define struc_kvm_s390_interrupt_size 16


name: kvm_s390_io_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_io_info
    .subchannel_id   resb 2
    .subchannel_nr   resb 2
    .io_int_parm     resb 4
    .io_int_word     resb 4
endstruc
%define struc_kvm_s390_io_info_size 12


name: kvm_s390_ext_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_ext_info
    .ext_params      resb 4
    .pad             resb 4
    .ext_params2     resb 8
endstruc
%define struc_kvm_s390_ext_info_size 16


name: kvm_s390_pgm_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_pgm_info
    .trans_exc_code  resb 8
    .mon_code        resb 8
    .per_address     resb 8
    .data_exc_code   resb 4
    .code            resb 2
    .mon_class_nr    resb 2
    .per_code        resb 1
    .per_atmid       resb 1
    .exc_access_id   resb 1
    .per_access_id   resb 1
    .op_access_id    resb 1
    .flags           resb 1
    .pad             resb 2 ; None
endstruc
%define struc_kvm_s390_pgm_info_size 40


name: kvm_s390_prefix_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_prefix_info
    .address         resb 4
endstruc
%define struc_kvm_s390_prefix_info_size 4


name: kvm_s390_extcall_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_extcall_info
    .code            resb 2
endstruc
%define struc_kvm_s390_extcall_info_size 2


name: kvm_s390_emerg_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_emerg_info
    .code            resb 2
endstruc
%define struc_kvm_s390_emerg_info_size 2


name: kvm_s390_stop_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_stop_info
    .flags           resb 4
endstruc
%define struc_kvm_s390_stop_info_size 4


name: kvm_s390_mchk_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_mchk_info
    .cr14            resb 8
    .mcic            resb 8
    .failing_storage resb 8
    .ext_damage_code resb 4
    .pad             resb 4
    .fixed_logout    resb 16 ; None
endstruc
%define struc_kvm_s390_mchk_info_size 48


name: kvm_s390_irq
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_irq
    .type            resb 8
    .u               resb 64 ; union None
endstruc
%define struc_kvm_s390_irq_size 72


name: kvm_s390_irq_state
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_irq_state
    .buf             resb 8
    .flags           resb 4
    .len             resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_kvm_s390_irq_state_size 32


name: kvm_guest_debug
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_guest_debug
    .control         resb 4
    .pad             resb 4
    .arch            resb 64 ; struc kvm_guest_debug_arch
endstruc
%define struc_kvm_guest_debug_size 72


name: kvm_ioeventfd
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_ioeventfd
    .datamatch       resb 8
    .addr            resb 8
    .len             resb 4
    .fd              resb 4
    .flags           resb 4
    .pad             resb 36 ; None
endstruc
%define struc_kvm_ioeventfd_size 64


name: kvm_enable_cap
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_enable_cap
    .cap             resb 4
    .flags           resb 4
    .args            resb 32 ; None
    .pad             resb 64 ; None
endstruc
%define struc_kvm_enable_cap_size 104


name: kvm_ppc_pvinfo
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_ppc_pvinfo
    .flags           resb 4
    .hcall           resb 16 ; None
    .pad             resb 108 ; None
endstruc
%define struc_kvm_ppc_pvinfo_size 128


name: kvm_ppc_one_page_size
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_ppc_one_page_size
    .page_shift      resb 4
    .pte_enc         resb 4
endstruc
%define struc_kvm_ppc_one_page_size_size 8


name: kvm_ppc_one_seg_page_size
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_ppc_one_seg_page_size
    .page_shift      resb 4
    .slb_enc         resb 4
    .enc             resb 64 ; None
endstruc
%define struc_kvm_ppc_one_seg_page_size_size 72


name: kvm_ppc_smmu_info
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_ppc_smmu_info
    .flags           resb 8
    .slb_size        resb 4
    .data_keys       resb 2
    .instr_keys      resb 2
    .sps             resb 576 ; None
endstruc
%define struc_kvm_ppc_smmu_info_size 592


name: kvm_ppc_resize_hpt
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_ppc_resize_hpt
    .flags           resb 8
    .shift           resb 4
    .pad             resb 4
endstruc
%define struc_kvm_ppc_resize_hpt_size 16


name: kvm_irq_routing_irqchip
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_irq_routing_irqchip
    .irqchip         resb 4
    .pin             resb 4
endstruc
%define struc_kvm_irq_routing_irqchip_size 8


name: kvm_irq_routing_s390_adapter
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_irq_routing_s390_adapter
    .ind_addr        resb 8
    .summary_addr    resb 8
    .ind_offset      resb 8
    .summary_offset  resb 4
    .adapter_id      resb 4
endstruc
%define struc_kvm_irq_routing_s390_adapter_size 32


name: kvm_irq_routing_hv_sint
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_irq_routing_hv_sint
    .vcpu            resb 4
    .sint            resb 4
endstruc
%define struc_kvm_irq_routing_hv_sint_size 8


name: kvm_irq_routing_entry
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_irq_routing_entry
    .gsi             resb 4
    .type            resb 4
    .flags           resb 4
    .pad             resb 4
    .u               resb 32 ; union None
endstruc
%define struc_kvm_irq_routing_entry_size 48


name: kvm_irq_routing
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_irq_routing
    .nr              resb 4
    .flags           resb 4
    .entries         resb 0 ; None
endstruc
%define struc_kvm_irq_routing_size 8


name: kvm_x86_mce
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_x86_mce
    .status          resb 8
    .addr            resb 8
    .misc            resb 8
    .mcg_status      resb 8
    .bank            resb 1
    .pad1            resb 7 ; None
    .pad2            resb 24 ; None
endstruc
%define struc_kvm_x86_mce_size 64


name: kvm_xen_hvm_config
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_xen_hvm_config
    .flags           resb 4
    .msr             resb 4
    .blob_addr_32    resb 8
    .blob_addr_64    resb 8
    .blob_size_32    resb 1
    .blob_size_64    resb 1
    .pad2            resb 30 ; None
endstruc
%define struc_kvm_xen_hvm_config_size 56


name: kvm_irqfd
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_irqfd
    .fd              resb 4
    .gsi             resb 4
    .flags           resb 4
    .resamplefd      resb 4
    .pad             resb 16 ; None
endstruc
%define struc_kvm_irqfd_size 32


name: kvm_clock_data
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_clock_data
    .clock           resb 8
    .flags           resb 4
    .pad             resb 36 ; None
endstruc
%define struc_kvm_clock_data_size 48


name: kvm_config_tlb
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_config_tlb
    .params          resb 8
    .array           resb 8
    .mmu_type        resb 4
    .array_len       resb 4
endstruc
%define struc_kvm_config_tlb_size 24


name: kvm_dirty_tlb
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_dirty_tlb
    .bitmap          resb 8
    .num_dirty       resb 4
endstruc
%define struc_kvm_dirty_tlb_size 16


name: kvm_reg_list
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_reg_list
    .n               resb 8
    .reg             resb 0 ; None
endstruc
%define struc_kvm_reg_list_size 8


name: kvm_one_reg
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_one_reg
    .id              resb 8
    .addr            resb 8
endstruc
%define struc_kvm_one_reg_size 16


name: kvm_msi
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_msi
    .address_lo      resb 4
    .address_hi      resb 4
    .data            resb 4
    .flags           resb 4
    .devid           resb 4
    .pad             resb 12 ; None
endstruc
%define struc_kvm_msi_size 32


name: kvm_arm_device_addr
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_arm_device_addr
    .id              resb 8
    .addr            resb 8
endstruc
%define struc_kvm_arm_device_addr_size 16


name: kvm_create_device
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_create_device
    .type            resb 4
    .fd              resb 4
    .flags           resb 4
endstruc
%define struc_kvm_create_device_size 12


name: kvm_device_attr
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_device_attr
    .flags           resb 4
    .group           resb 4
    .attr            resb 8
    .addr            resb 8
endstruc
%define struc_kvm_device_attr_size 24


name: kvm_vfio_spapr_tce
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_vfio_spapr_tce
    .groupfd         resb 4
    .tablefd         resb 4
endstruc
%define struc_kvm_vfio_spapr_tce_size 8


name: kvm_s390_ucas_mapping
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_ucas_mapping
    .user_addr       resb 8
    .vcpu_addr       resb 8
    .length          resb 8
endstruc
%define struc_kvm_s390_ucas_mapping_size 24


name: kvm_enc_region
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_enc_region
    .addr            resb 8
    .size            resb 8
endstruc
%define struc_kvm_enc_region_size 16


name: kvm_s390_pv_sec_parm
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_pv_sec_parm
    .origin          resb 8
    .length          resb 8
endstruc
%define struc_kvm_s390_pv_sec_parm_size 16


name: kvm_s390_pv_unp
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_s390_pv_unp
    .addr            resb 8
    .size            resb 8
    .tweak           resb 8
endstruc
%define struc_kvm_s390_pv_unp_size 24


name: kvm_pv_cmd
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_pv_cmd
    .cmd             resb 4
    .rc              resb 2
    .rrc             resb 2
    .data            resb 8
    .flags           resb 4
    .reserved        resb 12 ; None
endstruc
%define struc_kvm_pv_cmd_size 32


name: kvm_sev_cmd
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_sev_cmd
    .id              resb 4
    .data            resb 8
    .error           resb 4
    .sev_fd          resb 4
endstruc
%define struc_kvm_sev_cmd_size 24


name: kvm_sev_launch_start
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_sev_launch_start
    .handle          resb 4
    .policy          resb 4
    .dh_uaddr        resb 8
    .dh_len          resb 4
    .session_uaddr   resb 8
    .session_len     resb 4
endstruc
%define struc_kvm_sev_launch_start_size 40


name: kvm_sev_launch_update_data
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_sev_launch_update_data
    .uaddr           resb 8
    .len             resb 4
endstruc
%define struc_kvm_sev_launch_update_data_size 16


name: kvm_sev_launch_secret
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_sev_launch_secret
    .hdr_uaddr       resb 8
    .hdr_len         resb 4
    .guest_uaddr     resb 8
    .guest_len       resb 4
    .trans_uaddr     resb 8
    .trans_len       resb 4
endstruc
%define struc_kvm_sev_launch_secret_size 48


name: kvm_sev_launch_measure
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_sev_launch_measure
    .uaddr           resb 8
    .len             resb 4
endstruc
%define struc_kvm_sev_launch_measure_size 16


name: kvm_sev_guest_status
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_sev_guest_status
    .handle          resb 4
    .policy          resb 4
    .state           resb 4
endstruc
%define struc_kvm_sev_guest_status_size 12


name: kvm_sev_dbg
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_sev_dbg
    .src_uaddr       resb 8
    .dst_uaddr       resb 8
    .len             resb 4
endstruc
%define struc_kvm_sev_dbg_size 24


name: kvm_assigned_msix_nr
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_assigned_msix_nr
    .assigned_dev_id resb 4
    .entry_nr        resb 2
    .padding         resb 2
endstruc
%define struc_kvm_assigned_msix_nr_size 8


name: kvm_assigned_msix_entry
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_assigned_msix_entry
    .assigned_dev_id resb 4
    .gsi             resb 4
    .entry           resb 2
    .padding         resb 6 ; None
endstruc
%define struc_kvm_assigned_msix_entry_size 16


name: kvm_hyperv_eventfd
include_file: /usr/include/linux/kvm.h
nasm_code:
; from header /usr/include/linux/kvm.h
struc kvm_hyperv_eventfd
    .conn_id         resb 4
    .fd              resb 4
    .flags           resb 4
    .padding         resb 12 ; None
endstruc
%define struc_kvm_hyperv_eventfd_size 24


name: tc_stats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_stats
    .bytes           resb 8
    .packets         resb 4
    .drops           resb 4
    .overlimits      resb 4
    .bps             resb 4
    .pps             resb 4
    .qlen            resb 4
    .backlog         resb 4
endstruc
%define struc_tc_stats_size 40


name: tc_estimator
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_estimator
    .interval        resb 1
    .ewma_log        resb 1
endstruc
%define struc_tc_estimator_size 2


name: tc_ratespec
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_ratespec
    .cell_log        resb 1
    .linklayer       resb 1
    .overhead        resb 2
    .cell_align      resb 2
    .mpu             resb 2
    .rate            resb 4
endstruc
%define struc_tc_ratespec_size 12


name: tc_sizespec
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_sizespec
    .cell_log        resb 1
    .size_log        resb 1
    .cell_align      resb 2
    .overhead        resb 4
    .linklayer       resb 4
    .mpu             resb 4
    .mtu             resb 4
    .tsize           resb 4
endstruc
%define struc_tc_sizespec_size 24


name: tc_fifo_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_fifo_qopt
    .limit           resb 4
endstruc
%define struc_tc_fifo_qopt_size 4


name: tc_skbprio_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_skbprio_qopt
    .limit           resb 4
endstruc
%define struc_tc_skbprio_qopt_size 4


name: tc_prio_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_prio_qopt
    .bands           resb 4
    .priomap         resb 16 ; None
endstruc
%define struc_tc_prio_qopt_size 20


name: tc_multiq_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_multiq_qopt
    .bands           resb 2
    .max_bands       resb 2
endstruc
%define struc_tc_multiq_qopt_size 4


name: tc_plug_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_plug_qopt
    .action          resb 4
    .limit           resb 4
endstruc
%define struc_tc_plug_qopt_size 8


name: tc_tbf_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_tbf_qopt
    .rate            resb 12 ; struc tc_ratespec
    .peakrate        resb 12 ; struc tc_ratespec
    .limit           resb 4
    .buffer          resb 4
    .mtu             resb 4
endstruc
%define struc_tc_tbf_qopt_size 36


name: tc_sfq_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_sfq_qopt
    .quantum         resb 4
    .perturb_period  resb 4
    .limit           resb 4
    .divisor         resb 4
    .flows           resb 4
endstruc
%define struc_tc_sfq_qopt_size 20


name: tc_sfqred_stats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_sfqred_stats
    .prob_drop       resb 4
    .forced_drop     resb 4
    .prob_mark       resb 4
    .forced_mark     resb 4
    .prob_mark_head  resb 4
    .forced_mark_hea resb 4
endstruc
%define struc_tc_sfqred_stats_size 24


name: tc_sfq_qopt_v1
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_sfq_qopt_v1
    .v0              resb 20 ; struc tc_sfq_qopt
    .depth           resb 4
    .headdrop        resb 4
    .limit           resb 4
    .qth_min         resb 4
    .qth_max         resb 4
    .Wlog            resb 1
    .Plog            resb 1
    .Scell_log       resb 1
    .flags           resb 1
    .max_P           resb 4
    .stats           resb 24 ; struc tc_sfqred_stats
endstruc
%define struc_tc_sfq_qopt_v1_size 72


name: tc_sfq_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_sfq_xstats
    .allot           resb 4
endstruc
%define struc_tc_sfq_xstats_size 4


name: tc_red_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_red_qopt
    .limit           resb 4
    .qth_min         resb 4
    .qth_max         resb 4
    .Wlog            resb 1
    .Plog            resb 1
    .Scell_log       resb 1
    .flags           resb 1
endstruc
%define struc_tc_red_qopt_size 16


name: tc_red_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_red_xstats
    .early           resb 4
    .pdrop           resb 4
    .other           resb 4
    .marked          resb 4
endstruc
%define struc_tc_red_xstats_size 16


name: tc_gred_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_gred_qopt
    .limit           resb 4
    .qth_min         resb 4
    .qth_max         resb 4
    .DP              resb 4
    .backlog         resb 4
    .qave            resb 4
    .forced          resb 4
    .early           resb 4
    .other           resb 4
    .pdrop           resb 4
    .Wlog            resb 1
    .Plog            resb 1
    .Scell_log       resb 1
    .prio            resb 1
    .packets         resb 4
    .bytesin         resb 4
endstruc
%define struc_tc_gred_qopt_size 52


name: tc_gred_sopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_gred_sopt
    .DPs             resb 4
    .def_DP          resb 4
    .grio            resb 1
    .flags           resb 1
    .pad1            resb 2
endstruc
%define struc_tc_gred_sopt_size 12


name: tc_choke_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_choke_qopt
    .limit           resb 4
    .qth_min         resb 4
    .qth_max         resb 4
    .Wlog            resb 1
    .Plog            resb 1
    .Scell_log       resb 1
    .flags           resb 1
endstruc
%define struc_tc_choke_qopt_size 16


name: tc_choke_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_choke_xstats
    .early           resb 4
    .pdrop           resb 4
    .other           resb 4
    .marked          resb 4
    .matched         resb 4
endstruc
%define struc_tc_choke_xstats_size 20


name: tc_htb_opt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_htb_opt
    .rate            resb 12 ; struc tc_ratespec
    .ceil            resb 12 ; struc tc_ratespec
    .buffer          resb 4
    .cbuffer         resb 4
    .quantum         resb 4
    .level           resb 4
    .prio            resb 4
endstruc
%define struc_tc_htb_opt_size 44


name: tc_htb_glob
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_htb_glob
    .version         resb 4
    .rate2quantum    resb 4
    .defcls          resb 4
    .debug           resb 4
    .direct_pkts     resb 4
endstruc
%define struc_tc_htb_glob_size 20


name: tc_htb_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_htb_xstats
    .lends           resb 4
    .borrows         resb 4
    .giants          resb 4
    .tokens          resb 4
    .ctokens         resb 4
endstruc
%define struc_tc_htb_xstats_size 20


name: tc_hfsc_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_hfsc_qopt
    .defcls          resb 2
endstruc
%define struc_tc_hfsc_qopt_size 2


name: tc_service_curve
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_service_curve
    .m1              resb 4
    .d               resb 4
    .m2              resb 4
endstruc
%define struc_tc_service_curve_size 12


name: tc_hfsc_stats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_hfsc_stats
    .work            resb 8
    .rtwork          resb 8
    .period          resb 4
    .level           resb 4
endstruc
%define struc_tc_hfsc_stats_size 24


name: tc_cbq_lssopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_cbq_lssopt
    .change          resb 1
    .flags           resb 1
    .ewma_log        resb 1
    .level           resb 1
    .maxidle         resb 4
    .minidle         resb 4
    .offtime         resb 4
    .avpkt           resb 4
endstruc
%define struc_tc_cbq_lssopt_size 20


name: tc_cbq_wrropt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_cbq_wrropt
    .flags           resb 1
    .priority        resb 1
    .cpriority       resb 1
    .__reserved      resb 1
    .allot           resb 4
    .weight          resb 4
endstruc
%define struc_tc_cbq_wrropt_size 12


name: tc_cbq_ovl
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_cbq_ovl
    .strategy        resb 1
    .priority2       resb 1
    .pad             resb 2
    .penalty         resb 4
endstruc
%define struc_tc_cbq_ovl_size 8


name: tc_cbq_police
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_cbq_police
    .police          resb 1
    .__res1          resb 1
    .__res2          resb 2
endstruc
%define struc_tc_cbq_police_size 4


name: tc_cbq_fopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_cbq_fopt
    .split           resb 4
    .defmap          resb 4
    .defchange       resb 4
endstruc
%define struc_tc_cbq_fopt_size 12


name: tc_cbq_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_cbq_xstats
    .borrows         resb 4
    .overactions     resb 4
    .avgidle         resb 4
    .undertime       resb 4
endstruc
%define struc_tc_cbq_xstats_size 16


name: tc_netem_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_netem_qopt
    .latency         resb 4
    .limit           resb 4
    .loss            resb 4
    .gap             resb 4
    .duplicate       resb 4
    .jitter          resb 4
endstruc
%define struc_tc_netem_qopt_size 24


name: tc_netem_corr
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_netem_corr
    .delay_corr      resb 4
    .loss_corr       resb 4
    .dup_corr        resb 4
endstruc
%define struc_tc_netem_corr_size 12


name: tc_netem_reorder
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_netem_reorder
    .probability     resb 4
    .correlation     resb 4
endstruc
%define struc_tc_netem_reorder_size 8


name: tc_netem_corrupt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_netem_corrupt
    .probability     resb 4
    .correlation     resb 4
endstruc
%define struc_tc_netem_corrupt_size 8


name: tc_netem_rate
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_netem_rate
    .rate            resb 4
    .packet_overhead resb 4
    .cell_size       resb 4
    .cell_overhead   resb 4
endstruc
%define struc_tc_netem_rate_size 16


name: tc_netem_slot
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_netem_slot
    .min_delay       resb 8
    .max_delay       resb 8
    .max_packets     resb 4
    .max_bytes       resb 4
    .dist_delay      resb 8
    .dist_jitter     resb 8
endstruc
%define struc_tc_netem_slot_size 40


name: tc_netem_gimodel
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_netem_gimodel
    .p13             resb 4
    .p31             resb 4
    .p32             resb 4
    .p14             resb 4
    .p23             resb 4
endstruc
%define struc_tc_netem_gimodel_size 20


name: tc_netem_gemodel
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_netem_gemodel
    .p               resb 4
    .r               resb 4
    .h               resb 4
    .k1              resb 4
endstruc
%define struc_tc_netem_gemodel_size 16


name: tc_drr_stats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_drr_stats
    .deficit         resb 4
endstruc
%define struc_tc_drr_stats_size 4


name: tc_mqprio_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_mqprio_qopt
    .num_tc          resb 1
    .prio_tc_map     resb 16 ; None
    .hw              resb 1
    .count           resb 32 ; None
    .offset          resb 32 ; None
endstruc
%define struc_tc_mqprio_qopt_size 82


name: tc_sfb_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_sfb_qopt
    .rehash_interval resb 4
    .warmup_time     resb 4
    .max             resb 4
    .bin_size        resb 4
    .increment       resb 4
    .decrement       resb 4
    .limit           resb 4
    .penalty_rate    resb 4
    .penalty_burst   resb 4
endstruc
%define struc_tc_sfb_qopt_size 36


name: tc_sfb_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_sfb_xstats
    .earlydrop       resb 4
    .penaltydrop     resb 4
    .bucketdrop      resb 4
    .queuedrop       resb 4
    .childdrop       resb 4
    .marked          resb 4
    .maxqlen         resb 4
    .maxprob         resb 4
    .avgprob         resb 4
endstruc
%define struc_tc_sfb_xstats_size 36


name: tc_qfq_stats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_qfq_stats
    .weight          resb 4
    .lmax            resb 4
endstruc
%define struc_tc_qfq_stats_size 8


name: tc_codel_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_codel_xstats
    .maxpacket       resb 4
    .count           resb 4
    .lastcount       resb 4
    .ldelay          resb 4
    .drop_next       resb 4
    .drop_overlimit  resb 4
    .ecn_mark        resb 4
    .dropping        resb 4
    .ce_mark         resb 4
endstruc
%define struc_tc_codel_xstats_size 36


name: tc_fq_codel_qd_stats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_fq_codel_qd_stats
    .maxpacket       resb 4
    .drop_overlimit  resb 4
    .ecn_mark        resb 4
    .new_flow_count  resb 4
    .new_flows_len   resb 4
    .old_flows_len   resb 4
    .ce_mark         resb 4
    .memory_usage    resb 4
    .drop_overmemory resb 4
endstruc
%define struc_tc_fq_codel_qd_stats_size 36


name: tc_fq_codel_cl_stats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_fq_codel_cl_stats
    .deficit         resb 4
    .ldelay          resb 4
    .count           resb 4
    .lastcount       resb 4
    .dropping        resb 4
    .drop_next       resb 4
endstruc
%define struc_tc_fq_codel_cl_stats_size 24


name: tc_fq_qd_stats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_fq_qd_stats
    .gc_flows        resb 8
    .highprio_packet resb 8
    .tcp_retrans     resb 8
    .throttled       resb 8
    .flows_plimit    resb 8
    .pkts_too_long   resb 8
    .allocation_erro resb 8
    .time_next_delay resb 8
    .flows           resb 4
    .inactive_flows  resb 4
    .throttled_flows resb 4
    .unthrottle_late resb 4
    .ce_mark         resb 8
    .horizon_drops   resb 8
    .horizon_caps    resb 8
endstruc
%define struc_tc_fq_qd_stats_size 104


name: tc_hhf_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_hhf_xstats
    .drop_overlimit  resb 4
    .hh_overlimit    resb 4
    .hh_tot_count    resb 4
    .hh_cur_count    resb 4
endstruc
%define struc_tc_hhf_xstats_size 16


name: tc_pie_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_pie_xstats
    .prob            resb 8
    .delay           resb 4
    .avg_dq_rate     resb 4
    .dq_rate_estimat resb 4
    .packets_in      resb 4
    .dropped         resb 4
    .overlimit       resb 4
    .maxq            resb 4
    .ecn_mark        resb 4
endstruc
%define struc_tc_pie_xstats_size 40


name: tc_fq_pie_xstats
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_fq_pie_xstats
    .packets_in      resb 4
    .dropped         resb 4
    .overlimit       resb 4
    .overmemory      resb 4
    .ecn_mark        resb 4
    .new_flow_count  resb 4
    .new_flows_len   resb 4
    .old_flows_len   resb 4
    .memory_usage    resb 4
endstruc
%define struc_tc_fq_pie_xstats_size 36


name: tc_cbs_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_cbs_qopt
    .offload         resb 1
    ._pad            resb 3 ; None
    .hicredit        resb 4
    .locredit        resb 4
    .idleslope       resb 4
    .sendslope       resb 4
endstruc
%define struc_tc_cbs_qopt_size 20


name: tc_etf_qopt
include_file: /usr/include/linux/pkt_sched.h
nasm_code:
; from header /usr/include/linux/pkt_sched.h
struc tc_etf_qopt
    .delta           resb 4
    .clockid         resb 4
    .flags           resb 4
endstruc
%define struc_tc_etf_qopt_size 12


name: atmarp_ctrl
include_file: /usr/include/linux/atmarp.h
nasm_code:
; from header /usr/include/linux/atmarp.h
struc atmarp_ctrl
    .type            resb 4
    .itf_num         resb 4
    .ip              resb 4
endstruc
%define struc_atmarp_ctrl_size 12


name: loop_info
include_file: /usr/include/linux/loop.h
nasm_code:
; from header /usr/include/linux/loop.h
struc loop_info
    .lo_number       resb 4
    .lo_device       resb 8
    .lo_inode        resb 8
    .lo_rdevice      resb 8
    .lo_offset       resb 4
    .lo_encrypt_type resb 4
    .lo_encrypt_key_ resb 4
    .lo_flags        resb 4
    .lo_name         resb 64 ; None
    .lo_encrypt_key  resb 32 ; None
    .lo_init         resb 16 ; None
    .reserved        resb 4 ; None
endstruc
%define struc_loop_info_size 168


name: loop_info64
include_file: /usr/include/linux/loop.h
nasm_code:
; from header /usr/include/linux/loop.h
struc loop_info64
    .lo_device       resb 8
    .lo_inode        resb 8
    .lo_rdevice      resb 8
    .lo_offset       resb 8
    .lo_sizelimit    resb 8
    .lo_number       resb 4
    .lo_encrypt_type resb 4
    .lo_encrypt_key_ resb 4
    .lo_flags        resb 4
    .lo_file_name    resb 64 ; None
    .lo_crypt_name   resb 64 ; None
    .lo_encrypt_key  resb 32 ; None
    .lo_init         resb 16 ; None
endstruc
%define struc_loop_info64_size 232


name: loop_config
include_file: /usr/include/linux/loop.h
nasm_code:
; from header /usr/include/linux/loop.h
struc loop_config
    .fd              resb 4
    .block_size      resb 4
    .info            resb 232 ; struc loop_info64
    .__reserved      resb 64 ; None
endstruc
%define struc_loop_config_size 304


name: dvd_layer
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_layer
    .book_version    resb 1
    .book_type       resb 1
    .min_rate        resb 1
    .disc_size       resb 1
    .layer_type      resb 1
    .track_path      resb 1
    .nlayers         resb 1
    .track_density   resb 1
    .linear_density  resb 1
    .bca             resb 1
    .start_sector    resb 4
    .end_sector      resb 4
    .end_sector_l0   resb 4
endstruc
%define struc_dvd_layer_size 20


name: dvd_physical
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_physical
    .type            resb 1
    .layer_num       resb 1
    .layer           resb 80 ; None
endstruc
%define struc_dvd_physical_size 84


name: dvd_copyright
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_copyright
    .type            resb 1
    .layer_num       resb 1
    .cpst            resb 1
    .rmi             resb 1
endstruc
%define struc_dvd_copyright_size 4


name: dvd_disckey
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_disckey
    .type            resb 1
    .agid            resb 4
    .value           resb 2048 ; None
endstruc
%define struc_dvd_disckey_size 2052


name: dvd_bca
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_bca
    .type            resb 1
    .len             resb 4
    .value           resb 188 ; None
endstruc
%define struc_dvd_bca_size 196


name: dvd_manufact
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_manufact
    .type            resb 1
    .layer_num       resb 1
    .len             resb 4
    .value           resb 2048 ; None
endstruc
%define struc_dvd_manufact_size 2056


name: dvd_lu_send_agid
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_lu_send_agid
    .type            resb 1
    .agid            resb 4
endstruc
%define struc_dvd_lu_send_agid_size 4


name: dvd_host_send_challenge
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_host_send_challenge
    .type            resb 1
    .agid            resb 4
    .chal            resb 10 ; dvd_challenge
endstruc
%define struc_dvd_host_send_challenge_size 12


name: dvd_send_key
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_send_key
    .type            resb 1
    .agid            resb 4
    .key             resb 5 ; dvd_key
endstruc
%define struc_dvd_send_key_size 8


name: dvd_lu_send_challenge
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_lu_send_challenge
    .type            resb 1
    .agid            resb 4
    .chal            resb 10 ; dvd_challenge
endstruc
%define struc_dvd_lu_send_challenge_size 12


name: dvd_lu_send_title_key
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_lu_send_title_key
    .type            resb 1
    .agid            resb 4
    .title_key       resb 5 ; dvd_key
    .lba             resb 4
    .cpm             resb 4
    .cp_sec          resb 4
    .cgms            resb 4
endstruc
%define struc_dvd_lu_send_title_key_size 16


name: dvd_lu_send_asf
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_lu_send_asf
    .type            resb 1
    .agid            resb 4
    .asf             resb 4
endstruc
%define struc_dvd_lu_send_asf_size 4


name: dvd_host_send_rpcstate
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_host_send_rpcstate
    .type            resb 1
    .pdrc            resb 1
endstruc
%define struc_dvd_host_send_rpcstate_size 2


name: dvd_lu_send_rpcstate
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc dvd_lu_send_rpcstate
    .type            resb 1
    .vra             resb 1
    .ucca            resb 1
    .region_mask     resb 1
    .rpc_scheme      resb 1
endstruc
%define struc_dvd_lu_send_rpcstate_size 3


name: request_sense
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc request_sense
    .error_code      resb 1
    .valid           resb 1
    .segment_number  resb 1
    .sense_key       resb 1
    .reserved2       resb 1
    .ili             resb 1
    .reserved1       resb 1
    .information     resb 4 ; None
    .add_sense_len   resb 1
    .command_info    resb 4 ; None
    .asc             resb 1
    .ascq            resb 1
    .fruc            resb 1
    .sks             resb 3 ; None
    .asb             resb 46 ; None
endstruc
%define struc_request_sense_size 64


name: mrw_feature_desc
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc mrw_feature_desc
    .feature_code    resb 2
    .curr            resb 1
    .persistent      resb 1
    .feature_version resb 1
    .reserved1       resb 1
    .add_len         resb 1
    .write           resb 1
    .reserved2       resb 1
    .reserved3       resb 1
    .reserved4       resb 1
    .reserved5       resb 1
endstruc
%define struc_mrw_feature_desc_size 8


name: rwrt_feature_desc
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc rwrt_feature_desc
    .feature_code    resb 2
    .curr            resb 1
    .persistent      resb 1
    .feature_version resb 1
    .reserved1       resb 1
    .add_len         resb 1
    .last_lba        resb 4
    .block_size      resb 4
    .blocking        resb 2
    .page_present    resb 1
    .reserved2       resb 1
    .reserved3       resb 1
endstruc
%define struc_rwrt_feature_desc_size 16


name: feature_header
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc feature_header
    .data_len        resb 4
    .reserved1       resb 1
    .reserved2       resb 1
    .curr_profile    resb 2
endstruc
%define struc_feature_header_size 8


name: mode_page_header
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc mode_page_header
    .mode_data_lengt resb 2
    .medium_type     resb 1
    .reserved1       resb 1
    .reserved2       resb 1
    .reserved3       resb 1
    .desc_length     resb 2
endstruc
%define struc_mode_page_header_size 8


name: rm_feature_desc
include_file: /usr/include/linux/cdrom.h
nasm_code:
; from header /usr/include/linux/cdrom.h
struc rm_feature_desc
    .feature_code    resb 2
    .curr            resb 1
    .persistent      resb 1
    .feature_version resb 1
    .reserved1       resb 1
    .add_len         resb 1
    .lock            resb 1
    .dbml            resb 1
    .pvnt_jmpr       resb 1
    .eject           resb 1
    .load            resb 1
    .mech_type       resb 1
    .reserved2       resb 1
    .reserved3       resb 1
    .reserved4       resb 1
endstruc
%define struc_rm_feature_desc_size 8


name: floppy_struct
include_file: /usr/include/linux/fd.h
nasm_code:
; from header /usr/include/linux/fd.h
struc floppy_struct
    .size            resb 4
    .sect            resb 4
    .head            resb 4
    .track           resb 4
    .stretch         resb 4
    .gap             resb 1
    .rate            resb 1
    .spec1           resb 1
    .fmt_gap         resb 1
    .name            resb 8
endstruc
%define struc_floppy_struct_size 32


name: format_descr
include_file: /usr/include/linux/fd.h
nasm_code:
; from header /usr/include/linux/fd.h
struc format_descr
    .device          resb 4
    .head            resb 4
    .track           resb 4
endstruc
%define struc_format_descr_size 12


name: floppy_max_errors
include_file: /usr/include/linux/fd.h
nasm_code:
; from header /usr/include/linux/fd.h
struc floppy_max_errors
    .abort           resb 4
    .read_track      resb 4
    .reset           resb 4
    .recal           resb 4
    .reporting       resb 4
endstruc
%define struc_floppy_max_errors_size 20


name: floppy_drive_params
include_file: /usr/include/linux/fd.h
nasm_code:
; from header /usr/include/linux/fd.h
struc floppy_drive_params
    .cmos            resb 1
    .max_dtr         resb 8
    .hlt             resb 8
    .hut             resb 8
    .srt             resb 8
    .spinup          resb 8
    .spindown        resb 8
    .spindown_offset resb 1
    .select_delay    resb 1
    .rps             resb 1
    .tracks          resb 1
    .timeout         resb 8
    .interleave_sect resb 1
    .max_errors      resb 20 ; struc floppy_max_errors
    .flags           resb 1
    .read_track      resb 1
    .autodetect      resb 16 ; None
    .checkfreq       resb 4
    .native_format   resb 4
endstruc
%define struc_floppy_drive_params_size 128


name: floppy_drive_struct
include_file: /usr/include/linux/fd.h
nasm_code:
; from header /usr/include/linux/fd.h
struc floppy_drive_struct
    .flags           resb 8
    .spinup_date     resb 8
    .select_date     resb 8
    .first_read_date resb 8
    .probed_format   resb 2
    .track           resb 2
    .maxblock        resb 2
    .maxtrack        resb 2
    .generation      resb 4
    .keep_data       resb 4
    .fd_ref          resb 4
    .fd_device       resb 4
    .last_checked    resb 8
    .dmabuf          resb 8
    .bufblocks       resb 4
endstruc
%define struc_floppy_drive_struct_size 80


name: floppy_fdc_state
include_file: /usr/include/linux/fd.h
nasm_code:
; from header /usr/include/linux/fd.h
struc floppy_fdc_state
    .spec1           resb 4
    .spec2           resb 4
    .dtr             resb 4
    .version         resb 1
    .dor             resb 1
    .address         resb 8
    .rawcmd          resb 4
    .reset           resb 4
    .need_configure  resb 4
    .perp_mode       resb 4
    .has_fifo        resb 4
    .driver_version  resb 4
    .track           resb 4 ; None
endstruc
%define struc_floppy_fdc_state_size 40


name: floppy_write_errors
include_file: /usr/include/linux/fd.h
nasm_code:
; from header /usr/include/linux/fd.h
struc floppy_write_errors
    .write_errors    resb 4
    .first_error_sec resb 8
    .first_error_gen resb 4
    .last_error_sect resb 8
    .last_error_gene resb 4
    .badness         resb 4
endstruc
%define struc_floppy_write_errors_size 40


name: he_ioctl_reg
include_file: /usr/include/linux/atm_he.h
nasm_code:
; from header /usr/include/linux/atm_he.h
struc he_ioctl_reg
    .addr            resb 4
    .val             resb 4
    .type            resb 1
endstruc
%define struc_he_ioctl_reg_size 12


name: dm_ioctl
include_file: /usr/include/linux/dm-ioctl.h
nasm_code:
; from header /usr/include/linux/dm-ioctl.h
struc dm_ioctl
    .version         resb 12 ; None
    .data_size       resb 4
    .data_start      resb 4
    .target_count    resb 4
    .open_count      resb 4
    .flags           resb 4
    .event_nr        resb 4
    .padding         resb 4
    .dev             resb 8
    .name            resb 128 ; None
    .uuid            resb 129 ; None
    .data            resb 7 ; None
endstruc
%define struc_dm_ioctl_size 312


name: dm_target_spec
include_file: /usr/include/linux/dm-ioctl.h
nasm_code:
; from header /usr/include/linux/dm-ioctl.h
struc dm_target_spec
    .sector_start    resb 8
    .length          resb 8
    .status          resb 4
    .next            resb 4
    .target_type     resb 16 ; None
endstruc
%define struc_dm_target_spec_size 40


name: dm_target_deps
include_file: /usr/include/linux/dm-ioctl.h
nasm_code:
; from header /usr/include/linux/dm-ioctl.h
struc dm_target_deps
    .count           resb 4
    .padding         resb 4
    .dev             resb 0 ; None
endstruc
%define struc_dm_target_deps_size 8


name: dm_name_list
include_file: /usr/include/linux/dm-ioctl.h
nasm_code:
; from header /usr/include/linux/dm-ioctl.h
struc dm_name_list
    .dev             resb 8
    .next            resb 4
    .name            resb 0 ; None
endstruc
%define struc_dm_name_list_size 16


name: dm_target_versions
include_file: /usr/include/linux/dm-ioctl.h
nasm_code:
; from header /usr/include/linux/dm-ioctl.h
struc dm_target_versions
    .next            resb 4
    .version         resb 12 ; None
    .name            resb 0 ; None
endstruc
%define struc_dm_target_versions_size 16


name: dm_target_msg
include_file: /usr/include/linux/dm-ioctl.h
nasm_code:
; from header /usr/include/linux/dm-ioctl.h
struc dm_target_msg
    .sector          resb 8
    .message         resb 0 ; None
endstruc
%define struc_dm_target_msg_size 8


name: iw_param
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_param
    .value           resb 4
    .fixed           resb 1
    .disabled        resb 1
    .flags           resb 2
endstruc
%define struc_iw_param_size 8


name: iw_point
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_point
    .pointer         resb 8
    .length          resb 2
    .flags           resb 2
endstruc
%define struc_iw_point_size 16


name: iw_freq
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_freq
    .m               resb 4
    .e               resb 2
    .i               resb 1
    .flags           resb 1
endstruc
%define struc_iw_freq_size 8


name: iw_quality
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_quality
    .qual            resb 1
    .level           resb 1
    .noise           resb 1
    .updated         resb 1
endstruc
%define struc_iw_quality_size 4


name: iw_discarded
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_discarded
    .nwid            resb 4
    .code            resb 4
    .fragment        resb 4
    .retries         resb 4
    .misc            resb 4
endstruc
%define struc_iw_discarded_size 20


name: iw_missed
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_missed
    .beacon          resb 4
endstruc
%define struc_iw_missed_size 4


name: iw_thrspy
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_thrspy
    .addr            resb 16 ; struc sockaddr
    .qual            resb 4 ; struc iw_quality
    .low             resb 4 ; struc iw_quality
    .high            resb 4 ; struc iw_quality
endstruc
%define struc_iw_thrspy_size 28


name: iw_scan_req
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_scan_req
    .scan_type       resb 1
    .essid_len       resb 1
    .num_channels    resb 1
    .flags           resb 1
    .bssid           resb 16 ; struc sockaddr
    .essid           resb 32 ; None
    .min_channel_tim resb 4
    .max_channel_tim resb 4
    .channel_list    resb 256 ; None
endstruc
%define struc_iw_scan_req_size 316


name: iw_encode_ext
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_encode_ext
    .ext_flags       resb 4
    .tx_seq          resb 8 ; None
    .rx_seq          resb 8 ; None
    .addr            resb 16 ; struc sockaddr
    .alg             resb 2
    .key_len         resb 2
    .key             resb 0 ; None
endstruc
%define struc_iw_encode_ext_size 40


name: iw_mlme
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_mlme
    .cmd             resb 2
    .reason_code     resb 2
    .addr            resb 16 ; struc sockaddr
endstruc
%define struc_iw_mlme_size 20


name: iw_pmksa
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_pmksa
    .cmd             resb 4
    .bssid           resb 16 ; struc sockaddr
    .pmkid           resb 16 ; None
endstruc
%define struc_iw_pmksa_size 36


name: iw_michaelmicfailure
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_michaelmicfailure
    .flags           resb 4
    .src_addr        resb 16 ; struc sockaddr
    .tsc             resb 8 ; None
endstruc
%define struc_iw_michaelmicfailure_size 28


name: iw_pmkid_cand
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_pmkid_cand
    .flags           resb 4
    .index           resb 4
    .bssid           resb 16 ; struc sockaddr
endstruc
%define struc_iw_pmkid_cand_size 24


name: iw_statistics
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_statistics
    .status          resb 2
    .qual            resb 4 ; struc iw_quality
    .discard         resb 20 ; struc iw_discarded
    .miss            resb 4 ; struc iw_missed
endstruc
%define struc_iw_statistics_size 32


name: iwreq
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iwreq
    .ifr_ifrn        resb 16 ; union None
    .u               resb 16 ; union iwreq_data
endstruc
%define struc_iwreq_size 32


name: iw_range
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_range
    .throughput      resb 4
    .min_nwid        resb 4
    .max_nwid        resb 4
    .old_num_channel resb 2
    .old_num_frequen resb 1
    .scan_capa       resb 1
    .event_capa      resb 24 ; None
    .sensitivity     resb 4
    .max_qual        resb 4 ; struc iw_quality
    .avg_qual        resb 4 ; struc iw_quality
    .num_bitrates    resb 1
    .bitrate         resb 128 ; None
    .min_rts         resb 4
    .max_rts         resb 4
    .min_frag        resb 4
    .max_frag        resb 4
    .min_pmp         resb 4
    .max_pmp         resb 4
    .min_pmt         resb 4
    .max_pmt         resb 4
    .pmp_flags       resb 2
    .pmt_flags       resb 2
    .pm_capa         resb 2
    .encoding_size   resb 16 ; None
    .num_encoding_si resb 1
    .max_encoding_to resb 1
    .encoding_login_ resb 1
    .txpower_capa    resb 2
    .num_txpower     resb 1
    .txpower         resb 32 ; None
    .we_version_comp resb 1
    .we_version_sour resb 1
    .retry_capa      resb 2
    .retry_flags     resb 2
    .r_time_flags    resb 2
    .min_retry       resb 4
    .max_retry       resb 4
    .min_r_time      resb 4
    .max_r_time      resb 4
    .num_channels    resb 2
    .num_frequency   resb 1
    .freq            resb 256 ; None
    .enc_capa        resb 4
endstruc
%define struc_iw_range_size 568


name: iw_priv_args
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_priv_args
    .cmd             resb 4
    .set_args        resb 2
    .get_args        resb 2
    .name            resb 16 ; None
endstruc
%define struc_iw_priv_args_size 24


name: iw_event
include_file: /usr/include/linux/wireless.h
nasm_code:
; from header /usr/include/linux/wireless.h
struc iw_event
    .len             resb 2
    .cmd             resb 2
    .u               resb 16 ; union iwreq_data
endstruc
%define struc_iw_event_size 24


name: genwqe_reg_io
include_file: /usr/include/linux/genwqe/genwqe_card.h
nasm_code:
; from header /usr/include/linux/genwqe/genwqe_card.h
struc genwqe_reg_io
    .num             resb 8
    .val64           resb 8
endstruc
%define struc_genwqe_reg_io_size 16


name: genwqe_bitstream
include_file: /usr/include/linux/genwqe/genwqe_card.h
nasm_code:
; from header /usr/include/linux/genwqe/genwqe_card.h
struc genwqe_bitstream
    .data_addr       resb 8
    .size            resb 4
    .crc             resb 4
    .target_addr     resb 8
    .partition       resb 4
    .uid             resb 4
    .slu_id          resb 8
    .app_id          resb 8
    .retc            resb 2
    .attn            resb 2
    .progress        resb 4
endstruc
%define struc_genwqe_bitstream_size 56


name: genwqe_debug_data
include_file: /usr/include/linux/genwqe/genwqe_card.h
nasm_code:
; from header /usr/include/linux/genwqe/genwqe_card.h
struc genwqe_debug_data
    .driver_version  resb 64 ; None
    .slu_unitcfg     resb 8
    .app_unitcfg     resb 8
    .ddcb_before     resb 256 ; None
    .ddcb_prev       resb 256 ; None
    .ddcb_finished   resb 256 ; None
endstruc
%define struc_genwqe_debug_data_size 848


name: genwqe_mem
include_file: /usr/include/linux/genwqe/genwqe_card.h
nasm_code:
; from header /usr/include/linux/genwqe/genwqe_card.h
struc genwqe_mem
    .addr            resb 8
    .size            resb 8
    .direction       resb 8
    .flags           resb 8
endstruc
%define struc_genwqe_mem_size 32


name: nhmsg
include_file: /usr/include/linux/nexthop.h
nasm_code:
; from header /usr/include/linux/nexthop.h
struc nhmsg
    .nh_family       resb 1
    .nh_scope        resb 1
    .nh_protocol     resb 1
    .resvd           resb 1
    .nh_flags        resb 4
endstruc
%define struc_nhmsg_size 8


name: nexthop_grp
include_file: /usr/include/linux/nexthop.h
nasm_code:
; from header /usr/include/linux/nexthop.h
struc nexthop_grp
    .id              resb 4
    .weight          resb 1
    .resvd1          resb 1
    .resvd2          resb 2
endstruc
%define struc_nexthop_grp_size 8


name: r3964_client_message
include_file: /usr/include/linux/n_r3964.h
nasm_code:
; from header /usr/include/linux/n_r3964.h
struc r3964_client_message
    .msg_id          resb 4
    .arg             resb 4
    .error_code      resb 4
endstruc
%define struc_r3964_client_message_size 12


name: i2o_cmd_passthru32
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_cmd_passthru32
    .iop             resb 4
    .msg             resb 4
endstruc
%define struc_i2o_cmd_passthru32_size 8


name: i2o_cmd_passthru
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_cmd_passthru
    .iop             resb 4
    .msg             resb 8
endstruc
%define struc_i2o_cmd_passthru_size 16


name: i2o_cmd_hrtlct
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_cmd_hrtlct
    .iop             resb 4
    .resbuf          resb 8
    .reslen          resb 8
endstruc
%define struc_i2o_cmd_hrtlct_size 24


name: i2o_cmd_psetget
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_cmd_psetget
    .iop             resb 4
    .tid             resb 4
    .opbuf           resb 8
    .oplen           resb 4
    .resbuf          resb 8
    .reslen          resb 8
endstruc
%define struc_i2o_cmd_psetget_size 40


name: i2o_sw_xfer
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_sw_xfer
    .iop             resb 4
    .flags           resb 1
    .sw_type         resb 1
    .sw_id           resb 4
    .buf             resb 8
    .swlen           resb 8
    .maxfrag         resb 8
    .curfrag         resb 8
endstruc
%define struc_i2o_sw_xfer_size 48


name: i2o_html
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_html
    .iop             resb 4
    .tid             resb 4
    .page            resb 4
    .resbuf          resb 8
    .reslen          resb 8
    .qbuf            resb 8
    .qlen            resb 4
endstruc
%define struc_i2o_html_size 48


name: i2o_evt_id
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_evt_id
    .iop             resb 4
    .tid             resb 4
    .evt_mask        resb 4
endstruc
%define struc_i2o_evt_id_size 12


name: i2o_evt_info
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_evt_info
    .id              resb 12 ; struc i2o_evt_id
    .evt_data        resb 88 ; None
    .data_size       resb 4
endstruc
%define struc_i2o_evt_info_size 104


name: i2o_evt_get
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_evt_get
    .info            resb 104 ; struc i2o_evt_info
    .pending         resb 4
    .lost            resb 4
endstruc
%define struc_i2o_evt_get_size 112


name: i2o_sg_io_hdr
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc i2o_sg_io_hdr
    .flags           resb 4
endstruc
%define struc_i2o_sg_io_hdr_size 4


name: _i2o_pci_bus
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_pci_bus
    .PciFunctionNumb resb 1
    .PciDeviceNumber resb 1
    .PciBusNumber    resb 1
    .reserved        resb 1
    .PciVendorID     resb 2
    .PciDeviceID     resb 2
endstruc
%define struc__i2o_pci_bus_size 8


name: _i2o_local_bus
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_local_bus
    .LbBaseIOPort    resb 2
    .reserved        resb 2
    .LbBaseMemoryAdd resb 4
endstruc
%define struc__i2o_local_bus_size 8


name: _i2o_isa_bus
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_isa_bus
    .IsaBaseIOPort   resb 2
    .CSN             resb 1
    .reserved        resb 1
    .IsaBaseMemoryAd resb 4
endstruc
%define struc__i2o_isa_bus_size 8


name: _i2o_eisa_bus_info
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_eisa_bus_info
    .EisaBaseIOPort  resb 2
    .reserved        resb 1
    .EisaSlotNumber  resb 1
    .EisaBaseMemoryA resb 4
endstruc
%define struc__i2o_eisa_bus_info_size 8


name: _i2o_mca_bus
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_mca_bus
    .McaBaseIOPort   resb 2
    .reserved        resb 1
    .McaSlotNumber   resb 1
    .McaBaseMemoryAd resb 4
endstruc
%define struc__i2o_mca_bus_size 8


name: _i2o_other_bus
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_other_bus
    .BaseIOPort      resb 2
    .reserved        resb 2
    .BaseMemoryAddre resb 4
endstruc
%define struc__i2o_other_bus_size 8


name: _i2o_hrt_entry
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_hrt_entry
    .adapter_id      resb 4
    .parent_tid      resb 4
    .state           resb 4
    .bus_num         resb 4
    .bus_type        resb 4
    .bus             resb 8 ; union None
endstruc
%define struc__i2o_hrt_entry_size 16


name: _i2o_hrt
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_hrt
    .num_entries     resb 2
    .entry_len       resb 1
    .hrt_version     resb 1
    .change_ind      resb 4
    .hrt_entry       resb 16 ; None
endstruc
%define struc__i2o_hrt_size 24


name: _i2o_lct_entry
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_lct_entry
    .entry_size      resb 4
    .tid             resb 4
    .reserved        resb 4
    .change_ind      resb 4
    .device_flags    resb 4
    .class_id        resb 4
    .version         resb 4
    .vendor_id       resb 4
    .sub_class       resb 4
    .user_tid        resb 4
    .parent_tid      resb 4
    .bios_info       resb 4
    .identity_tag    resb 8 ; None
    .event_capabilit resb 4
endstruc
%define struc__i2o_lct_entry_size 36


name: _i2o_lct
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_lct
    .table_size      resb 4
    .boot_tid        resb 4
    .lct_ver         resb 4
    .iop_flags       resb 4
    .change_ind      resb 4
    .lct_entry       resb 36 ; None
endstruc
%define struc__i2o_lct_size 48


name: _i2o_status_block
include_file: /usr/include/linux/i2o-dev.h
nasm_code:
; from header /usr/include/linux/i2o-dev.h
struc _i2o_status_block
    .org_id          resb 2
    .reserved        resb 2
    .iop_id          resb 2
    .reserved1       resb 2
    .host_unit_id    resb 2
    .segment_number  resb 2
    .i2o_version     resb 2
    .iop_state       resb 1
    .msg_type        resb 1
    .inbound_frame_s resb 2
    .init_code       resb 1
    .reserved2       resb 1
    .max_inbound_fra resb 4
    .cur_inbound_fra resb 4
    .max_outbound_fr resb 4
    .product_id      resb 24 ; None
    .expected_lct_si resb 4
    .iop_capabilitie resb 4
    .desired_mem_siz resb 4
    .current_mem_siz resb 4
    .current_mem_bas resb 4
    .desired_io_size resb 4
    .current_io_size resb 4
    .current_io_base resb 4
    .reserved3       resb 4
    .cmd_status      resb 4
endstruc
%define struc__i2o_status_block_size 88


name: i2c_smbus_ioctl_data
include_file: /usr/include/linux/i2c-dev.h
nasm_code:
; from header /usr/include/linux/i2c-dev.h
struc i2c_smbus_ioctl_data
    .read_write      resb 1
    .command         resb 1
    .size            resb 4
    .data            resb 8
endstruc
%define struc_i2c_smbus_ioctl_data_size 16


name: i2c_rdwr_ioctl_data
include_file: /usr/include/linux/i2c-dev.h
nasm_code:
; from header /usr/include/linux/i2c-dev.h
struc i2c_rdwr_ioctl_data
    .msgs            resb 8
    .nmsgs           resb 4
endstruc
%define struc_i2c_rdwr_ioctl_data_size 16


name: vpfe_ccdc_a_law
include_file: /usr/include/linux/am437x-vpfe.h
nasm_code:
; from header /usr/include/linux/am437x-vpfe.h
struc vpfe_ccdc_a_law
    .enable          resb 1
    .gamma_wd        resb 4
endstruc
%define struc_vpfe_ccdc_a_law_size 8


name: vpfe_ccdc_black_clamp
include_file: /usr/include/linux/am437x-vpfe.h
nasm_code:
; from header /usr/include/linux/am437x-vpfe.h
struc vpfe_ccdc_black_clamp
    .enable          resb 1
    .sample_pixel    resb 4
    .sample_ln       resb 4
    .start_pixel     resb 2
    .sgain           resb 2
    .dc_sub          resb 2
endstruc
%define struc_vpfe_ccdc_black_clamp_size 20


name: vpfe_ccdc_black_compensation
include_file: /usr/include/linux/am437x-vpfe.h
nasm_code:
; from header /usr/include/linux/am437x-vpfe.h
struc vpfe_ccdc_black_compensation
    .r               resb 1
    .gr              resb 1
    .b               resb 1
    .gb              resb 1
endstruc
%define struc_vpfe_ccdc_black_compensation_size 4


name: vpfe_ccdc_config_params_raw
include_file: /usr/include/linux/am437x-vpfe.h
nasm_code:
; from header /usr/include/linux/am437x-vpfe.h
struc vpfe_ccdc_config_params_raw
    .data_sz         resb 4
    .alaw            resb 8 ; struc vpfe_ccdc_a_law
    .blk_clamp       resb 20 ; struc vpfe_ccdc_black_clamp
    .blk_comp        resb 4 ; struc vpfe_ccdc_black_compensation
endstruc
%define struc_vpfe_ccdc_config_params_raw_size 36


name: ppdev_frob_struct
include_file: /usr/include/linux/ppdev.h
nasm_code:
; from header /usr/include/linux/ppdev.h
struc ppdev_frob_struct
    .mask            resb 1
    .val             resb 1
endstruc
%define struc_ppdev_frob_struct_size 2


name: kcapi_flagdef
include_file: /usr/include/linux/kernelcapi.h
nasm_code:
; from header /usr/include/linux/kernelcapi.h
struc kcapi_flagdef
    .contr           resb 4
    .flag            resb 4
endstruc
%define struc_kcapi_flagdef_size 8


name: kcapi_carddef
include_file: /usr/include/linux/kernelcapi.h
nasm_code:
; from header /usr/include/linux/kernelcapi.h
struc kcapi_carddef
    .driver          resb 32 ; None
    .port            resb 4
    .irq             resb 4
    .membase         resb 4
    .cardnr          resb 4
endstruc
%define struc_kcapi_carddef_size 48


name: sockaddr_ipx
include_file: /usr/include/linux/ipx.h
nasm_code:
; from header /usr/include/linux/ipx.h
struc sockaddr_ipx
    .sipx_family     resb 2
    .sipx_port       resb 2
    .sipx_network    resb 4
    .sipx_node       resb 6 ; None
    .sipx_type       resb 1
    .sipx_zero       resb 1
endstruc
%define struc_sockaddr_ipx_size 16


name: ipx_route_definition
include_file: /usr/include/linux/ipx.h
nasm_code:
; from header /usr/include/linux/ipx.h
struc ipx_route_definition
    .ipx_network     resb 4
    .ipx_router_netw resb 4
    .ipx_router_node resb 6 ; None
endstruc
%define struc_ipx_route_definition_size 16


name: ipx_interface_definition
include_file: /usr/include/linux/ipx.h
nasm_code:
; from header /usr/include/linux/ipx.h
struc ipx_interface_definition
    .ipx_network     resb 4
    .ipx_device      resb 16 ; None
    .ipx_dlink_type  resb 1
    .ipx_special     resb 1
    .ipx_node        resb 6 ; None
endstruc
%define struc_ipx_interface_definition_size 28


name: ipx_config_data
include_file: /usr/include/linux/ipx.h
nasm_code:
; from header /usr/include/linux/ipx.h
struc ipx_config_data
    .ipxcfg_auto_sel resb 1
    .ipxcfg_auto_cre resb 1
endstruc
%define struc_ipx_config_data_size 2


name: ipx_route_def
include_file: /usr/include/linux/ipx.h
nasm_code:
; from header /usr/include/linux/ipx.h
struc ipx_route_def
    .ipx_network     resb 4
    .ipx_router_netw resb 4
    .ipx_router_node resb 6 ; None
    .ipx_device      resb 16 ; None
    .ipx_flags       resb 2
endstruc
%define struc_ipx_route_def_size 32


name: robust_list
include_file: /usr/include/linux/futex.h
nasm_code:
; from header /usr/include/linux/futex.h
struc robust_list
    .next            resb 8
endstruc
%define struc_robust_list_size 8


name: robust_list_head
include_file: /usr/include/linux/futex.h
nasm_code:
; from header /usr/include/linux/futex.h
struc robust_list_head
    .list            resb 8 ; struc robust_list
    .futex_offset    resb 8
    .list_op_pending resb 8
endstruc
%define struc_robust_list_head_size 24


name: hipnet_statistics
include_file: /usr/include/linux/if_hippi.h
nasm_code:
; from header /usr/include/linux/if_hippi.h
struc hipnet_statistics
    .rx_packets      resb 4
    .tx_packets      resb 4
    .rx_errors       resb 4
    .tx_errors       resb 4
    .rx_dropped      resb 4
    .tx_dropped      resb 4
    .rx_length_error resb 4
    .rx_over_errors  resb 4
    .rx_crc_errors   resb 4
    .rx_frame_errors resb 4
    .rx_fifo_errors  resb 4
    .rx_missed_error resb 4
    .tx_aborted_erro resb 4
    .tx_carrier_erro resb 4
    .tx_fifo_errors  resb 4
    .tx_heartbeat_er resb 4
    .tx_window_error resb 4
endstruc
%define struc_hipnet_statistics_size 68


name: hippi_fp_hdr
include_file: /usr/include/linux/if_hippi.h
nasm_code:
; from header /usr/include/linux/if_hippi.h
struc hippi_fp_hdr
    .fixed           resb 4
    .d2_size         resb 4
endstruc
%define struc_hippi_fp_hdr_size 8


name: hippi_le_hdr
include_file: /usr/include/linux/if_hippi.h
nasm_code:
; from header /usr/include/linux/if_hippi.h
struc hippi_le_hdr
    .message_type    resb 1
    .double_wide     resb 1
    .fc              resb 1
    .dest_switch_add resb 3 ; None
    .src_addr_type   resb 1
    .dest_addr_type  resb 1
    .src_switch_addr resb 3 ; None
    .reserved        resb 2
    .daddr           resb 6 ; None
    .locally_adminis resb 2
    .saddr           resb 6 ; None
endstruc
%define struc_hippi_le_hdr_size 24


name: hippi_snap_hdr
include_file: /usr/include/linux/if_hippi.h
nasm_code:
; from header /usr/include/linux/if_hippi.h
struc hippi_snap_hdr
    .dsap            resb 1
    .ssap            resb 1
    .ctrl            resb 1
    .oui             resb 3 ; None
    .ethertype       resb 2
endstruc
%define struc_hippi_snap_hdr_size 8


name: hippi_hdr
include_file: /usr/include/linux/if_hippi.h
nasm_code:
; from header /usr/include/linux/if_hippi.h
struc hippi_hdr
    .fp              resb 8 ; struc hippi_fp_hdr
    .le              resb 24 ; struc hippi_le_hdr
    .snap            resb 8 ; struc hippi_snap_hdr
endstruc
%define struc_hippi_hdr_size 40


name: mii_ioctl_data
include_file: /usr/include/linux/mii.h
nasm_code:
; from header /usr/include/linux/mii.h
struc mii_ioctl_data
    .phy_id          resb 2
    .reg_num         resb 2
    .val_in          resb 2
    .val_out         resb 2
endstruc
%define struc_mii_ioctl_data_size 8


name: gpiochip_info
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpiochip_info
    .name            resb 32 ; None
    .label           resb 32 ; None
    .lines           resb 4
endstruc
%define struc_gpiochip_info_size 68


name: gpio_v2_line_values
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpio_v2_line_values
    .bits            resb 8
    .mask            resb 8
endstruc
%define struc_gpio_v2_line_values_size 16


name: gpio_v2_line_config_attribute
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpio_v2_line_config_attribute
    .attr            resb 16 ; struc gpio_v2_line_attribute
    .mask            resb 8
endstruc
%define struc_gpio_v2_line_config_attribute_size 24


name: gpio_v2_line_config
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpio_v2_line_config
    .flags           resb 8
    .num_attrs       resb 4
    .padding         resb 20 ; None
    .attrs           resb 240 ; None
endstruc
%define struc_gpio_v2_line_config_size 272


name: gpio_v2_line_request
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpio_v2_line_request
    .offsets         resb 256 ; None
    .consumer        resb 32 ; None
    .config          resb 272 ; struc gpio_v2_line_config
    .num_lines       resb 4
    .event_buffer_si resb 4
    .padding         resb 20 ; None
    .fd              resb 4
endstruc
%define struc_gpio_v2_line_request_size 592


name: gpio_v2_line_info
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpio_v2_line_info
    .name            resb 32 ; None
    .consumer        resb 32 ; None
    .offset          resb 4
    .num_attrs       resb 4
    .flags           resb 8
    .attrs           resb 160 ; None
    .padding         resb 16 ; None
endstruc
%define struc_gpio_v2_line_info_size 256


name: gpio_v2_line_info_changed
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpio_v2_line_info_changed
    .info            resb 256 ; struc gpio_v2_line_info
    .timestamp_ns    resb 8
    .event_type      resb 4
    .padding         resb 20 ; None
endstruc
%define struc_gpio_v2_line_info_changed_size 288


name: gpio_v2_line_event
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpio_v2_line_event
    .timestamp_ns    resb 8
    .id              resb 4
    .offset          resb 4
    .seqno           resb 4
    .line_seqno      resb 4
    .padding         resb 24 ; None
endstruc
%define struc_gpio_v2_line_event_size 48


name: gpioline_info
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpioline_info
    .line_offset     resb 4
    .flags           resb 4
    .name            resb 32 ; None
    .consumer        resb 32 ; None
endstruc
%define struc_gpioline_info_size 72


name: gpioline_info_changed
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpioline_info_changed
    .info            resb 72 ; struc gpioline_info
    .timestamp       resb 8
    .event_type      resb 4
    .padding         resb 20 ; None
endstruc
%define struc_gpioline_info_changed_size 104


name: gpiohandle_request
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpiohandle_request
    .lineoffsets     resb 256 ; None
    .flags           resb 4
    .default_values  resb 64 ; None
    .consumer_label  resb 32 ; None
    .lines           resb 4
    .fd              resb 4
endstruc
%define struc_gpiohandle_request_size 364


name: gpiohandle_config
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpiohandle_config
    .flags           resb 4
    .default_values  resb 64 ; None
    .padding         resb 16 ; None
endstruc
%define struc_gpiohandle_config_size 84


name: gpiohandle_data
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpiohandle_data
    .values          resb 64 ; None
endstruc
%define struc_gpiohandle_data_size 64


name: gpioevent_request
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpioevent_request
    .lineoffset      resb 4
    .handleflags     resb 4
    .eventflags      resb 4
    .consumer_label  resb 32 ; None
    .fd              resb 4
endstruc
%define struc_gpioevent_request_size 48


name: gpioevent_data
include_file: /usr/include/linux/gpio.h
nasm_code:
; from header /usr/include/linux/gpio.h
struc gpioevent_data
    .timestamp       resb 8
    .id              resb 4
endstruc
%define struc_gpioevent_data_size 16


name: rlimit
include_file: /usr/include/linux/resource.h
nasm_code:
; from header /usr/include/linux/resource.h
struc rlimit
    .rlim_cur        resb 8
    .rlim_max        resb 8
endstruc
%define struc_rlimit_size 16


name: rlimit64
include_file: /usr/include/linux/resource.h
nasm_code:
; from header /usr/include/linux/resource.h
struc rlimit64
    .rlim_cur        resb 8
    .rlim_max        resb 8
endstruc
%define struc_rlimit64_size 16


name: dma_buf_sync
include_file: /usr/include/linux/dma-buf.h
nasm_code:
; from header /usr/include/linux/dma-buf.h
struc dma_buf_sync
    .flags           resb 8
endstruc
%define struc_dma_buf_sync_size 8


name: packet_diag_req
include_file: /usr/include/linux/packet_diag.h
nasm_code:
; from header /usr/include/linux/packet_diag.h
struc packet_diag_req
    .sdiag_family    resb 1
    .sdiag_protocol  resb 1
    .pad             resb 2
    .pdiag_ino       resb 4
    .pdiag_show      resb 4
    .pdiag_cookie    resb 8 ; None
endstruc
%define struc_packet_diag_req_size 20


name: packet_diag_msg
include_file: /usr/include/linux/packet_diag.h
nasm_code:
; from header /usr/include/linux/packet_diag.h
struc packet_diag_msg
    .pdiag_family    resb 1
    .pdiag_type      resb 1
    .pdiag_num       resb 2
    .pdiag_ino       resb 4
    .pdiag_cookie    resb 8 ; None
endstruc
%define struc_packet_diag_msg_size 16


name: packet_diag_info
include_file: /usr/include/linux/packet_diag.h
nasm_code:
; from header /usr/include/linux/packet_diag.h
struc packet_diag_info
    .pdi_index       resb 4
    .pdi_version     resb 4
    .pdi_reserve     resb 4
    .pdi_copy_thresh resb 4
    .pdi_tstamp      resb 4
    .pdi_flags       resb 4
endstruc
%define struc_packet_diag_info_size 24


name: packet_diag_mclist
include_file: /usr/include/linux/packet_diag.h
nasm_code:
; from header /usr/include/linux/packet_diag.h
struc packet_diag_mclist
    .pdmc_index      resb 4
    .pdmc_count      resb 4
    .pdmc_type       resb 2
    .pdmc_alen       resb 2
    .pdmc_addr       resb 32 ; None
endstruc
%define struc_packet_diag_mclist_size 44


name: packet_diag_ring
include_file: /usr/include/linux/packet_diag.h
nasm_code:
; from header /usr/include/linux/packet_diag.h
struc packet_diag_ring
    .pdr_block_size  resb 4
    .pdr_block_nr    resb 4
    .pdr_frame_size  resb 4
    .pdr_frame_nr    resb 4
    .pdr_retire_tmo  resb 4
    .pdr_sizeof_priv resb 4
    .pdr_features    resb 4
endstruc
%define struc_packet_diag_ring_size 28


name: inet_diag_sockid
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_sockid
    .idiag_sport     resb 2
    .idiag_dport     resb 2
    .idiag_src       resb 16 ; None
    .idiag_dst       resb 16 ; None
    .idiag_if        resb 4
    .idiag_cookie    resb 8 ; None
endstruc
%define struc_inet_diag_sockid_size 48


name: inet_diag_req
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_req
    .idiag_family    resb 1
    .idiag_src_len   resb 1
    .idiag_dst_len   resb 1
    .idiag_ext       resb 1
    .id              resb 48 ; struc inet_diag_sockid
    .idiag_states    resb 4
    .idiag_dbs       resb 4
endstruc
%define struc_inet_diag_req_size 60


name: inet_diag_req_v2
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_req_v2
    .sdiag_family    resb 1
    .sdiag_protocol  resb 1
    .idiag_ext       resb 1
    .pad             resb 1
    .idiag_states    resb 4
    .id              resb 48 ; struc inet_diag_sockid
endstruc
%define struc_inet_diag_req_v2_size 56


name: inet_diag_req_raw
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_req_raw
    .sdiag_family    resb 1
    .sdiag_protocol  resb 1
    .idiag_ext       resb 1
    .sdiag_raw_proto resb 1
    .idiag_states    resb 4
    .id              resb 48 ; struc inet_diag_sockid
endstruc
%define struc_inet_diag_req_raw_size 56


name: inet_diag_bc_op
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_bc_op
    .code            resb 1
    .yes             resb 1
    .no              resb 2
endstruc
%define struc_inet_diag_bc_op_size 4


name: inet_diag_hostcond
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_hostcond
    .family          resb 1
    .prefix_len      resb 1
    .port            resb 4
    .addr            resb 0 ; None
endstruc
%define struc_inet_diag_hostcond_size 8


name: inet_diag_markcond
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_markcond
    .mark            resb 4
    .mask            resb 4
endstruc
%define struc_inet_diag_markcond_size 8


name: inet_diag_msg
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_msg
    .idiag_family    resb 1
    .idiag_state     resb 1
    .idiag_timer     resb 1
    .idiag_retrans   resb 1
    .id              resb 48 ; struc inet_diag_sockid
    .idiag_expires   resb 4
    .idiag_rqueue    resb 4
    .idiag_wqueue    resb 4
    .idiag_uid       resb 4
    .idiag_inode     resb 4
endstruc
%define struc_inet_diag_msg_size 72


name: inet_diag_meminfo
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_meminfo
    .idiag_rmem      resb 4
    .idiag_wmem      resb 4
    .idiag_fmem      resb 4
    .idiag_tmem      resb 4
endstruc
%define struc_inet_diag_meminfo_size 16


name: inet_diag_sockopt
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc inet_diag_sockopt
    .recverr         resb 1
    .is_icsk         resb 1
    .freebind        resb 1
    .hdrincl         resb 1
    .mc_loop         resb 1
    .transparent     resb 1
    .mc_all          resb 1
    .nodefrag        resb 1
    .bind_address_no resb 1
    .recverr_rfc4884 resb 1
    .defer_connect   resb 1
    .unused          resb 1
endstruc
%define struc_inet_diag_sockopt_size 2


name: tcpvegas_info
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc tcpvegas_info
    .tcpv_enabled    resb 4
    .tcpv_rttcnt     resb 4
    .tcpv_rtt        resb 4
    .tcpv_minrtt     resb 4
endstruc
%define struc_tcpvegas_info_size 16


name: tcp_dctcp_info
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc tcp_dctcp_info
    .dctcp_enabled   resb 2
    .dctcp_ce_state  resb 2
    .dctcp_alpha     resb 4
    .dctcp_ab_ecn    resb 4
    .dctcp_ab_tot    resb 4
endstruc
%define struc_tcp_dctcp_info_size 16


name: tcp_bbr_info
include_file: /usr/include/linux/inet_diag.h
nasm_code:
; from header /usr/include/linux/inet_diag.h
struc tcp_bbr_info
    .bbr_bw_lo       resb 4
    .bbr_bw_hi       resb 4
    .bbr_min_rtt     resb 4
    .bbr_pacing_gain resb 4
    .bbr_cwnd_gain   resb 4
endstruc
%define struc_tcp_bbr_info_size 20


name: genlmsghdr
include_file: /usr/include/linux/genetlink.h
nasm_code:
; from header /usr/include/linux/genetlink.h
struc genlmsghdr
    .cmd             resb 1
    .version         resb 1
    .reserved        resb 2
endstruc
%define struc_genlmsghdr_size 4


name: sockaddr_l2tpip
include_file: /usr/include/linux/l2tp.h
nasm_code:
; from header /usr/include/linux/l2tp.h
struc sockaddr_l2tpip
    .l2tp_family     resb 2
    .l2tp_unused     resb 2
    .l2tp_addr       resb 4 ; struc in_addr
    .l2tp_conn_id    resb 4
    .__pad           resb 4 ; None
endstruc
%define struc_sockaddr_l2tpip_size 16


name: sockaddr_l2tpip6
include_file: /usr/include/linux/l2tp.h
nasm_code:
; from header /usr/include/linux/l2tp.h
struc sockaddr_l2tpip6
    .l2tp_family     resb 2
    .l2tp_unused     resb 2
    .l2tp_flowinfo   resb 4
    .l2tp_addr       resb 16 ; struc in6_addr
    .l2tp_scope_id   resb 4
    .l2tp_conn_id    resb 4
endstruc
%define struc_sockaddr_l2tpip6_size 32


name: fanotify_event_metadata
include_file: /usr/include/linux/fanotify.h
nasm_code:
; from header /usr/include/linux/fanotify.h
struc fanotify_event_metadata
    .event_len       resb 4
    .vers            resb 1
    .reserved        resb 1
    .metadata_len    resb 2
    .mask            resb 8
    .fd              resb 4
    .pid             resb 4
endstruc
%define struc_fanotify_event_metadata_size 24


name: fanotify_event_info_header
include_file: /usr/include/linux/fanotify.h
nasm_code:
; from header /usr/include/linux/fanotify.h
struc fanotify_event_info_header
    .info_type       resb 1
    .pad             resb 1
    .len             resb 2
endstruc
%define struc_fanotify_event_info_header_size 4


name: fanotify_event_info_fid
include_file: /usr/include/linux/fanotify.h
nasm_code:
; from header /usr/include/linux/fanotify.h
struc fanotify_event_info_fid
    .hdr             resb 4 ; struc fanotify_event_info_header
    .fsid            resb 8 ; __kernel_fsid_t
    .handle          resb 0 ; None
endstruc
%define struc_fanotify_event_info_fid_size 12


name: fanotify_response
include_file: /usr/include/linux/fanotify.h
nasm_code:
; from header /usr/include/linux/fanotify.h
struc fanotify_response
    .fd              resb 4
    .response        resb 4
endstruc
%define struc_fanotify_response_size 8


name: in_addr
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc in_addr
    .s_addr          resb 4
endstruc
%define struc_in_addr_size 4


name: ip_mreq
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc ip_mreq
    .imr_multiaddr   resb 4 ; struc in_addr
    .imr_interface   resb 4 ; struc in_addr
endstruc
%define struc_ip_mreq_size 8


name: ip_mreqn
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc ip_mreqn
    .imr_multiaddr   resb 4 ; struc in_addr
    .imr_address     resb 4 ; struc in_addr
    .imr_ifindex     resb 4
endstruc
%define struc_ip_mreqn_size 12


name: ip_mreq_source
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc ip_mreq_source
    .imr_multiaddr   resb 4
    .imr_interface   resb 4
    .imr_sourceaddr  resb 4
endstruc
%define struc_ip_mreq_source_size 12


name: ip_msfilter
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc ip_msfilter
    .imsf_multiaddr  resb 4
    .imsf_interface  resb 4
    .imsf_fmode      resb 4
    .imsf_numsrc     resb 4
    .imsf_slist      resb 4 ; None
endstruc
%define struc_ip_msfilter_size 20


name: group_req
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc group_req
    .gr_interface    resb 4
    .gr_group        resb 128 ; struc __kernel_sockaddr_storage
endstruc
%define struc_group_req_size 136


name: group_source_req
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc group_source_req
    .gsr_interface   resb 4
    .gsr_group       resb 128 ; struc __kernel_sockaddr_storage
    .gsr_source      resb 128 ; struc __kernel_sockaddr_storage
endstruc
%define struc_group_source_req_size 264


name: group_filter
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc group_filter
    .gf_interface    resb 4
    .gf_group        resb 128 ; struc __kernel_sockaddr_storage
    .gf_fmode        resb 4
    .gf_numsrc       resb 4
    .gf_slist        resb 128 ; None
endstruc
%define struc_group_filter_size 272


name: in_pktinfo
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc in_pktinfo
    .ipi_ifindex     resb 4
    .ipi_spec_dst    resb 4 ; struc in_addr
    .ipi_addr        resb 4 ; struc in_addr
endstruc
%define struc_in_pktinfo_size 12


name: sockaddr_in
include_file: /usr/include/linux/in.h
nasm_code:
; from header /usr/include/linux/in.h
struc sockaddr_in
    .sin_family      resb 2
    .sin_port        resb 2
    .sin_addr        resb 4 ; struc in_addr
    .__pad           resb 8 ; None
endstruc
%define struc_sockaddr_in_size 16


name: x25_address
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc x25_address
    .x25_addr        resb 16 ; None
endstruc
%define struc_x25_address_size 16


name: sockaddr_x25
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc sockaddr_x25
    .sx25_family     resb 2
    .sx25_addr       resb 16 ; struc x25_address
endstruc
%define struc_sockaddr_x25_size 18


name: x25_subscrip_struct
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc x25_subscrip_struct
    .device          resb 192 ; None
    .global_facil_ma resb 8
    .extended        resb 4
endstruc
%define struc_x25_subscrip_struct_size 208


name: x25_route_struct
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc x25_route_struct
    .address         resb 16 ; struc x25_address
    .sigdigits       resb 4
    .device          resb 200 ; None
endstruc
%define struc_x25_route_struct_size 220


name: x25_facilities
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc x25_facilities
    .winsize_in      resb 4
    .winsize_out     resb 4
    .pacsize_in      resb 4
    .pacsize_out     resb 4
    .throughput      resb 4
    .reverse         resb 4
endstruc
%define struc_x25_facilities_size 24


name: x25_dte_facilities
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc x25_dte_facilities
    .delay_cumul     resb 2
    .delay_target    resb 2
    .delay_max       resb 2
    .min_throughput  resb 1
    .expedited       resb 1
    .calling_len     resb 1
    .called_len      resb 1
    .calling_ae      resb 20 ; None
    .called_ae       resb 20 ; None
endstruc
%define struc_x25_dte_facilities_size 50


name: x25_calluserdata
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc x25_calluserdata
    .cudlength       resb 4
    .cuddata         resb 128 ; None
endstruc
%define struc_x25_calluserdata_size 132


name: x25_causediag
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc x25_causediag
    .cause           resb 1
    .diagnostic      resb 1
endstruc
%define struc_x25_causediag_size 2


name: x25_subaddr
include_file: /usr/include/linux/x25.h
nasm_code:
; from header /usr/include/linux/x25.h
struc x25_subaddr
    .cudmatchlength  resb 4
endstruc
%define struc_x25_subaddr_size 4


name: scom_access
include_file: /usr/include/linux/fsi.h
nasm_code:
; from header /usr/include/linux/fsi.h
struc scom_access
    .addr            resb 8
    .data            resb 8
    .mask            resb 8
    .intf_errors     resb 4
    .pib_status      resb 1
    .pad             resb 1
endstruc
%define struc_scom_access_size 32


name: mpls_label
include_file: /usr/include/linux/mpls.h
nasm_code:
; from header /usr/include/linux/mpls.h
struc mpls_label
    .entry           resb 4
endstruc
%define struc_mpls_label_size 4


name: mpls_link_stats
include_file: /usr/include/linux/mpls.h
nasm_code:
; from header /usr/include/linux/mpls.h
struc mpls_link_stats
    .rx_packets      resb 8
    .tx_packets      resb 8
    .rx_bytes        resb 8
    .tx_bytes        resb 8
    .rx_errors       resb 8
    .tx_errors       resb 8
    .rx_dropped      resb 8
    .tx_dropped      resb 8
    .rx_noroute      resb 8
endstruc
%define struc_mpls_link_stats_size 72


name: tun_pi
include_file: /usr/include/linux/if_tun.h
nasm_code:
; from header /usr/include/linux/if_tun.h
struc tun_pi
    .flags           resb 2
    .proto           resb 2
endstruc
%define struc_tun_pi_size 4


name: tun_filter
include_file: /usr/include/linux/if_tun.h
nasm_code:
; from header /usr/include/linux/if_tun.h
struc tun_filter
    .flags           resb 2
    .count           resb 2
    .addr            resb 0 ; None
endstruc
%define struc_tun_filter_size 4


name: aspeed_p2a_ctrl_mapping
include_file: /usr/include/linux/aspeed-p2a-ctrl.h
nasm_code:
; from header /usr/include/linux/aspeed-p2a-ctrl.h
struc aspeed_p2a_ctrl_mapping
    .addr            resb 8
    .length          resb 4
    .flags           resb 4
endstruc
%define struc_aspeed_p2a_ctrl_mapping_size 16


name: blk_zone
include_file: /usr/include/linux/blkzoned.h
nasm_code:
; from header /usr/include/linux/blkzoned.h
struc blk_zone
    .start           resb 8
    .len             resb 8
    .wp              resb 8
    .type            resb 1
    .cond            resb 1
    .non_seq         resb 1
    .reset           resb 1
    .resv            resb 4 ; None
    .capacity        resb 8
    .reserved        resb 24 ; None
endstruc
%define struc_blk_zone_size 64


name: blk_zone_report
include_file: /usr/include/linux/blkzoned.h
nasm_code:
; from header /usr/include/linux/blkzoned.h
struc blk_zone_report
    .sector          resb 8
    .nr_zones        resb 4
    .flags           resb 4
    .zones           resb 0 ; None
endstruc
%define struc_blk_zone_report_size 16


name: blk_zone_range
include_file: /usr/include/linux/blkzoned.h
nasm_code:
; from header /usr/include/linux/blkzoned.h
struc blk_zone_range
    .sector          resb 8
    .nr_sectors      resb 8
endstruc
%define struc_blk_zone_range_size 16


name: fb_fix_screeninfo
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_fix_screeninfo
    .id              resb 16 ; None
    .smem_start      resb 8
    .smem_len        resb 4
    .type            resb 4
    .type_aux        resb 4
    .visual          resb 4
    .xpanstep        resb 2
    .ypanstep        resb 2
    .ywrapstep       resb 2
    .line_length     resb 4
    .mmio_start      resb 8
    .mmio_len        resb 4
    .accel           resb 4
    .capabilities    resb 2
    .reserved        resb 4 ; None
endstruc
%define struc_fb_fix_screeninfo_size 80


name: fb_bitfield
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_bitfield
    .offset          resb 4
    .length          resb 4
    .msb_right       resb 4
endstruc
%define struc_fb_bitfield_size 12


name: fb_var_screeninfo
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_var_screeninfo
    .xres            resb 4
    .yres            resb 4
    .xres_virtual    resb 4
    .yres_virtual    resb 4
    .xoffset         resb 4
    .yoffset         resb 4
    .bits_per_pixel  resb 4
    .grayscale       resb 4
    .red             resb 12 ; struc fb_bitfield
    .green           resb 12 ; struc fb_bitfield
    .blue            resb 12 ; struc fb_bitfield
    .transp          resb 12 ; struc fb_bitfield
    .nonstd          resb 4
    .activate        resb 4
    .height          resb 4
    .width           resb 4
    .accel_flags     resb 4
    .pixclock        resb 4
    .left_margin     resb 4
    .right_margin    resb 4
    .upper_margin    resb 4
    .lower_margin    resb 4
    .hsync_len       resb 4
    .vsync_len       resb 4
    .sync            resb 4
    .vmode           resb 4
    .rotate          resb 4
    .colorspace      resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_fb_var_screeninfo_size 160


name: fb_cmap
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_cmap
    .start           resb 4
    .len             resb 4
    .red             resb 8
    .green           resb 8
    .blue            resb 8
    .transp          resb 8
endstruc
%define struc_fb_cmap_size 40


name: fb_con2fbmap
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_con2fbmap
    .console         resb 4
    .framebuffer     resb 4
endstruc
%define struc_fb_con2fbmap_size 8


name: fb_vblank
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_vblank
    .flags           resb 4
    .count           resb 4
    .vcount          resb 4
    .hcount          resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_fb_vblank_size 32


name: fb_copyarea
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_copyarea
    .dx              resb 4
    .dy              resb 4
    .width           resb 4
    .height          resb 4
    .sx              resb 4
    .sy              resb 4
endstruc
%define struc_fb_copyarea_size 24


name: fb_fillrect
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_fillrect
    .dx              resb 4
    .dy              resb 4
    .width           resb 4
    .height          resb 4
    .color           resb 4
    .rop             resb 4
endstruc
%define struc_fb_fillrect_size 24


name: fb_image
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_image
    .dx              resb 4
    .dy              resb 4
    .width           resb 4
    .height          resb 4
    .fg_color        resb 4
    .bg_color        resb 4
    .depth           resb 1
    .data            resb 8
    .cmap            resb 40 ; struc fb_cmap
endstruc
%define struc_fb_image_size 80


name: fbcurpos
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fbcurpos
    .x               resb 2
    .y               resb 2
endstruc
%define struc_fbcurpos_size 4


name: fb_cursor
include_file: /usr/include/linux/fb.h
nasm_code:
; from header /usr/include/linux/fb.h
struc fb_cursor
    .set             resb 2
    .enable          resb 2
    .rop             resb 2
    .mask            resb 8
    .hot             resb 4 ; struc fbcurpos
    .image           resb 80 ; struc fb_image
endstruc
%define struc_fb_cursor_size 104


name: tipc_node_info
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tipc_node_info
    .addr            resb 4
    .up              resb 4
endstruc
%define struc_tipc_node_info_size 8


name: tipc_link_info
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tipc_link_info
    .dest            resb 4
    .up              resb 4
    .str             resb 68 ; None
endstruc
%define struc_tipc_link_info_size 76


name: tipc_bearer_config
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tipc_bearer_config
    .priority        resb 4
    .disc_domain     resb 4
    .name            resb 32 ; None
endstruc
%define struc_tipc_bearer_config_size 40


name: tipc_link_config
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tipc_link_config
    .value           resb 4
    .name            resb 68 ; None
endstruc
%define struc_tipc_link_config_size 72


name: tipc_name_table_query
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tipc_name_table_query
    .depth           resb 4
    .type            resb 4
    .lowbound        resb 4
    .upbound         resb 4
endstruc
%define struc_tipc_name_table_query_size 16


name: tlv_desc
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tlv_desc
    .tlv_len         resb 2
    .tlv_type        resb 2
endstruc
%define struc_tlv_desc_size 4


name: tlv_list_desc
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tlv_list_desc
    .tlv_ptr         resb 8
    .tlv_space       resb 4
endstruc
%define struc_tlv_list_desc_size 16


name: tipc_genlmsghdr
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tipc_genlmsghdr
    .dest            resb 4
    .cmd             resb 2
    .reserved        resb 2
endstruc
%define struc_tipc_genlmsghdr_size 8


name: tipc_cfg_msg_hdr
include_file: /usr/include/linux/tipc_config.h
nasm_code:
; from header /usr/include/linux/tipc_config.h
struc tipc_cfg_msg_hdr
    .tcm_len         resb 4
    .tcm_type        resb 2
    .tcm_flags       resb 2
    .tcm_reserved    resb 8 ; None
endstruc
%define struc_tipc_cfg_msg_hdr_size 16


name: dn_naddr
include_file: /usr/include/linux/dn.h
nasm_code:
; from header /usr/include/linux/dn.h
struc dn_naddr
    .a_len           resb 2
    .a_addr          resb 2 ; None
endstruc
%define struc_dn_naddr_size 4


name: sockaddr_dn
include_file: /usr/include/linux/dn.h
nasm_code:
; from header /usr/include/linux/dn.h
struc sockaddr_dn
    .sdn_family      resb 2
    .sdn_flags       resb 1
    .sdn_objnum      resb 1
    .sdn_objnamel    resb 2
    .sdn_objname     resb 16 ; None
    .sdn_add         resb 4 ; struc dn_naddr
endstruc
%define struc_sockaddr_dn_size 26


name: optdata_dn
include_file: /usr/include/linux/dn.h
nasm_code:
; from header /usr/include/linux/dn.h
struc optdata_dn
    .opt_status      resb 2
    .opt_optl        resb 2
    .opt_data        resb 16 ; None
endstruc
%define struc_optdata_dn_size 20


name: accessdata_dn
include_file: /usr/include/linux/dn.h
nasm_code:
; from header /usr/include/linux/dn.h
struc accessdata_dn
    .acc_accl        resb 1
    .acc_acc         resb 40 ; None
    .acc_passl       resb 1
    .acc_pass        resb 40 ; None
    .acc_userl       resb 1
    .acc_user        resb 40 ; None
endstruc
%define struc_accessdata_dn_size 123


name: linkinfo_dn
include_file: /usr/include/linux/dn.h
nasm_code:
; from header /usr/include/linux/dn.h
struc linkinfo_dn
    .idn_segsize     resb 2
    .idn_linkstate   resb 1
endstruc
%define struc_linkinfo_dn_size 4


name: dn_addr
include_file: /usr/include/linux/dn.h
nasm_code:
; from header /usr/include/linux/dn.h
struc dn_addr
    .dna_family      resb 2
    .dna_netaddr     resb 6 ; union etheraddress
endstruc
%define struc_dn_addr_size 8


name: hv_vss_hdr
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_vss_hdr
    .operation       resb 1
    .reserved        resb 7 ; None
endstruc
%define struc_hv_vss_hdr_size 8


name: hv_vss_check_feature
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_vss_check_feature
    .flags           resb 4
endstruc
%define struc_hv_vss_check_feature_size 4


name: hv_vss_check_dm_info
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_vss_check_dm_info
    .flags           resb 4
endstruc
%define struc_hv_vss_check_dm_info_size 4


name: hv_fcopy_hdr
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_fcopy_hdr
    .operation       resb 4
    .service_id0     resb 16 ; None
    .service_id1     resb 16 ; None
endstruc
%define struc_hv_fcopy_hdr_size 36


name: hv_start_fcopy
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_start_fcopy
    .hdr             resb 36 ; struc hv_fcopy_hdr
    .file_name       resb 520 ; None
    .path_name       resb 520 ; None
    .copy_flags      resb 4
    .file_size       resb 8
endstruc
%define struc_hv_start_fcopy_size 1088


name: hv_do_fcopy
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_do_fcopy
    .hdr             resb 36 ; struc hv_fcopy_hdr
    .pad             resb 4
    .offset          resb 8
    .size            resb 4
    .data            resb 6144 ; None
endstruc
%define struc_hv_do_fcopy_size 6196


name: hv_kvp_ipaddr_value
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_kvp_ipaddr_value
    .adapter_id      resb 256 ; None
    .addr_family     resb 1
    .dhcp_enabled    resb 1
    .ip_addr         resb 2048 ; None
    .sub_net         resb 2048 ; None
    .gate_way        resb 1024 ; None
    .dns_addr        resb 2048 ; None
endstruc
%define struc_hv_kvp_ipaddr_value_size 7426


name: hv_kvp_hdr
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_kvp_hdr
    .operation       resb 1
    .pool            resb 1
    .pad             resb 2
endstruc
%define struc_hv_kvp_hdr_size 4


name: hv_kvp_msg_enumerate
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_kvp_msg_enumerate
    .index           resb 4
    .data            resb 2572 ; struc hv_kvp_exchg_msg_value
endstruc
%define struc_hv_kvp_msg_enumerate_size 2576


name: hv_kvp_msg_get
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_kvp_msg_get
    .data            resb 2572 ; struc hv_kvp_exchg_msg_value
endstruc
%define struc_hv_kvp_msg_get_size 2572


name: hv_kvp_msg_set
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_kvp_msg_set
    .data            resb 2572 ; struc hv_kvp_exchg_msg_value
endstruc
%define struc_hv_kvp_msg_set_size 2572


name: hv_kvp_msg_delete
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_kvp_msg_delete
    .key_size        resb 4
    .key             resb 512 ; None
endstruc
%define struc_hv_kvp_msg_delete_size 516


name: hv_kvp_register
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_kvp_register
    .version         resb 512 ; None
endstruc
%define struc_hv_kvp_register_size 512


name: hv_kvp_ip_msg
include_file: /usr/include/linux/hyperv.h
nasm_code:
; from header /usr/include/linux/hyperv.h
struc hv_kvp_ip_msg
    .operation       resb 1
    .pool            resb 1
    .kvp_ip_val      resb 7426 ; struc hv_kvp_ipaddr_value
endstruc
%define struc_hv_kvp_ip_msg_size 7428


name: dsa_raw_desc
include_file: /usr/include/linux/idxd.h
nasm_code:
; from header /usr/include/linux/idxd.h
struc dsa_raw_desc
    .field           resb 64 ; None
endstruc
%define struc_dsa_raw_desc_size 64


name: dsa_raw_completion_record
include_file: /usr/include/linux/idxd.h
nasm_code:
; from header /usr/include/linux/idxd.h
struc dsa_raw_completion_record
    .field           resb 32 ; None
endstruc
%define struc_dsa_raw_completion_record_size 32


name: atmlec_config_msg
include_file: /usr/include/linux/atmlec.h
nasm_code:
; from header /usr/include/linux/atmlec.h
struc atmlec_config_msg
    .maximum_unknown resb 4
    .max_unknown_fra resb 4
    .max_retry_count resb 2
    .aging_time      resb 4
    .forward_delay_t resb 4
    .arp_response_ti resb 4
    .flush_timeout   resb 4
    .path_switching_ resb 4
    .lane_version    resb 4
    .mtu             resb 4
    .is_proxy        resb 4
endstruc
%define struc_atmlec_config_msg_size 44


name: atmlec_msg
include_file: /usr/include/linux/atmlec.h
nasm_code:
; from header /usr/include/linux/atmlec.h
struc atmlec_msg
    .type            resb 4
    .sizeoftlvs      resb 4
    .content         resb 44 ; union None
endstruc
%define struc_atmlec_msg_size 52


name: atmlec_ioc
include_file: /usr/include/linux/atmlec.h
nasm_code:
; from header /usr/include/linux/atmlec.h
struc atmlec_ioc
    .dev_num         resb 4
    .atm_addr        resb 20 ; None
    .receive         resb 1
endstruc
%define struc_atmlec_ioc_size 28


name: ifmap
include_file: /usr/include/linux/if.h
nasm_code:
; from header /usr/include/linux/if.h
struc ifmap
    .mem_start       resb 8
    .mem_end         resb 8
    .base_addr       resb 2
    .irq             resb 1
    .dma             resb 1
    .port            resb 1
endstruc
%define struc_ifmap_size 24


name: if_settings
include_file: /usr/include/linux/if.h
nasm_code:
; from header /usr/include/linux/if.h
struc if_settings
    .type            resb 4
    .size            resb 4
    .ifs_ifsu        resb 8 ; union None
endstruc
%define struc_if_settings_size 16


name: ifreq
include_file: /usr/include/linux/if.h
nasm_code:
; from header /usr/include/linux/if.h
struc ifreq
    .ifr_ifrn        resb 16 ; union None
    .ifr_ifru        resb 24 ; union None
endstruc
%define struc_ifreq_size 40


name: ifconf
include_file: /usr/include/linux/if.h
nasm_code:
; from header /usr/include/linux/if.h
struc ifconf
    .ifc_len         resb 4
    .ifc_ifcu        resb 8 ; union None
endstruc
%define struc_ifconf_size 16


name: fscrypt_policy_v1
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_policy_v1
    .version         resb 1
    .contents_encryp resb 1
    .filenames_encry resb 1
    .flags           resb 1
    .master_key_desc resb 8 ; None
endstruc
%define struc_fscrypt_policy_v1_size 12


name: fscrypt_key
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_key
    .mode            resb 4
    .raw             resb 64 ; None
    .size            resb 4
endstruc
%define struc_fscrypt_key_size 72


name: fscrypt_policy_v2
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_policy_v2
    .version         resb 1
    .contents_encryp resb 1
    .filenames_encry resb 1
    .flags           resb 1
    .__reserved      resb 4 ; None
    .master_key_iden resb 16 ; None
endstruc
%define struc_fscrypt_policy_v2_size 24


name: fscrypt_get_policy_ex_arg
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_get_policy_ex_arg
    .policy_size     resb 8
    .policy          resb 24 ; union None
endstruc
%define struc_fscrypt_get_policy_ex_arg_size 32


name: fscrypt_key_specifier
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_key_specifier
    .type            resb 4
    .__reserved      resb 4
    .u               resb 32 ; union None
endstruc
%define struc_fscrypt_key_specifier_size 40


name: fscrypt_provisioning_key_payload
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_provisioning_key_payload
    .type            resb 4
    .__reserved      resb 4
    .raw             resb 0 ; None
endstruc
%define struc_fscrypt_provisioning_key_payload_size 8


name: fscrypt_add_key_arg
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_add_key_arg
    .key_spec        resb 40 ; struc fscrypt_key_specifier
    .raw_size        resb 4
    .key_id          resb 4
    .__reserved      resb 32 ; None
    .raw             resb 0 ; None
endstruc
%define struc_fscrypt_add_key_arg_size 80


name: fscrypt_remove_key_arg
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_remove_key_arg
    .key_spec        resb 40 ; struc fscrypt_key_specifier
    .removal_status_ resb 4
    .__reserved      resb 20 ; None
endstruc
%define struc_fscrypt_remove_key_arg_size 64


name: fscrypt_get_key_status_arg
include_file: /usr/include/linux/fscrypt.h
nasm_code:
; from header /usr/include/linux/fscrypt.h
struc fscrypt_get_key_status_arg
    .key_spec        resb 40 ; struc fscrypt_key_specifier
    .__reserved      resb 24 ; None
    .status          resb 4
    .status_flags    resb 4
    .user_count      resb 4
    .__out_reserved  resb 52 ; None
endstruc
%define struc_fscrypt_get_key_status_arg_size 128


name: atm_blli
include_file: /usr/include/linux/atmsap.h
nasm_code:
; from header /usr/include/linux/atmsap.h
struc atm_blli
    .l2_proto        resb 1
    .l2              resb 2 ; union None
    .l3_proto        resb 1
    .l3              resb 6 ; union None
endstruc
%define struc_atm_blli_size 10


name: atm_bhli
include_file: /usr/include/linux/atmsap.h
nasm_code:
; from header /usr/include/linux/atmsap.h
struc atm_bhli
    .hl_type         resb 1
    .hl_length       resb 1
    .hl_info         resb 8 ; None
endstruc
%define struc_atm_bhli_size 10


name: atm_sap
include_file: /usr/include/linux/atmsap.h
nasm_code:
; from header /usr/include/linux/atmsap.h
struc atm_sap
    .bhli            resb 10 ; struc atm_bhli
    .blli            resb 30 ; None
endstruc
%define struc_atm_sap_size 40


name: audit_features
include_file: /usr/include/linux/audit.h
nasm_code:
; from header /usr/include/linux/audit.h
struc audit_features
    .vers            resb 4
    .mask            resb 4
    .features        resb 4
    .lock            resb 4
endstruc
%define struc_audit_features_size 16


name: audit_tty_status
include_file: /usr/include/linux/audit.h
nasm_code:
; from header /usr/include/linux/audit.h
struc audit_tty_status
    .enabled         resb 4
    .log_passwd      resb 4
endstruc
%define struc_audit_tty_status_size 8


name: audit_rule_data
include_file: /usr/include/linux/audit.h
nasm_code:
; from header /usr/include/linux/audit.h
struc audit_rule_data
    .flags           resb 4
    .action          resb 4
    .field_count     resb 4
    .mask            resb 256 ; None
    .fields          resb 256 ; None
    .values          resb 256 ; None
    .fieldflags      resb 256 ; None
    .buflen          resb 4
    .buf             resb 0 ; None
endstruc
%define struc_audit_rule_data_size 1040


name: atmtcp_hdr
include_file: /usr/include/linux/atm_tcp.h
nasm_code:
; from header /usr/include/linux/atm_tcp.h
struc atmtcp_hdr
    .vpi             resb 2
    .vci             resb 2
    .length          resb 4
endstruc
%define struc_atmtcp_hdr_size 8


name: atmtcp_control
include_file: /usr/include/linux/atm_tcp.h
nasm_code:
; from header /usr/include/linux/atm_tcp.h
struc atmtcp_control
    .hdr             resb 8 ; struc atmtcp_hdr
    .type            resb 4
    .vcc             resb 8 ; atm_kptr_t
    .addr            resb 12 ; struc sockaddr_atmpvc
    .qos             resb 84 ; struc atm_qos
    .result          resb 4
endstruc
%define struc_atmtcp_control_size 120


name: atm_trafprm
include_file: /usr/include/linux/atm.h
nasm_code:
; from header /usr/include/linux/atm.h
struc atm_trafprm
    .traffic_class   resb 1
    .max_pcr         resb 4
    .pcr             resb 4
    .min_pcr         resb 4
    .max_cdv         resb 4
    .max_sdu         resb 4
    .icr             resb 4
    .tbe             resb 4
    .frtt            resb 4
    .rif             resb 4
    .rdf             resb 4
    .nrm_pres        resb 4
    .trm_pres        resb 4
    .adtf_pres       resb 4
    .cdf_pres        resb 4
    .nrm             resb 4
    .trm             resb 4
    .adtf            resb 4
    .cdf             resb 4
    .spare           resb 4
endstruc
%define struc_atm_trafprm_size 40


name: atm_qos
include_file: /usr/include/linux/atm.h
nasm_code:
; from header /usr/include/linux/atm.h
struc atm_qos
    .txtp            resb 40 ; struc atm_trafprm
    .rxtp            resb 40 ; struc atm_trafprm
    .aal             resb 1
endstruc
%define struc_atm_qos_size 84


name: sockaddr_atmpvc
include_file: /usr/include/linux/atm.h
nasm_code:
; from header /usr/include/linux/atm.h
struc sockaddr_atmpvc
    .sap_family      resb 2
    .sap_addr        resb 8 ; struc None
endstruc
%define struc_sockaddr_atmpvc_size 12


name: sockaddr_atmsvc
include_file: /usr/include/linux/atm.h
nasm_code:
; from header /usr/include/linux/atm.h
struc sockaddr_atmsvc
    .sas_family      resb 2
    .sas_addr        resb 40 ; struc None
endstruc
%define struc_sockaddr_atmsvc_size 44


name: atmif_sioc
include_file: /usr/include/linux/atm.h
nasm_code:
; from header /usr/include/linux/atm.h
struc atmif_sioc
    .number          resb 4
    .length          resb 4
    .arg             resb 8
endstruc
%define struc_atmif_sioc_size 16


name: RigidDiskBlock
include_file: /usr/include/linux/affs_hardblocks.h
nasm_code:
; from header /usr/include/linux/affs_hardblocks.h
struc RigidDiskBlock
    .rdb_ID          resb 4
    .rdb_SummedLongs resb 4
    .rdb_ChkSum      resb 4
    .rdb_HostID      resb 4
    .rdb_BlockBytes  resb 4
    .rdb_Flags       resb 4
    .rdb_BadBlockLis resb 4
    .rdb_PartitionLi resb 4
    .rdb_FileSysHead resb 4
    .rdb_DriveInit   resb 4
    .rdb_Reserved1   resb 24 ; None
    .rdb_Cylinders   resb 4
    .rdb_Sectors     resb 4
    .rdb_Heads       resb 4
    .rdb_Interleave  resb 4
    .rdb_Park        resb 4
    .rdb_Reserved2   resb 12 ; None
    .rdb_WritePreCom resb 4
    .rdb_ReducedWrit resb 4
    .rdb_StepRate    resb 4
    .rdb_Reserved3   resb 20 ; None
    .rdb_RDBBlocksLo resb 4
    .rdb_RDBBlocksHi resb 4
    .rdb_LoCylinder  resb 4
    .rdb_HiCylinder  resb 4
    .rdb_CylBlocks   resb 4
    .rdb_AutoParkSec resb 4
    .rdb_HighRDSKBlo resb 4
    .rdb_Reserved4   resb 4
    .rdb_DiskVendor  resb 8 ; None
    .rdb_DiskProduct resb 16 ; None
    .rdb_DiskRevisio resb 4 ; None
    .rdb_ControllerV resb 8 ; None
    .rdb_ControllerP resb 16 ; None
    .rdb_ControllerR resb 4 ; None
    .rdb_Reserved5   resb 40 ; None
endstruc
%define struc_RigidDiskBlock_size 256


name: PartitionBlock
include_file: /usr/include/linux/affs_hardblocks.h
nasm_code:
; from header /usr/include/linux/affs_hardblocks.h
struc PartitionBlock
    .pb_ID           resb 4
    .pb_SummedLongs  resb 4
    .pb_ChkSum       resb 4
    .pb_HostID       resb 4
    .pb_Next         resb 4
    .pb_Flags        resb 4
    .pb_Reserved1    resb 8 ; None
    .pb_DevFlags     resb 4
    .pb_DriveName    resb 32 ; None
    .pb_Reserved2    resb 60 ; None
    .pb_Environment  resb 68 ; None
    .pb_EReserved    resb 60 ; None
endstruc
%define struc_PartitionBlock_size 256


name: utimbuf
include_file: /usr/include/utime.h
nasm_code:
; from header /usr/include/utime.h
struc utimbuf
    .actime          resb 8
    .modtime         resb 8
endstruc
%define struc_utimbuf_size 16


name: tftphdr
include_file: /usr/include/arpa/tftp.h
nasm_code:
; from header /usr/include/arpa/tftp.h
struc tftphdr
    .th_opcode       resb 2
    .th_u            resb 2 ; union None
    .th_data         resb 1 ; None
endstruc
%define struc_tftphdr_size 6


name: __ns_msg
include_file: /usr/include/arpa/nameser.h
nasm_code:
; from header /usr/include/arpa/nameser.h
struc __ns_msg
    ._msg            resb 8
    ._eom            resb 8
    ._id             resb 2
    ._flags          resb 2
    ._counts         resb 8 ; None
    ._sections       resb 32 ; None
    ._sect           resb 4
    ._rrnum          resb 4
    ._msg_ptr        resb 8
endstruc
%define struc___ns_msg_size 80


name: _ns_flagdata
include_file: /usr/include/arpa/nameser.h
nasm_code:
; from header /usr/include/arpa/nameser.h
struc _ns_flagdata
    .mask            resb 4
    .shift           resb 4
endstruc
%define struc__ns_flagdata_size 8


name: __ns_rr
include_file: /usr/include/arpa/nameser.h
nasm_code:
; from header /usr/include/arpa/nameser.h
struc __ns_rr
    .name            resb 1025 ; None
    .type            resb 2
    .rr_class        resb 2
    .ttl             resb 4
    .rdlength        resb 2
    .rdata           resb 8
endstruc
%define struc___ns_rr_size 1048


name: ns_tsig_key
include_file: /usr/include/arpa/nameser.h
nasm_code:
; from header /usr/include/arpa/nameser.h
struc ns_tsig_key
    .name            resb 1025 ; None
    .alg             resb 1025 ; None
    .data            resb 8
    .len             resb 4
endstruc
%define struc_ns_tsig_key_size 2072


name: ns_tcp_tsig_state
include_file: /usr/include/arpa/nameser.h
nasm_code:
; from header /usr/include/arpa/nameser.h
struc ns_tcp_tsig_state
    .counter         resb 4
    .key             resb 8
    .ctx             resb 8
    .sig             resb 512 ; None
    .siglen          resb 4
endstruc
%define struc_ns_tcp_tsig_state_size 544


name: ioctl_gntalloc_alloc_gref
include_file: /usr/include/xen/gntalloc.h
nasm_code:
; from header /usr/include/xen/gntalloc.h
struc ioctl_gntalloc_alloc_gref
    .domid           resb 2
    .flags           resb 2
    .count           resb 4
    .index           resb 8
    .gref_ids        resb 4 ; None
endstruc
%define struc_ioctl_gntalloc_alloc_gref_size 24


name: ioctl_gntalloc_dealloc_gref
include_file: /usr/include/xen/gntalloc.h
nasm_code:
; from header /usr/include/xen/gntalloc.h
struc ioctl_gntalloc_dealloc_gref
    .index           resb 8
    .count           resb 4
endstruc
%define struc_ioctl_gntalloc_dealloc_gref_size 16


name: ioctl_gntalloc_unmap_notify
include_file: /usr/include/xen/gntalloc.h
nasm_code:
; from header /usr/include/xen/gntalloc.h
struc ioctl_gntalloc_unmap_notify
    .index           resb 8
    .action          resb 4
    .event_channel_p resb 4
endstruc
%define struc_ioctl_gntalloc_unmap_notify_size 16


name: __ptcb
include_file: /usr/include/pthread.h
nasm_code:
; from header /usr/include/pthread.h
struc __ptcb
    .__f             resb 8
    .__x             resb 8
    .__next          resb 8
endstruc
%define struc___ptcb_size 24


name: pollfd
include_file: /usr/include/poll.h
nasm_code:
; from header /usr/include/poll.h
struc pollfd
    .fd              resb 4
    .events          resb 2
    .revents         resb 2
endstruc
%define struc_pollfd_size 8


name: __jmp_buf_tag
include_file: /usr/include/setjmp.h
nasm_code:
; from header /usr/include/setjmp.h
struc __jmp_buf_tag
    .__jb            resb 64 ; __jmp_buf
    .__fl            resb 8
    .__ss            resb 128 ; None
endstruc
%define struc___jmp_buf_tag_size 200


name: snd_firewire_event_common
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_event_common
    .type            resb 4
endstruc
%define struc_snd_firewire_event_common_size 4


name: snd_firewire_event_lock_status
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_event_lock_status
    .type            resb 4
    .status          resb 4
endstruc
%define struc_snd_firewire_event_lock_status_size 8


name: snd_firewire_event_dice_notification
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_event_dice_notification
    .type            resb 4
    .notification    resb 4
endstruc
%define struc_snd_firewire_event_dice_notification_size 8


name: snd_efw_transaction
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_efw_transaction
    .length          resb 4
    .version         resb 4
    .seqnum          resb 4
    .category        resb 4
    .command         resb 4
    .status          resb 4
    .params          resb 0 ; None
endstruc
%define struc_snd_efw_transaction_size 24


name: snd_firewire_event_efw_response
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_event_efw_response
    .type            resb 4
    .response        resb 0 ; None
endstruc
%define struc_snd_firewire_event_efw_response_size 4


name: snd_firewire_event_digi00x_message
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_event_digi00x_message
    .type            resb 4
    .message         resb 4
endstruc
%define struc_snd_firewire_event_digi00x_message_size 8


name: snd_firewire_event_motu_notification
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_event_motu_notification
    .type            resb 4
    .message         resb 4
endstruc
%define struc_snd_firewire_event_motu_notification_size 8


name: snd_firewire_tascam_change
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_tascam_change
    .index           resb 4
    .before          resb 4
    .after           resb 4
endstruc
%define struc_snd_firewire_tascam_change_size 12


name: snd_firewire_event_tascam_control
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_event_tascam_control
    .type            resb 4
    .changes         resb 0 ; None
endstruc
%define struc_snd_firewire_event_tascam_control_size 4


name: snd_firewire_get_info
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_get_info
    .type            resb 4
    .card            resb 4
    .guid            resb 8 ; None
    .device_name     resb 16 ; None
endstruc
%define struc_snd_firewire_get_info_size 32


name: snd_firewire_tascam_state
include_file: /usr/include/sound/firewire.h
nasm_code:
; from header /usr/include/sound/firewire.h
struc snd_firewire_tascam_state
    .data            resb 256 ; None
endstruc
%define struc_snd_firewire_tascam_state_size 256


name: hdspm_peak_rms
include_file: /usr/include/sound/hdspm.h
nasm_code:
; from header /usr/include/sound/hdspm.h
struc hdspm_peak_rms
    .input_peaks     resb 256 ; None
    .playback_peaks  resb 256 ; None
    .output_peaks    resb 256 ; None
    .input_rms       resb 512 ; None
    .playback_rms    resb 512 ; None
    .output_rms      resb 512 ; None
    .speed           resb 1
    .status2         resb 4
endstruc
%define struc_hdspm_peak_rms_size 2312


name: hdspm_config
include_file: /usr/include/sound/hdspm.h
nasm_code:
; from header /usr/include/sound/hdspm.h
struc hdspm_config
    .pref_sync_ref   resb 1
    .wordclock_sync_ resb 1
    .madi_sync_check resb 1
    .system_sample_r resb 4
    .autosync_sample resb 4
    .system_clock_mo resb 1
    .clock_source    resb 1
    .autosync_ref    resb 1
    .line_out        resb 1
    .passthru        resb 4
    .analog_out      resb 4
endstruc
%define struc_hdspm_config_size 24


name: hdspm_ltc
include_file: /usr/include/sound/hdspm.h
nasm_code:
; from header /usr/include/sound/hdspm.h
struc hdspm_ltc
    .ltc             resb 4
    .format          resb 4
    .frame           resb 4
    .input_format    resb 4
endstruc
%define struc_hdspm_ltc_size 16


name: hdspm_status
include_file: /usr/include/sound/hdspm.h
nasm_code:
; from header /usr/include/sound/hdspm.h
struc hdspm_status
    .card_type       resb 1
    .autosync_source resb 4
    .card_clock      resb 8
    .master_period   resb 4
    .card_specific   resb 7 ; union None
endstruc
%define struc_hdspm_status_size 32


name: hdspm_version
include_file: /usr/include/sound/hdspm.h
nasm_code:
; from header /usr/include/sound/hdspm.h
struc hdspm_version
    .card_type       resb 1
    .cardname        resb 20 ; None
    .serial          resb 4
    .firmware_rev    resb 2
    .addons          resb 4
endstruc
%define struc_hdspm_version_size 36


name: hdspm_channelfader
include_file: /usr/include/sound/hdspm.h
nasm_code:
; from header /usr/include/sound/hdspm.h
struc hdspm_channelfader
    .in              resb 256 ; None
    .pb              resb 256 ; None
endstruc
%define struc_hdspm_channelfader_size 512


name: hdspm_mixer
include_file: /usr/include/sound/hdspm.h
nasm_code:
; from header /usr/include/sound/hdspm.h
struc hdspm_mixer
    .ch              resb 32768 ; None
endstruc
%define struc_hdspm_mixer_size 32768


name: hdspm_mixer_ioctl
include_file: /usr/include/sound/hdspm.h
nasm_code:
; from header /usr/include/sound/hdspm.h
struc hdspm_mixer_ioctl
    .mixer           resb 8
endstruc
%define struc_hdspm_mixer_ioctl_size 8


name: snd_soc_tplg_hdr
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_hdr
    .magic           resb 4
    .abi             resb 4
    .version         resb 4
    .type            resb 4
    .size            resb 4
    .vendor_type     resb 4
    .payload_size    resb 4
    .index           resb 4
    .count           resb 4
endstruc
%define struc_snd_soc_tplg_hdr_size 36


name: snd_soc_tplg_vendor_uuid_elem
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_vendor_uuid_elem
    .token           resb 4
    .uuid            resb 16 ; None
endstruc
%define struc_snd_soc_tplg_vendor_uuid_elem_size 20


name: snd_soc_tplg_vendor_value_elem
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_vendor_value_elem
    .token           resb 4
    .value           resb 4
endstruc
%define struc_snd_soc_tplg_vendor_value_elem_size 8


name: snd_soc_tplg_vendor_string_elem
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_vendor_string_elem
    .token           resb 4
    .string          resb 44 ; None
endstruc
%define struc_snd_soc_tplg_vendor_string_elem_size 48


name: snd_soc_tplg_tlv_dbscale
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_tlv_dbscale
    .min             resb 4
    .step            resb 4
    .mute            resb 4
endstruc
%define struc_snd_soc_tplg_tlv_dbscale_size 12


name: snd_soc_tplg_channel
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_channel
    .size            resb 4
    .reg             resb 4
    .shift           resb 4
    .id              resb 4
endstruc
%define struc_snd_soc_tplg_channel_size 16


name: snd_soc_tplg_io_ops
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_io_ops
    .get             resb 4
    .put             resb 4
    .info            resb 4
endstruc
%define struc_snd_soc_tplg_io_ops_size 12


name: snd_soc_tplg_ctl_hdr
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_ctl_hdr
    .size            resb 4
    .type            resb 4
    .name            resb 44 ; None
    .access          resb 4
    .ops             resb 12 ; struc snd_soc_tplg_io_ops
    .tlv             resb 136 ; struc snd_soc_tplg_ctl_tlv
endstruc
%define struc_snd_soc_tplg_ctl_hdr_size 204


name: snd_soc_tplg_stream_caps
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_stream_caps
    .size            resb 4
    .name            resb 44 ; None
    .formats         resb 8
    .rates           resb 4
    .rate_min        resb 4
    .rate_max        resb 4
    .channels_min    resb 4
    .channels_max    resb 4
    .periods_min     resb 4
    .periods_max     resb 4
    .period_size_min resb 4
    .period_size_max resb 4
    .buffer_size_min resb 4
    .buffer_size_max resb 4
    .sig_bits        resb 4
endstruc
%define struc_snd_soc_tplg_stream_caps_size 104


name: snd_soc_tplg_stream
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_stream
    .size            resb 4
    .name            resb 44 ; None
    .format          resb 8
    .rate            resb 4
    .period_bytes    resb 4
    .buffer_bytes    resb 4
    .channels        resb 4
endstruc
%define struc_snd_soc_tplg_stream_size 72


name: snd_soc_tplg_hw_config
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_hw_config
    .size            resb 4
    .id              resb 4
    .fmt             resb 4
    .clock_gated     resb 1
    .invert_bclk     resb 1
    .invert_fsync    resb 1
    .bclk_master     resb 1
    .fsync_master    resb 1
    .mclk_direction  resb 1
    .reserved        resb 2
    .mclk_rate       resb 4
    .bclk_rate       resb 4
    .fsync_rate      resb 4
    .tdm_slots       resb 4
    .tdm_slot_width  resb 4
    .tx_slots        resb 4
    .rx_slots        resb 4
    .tx_channels     resb 4
    .tx_chanmap      resb 32 ; None
    .rx_channels     resb 4
    .rx_chanmap      resb 32 ; None
endstruc
%define struc_snd_soc_tplg_hw_config_size 120


name: snd_soc_tplg_manifest
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_manifest
    .size            resb 4
    .control_elems   resb 4
    .widget_elems    resb 4
    .graph_elems     resb 4
    .pcm_elems       resb 4
    .dai_link_elems  resb 4
    .dai_elems       resb 4
    .reserved        resb 80 ; None
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_manifest_size 112


name: snd_soc_tplg_mixer_control
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_mixer_control
    .hdr             resb 204 ; struc snd_soc_tplg_ctl_hdr
    .size            resb 4
    .min             resb 4
    .max             resb 4
    .platform_max    resb 4
    .invert          resb 4
    .num_channels    resb 4
    .channel         resb 128 ; None
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_mixer_control_size 360


name: snd_soc_tplg_enum_control
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_enum_control
    .hdr             resb 204 ; struc snd_soc_tplg_ctl_hdr
    .size            resb 4
    .num_channels    resb 4
    .channel         resb 128 ; None
    .items           resb 4
    .mask            resb 4
    .count           resb 4
    .texts           resb 704 ; None
    .values          resb 704 ; None
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_enum_control_size 1764


name: snd_soc_tplg_bytes_control
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_bytes_control
    .hdr             resb 204 ; struc snd_soc_tplg_ctl_hdr
    .size            resb 4
    .max             resb 4
    .mask            resb 4
    .base            resb 4
    .num_regs        resb 4
    .ext_ops         resb 12 ; struc snd_soc_tplg_io_ops
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_bytes_control_size 240


name: snd_soc_tplg_dapm_graph_elem
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_dapm_graph_elem
    .sink            resb 44 ; None
    .control         resb 44 ; None
    .source          resb 44 ; None
endstruc
%define struc_snd_soc_tplg_dapm_graph_elem_size 132


name: snd_soc_tplg_dapm_widget
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_dapm_widget
    .size            resb 4
    .id              resb 4
    .name            resb 44 ; None
    .sname           resb 44 ; None
    .reg             resb 4
    .shift           resb 4
    .mask            resb 4
    .subseq          resb 4
    .invert          resb 4
    .ignore_suspend  resb 4
    .event_flags     resb 2
    .event_type      resb 2
    .num_kcontrols   resb 4
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_dapm_widget_size 132


name: snd_soc_tplg_pcm
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_pcm
    .size            resb 4
    .pcm_name        resb 44 ; None
    .dai_name        resb 44 ; None
    .pcm_id          resb 4
    .dai_id          resb 4
    .playback        resb 4
    .capture         resb 4
    .compress        resb 4
    .stream          resb 576 ; None
    .num_streams     resb 4
    .caps            resb 208 ; None
    .flag_mask       resb 4
    .flags           resb 4
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_pcm_size 912


name: snd_soc_tplg_link_config
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_link_config
    .size            resb 4
    .id              resb 4
    .name            resb 44 ; None
    .stream_name     resb 44 ; None
    .stream          resb 576 ; None
    .num_streams     resb 4
    .hw_config       resb 960 ; None
    .num_hw_configs  resb 4
    .default_hw_conf resb 4
    .flag_mask       resb 4
    .flags           resb 4
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_link_config_size 1656


name: snd_soc_tplg_dai
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_dai
    .size            resb 4
    .dai_name        resb 44 ; None
    .dai_id          resb 4
    .playback        resb 4
    .capture         resb 4
    .caps            resb 208 ; None
    .flag_mask       resb 4
    .flags           resb 4
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_dai_size 280


name: snd_soc_tplg_manifest_v4
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_manifest_v4
    .size            resb 4
    .control_elems   resb 4
    .widget_elems    resb 4
    .graph_elems     resb 4
    .pcm_elems       resb 4
    .dai_link_elems  resb 4
    .priv            resb 4 ; struc snd_soc_tplg_private
endstruc
%define struc_snd_soc_tplg_manifest_v4_size 28


name: snd_soc_tplg_stream_caps_v4
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_stream_caps_v4
    .size            resb 4
    .name            resb 44 ; None
    .formats         resb 8
    .rates           resb 4
    .rate_min        resb 4
    .rate_max        resb 4
    .channels_min    resb 4
    .channels_max    resb 4
    .periods_min     resb 4
    .periods_max     resb 4
    .period_size_min resb 4
    .period_size_max resb 4
    .buffer_size_min resb 4
    .buffer_size_max resb 4
endstruc
%define struc_snd_soc_tplg_stream_caps_v4_size 100


name: snd_soc_tplg_pcm_v4
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_pcm_v4
    .size            resb 4
    .pcm_name        resb 44 ; None
    .dai_name        resb 44 ; None
    .pcm_id          resb 4
    .dai_id          resb 4
    .playback        resb 4
    .capture         resb 4
    .compress        resb 4
    .stream          resb 576 ; None
    .num_streams     resb 4
    .caps            resb 200 ; None
endstruc
%define struc_snd_soc_tplg_pcm_v4_size 892


name: snd_soc_tplg_link_config_v4
include_file: /usr/include/sound/asoc.h
nasm_code:
; from header /usr/include/sound/asoc.h
struc snd_soc_tplg_link_config_v4
    .size            resb 4
    .id              resb 4
    .stream          resb 576 ; None
    .num_streams     resb 4
endstruc
%define struc_snd_soc_tplg_link_config_v4_size 588


name: snd_sb_csp_mc_header
include_file: /usr/include/sound/sb16_csp.h
nasm_code:
; from header /usr/include/sound/sb16_csp.h
struc snd_sb_csp_mc_header
    .codec_name      resb 16 ; None
    .func_req        resb 2
endstruc
%define struc_snd_sb_csp_mc_header_size 18


name: snd_sb_csp_microcode
include_file: /usr/include/sound/sb16_csp.h
nasm_code:
; from header /usr/include/sound/sb16_csp.h
struc snd_sb_csp_microcode
    .info            resb 18 ; struc snd_sb_csp_mc_header
    .data            resb 12288 ; None
endstruc
%define struc_snd_sb_csp_microcode_size 12306


name: snd_sb_csp_start
include_file: /usr/include/sound/sb16_csp.h
nasm_code:
; from header /usr/include/sound/sb16_csp.h
struc snd_sb_csp_start
    .sample_width    resb 4
    .channels        resb 4
endstruc
%define struc_snd_sb_csp_start_size 8


name: snd_sb_csp_info
include_file: /usr/include/sound/sb16_csp.h
nasm_code:
; from header /usr/include/sound/sb16_csp.h
struc snd_sb_csp_info
    .codec_name      resb 16 ; None
    .func_nr         resb 2
    .acc_format      resb 4
    .acc_channels    resb 2
    .acc_width       resb 2
    .acc_rates       resb 2
    .csp_mode        resb 2
    .run_channels    resb 2
    .run_width       resb 2
    .version         resb 2
    .state           resb 2
endstruc
%define struc_snd_sb_csp_info_size 40


name: skl_dfw_algo_data
include_file: /usr/include/sound/skl-tplg-interface.h
nasm_code:
; from header /usr/include/sound/skl-tplg-interface.h
struc skl_dfw_algo_data
    .set_params      resb 4
    .rsvd            resb 4
    .param_id        resb 4
    .max             resb 4
    .params          resb 0 ; None
endstruc
%define struc_skl_dfw_algo_data_size 12


name: skl_dfw_v4_module_pin
include_file: /usr/include/sound/skl-tplg-interface.h
nasm_code:
; from header /usr/include/sound/skl-tplg-interface.h
struc skl_dfw_v4_module_pin
    .module_id       resb 2
    .instance_id     resb 2
endstruc
%define struc_skl_dfw_v4_module_pin_size 4


name: skl_dfw_v4_module_fmt
include_file: /usr/include/sound/skl-tplg-interface.h
nasm_code:
; from header /usr/include/sound/skl-tplg-interface.h
struc skl_dfw_v4_module_fmt
    .channels        resb 4
    .freq            resb 4
    .bit_depth       resb 4
    .valid_bit_depth resb 4
    .ch_cfg          resb 4
    .interleaving_st resb 4
    .sample_type     resb 4
    .ch_map          resb 4
endstruc
%define struc_skl_dfw_v4_module_fmt_size 32


name: skl_dfw_v4_module_caps
include_file: /usr/include/sound/skl-tplg-interface.h
nasm_code:
; from header /usr/include/sound/skl-tplg-interface.h
struc skl_dfw_v4_module_caps
    .set_params      resb 4
    .rsvd            resb 4
    .param_id        resb 4
    .caps_size       resb 4
    .caps            resb 3600 ; None
endstruc
%define struc_skl_dfw_v4_module_caps_size 3612


name: skl_dfw_v4_pipe
include_file: /usr/include/sound/skl-tplg-interface.h
nasm_code:
; from header /usr/include/sound/skl-tplg-interface.h
struc skl_dfw_v4_pipe
    .pipe_id         resb 1
    .pipe_priority   resb 1
    .conn_type       resb 2
    .rsvd            resb 2
    .memory_pages    resb 2
endstruc
%define struc_skl_dfw_v4_pipe_size 4


name: skl_dfw_v4_module
include_file: /usr/include/sound/skl-tplg-interface.h
nasm_code:
; from header /usr/include/sound/skl-tplg-interface.h
struc skl_dfw_v4_module
    .uuid            resb 40 ; None
    .module_id       resb 2
    .instance_id     resb 2
    .max_mcps        resb 4
    .mem_pages       resb 4
    .obs             resb 4
    .ibs             resb 4
    .vbus_id         resb 4
    .max_in_queue    resb 4
    .max_out_queue   resb 4
    .time_slot       resb 4
    .core_id         resb 4
    .rsvd1           resb 4
    .module_type     resb 4
    .conn_type       resb 4
    .dev_type        resb 4
    .hw_conn_type    resb 4
    .rsvd2           resb 4
    .params_fixup    resb 4
    .converter       resb 4
    .input_pin_type  resb 4
    .output_pin_type resb 4
    .is_dynamic_in_p resb 4
    .is_dynamic_out_ resb 4
    .is_loadable     resb 4
    .rsvd3           resb 4
    .pipe            resb 4 ; struc skl_dfw_v4_pipe
    .in_fmt          resb 256 ; None
    .out_fmt         resb 256 ; None
    .in_pin          resb 32 ; None
    .out_pin         resb 32 ; None
    .caps            resb 3612 ; struc skl_dfw_v4_module_caps
endstruc
%define struc_skl_dfw_v4_module_size 4268


name: usb_stream_packet
include_file: /usr/include/sound/usb_stream.h
nasm_code:
; from header /usr/include/sound/usb_stream.h
struc usb_stream_packet
    .offset          resb 4
    .length          resb 4
endstruc
%define struc_usb_stream_packet_size 8


name: usb_stream_config
include_file: /usr/include/sound/usb_stream.h
nasm_code:
; from header /usr/include/sound/usb_stream.h
struc usb_stream_config
    .version         resb 4
    .sample_rate     resb 4
    .period_frames   resb 4
    .frame_size      resb 4
endstruc
%define struc_usb_stream_config_size 16


name: usb_stream
include_file: /usr/include/sound/usb_stream.h
nasm_code:
; from header /usr/include/sound/usb_stream.h
struc usb_stream
    .cfg             resb 16 ; struc usb_stream_config
    .read_size       resb 4
    .write_size      resb 4
    .period_size     resb 4
    .state           resb 4
    .idle_insize     resb 4
    .idle_outsize    resb 4
    .sync_packet     resb 4
    .insize_done     resb 4
    .periods_done    resb 4
    .periods_polled  resb 4
    .outpacket       resb 16 ; None
    .inpackets       resb 4
    .inpacket_head   resb 4
    .inpacket_split  resb 4
    .inpacket_split_ resb 4
    .next_inpacket_s resb 4
    .next_inpacket_s resb 4
    .inpacket        resb 0 ; None
endstruc
%define struc_usb_stream_size 96


name: snd_compressed_buffer
include_file: /usr/include/sound/compress_offload.h
nasm_code:
; from header /usr/include/sound/compress_offload.h
struc snd_compressed_buffer
    .fragment_size   resb 4
    .fragments       resb 4
endstruc
%define struc_snd_compressed_buffer_size 8


name: snd_compr_params
include_file: /usr/include/sound/compress_offload.h
nasm_code:
; from header /usr/include/sound/compress_offload.h
struc snd_compr_params
    .buffer          resb 8 ; struc snd_compressed_buffer
    .codec           resb 120 ; struc snd_codec
    .no_wake_mode    resb 1
endstruc
%define struc_snd_compr_params_size 132


name: snd_compr_tstamp
include_file: /usr/include/sound/compress_offload.h
nasm_code:
; from header /usr/include/sound/compress_offload.h
struc snd_compr_tstamp
    .byte_offset     resb 4
    .copied_total    resb 4
    .pcm_frames      resb 4
    .pcm_io_frames   resb 4
    .sampling_rate   resb 4
endstruc
%define struc_snd_compr_tstamp_size 20


name: snd_compr_avail
include_file: /usr/include/sound/compress_offload.h
nasm_code:
; from header /usr/include/sound/compress_offload.h
struc snd_compr_avail
    .avail           resb 8
    .tstamp          resb 20 ; struc snd_compr_tstamp
endstruc
%define struc_snd_compr_avail_size 28


name: snd_compr_caps
include_file: /usr/include/sound/compress_offload.h
nasm_code:
; from header /usr/include/sound/compress_offload.h
struc snd_compr_caps
    .num_codecs      resb 4
    .direction       resb 4
    .min_fragment_si resb 4
    .max_fragment_si resb 4
    .min_fragments   resb 4
    .max_fragments   resb 4
    .codecs          resb 128 ; None
    .reserved        resb 44 ; None
endstruc
%define struc_snd_compr_caps_size 196


name: snd_compr_codec_caps
include_file: /usr/include/sound/compress_offload.h
nasm_code:
; from header /usr/include/sound/compress_offload.h
struc snd_compr_codec_caps
    .codec           resb 4
    .num_descriptors resb 4
    .descriptor      resb 11136 ; None
endstruc
%define struc_snd_compr_codec_caps_size 11144


name: snd_compr_metadata
include_file: /usr/include/sound/compress_offload.h
nasm_code:
; from header /usr/include/sound/compress_offload.h
struc snd_compr_metadata
    .key             resb 4
    .value           resb 32 ; None
endstruc
%define struc_snd_compr_metadata_size 36


name: hdsp_peak_rms
include_file: /usr/include/sound/hdsp.h
nasm_code:
; from header /usr/include/sound/hdsp.h
struc hdsp_peak_rms
    .input_peaks     resb 104 ; None
    .playback_peaks  resb 104 ; None
    .output_peaks    resb 112 ; None
    .input_rms       resb 208 ; None
    .playback_rms    resb 208 ; None
    .output_rms      resb 208 ; None
endstruc
%define struc_hdsp_peak_rms_size 944


name: hdsp_config_info
include_file: /usr/include/sound/hdsp.h
nasm_code:
; from header /usr/include/sound/hdsp.h
struc hdsp_config_info
    .pref_sync_ref   resb 1
    .wordclock_sync_ resb 1
    .spdif_sync_chec resb 1
    .adatsync_sync_c resb 1
    .adat_sync_check resb 3 ; None
    .spdif_in        resb 1
    .spdif_out       resb 1
    .spdif_professio resb 1
    .spdif_emphasis  resb 1
    .spdif_nonaudio  resb 1
    .spdif_sample_ra resb 4
    .system_sample_r resb 4
    .autosync_sample resb 4
    .system_clock_mo resb 1
    .clock_source    resb 1
    .autosync_ref    resb 1
    .line_out        resb 1
    .passthru        resb 1
    .da_gain         resb 1
    .ad_gain         resb 1
    .phone_gain      resb 1
    .xlr_breakout_ca resb 1
    .analog_extensio resb 1
endstruc
%define struc_hdsp_config_info_size 36


name: hdsp_firmware
include_file: /usr/include/sound/hdsp.h
nasm_code:
; from header /usr/include/sound/hdsp.h
struc hdsp_firmware
    .firmware_data   resb 8
endstruc
%define struc_hdsp_firmware_size 8


name: hdsp_version
include_file: /usr/include/sound/hdsp.h
nasm_code:
; from header /usr/include/sound/hdsp.h
struc hdsp_version
    .io_type         resb 4
    .firmware_rev    resb 2
endstruc
%define struc_hdsp_version_size 8


name: hdsp_mixer
include_file: /usr/include/sound/hdsp.h
nasm_code:
; from header /usr/include/sound/hdsp.h
struc hdsp_mixer
    .matrix          resb 4096 ; None
endstruc
%define struc_hdsp_mixer_size 4096


name: hdsp_9632_aeb
include_file: /usr/include/sound/hdsp.h
nasm_code:
; from header /usr/include/sound/hdsp.h
struc hdsp_9632_aeb
    .aebi            resb 4
    .aebo            resb 4
endstruc
%define struc_hdsp_9632_aeb_size 8


name: snd_enc_wma
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_enc_wma
    .super_block_ali resb 4
endstruc
%define struc_snd_enc_wma_size 4


name: snd_enc_vorbis
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_enc_vorbis
    .quality         resb 4
    .managed         resb 4
    .max_bit_rate    resb 4
    .min_bit_rate    resb 4
    .downmix         resb 4
endstruc
%define struc_snd_enc_vorbis_size 20


name: snd_enc_real
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_enc_real
    .quant_bits      resb 4
    .start_region    resb 4
    .num_regions     resb 4
endstruc
%define struc_snd_enc_real_size 12


name: snd_enc_flac
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_enc_flac
    .num             resb 4
    .gain            resb 4
endstruc
%define struc_snd_enc_flac_size 8


name: snd_enc_generic
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_enc_generic
    .bw              resb 4
    .reserved        resb 60 ; None
endstruc
%define struc_snd_enc_generic_size 64


name: snd_dec_flac
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_dec_flac
    .sample_size     resb 2
    .min_blk_size    resb 2
    .max_blk_size    resb 2
    .min_frame_size  resb 2
    .max_frame_size  resb 2
    .reserved        resb 2
endstruc
%define struc_snd_dec_flac_size 12


name: snd_dec_wma
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_dec_wma
    .encoder_option  resb 4
    .adv_encoder_opt resb 4
    .adv_encoder_opt resb 4
    .reserved        resb 4
endstruc
%define struc_snd_dec_wma_size 16


name: snd_dec_alac
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_dec_alac
    .frame_length    resb 4
    .compatible_vers resb 1
    .pb              resb 1
    .mb              resb 1
    .kb              resb 1
    .max_run         resb 4
    .max_frame_bytes resb 4
endstruc
%define struc_snd_dec_alac_size 16


name: snd_dec_ape
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_dec_ape
    .compatible_vers resb 2
    .compression_lev resb 2
    .format_flags    resb 4
    .blocks_per_fram resb 4
    .final_frame_blo resb 4
    .total_frames    resb 4
    .seek_table_pres resb 4
endstruc
%define struc_snd_dec_ape_size 24


name: snd_codec_desc
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_codec_desc
    .max_ch          resb 4
    .sample_rates    resb 128 ; None
    .num_sample_rate resb 4
    .bit_rate        resb 128 ; None
    .num_bitrates    resb 4
    .rate_control    resb 4
    .profiles        resb 4
    .modes           resb 4
    .formats         resb 4
    .min_buffer      resb 4
    .reserved        resb 60 ; None
endstruc
%define struc_snd_codec_desc_size 348


name: snd_codec
include_file: /usr/include/sound/compress_params.h
nasm_code:
; from header /usr/include/sound/compress_params.h
struc snd_codec
    .id              resb 4
    .ch_in           resb 4
    .ch_out          resb 4
    .sample_rate     resb 4
    .bit_rate        resb 4
    .rate_control    resb 4
    .profile         resb 4
    .level           resb 4
    .ch_mode         resb 4
    .format          resb 4
    .align           resb 4
    .options         resb 64 ; union snd_codec_options
    .reserved        resb 12 ; None
endstruc
%define struc_snd_codec_size 120


name: snd_sof_blk_hdr
include_file: /usr/include/sound/sof/fw.h
nasm_code:
; from header /usr/include/sound/sof/fw.h
struc snd_sof_blk_hdr
    .type            resb 4
    .size            resb 4
    .offset          resb 4
endstruc
%define struc_snd_sof_blk_hdr_size 12


name: snd_sof_mod_hdr
include_file: /usr/include/sound/sof/fw.h
nasm_code:
; from header /usr/include/sound/sof/fw.h
struc snd_sof_mod_hdr
    .type            resb 4
    .size            resb 4
    .num_blocks      resb 4
endstruc
%define struc_snd_sof_mod_hdr_size 12


name: snd_sof_fw_header
include_file: /usr/include/sound/sof/fw.h
nasm_code:
; from header /usr/include/sound/sof/fw.h
struc snd_sof_fw_header
    .sig             resb 4 ; None
    .file_size       resb 4
    .num_modules     resb 4
    .abi             resb 4
endstruc
%define struc_snd_sof_fw_header_size 16


name: sof_abi_hdr
include_file: /usr/include/sound/sof/header.h
nasm_code:
; from header /usr/include/sound/sof/header.h
struc sof_abi_hdr
    .magic           resb 4
    .type            resb 4
    .size            resb 4
    .abi             resb 4
    .reserved        resb 16 ; None
    .data            resb 0 ; None
endstruc
%define struc_sof_abi_hdr_size 32


name: soundfont_patch_info
include_file: /usr/include/sound/sfnt_info.h
nasm_code:
; from header /usr/include/sound/sfnt_info.h
struc soundfont_patch_info
    .key             resb 2
    .device_no       resb 2
    .sf_id           resb 2
    .optarg          resb 2
    .len             resb 4
    .type            resb 2
    .reserved        resb 2
endstruc
%define struc_soundfont_patch_info_size 16


name: soundfont_open_parm
include_file: /usr/include/sound/sfnt_info.h
nasm_code:
; from header /usr/include/sound/sfnt_info.h
struc soundfont_open_parm
    .type            resb 2
    .reserved        resb 2
    .name            resb 32 ; None
endstruc
%define struc_soundfont_open_parm_size 36


name: soundfont_voice_parm
include_file: /usr/include/sound/sfnt_info.h
nasm_code:
; from header /usr/include/sound/sfnt_info.h
struc soundfont_voice_parm
    .moddelay        resb 2
    .modatkhld       resb 2
    .moddcysus       resb 2
    .modrelease      resb 2
    .modkeyhold      resb 2
    .modkeydecay     resb 2
    .voldelay        resb 2
    .volatkhld       resb 2
    .voldcysus       resb 2
    .volrelease      resb 2
    .volkeyhold      resb 2
    .volkeydecay     resb 2
    .lfo1delay       resb 2
    .lfo2delay       resb 2
    .pefe            resb 2
    .fmmod           resb 2
    .tremfrq         resb 2
    .fm2frq2         resb 2
    .cutoff          resb 1
    .filterQ         resb 1
    .chorus          resb 1
    .reverb          resb 1
    .reserved        resb 8 ; None
endstruc
%define struc_soundfont_voice_parm_size 48


name: soundfont_voice_info
include_file: /usr/include/sound/sfnt_info.h
nasm_code:
; from header /usr/include/sound/sfnt_info.h
struc soundfont_voice_info
    .sf_id           resb 2
    .sample          resb 2
    .start           resb 4
    .end             resb 4
    .loopstart       resb 4
    .loopend         resb 4
    .rate_offset     resb 2
    .mode            resb 2
    .root            resb 2
    .tune            resb 2
    .low             resb 1
    .high            resb 1
    .vellow          resb 1
    .velhigh         resb 1
    .fixkey          resb 1
    .fixvel          resb 1
    .pan             resb 1
    .fixpan          resb 1
    .exclusiveClass  resb 2
    .amplitude       resb 1
    .attenuation     resb 1
    .scaleTuning     resb 2
    .parm            resb 48 ; struc soundfont_voice_parm
    .sample_mode     resb 2
endstruc
%define struc_soundfont_voice_info_size 92


name: soundfont_voice_rec_hdr
include_file: /usr/include/sound/sfnt_info.h
nasm_code:
; from header /usr/include/sound/sfnt_info.h
struc soundfont_voice_rec_hdr
    .bank            resb 1
    .instr           resb 1
    .nvoices         resb 1
    .write_mode      resb 1
endstruc
%define struc_soundfont_voice_rec_hdr_size 4


name: soundfont_sample_info
include_file: /usr/include/sound/sfnt_info.h
nasm_code:
; from header /usr/include/sound/sfnt_info.h
struc soundfont_sample_info
    .sf_id           resb 2
    .sample          resb 2
    .start           resb 4
    .end             resb 4
    .loopstart       resb 4
    .loopend         resb 4
    .size            resb 4
    .dummy           resb 2
    .mode_flags      resb 2
    .truesize        resb 4
endstruc
%define struc_soundfont_sample_info_size 32


name: soundfont_voice_map
include_file: /usr/include/sound/sfnt_info.h
nasm_code:
; from header /usr/include/sound/sfnt_info.h
struc soundfont_voice_map
    .map_bank        resb 4
    .map_instr       resb 4
    .map_key         resb 4
    .src_bank        resb 4
    .src_instr       resb 4
    .src_key         resb 4
endstruc
%define struc_soundfont_voice_map_size 24


name: snd_emux_misc_mode
include_file: /usr/include/sound/sfnt_info.h
nasm_code:
; from header /usr/include/sound/sfnt_info.h
struc snd_emux_misc_mode
    .port            resb 4
    .mode            resb 4
    .value           resb 4
    .value2          resb 4
endstruc
%define struc_snd_emux_misc_mode_size 16


name: snd_emu10k1_fx8010_info
include_file: /usr/include/sound/emu10k1.h
nasm_code:
; from header /usr/include/sound/emu10k1.h
struc snd_emu10k1_fx8010_info
    .internal_tram_s resb 4
    .external_tram_s resb 4
    .fxbus_names     resb 512 ; None
    .extin_names     resb 512 ; None
    .extout_names    resb 1024 ; None
    .gpr_controls    resb 4
endstruc
%define struc_snd_emu10k1_fx8010_info_size 2060


name: emu10k1_ctl_elem_id
include_file: /usr/include/sound/emu10k1.h
nasm_code:
; from header /usr/include/sound/emu10k1.h
struc emu10k1_ctl_elem_id
    .pad             resb 4
    .iface           resb 4
    .device          resb 4
    .subdevice       resb 4
    .name            resb 44 ; None
    .index           resb 4
endstruc
%define struc_emu10k1_ctl_elem_id_size 64


name: snd_emu10k1_fx8010_control_gpr
include_file: /usr/include/sound/emu10k1.h
nasm_code:
; from header /usr/include/sound/emu10k1.h
struc snd_emu10k1_fx8010_control_gpr
    .id              resb 64 ; struc emu10k1_ctl_elem_id
    .vcount          resb 4
    .count           resb 4
    .gpr             resb 64 ; None
    .value           resb 128 ; None
    .min             resb 4
    .max             resb 4
    .translation     resb 4
    .tlv             resb 8
endstruc
%define struc_snd_emu10k1_fx8010_control_gpr_size 288


name: snd_emu10k1_fx8010_control_old_gpr
include_file: /usr/include/sound/emu10k1.h
nasm_code:
; from header /usr/include/sound/emu10k1.h
struc snd_emu10k1_fx8010_control_old_gpr
    .id              resb 64 ; struc emu10k1_ctl_elem_id
    .vcount          resb 4
    .count           resb 4
    .gpr             resb 64 ; None
    .value           resb 128 ; None
    .min             resb 4
    .max             resb 4
    .translation     resb 4
endstruc
%define struc_snd_emu10k1_fx8010_control_old_gpr_size 276


name: snd_emu10k1_fx8010_code
include_file: /usr/include/sound/emu10k1.h
nasm_code:
; from header /usr/include/sound/emu10k1.h
struc snd_emu10k1_fx8010_code
    .name            resb 128 ; None
    .gpr_valid       resb 64 ; None
    .gpr_map         resb 8
    .gpr_add_control resb 4
    .gpr_add_control resb 8
    .gpr_del_control resb 4
    .gpr_del_control resb 8
    .gpr_list_contro resb 4
    .gpr_list_contro resb 4
    .gpr_list_contro resb 8
    .tram_valid      resb 32 ; None
    .tram_data_map   resb 8
    .tram_addr_map   resb 8
    .code_valid      resb 128 ; None
    .code            resb 8
endstruc
%define struc_snd_emu10k1_fx8010_code_size 432


name: snd_emu10k1_fx8010_tram
include_file: /usr/include/sound/emu10k1.h
nasm_code:
; from header /usr/include/sound/emu10k1.h
struc snd_emu10k1_fx8010_tram
    .address         resb 4
    .size            resb 4
    .samples         resb 8
endstruc
%define struc_snd_emu10k1_fx8010_tram_size 16


name: snd_emu10k1_fx8010_pcm_rec
include_file: /usr/include/sound/emu10k1.h
nasm_code:
; from header /usr/include/sound/emu10k1.h
struc snd_emu10k1_fx8010_pcm_rec
    .substream       resb 4
    .res1            resb 4
    .channels        resb 4
    .tram_start      resb 4
    .buffer_size     resb 4
    .gpr_size        resb 2
    .gpr_ptr         resb 2
    .gpr_count       resb 2
    .gpr_tmpcount    resb 2
    .gpr_trigger     resb 2
    .gpr_running     resb 2
    .pad             resb 1
    .etram           resb 32 ; None
    .res2            resb 4
endstruc
%define struc_snd_emu10k1_fx8010_pcm_rec_size 72


name: snd_aes_iec958
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_aes_iec958
    .status          resb 24 ; None
    .subcode         resb 147 ; None
    .pad             resb 1
    .dig_subframe    resb 4 ; None
endstruc
%define struc_snd_aes_iec958_size 176


name: snd_cea_861_aud_if
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_cea_861_aud_if
    .db1_ct_cc       resb 1
    .db2_sf_ss       resb 1
    .db3             resb 1
    .db4_ca          resb 1
    .db5_dminh_lsv   resb 1
endstruc
%define struc_snd_cea_861_aud_if_size 5


name: snd_hwdep_info
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_hwdep_info
    .device          resb 4
    .card            resb 4
    .id              resb 64 ; None
    .name            resb 80 ; None
    .iface           resb 4
    .reserved        resb 64 ; None
endstruc
%define struc_snd_hwdep_info_size 220


name: snd_hwdep_dsp_status
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_hwdep_dsp_status
    .version         resb 4
    .id              resb 32 ; None
    .num_dsps        resb 4
    .dsp_loaded      resb 4
    .chip_ready      resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_snd_hwdep_dsp_status_size 64


name: snd_hwdep_dsp_image
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_hwdep_dsp_image
    .index           resb 4
    .name            resb 64 ; None
    .image           resb 8
    .length          resb 8
    .driver_data     resb 8
endstruc
%define struc_snd_hwdep_dsp_image_size 96


name: snd_pcm_info
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_pcm_info
    .device          resb 4
    .subdevice       resb 4
    .stream          resb 4
    .card            resb 4
    .id              resb 64 ; None
    .name            resb 80 ; None
    .subname         resb 32 ; None
    .dev_class       resb 4
    .dev_subclass    resb 4
    .subdevices_coun resb 4
    .subdevices_avai resb 4
    .sync            resb 16 ; union snd_pcm_sync_id
    .reserved        resb 64 ; None
endstruc
%define struc_snd_pcm_info_size 288


name: snd_interval
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_interval
    .min             resb 4
    .max             resb 4
    .openmin         resb 4
    .openmax         resb 4
    .integer         resb 4
    .empty           resb 4
endstruc
%define struc_snd_interval_size 12


name: snd_mask
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_mask
    .bits            resb 32 ; None
endstruc
%define struc_snd_mask_size 32


name: snd_pcm_hw_params
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_pcm_hw_params
    .flags           resb 4
    .masks           resb 96 ; None
    .mres            resb 160 ; None
    .intervals       resb 144 ; None
    .ires            resb 108 ; None
    .rmask           resb 4
    .cmask           resb 4
    .info            resb 4
    .msbits          resb 4
    .rate_num        resb 4
    .rate_den        resb 4
    .fifo_size       resb 8
    .reserved        resb 64 ; None
endstruc
%define struc_snd_pcm_hw_params_size 608


name: snd_pcm_sw_params
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_pcm_sw_params
    .tstamp_mode     resb 4
    .period_step     resb 4
    .sleep_min       resb 4
    .avail_min       resb 8
    .xfer_align      resb 8
    .start_threshold resb 8
    .stop_threshold  resb 8
    .silence_thresho resb 8
    .silence_size    resb 8
    .boundary        resb 8
    .proto           resb 4
    .tstamp_type     resb 4
    .reserved        resb 56 ; None
endstruc
%define struc_snd_pcm_sw_params_size 136


name: snd_pcm_channel_info
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_pcm_channel_info
    .channel         resb 4
    .offset          resb 8
    .first           resb 4
    .step            resb 4
endstruc
%define struc_snd_pcm_channel_info_size 24


name: snd_pcm_status
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_pcm_status
    .state           resb 4
    .pad1            resb 4 ; __time_pad
    .trigger_tstamp  resb 16 ; struc timespec
    .tstamp          resb 16 ; struc timespec
    .appl_ptr        resb 8
    .hw_ptr          resb 8
    .delay           resb 8
    .avail           resb 8
    .avail_max       resb 8
    .overrange       resb 8
    .suspended_state resb 4
    .audio_tstamp_da resb 4
    .audio_tstamp    resb 16 ; struc timespec
    .driver_tstamp   resb 16 ; struc timespec
    .audio_tstamp_ac resb 4
    .reserved        resb 20 ; None
endstruc
%define struc_snd_pcm_status_size 152


name: __snd_timespec64
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc __snd_timespec64
    .tv_sec          resb 8
    .tv_nsec         resb 8
endstruc
%define struc___snd_timespec64_size 16


name: __snd_pcm_mmap_status64
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc __snd_pcm_mmap_status64
    .state           resb 4
    .pad1            resb 4
    .__pad1          resb 0 ; __pad_before_uframe
    .hw_ptr          resb 8
    .__pad2          resb 0 ; __pad_after_uframe
    .tstamp          resb 16 ; struc __snd_timespec64
    .suspended_state resb 4
    .pad3            resb 4
    .audio_tstamp    resb 16 ; struc __snd_timespec64
endstruc
%define struc___snd_pcm_mmap_status64_size 56


name: __snd_pcm_mmap_control64
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc __snd_pcm_mmap_control64
    .__pad1          resb 0 ; __pad_before_uframe
    .appl_ptr        resb 8
    .__pad2          resb 0 ; __pad_before_uframe
    .__pad3          resb 0 ; __pad_before_uframe
    .avail_min       resb 8
    .__pad4          resb 0 ; __pad_after_uframe
endstruc
%define struc___snd_pcm_mmap_control64_size 16


name: __snd_pcm_sync_ptr64
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc __snd_pcm_sync_ptr64
    .flags           resb 4
    .pad1            resb 4
    .s               resb 64 ; union None
    .c               resb 64 ; union None
endstruc
%define struc___snd_pcm_sync_ptr64_size 136


name: snd_xferi
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_xferi
    .result          resb 8
    .buf             resb 8
    .frames          resb 8
endstruc
%define struc_snd_xferi_size 24


name: snd_xfern
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_xfern
    .result          resb 8
    .bufs            resb 8
    .frames          resb 8
endstruc
%define struc_snd_xfern_size 24


name: snd_rawmidi_info
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_rawmidi_info
    .device          resb 4
    .subdevice       resb 4
    .stream          resb 4
    .card            resb 4
    .flags           resb 4
    .id              resb 64 ; None
    .name            resb 80 ; None
    .subname         resb 32 ; None
    .subdevices_coun resb 4
    .subdevices_avai resb 4
    .reserved        resb 64 ; None
endstruc
%define struc_snd_rawmidi_info_size 268


name: snd_rawmidi_params
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_rawmidi_params
    .stream          resb 4
    .buffer_size     resb 8
    .avail_min       resb 8
    .no_active_sensi resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_snd_rawmidi_params_size 48


name: snd_rawmidi_status
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_rawmidi_status
    .stream          resb 4
    .pad1            resb 4 ; __time_pad
    .tstamp          resb 16 ; struc timespec
    .avail           resb 8
    .xruns           resb 8
    .reserved        resb 16 ; None
endstruc
%define struc_snd_rawmidi_status_size 56


name: snd_timer_id
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_id
    .dev_class       resb 4
    .dev_sclass      resb 4
    .card            resb 4
    .device          resb 4
    .subdevice       resb 4
endstruc
%define struc_snd_timer_id_size 20


name: snd_timer_ginfo
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_ginfo
    .tid             resb 20 ; struc snd_timer_id
    .flags           resb 4
    .card            resb 4
    .id              resb 64 ; None
    .name            resb 80 ; None
    .reserved0       resb 8
    .resolution      resb 8
    .resolution_min  resb 8
    .resolution_max  resb 8
    .clients         resb 4
    .reserved        resb 32 ; None
endstruc
%define struc_snd_timer_ginfo_size 248


name: snd_timer_gparams
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_gparams
    .tid             resb 20 ; struc snd_timer_id
    .period_num      resb 8
    .period_den      resb 8
    .reserved        resb 32 ; None
endstruc
%define struc_snd_timer_gparams_size 72


name: snd_timer_gstatus
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_gstatus
    .tid             resb 20 ; struc snd_timer_id
    .resolution      resb 8
    .resolution_num  resb 8
    .resolution_den  resb 8
    .reserved        resb 32 ; None
endstruc
%define struc_snd_timer_gstatus_size 80


name: snd_timer_select
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_select
    .id              resb 20 ; struc snd_timer_id
    .reserved        resb 32 ; None
endstruc
%define struc_snd_timer_select_size 52


name: snd_timer_info
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_info
    .flags           resb 4
    .card            resb 4
    .id              resb 64 ; None
    .name            resb 80 ; None
    .reserved0       resb 8
    .resolution      resb 8
    .reserved        resb 64 ; None
endstruc
%define struc_snd_timer_info_size 232


name: snd_timer_params
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_params
    .flags           resb 4
    .ticks           resb 4
    .queue_size      resb 4
    .reserved0       resb 4
    .filter          resb 4
    .reserved        resb 60 ; None
endstruc
%define struc_snd_timer_params_size 80


name: snd_timer_status
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_status
    .tstamp          resb 16 ; struc timespec
    .resolution      resb 4
    .lost            resb 4
    .overrun         resb 4
    .queue           resb 4
    .reserved        resb 64 ; None
endstruc
%define struc_snd_timer_status_size 96


name: snd_timer_read
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_read
    .resolution      resb 4
    .ticks           resb 4
endstruc
%define struc_snd_timer_read_size 8


name: snd_timer_tread
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_timer_tread
    .event           resb 4
    .pad1            resb 4 ; __time_pad
    .tstamp          resb 16 ; struc timespec
    .val             resb 4
    .pad2            resb 4 ; __time_pad
endstruc
%define struc_snd_timer_tread_size 32


name: snd_ctl_card_info
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_ctl_card_info
    .card            resb 4
    .pad             resb 4
    .id              resb 16 ; None
    .driver          resb 16 ; None
    .name            resb 32 ; None
    .longname        resb 80 ; None
    .reserved_       resb 16 ; None
    .mixername       resb 80 ; None
    .components      resb 128 ; None
endstruc
%define struc_snd_ctl_card_info_size 376


name: snd_ctl_elem_id
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_ctl_elem_id
    .numid           resb 4
    .iface           resb 4
    .device          resb 4
    .subdevice       resb 4
    .name            resb 44 ; None
    .index           resb 4
endstruc
%define struc_snd_ctl_elem_id_size 64


name: snd_ctl_elem_list
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_ctl_elem_list
    .offset          resb 4
    .space           resb 4
    .used            resb 4
    .count           resb 4
    .pids            resb 8
    .reserved        resb 50 ; None
endstruc
%define struc_snd_ctl_elem_list_size 80


name: snd_ctl_elem_info
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_ctl_elem_info
    .id              resb 64 ; struc snd_ctl_elem_id
    .type            resb 4
    .access          resb 4
    .count           resb 4
    .owner           resb 4
    .value           resb 128 ; union None
    .reserved        resb 64 ; None
endstruc
%define struc_snd_ctl_elem_info_size 272


name: snd_ctl_elem_value
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_ctl_elem_value
    .id              resb 64 ; struc snd_ctl_elem_id
    .indirect        resb 4
    .value           resb 1024 ; union None
    .reserved        resb 128 ; None
endstruc
%define struc_snd_ctl_elem_value_size 1224


name: snd_ctl_tlv
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_ctl_tlv
    .numid           resb 4
    .length          resb 4
    .tlv             resb 0 ; None
endstruc
%define struc_snd_ctl_tlv_size 8


name: snd_ctl_event
include_file: /usr/include/sound/asound.h
nasm_code:
; from header /usr/include/sound/asound.h
struc snd_ctl_event
    .type            resb 4
    .data            resb 68 ; union None
endstruc
%define struc_snd_ctl_event_size 72


name: snd_seq_addr
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_addr
    .client          resb 1
    .port            resb 1
endstruc
%define struc_snd_seq_addr_size 2


name: snd_seq_connect
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_connect
    .sender          resb 2 ; struc snd_seq_addr
    .dest            resb 2 ; struc snd_seq_addr
endstruc
%define struc_snd_seq_connect_size 4


name: snd_seq_ev_note
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_ev_note
    .channel         resb 1
    .note            resb 1
    .velocity        resb 1
    .off_velocity    resb 1
    .duration        resb 4
endstruc
%define struc_snd_seq_ev_note_size 8


name: snd_seq_ev_ctrl
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_ev_ctrl
    .channel         resb 1
    .unused1         resb 1
    .unused2         resb 1
    .unused3         resb 1
    .param           resb 4
    .value           resb 4
endstruc
%define struc_snd_seq_ev_ctrl_size 12


name: snd_seq_ev_raw8
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_ev_raw8
    .d               resb 12 ; None
endstruc
%define struc_snd_seq_ev_raw8_size 12


name: snd_seq_ev_raw32
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_ev_raw32
    .d               resb 12 ; None
endstruc
%define struc_snd_seq_ev_raw32_size 12


name: snd_seq_ev_ext
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_ev_ext
    .len             resb 4
    .ptr             resb 8
endstruc
%define struc_snd_seq_ev_ext_size 12


name: snd_seq_result
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_result
    .event           resb 4
    .result          resb 4
endstruc
%define struc_snd_seq_result_size 8


name: snd_seq_real_time
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_real_time
    .tv_sec          resb 4
    .tv_nsec         resb 4
endstruc
%define struc_snd_seq_real_time_size 8


name: snd_seq_queue_skew
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_queue_skew
    .value           resb 4
    .base            resb 4
endstruc
%define struc_snd_seq_queue_skew_size 8


name: snd_seq_ev_queue_control
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_ev_queue_control
    .queue           resb 1
    .pad             resb 3 ; None
    .param           resb 8 ; union None
endstruc
%define struc_snd_seq_ev_queue_control_size 12


name: snd_seq_ev_quote
include_file: /usr/include/sound/asequencer.h
nasm_code:
; from header /usr/include/sound/asequencer.h
struc snd_seq_ev_quote
    .origin          resb 2 ; struc snd_seq_addr
    .value           resb 2
    .event           resb 8
endstruc
%define struc_snd_seq_ev_quote_size 12


