# structs

name: uvc_menu_info
include_file: /usr/include/linux/uvcvideo.h
nasm_code:
; from header /usr/include/linux/uvcvideo.h
struc uvc_menu_info
    .value           resb 4
    .name            resb 32 ; None
endstruc
%define struc_uvc_menu_info_size 36


name: uvc_xu_control_mapping
include_file: /usr/include/linux/uvcvideo.h
nasm_code:
; from header /usr/include/linux/uvcvideo.h
struc uvc_xu_control_mapping
    .id              resb 4
    .name            resb 32 ; None
    .entity          resb 16 ; None
    .selector        resb 1
    .size            resb 1
    .offset          resb 1
    .v4l2_type       resb 4
    .data_type       resb 4
    .menu_info       resb 8
    .menu_count      resb 4
    .reserved        resb 16 ; None
endstruc
%define struc_uvc_xu_control_mapping_size 96


name: uvc_xu_control_query
include_file: /usr/include/linux/uvcvideo.h
nasm_code:
; from header /usr/include/linux/uvcvideo.h
struc uvc_xu_control_query
    .unit            resb 1
    .selector        resb 1
    .query           resb 1
    .size            resb 2
    .data            resb 8
endstruc
%define struc_uvc_xu_control_query_size 16


name: uvc_meta_buf
include_file: /usr/include/linux/uvcvideo.h
nasm_code:
; from header /usr/include/linux/uvcvideo.h
struc uvc_meta_buf
    .ns              resb 8
    .sof             resb 2
    .length          resb 1
    .flags           resb 1
    .buf             resb 0 ; None
endstruc
%define struc_uvc_meta_buf_size 12


name: ethtool_cmd
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_cmd
    .cmd             resb 4
    .supported       resb 4
    .advertising     resb 4
    .speed           resb 2
    .duplex          resb 1
    .port            resb 1
    .phy_address     resb 1
    .transceiver     resb 1
    .autoneg         resb 1
    .mdio_support    resb 1
    .maxtxpkt        resb 4
    .maxrxpkt        resb 4
    .speed_hi        resb 2
    .eth_tp_mdix     resb 1
    .eth_tp_mdix_ctr resb 1
    .lp_advertising  resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_ethtool_cmd_size 44


name: ethtool_drvinfo
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_drvinfo
    .cmd             resb 4
    .driver          resb 32 ; None
    .version         resb 32 ; None
    .fw_version      resb 32 ; None
    .bus_info        resb 32 ; None
    .erom_version    resb 32 ; None
    .reserved2       resb 12 ; None
    .n_priv_flags    resb 4
    .n_stats         resb 4
    .testinfo_len    resb 4
    .eedump_len      resb 4
    .regdump_len     resb 4
endstruc
%define struc_ethtool_drvinfo_size 196


name: ethtool_wolinfo
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_wolinfo
    .cmd             resb 4
    .supported       resb 4
    .wolopts         resb 4
    .sopass          resb 6 ; None
endstruc
%define struc_ethtool_wolinfo_size 20


name: ethtool_value
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_value
    .cmd             resb 4
    .data            resb 4
endstruc
%define struc_ethtool_value_size 8


name: ethtool_tunable
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_tunable
    .cmd             resb 4
    .id              resb 4
    .type_id         resb 4
    .len             resb 4
    .data            resb 0 ; None
endstruc
%define struc_ethtool_tunable_size 16


name: ethtool_regs
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_regs
    .cmd             resb 4
    .version         resb 4
    .len             resb 4
    .data            resb 0 ; None
endstruc
%define struc_ethtool_regs_size 12


name: ethtool_eeprom
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_eeprom
    .cmd             resb 4
    .magic           resb 4
    .offset          resb 4
    .len             resb 4
    .data            resb 0 ; None
endstruc
%define struc_ethtool_eeprom_size 16


name: ethtool_eee
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_eee
    .cmd             resb 4
    .supported       resb 4
    .advertised      resb 4
    .lp_advertised   resb 4
    .eee_active      resb 4
    .eee_enabled     resb 4
    .tx_lpi_enabled  resb 4
    .tx_lpi_timer    resb 4
    .reserved        resb 8 ; None
endstruc
%define struc_ethtool_eee_size 40


name: ethtool_modinfo
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_modinfo
    .cmd             resb 4
    .type            resb 4
    .eeprom_len      resb 4
    .reserved        resb 32 ; None
endstruc
%define struc_ethtool_modinfo_size 44


name: ethtool_coalesce
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_coalesce
    .cmd             resb 4
    .rx_coalesce_use resb 4
    .rx_max_coalesce resb 4
    .rx_coalesce_use resb 4
    .rx_max_coalesce resb 4
    .tx_coalesce_use resb 4
    .tx_max_coalesce resb 4
    .tx_coalesce_use resb 4
    .tx_max_coalesce resb 4
    .stats_block_coa resb 4
    .use_adaptive_rx resb 4
    .use_adaptive_tx resb 4
    .pkt_rate_low    resb 4
    .rx_coalesce_use resb 4
    .rx_max_coalesce resb 4
    .tx_coalesce_use resb 4
    .tx_max_coalesce resb 4
    .pkt_rate_high   resb 4
    .rx_coalesce_use resb 4
    .rx_max_coalesce resb 4
    .tx_coalesce_use resb 4
    .tx_max_coalesce resb 4
    .rate_sample_int resb 4
endstruc
%define struc_ethtool_coalesce_size 92


name: ethtool_ringparam
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_ringparam
    .cmd             resb 4
    .rx_max_pending  resb 4
    .rx_mini_max_pen resb 4
    .rx_jumbo_max_pe resb 4
    .tx_max_pending  resb 4
    .rx_pending      resb 4
    .rx_mini_pending resb 4
    .rx_jumbo_pendin resb 4
    .tx_pending      resb 4
endstruc
%define struc_ethtool_ringparam_size 36


name: ethtool_channels
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_channels
    .cmd             resb 4
    .max_rx          resb 4
    .max_tx          resb 4
    .max_other       resb 4
    .max_combined    resb 4
    .rx_count        resb 4
    .tx_count        resb 4
    .other_count     resb 4
    .combined_count  resb 4
endstruc
%define struc_ethtool_channels_size 36


name: ethtool_pauseparam
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_pauseparam
    .cmd             resb 4
    .autoneg         resb 4
    .rx_pause        resb 4
    .tx_pause        resb 4
endstruc
%define struc_ethtool_pauseparam_size 16


name: ethtool_gstrings
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_gstrings
    .cmd             resb 4
    .string_set      resb 4
    .len             resb 4
    .data            resb 0 ; None
endstruc
%define struc_ethtool_gstrings_size 12


name: ethtool_sset_info
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_sset_info
    .cmd             resb 4
    .reserved        resb 4
    .sset_mask       resb 8
    .data            resb 0 ; None
endstruc
%define struc_ethtool_sset_info_size 16


name: ethtool_test
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_test
    .cmd             resb 4
    .flags           resb 4
    .reserved        resb 4
    .len             resb 4
    .data            resb 0 ; None
endstruc
%define struc_ethtool_test_size 16


name: ethtool_stats
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_stats
    .cmd             resb 4
    .n_stats         resb 4
    .data            resb 0 ; None
endstruc
%define struc_ethtool_stats_size 8


name: ethtool_perm_addr
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_perm_addr
    .cmd             resb 4
    .size            resb 4
    .data            resb 0 ; None
endstruc
%define struc_ethtool_perm_addr_size 8


name: ethtool_tcpip4_spec
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_tcpip4_spec
    .ip4src          resb 4
    .ip4dst          resb 4
    .psrc            resb 2
    .pdst            resb 2
    .tos             resb 1
endstruc
%define struc_ethtool_tcpip4_spec_size 16


name: ethtool_ah_espip4_spec
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_ah_espip4_spec
    .ip4src          resb 4
    .ip4dst          resb 4
    .spi             resb 4
    .tos             resb 1
endstruc
%define struc_ethtool_ah_espip4_spec_size 16


name: ethtool_usrip4_spec
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_usrip4_spec
    .ip4src          resb 4
    .ip4dst          resb 4
    .l4_4_bytes      resb 4
    .tos             resb 1
    .ip_ver          resb 1
    .proto           resb 1
endstruc
%define struc_ethtool_usrip4_spec_size 16


name: ethtool_tcpip6_spec
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_tcpip6_spec
    .ip6src          resb 16 ; None
    .ip6dst          resb 16 ; None
    .psrc            resb 2
    .pdst            resb 2
    .tclass          resb 1
endstruc
%define struc_ethtool_tcpip6_spec_size 40


name: ethtool_ah_espip6_spec
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_ah_espip6_spec
    .ip6src          resb 16 ; None
    .ip6dst          resb 16 ; None
    .spi             resb 4
    .tclass          resb 1
endstruc
%define struc_ethtool_ah_espip6_spec_size 40


name: ethtool_usrip6_spec
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_usrip6_spec
    .ip6src          resb 16 ; None
    .ip6dst          resb 16 ; None
    .l4_4_bytes      resb 4
    .tclass          resb 1
    .l4_proto        resb 1
endstruc
%define struc_ethtool_usrip6_spec_size 40


name: ethtool_flow_ext
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_flow_ext
    .padding         resb 2 ; None
    .h_dest          resb 6 ; None
    .vlan_etype      resb 2
    .vlan_tci        resb 2
    .data            resb 8 ; None
endstruc
%define struc_ethtool_flow_ext_size 20


name: ethtool_rx_flow_spec
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_rx_flow_spec
    .flow_type       resb 4
    .h_u             resb 52 ; union ethtool_flow_union
    .h_ext           resb 20 ; struc ethtool_flow_ext
    .m_u             resb 52 ; union ethtool_flow_union
    .m_ext           resb 20 ; struc ethtool_flow_ext
    .ring_cookie     resb 8
    .location        resb 4
endstruc
%define struc_ethtool_rx_flow_spec_size 168


name: ethtool_rxfh_indir
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_rxfh_indir
    .cmd             resb 4
    .size            resb 4
    .ring_index      resb 0 ; None
endstruc
%define struc_ethtool_rxfh_indir_size 8


name: ethtool_rxfh
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_rxfh
    .cmd             resb 4
    .rss_context     resb 4
    .indir_size      resb 4
    .key_size        resb 4
    .hfunc           resb 1
    .rsvd8           resb 3 ; None
    .rsvd32          resb 4
    .rss_config      resb 0 ; None
endstruc
%define struc_ethtool_rxfh_size 24


name: ethtool_rx_ntuple_flow_spec
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_rx_ntuple_flow_spec
    .flow_type       resb 4
    .h_u             resb 72 ; union None
    .m_u             resb 72 ; union None
    .vlan_tag        resb 2
    .vlan_tag_mask   resb 2
    .data            resb 8
    .data_mask       resb 8
    .action          resb 4
endstruc
%define struc_ethtool_rx_ntuple_flow_spec_size 176


name: ethtool_rx_ntuple
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_rx_ntuple
    .cmd             resb 4
    .fs              resb 176 ; struc ethtool_rx_ntuple_flow_spec
endstruc
%define struc_ethtool_rx_ntuple_size 184


name: ethtool_flash
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_flash
    .cmd             resb 4
    .region          resb 4
    .data            resb 128 ; None
endstruc
%define struc_ethtool_flash_size 136


name: ethtool_dump
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_dump
    .cmd             resb 4
    .version         resb 4
    .flag            resb 4
    .len             resb 4
    .data            resb 0 ; None
endstruc
%define struc_ethtool_dump_size 16


name: ethtool_get_features_block
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_get_features_block
    .available       resb 4
    .requested       resb 4
    .active          resb 4
    .never_changed   resb 4
endstruc
%define struc_ethtool_get_features_block_size 16


name: ethtool_gfeatures
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_gfeatures
    .cmd             resb 4
    .size            resb 4
    .features        resb 0 ; None
endstruc
%define struc_ethtool_gfeatures_size 8


name: ethtool_set_features_block
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_set_features_block
    .valid           resb 4
    .requested       resb 4
endstruc
%define struc_ethtool_set_features_block_size 8


name: ethtool_sfeatures
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_sfeatures
    .cmd             resb 4
    .size            resb 4
    .features        resb 0 ; None
endstruc
%define struc_ethtool_sfeatures_size 8


name: ethtool_ts_info
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_ts_info
    .cmd             resb 4
    .so_timestamping resb 4
    .phc_index       resb 4
    .tx_types        resb 4
    .tx_reserved     resb 12 ; None
    .rx_filters      resb 4
    .rx_reserved     resb 12 ; None
endstruc
%define struc_ethtool_ts_info_size 44


name: ethtool_per_queue_op
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_per_queue_op
    .cmd             resb 4
    .sub_command     resb 4
    .queue_mask      resb 512 ; None
    .data            resb 0 ; None
endstruc
%define struc_ethtool_per_queue_op_size 520


name: ethtool_fecparam
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_fecparam
    .cmd             resb 4
    .active_fec      resb 4
    .fec             resb 4
    .reserved        resb 4
endstruc
%define struc_ethtool_fecparam_size 16


name: ethtool_link_settings
include_file: /usr/include/linux/ethtool.h
nasm_code:
; from header /usr/include/linux/ethtool.h
struc ethtool_link_settings
    .cmd             resb 4
    .speed           resb 4
    .duplex          resb 1
    .port            resb 1
    .phy_address     resb 1
    .autoneg         resb 1
    .mdio_support    resb 1
    .eth_tp_mdix     resb 1
    .eth_tp_mdix_ctr resb 1
    .link_mode_masks resb 1
    .transceiver     resb 1
    .master_slave_cf resb 1
    .master_slave_st resb 1
    .reserved1       resb 1 ; None
    .reserved        resb 28 ; None
    .link_mode_masks resb 0 ; None
endstruc
%define struc_ethtool_link_settings_size 48


name: eni_multipliers
include_file: /usr/include/linux/atm_eni.h
nasm_code:
; from header /usr/include/linux/atm_eni.h
struc eni_multipliers
    .tx              resb 4
    .rx              resb 4
endstruc
%define struc_eni_multipliers_size 8


name: virtio_net_config
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_config
    .mac             resb 6 ; None
    .status          resb 2
    .max_virtqueue_p resb 2
    .mtu             resb 2
    .speed           resb 4
    .duplex          resb 1
    .rss_max_key_siz resb 1
    .rss_max_indirec resb 2
    .supported_hash_ resb 4
endstruc
%define struc_virtio_net_config_size 24


name: virtio_net_hdr_v1_hash
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_hdr_v1_hash
    .hdr             resb 12 ; struc virtio_net_hdr_v1
    .hash_value      resb 4
    .hash_report     resb 2
    .padding         resb 2
endstruc
%define struc_virtio_net_hdr_v1_hash_size 20


name: virtio_net_hdr
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_hdr
    .flags           resb 1
    .gso_type        resb 1
    .hdr_len         resb 2
    .gso_size        resb 2
    .csum_start      resb 2
    .csum_offset     resb 2
endstruc
%define struc_virtio_net_hdr_size 10


name: virtio_net_hdr_mrg_rxbuf
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_hdr_mrg_rxbuf
    .hdr             resb 10 ; struc virtio_net_hdr
    .num_buffers     resb 2
endstruc
%define struc_virtio_net_hdr_mrg_rxbuf_size 12


name: virtio_net_ctrl_hdr
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_ctrl_hdr
    .class           resb 1
    .cmd             resb 1
endstruc
%define struc_virtio_net_ctrl_hdr_size 2


name: virtio_net_ctrl_mac
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_ctrl_mac
    .entries         resb 4
    .macs            resb 0 ; None
endstruc
%define struc_virtio_net_ctrl_mac_size 4


name: virtio_net_ctrl_mq
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_ctrl_mq
    .virtqueue_pairs resb 2
endstruc
%define struc_virtio_net_ctrl_mq_size 2


name: virtio_net_rss_config
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_rss_config
    .hash_types      resb 4
    .indirection_tab resb 2
    .unclassified_qu resb 2
    .indirection_tab resb 2 ; None
    .max_tx_vq       resb 2
    .hash_key_length resb 1
    .hash_key_data   resb 0 ; None
endstruc
%define struc_virtio_net_rss_config_size 16


name: virtio_net_hash_config
include_file: /usr/include/linux/virtio_net.h
nasm_code:
; from header /usr/include/linux/virtio_net.h
struc virtio_net_hash_config
    .hash_types      resb 4
    .reserved        resb 8 ; None
    .hash_key_length resb 1
    .hash_key_data   resb 0 ; None
endstruc
%define struc_virtio_net_hash_config_size 16


name: omap3isp_stat_event_status
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_stat_event_status
    .frame_number    resb 4
    .config_counter  resb 2
    .buf_err         resb 1
endstruc
%define struc_omap3isp_stat_event_status_size 8


name: omap3isp_h3a_aewb_config
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_h3a_aewb_config
    .buf_size        resb 4
    .config_counter  resb 2
    .saturation_limi resb 2
    .win_height      resb 2
    .win_width       resb 2
    .ver_win_count   resb 2
    .hor_win_count   resb 2
    .ver_win_start   resb 2
    .hor_win_start   resb 2
    .blk_ver_win_sta resb 2
    .blk_win_height  resb 2
    .subsample_ver_i resb 2
    .subsample_hor_i resb 2
    .alaw_enable     resb 1
endstruc
%define struc_omap3isp_h3a_aewb_config_size 32


name: omap3isp_stat_data
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_stat_data
    .ts              resb 16 ; struc timeval
    .buf             resb 8
    .buf_size        resb 4
    .frame_number    resb 2
    .cur_frame       resb 2
    .config_counter  resb 2
endstruc
%define struc_omap3isp_stat_data_size 40


name: omap3isp_hist_region
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_hist_region
    .h_start         resb 2
    .h_end           resb 2
    .v_start         resb 2
    .v_end           resb 2
endstruc
%define struc_omap3isp_hist_region_size 8


name: omap3isp_hist_config
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_hist_config
    .buf_size        resb 4
    .config_counter  resb 2
    .num_acc_frames  resb 1
    .hist_bins       resb 2
    .cfa             resb 1
    .wg              resb 4 ; None
    .num_regions     resb 1
    .region          resb 32 ; None
endstruc
%define struc_omap3isp_hist_config_size 48


name: omap3isp_h3a_af_hmf
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_h3a_af_hmf
    .enable          resb 1
    .threshold       resb 1
endstruc
%define struc_omap3isp_h3a_af_hmf_size 2


name: omap3isp_h3a_af_iir
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_h3a_af_iir
    .h_start         resb 2
    .coeff_set0      resb 22 ; None
    .coeff_set1      resb 22 ; None
endstruc
%define struc_omap3isp_h3a_af_iir_size 46


name: omap3isp_h3a_af_paxel
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_h3a_af_paxel
    .h_start         resb 2
    .v_start         resb 2
    .width           resb 1
    .height          resb 1
    .h_cnt           resb 1
    .v_cnt           resb 1
    .line_inc        resb 1
endstruc
%define struc_omap3isp_h3a_af_paxel_size 10


name: omap3isp_h3a_af_config
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_h3a_af_config
    .buf_size        resb 4
    .config_counter  resb 2
    .hmf             resb 2 ; struc omap3isp_h3a_af_hmf
    .iir             resb 46 ; struc omap3isp_h3a_af_iir
    .paxel           resb 10 ; struc omap3isp_h3a_af_paxel
    .rgb_pos         resb 4
    .fvmode          resb 4
    .alaw_enable     resb 1
endstruc
%define struc_omap3isp_h3a_af_config_size 76


name: omap3isp_ccdc_lsc_config
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_ccdc_lsc_config
    .offset          resb 2
    .gain_mode_n     resb 1
    .gain_mode_m     resb 1
    .gain_format     resb 1
    .fmtsph          resb 2
    .fmtlnh          resb 2
    .fmtslv          resb 2
    .fmtlnv          resb 2
    .initial_x       resb 1
    .initial_y       resb 1
    .size            resb 4
endstruc
%define struc_omap3isp_ccdc_lsc_config_size 20


name: omap3isp_ccdc_bclamp
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_ccdc_bclamp
    .obgain          resb 1
    .obstpixel       resb 1
    .oblines         resb 1
    .oblen           resb 1
    .dcsubval        resb 2
endstruc
%define struc_omap3isp_ccdc_bclamp_size 6


name: omap3isp_ccdc_fpc
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_ccdc_fpc
    .fpnum           resb 2
    .fpcaddr         resb 4
endstruc
%define struc_omap3isp_ccdc_fpc_size 8


name: omap3isp_ccdc_blcomp
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_ccdc_blcomp
    .b_mg            resb 1
    .gb_g            resb 1
    .gr_cy           resb 1
    .r_ye            resb 1
endstruc
%define struc_omap3isp_ccdc_blcomp_size 4


name: omap3isp_ccdc_culling
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_ccdc_culling
    .v_pattern       resb 1
    .h_odd           resb 2
    .h_even          resb 2
endstruc
%define struc_omap3isp_ccdc_culling_size 6


name: omap3isp_ccdc_update_config
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_ccdc_update_config
    .update          resb 2
    .flag            resb 2
    .alawip          resb 4
    .bclamp          resb 8
    .blcomp          resb 8
    .fpc             resb 8
    .lsc_cfg         resb 8
    .cull            resb 8
    .lsc             resb 8
endstruc
%define struc_omap3isp_ccdc_update_config_size 56


name: omap3isp_prev_hmed
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_hmed
    .odddist         resb 1
    .evendist        resb 1
    .thres           resb 1
endstruc
%define struc_omap3isp_prev_hmed_size 3


name: omap3isp_prev_cfa
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_cfa
    .format          resb 4
    .gradthrs_vert   resb 1
    .gradthrs_horz   resb 1
    .table           resb 2304 ; None
endstruc
%define struc_omap3isp_prev_cfa_size 2312


name: omap3isp_prev_csup
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_csup
    .gain            resb 1
    .thres           resb 1
    .hypf_en         resb 1
endstruc
%define struc_omap3isp_prev_csup_size 3


name: omap3isp_prev_wbal
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_wbal
    .dgain           resb 2
    .coef3           resb 1
    .coef2           resb 1
    .coef1           resb 1
    .coef0           resb 1
endstruc
%define struc_omap3isp_prev_wbal_size 6


name: omap3isp_prev_blkadj
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_blkadj
    .red             resb 1
    .green           resb 1
    .blue            resb 1
endstruc
%define struc_omap3isp_prev_blkadj_size 3


name: omap3isp_prev_rgbtorgb
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_rgbtorgb
    .matrix          resb 18 ; None
    .offset          resb 6 ; None
endstruc
%define struc_omap3isp_prev_rgbtorgb_size 24


name: omap3isp_prev_csc
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_csc
    .matrix          resb 18 ; None
    .offset          resb 6 ; None
endstruc
%define struc_omap3isp_prev_csc_size 24


name: omap3isp_prev_yclimit
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_yclimit
    .minC            resb 1
    .maxC            resb 1
    .minY            resb 1
    .maxY            resb 1
endstruc
%define struc_omap3isp_prev_yclimit_size 4


name: omap3isp_prev_dcor
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_dcor
    .couplet_mode_en resb 1
    .detect_correct  resb 16 ; None
endstruc
%define struc_omap3isp_prev_dcor_size 20


name: omap3isp_prev_nf
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_nf
    .spread          resb 1
    .table           resb 256 ; None
endstruc
%define struc_omap3isp_prev_nf_size 260


name: omap3isp_prev_gtables
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_gtables
    .red             resb 4096 ; None
    .green           resb 4096 ; None
    .blue            resb 4096 ; None
endstruc
%define struc_omap3isp_prev_gtables_size 12288


name: omap3isp_prev_luma
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_luma
    .table           resb 512 ; None
endstruc
%define struc_omap3isp_prev_luma_size 512


name: omap3isp_prev_update_config
include_file: /usr/include/linux/omap3isp.h
nasm_code:
; from header /usr/include/linux/omap3isp.h
struc omap3isp_prev_update_config
    .update          resb 4
    .flag            resb 4
    .shading_shift   resb 4
    .luma            resb 8
    .hmed            resb 8
    .cfa             resb 8
    .csup            resb 8
    .wbal            resb 8
    .blkadj          resb 8
    .rgb2rgb         resb 8
    .csc             resb 8
    .yclimit         resb 8
    .dcor            resb 8
    .nf              resb 8
    .gamma           resb 8
endstruc
%define struc_omap3isp_prev_update_config_size 112


name: if_set
include_file: /usr/include/linux/mroute6.h
nasm_code:
; from header /usr/include/linux/mroute6.h
struc if_set
    .ifs_bits        resb 32 ; None
endstruc
%define struc_if_set_size 32


name: mif6ctl
include_file: /usr/include/linux/mroute6.h
nasm_code:
; from header /usr/include/linux/mroute6.h
struc mif6ctl
    .mif6c_mifi      resb 2
    .mif6c_flags     resb 1
    .vifc_threshold  resb 1
    .mif6c_pifi      resb 2
    .vifc_rate_limit resb 4
endstruc
%define struc_mif6ctl_size 12


name: mf6cctl
include_file: /usr/include/linux/mroute6.h
nasm_code:
; from header /usr/include/linux/mroute6.h
struc mf6cctl
    .mf6cc_origin    resb 28 ; struc sockaddr_in6
    .mf6cc_mcastgrp  resb 28 ; struc sockaddr_in6
    .mf6cc_parent    resb 2
    .mf6cc_ifset     resb 32 ; struc if_set
endstruc
%define struc_mf6cctl_size 92


name: sioc_sg_req6
include_file: /usr/include/linux/mroute6.h
nasm_code:
; from header /usr/include/linux/mroute6.h
struc sioc_sg_req6
    .src             resb 28 ; struc sockaddr_in6
    .grp             resb 28 ; struc sockaddr_in6
    .pktcnt          resb 8
    .bytecnt         resb 8
    .wrong_if        resb 8
endstruc
%define struc_sioc_sg_req6_size 80


name: sioc_mif_req6
include_file: /usr/include/linux/mroute6.h
nasm_code:
; from header /usr/include/linux/mroute6.h
struc sioc_mif_req6
    .mifi            resb 2
    .icount          resb 8
    .ocount          resb 8
    .ibytes          resb 8
    .obytes          resb 8
endstruc
%define struc_sioc_mif_req6_size 40


name: mrt6msg
include_file: /usr/include/linux/mroute6.h
nasm_code:
; from header /usr/include/linux/mroute6.h
struc mrt6msg
    .im6_mbz         resb 1
    .im6_msgtype     resb 1
    .im6_mif         resb 2
    .im6_pad         resb 4
    .im6_src         resb 16 ; struc in6_addr
    .im6_dst         resb 16 ; struc in6_addr
endstruc
%define struc_mrt6msg_size 40


name: COFF_filehdr
include_file: /usr/include/linux/coff.h
nasm_code:
; from header /usr/include/linux/coff.h
struc COFF_filehdr
    .f_magic         resb 2 ; None
    .f_nscns         resb 2 ; None
    .f_timdat        resb 4 ; None
    .f_symptr        resb 4 ; None
    .f_nsyms         resb 4 ; None
    .f_opthdr        resb 2 ; None
    .f_flags         resb 2 ; None
endstruc
%define struc_COFF_filehdr_size 20


name: COFF_scnhdr
include_file: /usr/include/linux/coff.h
nasm_code:
; from header /usr/include/linux/coff.h
struc COFF_scnhdr
    .s_name          resb 8 ; None
    .s_paddr         resb 4 ; None
    .s_vaddr         resb 4 ; None
    .s_size          resb 4 ; None
    .s_scnptr        resb 4 ; None
    .s_relptr        resb 4 ; None
    .s_lnnoptr       resb 4 ; None
    .s_nreloc        resb 2 ; None
    .s_nlnno         resb 2 ; None
    .s_flags         resb 4 ; None
endstruc
%define struc_COFF_scnhdr_size 40


name: COFF_slib
include_file: /usr/include/linux/coff.h
nasm_code:
; from header /usr/include/linux/coff.h
struc COFF_slib
    .sl_entsz        resb 4 ; None
    .sl_pathndx      resb 4 ; None
endstruc
%define struc_COFF_slib_size 8


name: COFF_lineno
include_file: /usr/include/linux/coff.h
nasm_code:
; from header /usr/include/linux/coff.h
struc COFF_lineno
    .l_addr          resb 4 ; union None
    .l_lnno          resb 2 ; None
endstruc
%define struc_COFF_lineno_size 6


name: COFF_reloc
include_file: /usr/include/linux/coff.h
nasm_code:
; from header /usr/include/linux/coff.h
struc COFF_reloc
    .r_vaddr         resb 4 ; None
    .r_symndx        resb 4 ; None
    .r_type          resb 2 ; None
endstruc
%define struc_COFF_reloc_size 10


name: vlan_ioctl_args
include_file: /usr/include/linux/if_vlan.h
nasm_code:
; from header /usr/include/linux/if_vlan.h
struc vlan_ioctl_args
    .cmd             resb 4
    .device1         resb 24 ; None
    .u               resb 24 ; union None
    .vlan_qos        resb 2
endstruc
%define struc_vlan_ioctl_args_size 56


name: erspan_md2
include_file: /usr/include/linux/erspan.h
nasm_code:
; from header /usr/include/linux/erspan.h
struc erspan_md2
    .timestamp       resb 4
    .sgt             resb 2
    .hwid_upper      resb 1
    .ft              resb 1
    .p               resb 1
    .o               resb 1
    .gra             resb 1
    .dir             resb 1
    .hwid            resb 1
endstruc
%define struc_erspan_md2_size 8


name: erspan_metadata
include_file: /usr/include/linux/erspan.h
nasm_code:
; from header /usr/include/linux/erspan.h
struc erspan_metadata
    .version         resb 4
    .u               resb 8 ; union None
endstruc
%define struc_erspan_metadata_size 12


name: bfs_inode
include_file: /usr/include/linux/bfs_fs.h
nasm_code:
; from header /usr/include/linux/bfs_fs.h
struc bfs_inode
    .i_ino           resb 2
    .i_unused        resb 2
    .i_sblock        resb 4
    .i_eblock        resb 4
    .i_eoffset       resb 4
    .i_vtype         resb 4
    .i_mode          resb 4
    .i_uid           resb 4
    .i_gid           resb 4
    .i_nlink         resb 4
    .i_atime         resb 4
    .i_mtime         resb 4
    .i_ctime         resb 4
    .i_padding       resb 16 ; None
endstruc
%define struc_bfs_inode_size 64


name: bfs_dirent
include_file: /usr/include/linux/bfs_fs.h
nasm_code:
; from header /usr/include/linux/bfs_fs.h
struc bfs_dirent
    .ino             resb 2
    .name            resb 14 ; None
endstruc
%define struc_bfs_dirent_size 16


name: bfs_super_block
include_file: /usr/include/linux/bfs_fs.h
nasm_code:
; from header /usr/include/linux/bfs_fs.h
struc bfs_super_block
    .s_magic         resb 4
    .s_start         resb 4
    .s_end           resb 4
    .s_from          resb 4
    .s_to            resb 4
    .s_bfrom         resb 4
    .s_bto           resb 4
    .s_fsname        resb 6 ; None
    .s_volume        resb 6 ; None
    .s_padding       resb 472 ; None
endstruc
%define struc_bfs_super_block_size 512


name: efs_super
include_file: /usr/include/linux/efs_fs_sb.h
nasm_code:
; from header /usr/include/linux/efs_fs_sb.h
struc efs_super
    .fs_size         resb 4
    .fs_firstcg      resb 4
    .fs_cgfsize      resb 4
    .fs_cgisize      resb 2
    .fs_sectors      resb 2
    .fs_heads        resb 2
    .fs_ncg          resb 2
    .fs_dirty        resb 2
    .fs_time         resb 4
    .fs_magic        resb 4
    .fs_fname        resb 6 ; None
    .fs_fpack        resb 6 ; None
    .fs_bmsize       resb 4
    .fs_tfree        resb 4
    .fs_tinode       resb 4
    .fs_bmblock      resb 4
    .fs_replsb       resb 4
    .fs_lastialloc   resb 4
    .fs_spare        resb 20 ; None
    .fs_checksum     resb 4
endstruc
%define struc_efs_super_size 92


name: efs_sb_info
include_file: /usr/include/linux/efs_fs_sb.h
nasm_code:
; from header /usr/include/linux/efs_fs_sb.h
struc efs_sb_info
    .fs_magic        resb 4
    .fs_start        resb 4
    .first_block     resb 4
    .total_blocks    resb 4
    .group_size      resb 4
    .data_free       resb 4
    .inode_free      resb 4
    .inode_blocks    resb 2
    .total_groups    resb 2
endstruc
%define struc_efs_sb_info_size 32


name: __bridge_info
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc __bridge_info
    .designated_root resb 8
    .bridge_id       resb 8
    .root_path_cost  resb 4
    .max_age         resb 4
    .hello_time      resb 4
    .forward_delay   resb 4
    .bridge_max_age  resb 4
    .bridge_hello_ti resb 4
    .bridge_forward_ resb 4
    .topology_change resb 1
    .topology_change resb 1
    .root_port       resb 1
    .stp_enabled     resb 1
    .ageing_time     resb 4
    .gc_interval     resb 4
    .hello_timer_val resb 4
    .tcn_timer_value resb 4
    .topology_change resb 4
    .gc_timer_value  resb 4
endstruc
%define struc___bridge_info_size 72


name: __port_info
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc __port_info
    .designated_root resb 8
    .designated_brid resb 8
    .port_id         resb 2
    .designated_port resb 2
    .path_cost       resb 4
    .designated_cost resb 4
    .state           resb 1
    .top_change_ack  resb 1
    .config_pending  resb 1
    .unused0         resb 1
    .message_age_tim resb 4
    .forward_delay_t resb 4
    .hold_timer_valu resb 4
endstruc
%define struc___port_info_size 48


name: __fdb_entry
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc __fdb_entry
    .mac_addr        resb 6 ; None
    .port_no         resb 1
    .is_local        resb 1
    .ageing_timer_va resb 4
    .port_hi         resb 1
    .pad0            resb 1
    .unused          resb 2
endstruc
%define struc___fdb_entry_size 16


name: bridge_vlan_info
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc bridge_vlan_info
    .flags           resb 2
    .vid             resb 2
endstruc
%define struc_bridge_vlan_info_size 4


name: bridge_vlan_xstats
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc bridge_vlan_xstats
    .rx_bytes        resb 8
    .rx_packets      resb 8
    .tx_bytes        resb 8
    .tx_packets      resb 8
    .vid             resb 2
    .flags           resb 2
    .pad2            resb 4
endstruc
%define struc_bridge_vlan_xstats_size 40


name: br_mrp_instance
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mrp_instance
    .ring_id         resb 4
    .p_ifindex       resb 4
    .s_ifindex       resb 4
    .prio            resb 2
endstruc
%define struc_br_mrp_instance_size 16


name: br_mrp_ring_state
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mrp_ring_state
    .ring_id         resb 4
    .ring_state      resb 4
endstruc
%define struc_br_mrp_ring_state_size 8


name: br_mrp_ring_role
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mrp_ring_role
    .ring_id         resb 4
    .ring_role       resb 4
endstruc
%define struc_br_mrp_ring_role_size 8


name: br_mrp_start_test
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mrp_start_test
    .ring_id         resb 4
    .interval        resb 4
    .max_miss        resb 4
    .period          resb 4
    .monitor         resb 4
endstruc
%define struc_br_mrp_start_test_size 20


name: br_mrp_in_state
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mrp_in_state
    .in_state        resb 4
    .in_id           resb 2
endstruc
%define struc_br_mrp_in_state_size 8


name: br_mrp_in_role
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mrp_in_role
    .ring_id         resb 4
    .in_role         resb 4
    .i_ifindex       resb 4
    .in_id           resb 2
endstruc
%define struc_br_mrp_in_role_size 16


name: br_mrp_start_in_test
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mrp_start_in_test
    .interval        resb 4
    .max_miss        resb 4
    .period          resb 4
    .in_id           resb 2
endstruc
%define struc_br_mrp_start_in_test_size 16


name: bridge_stp_xstats
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc bridge_stp_xstats
    .transition_blk  resb 8
    .transition_fwd  resb 8
    .rx_bpdu         resb 8
    .tx_bpdu         resb 8
    .rx_tcn          resb 8
    .tx_tcn          resb 8
endstruc
%define struc_bridge_stp_xstats_size 48


name: br_vlan_msg
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_vlan_msg
    .family          resb 1
    .reserved1       resb 1
    .reserved2       resb 2
    .ifindex         resb 4
endstruc
%define struc_br_vlan_msg_size 8


name: br_port_msg
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_port_msg
    .family          resb 1
    .ifindex         resb 4
endstruc
%define struc_br_port_msg_size 8


name: br_mdb_entry
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mdb_entry
    .ifindex         resb 4
    .state           resb 1
    .flags           resb 1
    .vid             resb 2
    .addr            resb 20 ; struc None
endstruc
%define struc_br_mdb_entry_size 28


name: br_mcast_stats
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_mcast_stats
    .igmp_v1queries  resb 16 ; None
    .igmp_v2queries  resb 16 ; None
    .igmp_v3queries  resb 16 ; None
    .igmp_leaves     resb 16 ; None
    .igmp_v1reports  resb 16 ; None
    .igmp_v2reports  resb 16 ; None
    .igmp_v3reports  resb 16 ; None
    .igmp_parse_erro resb 8
    .mld_v1queries   resb 16 ; None
    .mld_v2queries   resb 16 ; None
    .mld_leaves      resb 16 ; None
    .mld_v1reports   resb 16 ; None
    .mld_v2reports   resb 16 ; None
    .mld_parse_error resb 8
    .mcast_bytes     resb 16 ; None
    .mcast_packets   resb 16 ; None
endstruc
%define struc_br_mcast_stats_size 240


name: br_boolopt_multi
include_file: /usr/include/linux/if_bridge.h
nasm_code:
; from header /usr/include/linux/if_bridge.h
struc br_boolopt_multi
    .optval          resb 4
    .optmask         resb 4
endstruc
%define struc_br_boolopt_multi_size 8


name: sev_user_data_status
include_file: /usr/include/linux/psp-sev.h
nasm_code:
; from header /usr/include/linux/psp-sev.h
struc sev_user_data_status
    .api_major       resb 1
    .api_minor       resb 1
    .state           resb 1
    .flags           resb 4
    .build           resb 1
    .guest_count     resb 4
endstruc
%define struc_sev_user_data_status_size 12


name: sev_user_data_pek_csr
include_file: /usr/include/linux/psp-sev.h
nasm_code:
; from header /usr/include/linux/psp-sev.h
struc sev_user_data_pek_csr
    .address         resb 8
    .length          resb 4
endstruc
%define struc_sev_user_data_pek_csr_size 12


name: sev_user_data_pek_cert_import
include_file: /usr/include/linux/psp-sev.h
nasm_code:
; from header /usr/include/linux/psp-sev.h
struc sev_user_data_pek_cert_import
    .pek_cert_addres resb 8
    .pek_cert_len    resb 4
    .oca_cert_addres resb 8
    .oca_cert_len    resb 4
endstruc
%define struc_sev_user_data_pek_cert_import_size 24


name: sev_user_data_pdh_cert_export
include_file: /usr/include/linux/psp-sev.h
nasm_code:
; from header /usr/include/linux/psp-sev.h
struc sev_user_data_pdh_cert_export
    .pdh_cert_addres resb 8
    .pdh_cert_len    resb 4
    .cert_chain_addr resb 8
    .cert_chain_len  resb 4
endstruc
%define struc_sev_user_data_pdh_cert_export_size 24


name: sev_user_data_get_id
include_file: /usr/include/linux/psp-sev.h
nasm_code:
; from header /usr/include/linux/psp-sev.h
struc sev_user_data_get_id
    .socket1         resb 64 ; None
    .socket2         resb 64 ; None
endstruc
%define struc_sev_user_data_get_id_size 128


name: sev_user_data_get_id2
include_file: /usr/include/linux/psp-sev.h
nasm_code:
; from header /usr/include/linux/psp-sev.h
struc sev_user_data_get_id2
    .address         resb 8
    .length          resb 4
endstruc
%define struc_sev_user_data_get_id2_size 12


name: sev_issue_cmd
include_file: /usr/include/linux/psp-sev.h
nasm_code:
; from header /usr/include/linux/psp-sev.h
struc sev_issue_cmd
    .cmd             resb 4
    .data            resb 8
    .error           resb 4
endstruc
%define struc_sev_issue_cmd_size 16


name: msqid_ds
include_file: /usr/include/linux/msg.h
nasm_code:
; from header /usr/include/linux/msg.h
struc msqid_ds
    .msg_perm        resb 28 ; struc ipc_perm
    .msg_first       resb 8
    .msg_last        resb 8
    .msg_stime       resb 8
    .msg_rtime       resb 8
    .msg_ctime       resb 8
    .msg_lcbytes     resb 8
    .msg_lqbytes     resb 8
    .msg_cbytes      resb 2
    .msg_qnum        resb 2
    .msg_qbytes      resb 2
    .msg_lspid       resb 4
    .msg_lrpid       resb 4
endstruc
%define struc_msqid_ds_size 104


name: msgbuf
include_file: /usr/include/linux/msg.h
nasm_code:
; from header /usr/include/linux/msg.h
struc msgbuf
    .mtype           resb 8
    .mtext           resb 1 ; None
endstruc
%define struc_msgbuf_size 16


name: msginfo
include_file: /usr/include/linux/msg.h
nasm_code:
; from header /usr/include/linux/msg.h
struc msginfo
    .msgpool         resb 4
    .msgmap          resb 4
    .msgmax          resb 4
    .msgmnb          resb 4
    .msgmni          resb 4
    .msgssz          resb 4
    .msgtql          resb 4
    .msgseg          resb 2
endstruc
%define struc_msginfo_size 32


name: cyclades_monitor
include_file: /usr/include/linux/cyclades.h
nasm_code:
; from header /usr/include/linux/cyclades.h
struc cyclades_monitor
    .int_count       resb 8
    .char_count      resb 8
    .char_max        resb 8
    .char_last       resb 8
endstruc
%define struc_cyclades_monitor_size 32


name: cyclades_idle_stats
include_file: /usr/include/linux/cyclades.h
nasm_code:
; from header /usr/include/linux/cyclades.h
struc cyclades_idle_stats
    .in_use          resb 8
    .recv_idle       resb 8
    .xmit_idle       resb 8
    .recv_bytes      resb 8
    .xmit_bytes      resb 8
    .overruns        resb 8
    .frame_errs      resb 8
    .parity_errs     resb 8
endstruc
%define struc_cyclades_idle_stats_size 64


name: CYZ_BOOT_CTRL
include_file: /usr/include/linux/cyclades.h
nasm_code:
; from header /usr/include/linux/cyclades.h
struc CYZ_BOOT_CTRL
    .nboard          resb 2
    .status          resb 16 ; None
    .nchannel        resb 16 ; None
    .fw_rev          resb 16 ; None
    .offset          resb 8
    .data            resb 2048 ; None
endstruc
%define struc_CYZ_BOOT_CTRL_size 2112


name: RUNTIME_9060
include_file: /usr/include/linux/cyclades.h
nasm_code:
; from header /usr/include/linux/cyclades.h
struc RUNTIME_9060
    .loc_addr_range  resb 4
    .loc_addr_base   resb 4
    .loc_arbitr      resb 4
    .endian_descr    resb 4
    .loc_rom_range   resb 4
    .loc_rom_base    resb 4
    .loc_bus_descr   resb 4
    .loc_range_mst   resb 4
    .loc_base_mst    resb 4
    .loc_range_io    resb 4
    .pci_base_mst    resb 4
    .pci_conf_io     resb 4
    .filler1         resb 4
    .filler2         resb 4
    .filler3         resb 4
    .filler4         resb 4
    .mail_box_0      resb 4
    .mail_box_1      resb 4
    .mail_box_2      resb 4
    .mail_box_3      resb 4
    .filler5         resb 4
    .filler6         resb 4
    .filler7         resb 4
    .filler8         resb 4
    .pci_doorbell    resb 4
    .loc_doorbell    resb 4
    .intr_ctrl_stat  resb 4
    .init_ctrl       resb 4
endstruc
%define struc_RUNTIME_9060_size 112


name: CH_CTRL
include_file: /usr/include/linux/cyclades.h
nasm_code:
; from header /usr/include/linux/cyclades.h
struc CH_CTRL
    .op_mode         resb 4
    .intr_enable     resb 4
    .sw_flow         resb 4
    .flow_status     resb 4
    .comm_baud       resb 4
    .comm_parity     resb 4
    .comm_data_l     resb 4
    .comm_flags      resb 4
    .hw_flow         resb 4
    .rs_control      resb 4
    .rs_status       resb 4
    .flow_xon        resb 4
    .flow_xoff       resb 4
    .hw_overflow     resb 4
    .sw_overflow     resb 4
    .comm_error      resb 4
    .ichar           resb 4
    .filler          resb 28 ; None
endstruc
%define struc_CH_CTRL_size 96


name: BOARD_CTRL
include_file: /usr/include/linux/cyclades.h
nasm_code:
; from header /usr/include/linux/cyclades.h
struc BOARD_CTRL
    .n_channel       resb 4
    .fw_version      resb 4
    .op_system       resb 4
    .dr_version      resb 4
    .inactivity      resb 4
    .hcmd_channel    resb 4
    .hcmd_param      resb 4
    .fwcmd_channel   resb 4
    .fwcmd_param     resb 4
    .zf_int_queue_ad resb 4
    .filler          resb 24 ; None
endstruc
%define struc_BOARD_CTRL_size 64


name: ZFW_CTRL
include_file: /usr/include/linux/cyclades.h
nasm_code:
; from header /usr/include/linux/cyclades.h
struc ZFW_CTRL
    .board_ctrl      resb 64 ; struc BOARD_CTRL
    .ch_ctrl         resb 6144 ; None
    .buf_ctrl        resb 4096 ; None
endstruc
%define struc_ZFW_CTRL_size 10304


name: blkpg_ioctl_arg
include_file: /usr/include/linux/blkpg.h
nasm_code:
; from header /usr/include/linux/blkpg.h
struc blkpg_ioctl_arg
    .op              resb 4
    .flags           resb 4
    .datalen         resb 4
    .data            resb 8
endstruc
%define struc_blkpg_ioctl_arg_size 24


name: blkpg_partition
include_file: /usr/include/linux/blkpg.h
nasm_code:
; from header /usr/include/linux/blkpg.h
struc blkpg_partition
    .start           resb 8
    .length          resb 8
    .pno             resb 4
    .devname         resb 64 ; None
    .volname         resb 64 ; None
endstruc
%define struc_blkpg_partition_size 152


name: agp_version
include_file: /usr/include/linux/agpgart.h
nasm_code:
; from header /usr/include/linux/agpgart.h
struc agp_version
    .major           resb 2
    .minor           resb 2
endstruc
%define struc_agp_version_size 4


name: _agp_info
include_file: /usr/include/linux/agpgart.h
nasm_code:
; from header /usr/include/linux/agpgart.h
struc _agp_info
    .version         resb 4 ; struc agp_version
    .bridge_id       resb 4
    .agp_mode        resb 4
    .aper_base       resb 8
    .aper_size       resb 8
    .pg_total        resb 8
    .pg_system       resb 8
    .pg_used         resb 8
endstruc
%define struc__agp_info_size 56


name: _agp_setup
include_file: /usr/include/linux/agpgart.h
nasm_code:
; from header /usr/include/linux/agpgart.h
struc _agp_setup
    .agp_mode        resb 4
endstruc
%define struc__agp_setup_size 4


name: _agp_segment
include_file: /usr/include/linux/agpgart.h
nasm_code:
; from header /usr/include/linux/agpgart.h
struc _agp_segment
    .pg_start        resb 8
    .pg_count        resb 8
    .prot            resb 4
endstruc
%define struc__agp_segment_size 24


name: _agp_region
include_file: /usr/include/linux/agpgart.h
nasm_code:
; from header /usr/include/linux/agpgart.h
struc _agp_region
    .pid             resb 4
    .seg_count       resb 8
    .seg_list        resb 8
endstruc
%define struc__agp_region_size 24


name: _agp_allocate
include_file: /usr/include/linux/agpgart.h
nasm_code:
; from header /usr/include/linux/agpgart.h
struc _agp_allocate
    .key             resb 4
    .pg_count        resb 8
    .type            resb 4
    .physical        resb 4
endstruc
%define struc__agp_allocate_size 24


name: _agp_bind
include_file: /usr/include/linux/agpgart.h
nasm_code:
; from header /usr/include/linux/agpgart.h
struc _agp_bind
    .key             resb 4
    .pg_start        resb 8
endstruc
%define struc__agp_bind_size 16


name: _agp_unbind
include_file: /usr/include/linux/agpgart.h
nasm_code:
; from header /usr/include/linux/agpgart.h
struc _agp_unbind
    .key             resb 4
    .priority        resb 4
endstruc
%define struc__agp_unbind_size 8


name: nilfs_inode
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_inode
    .i_blocks        resb 8
    .i_size          resb 8
    .i_ctime         resb 8
    .i_mtime         resb 8
    .i_ctime_nsec    resb 4
    .i_mtime_nsec    resb 4
    .i_uid           resb 4
    .i_gid           resb 4
    .i_mode          resb 2
    .i_links_count   resb 2
    .i_flags         resb 4
    .i_bmap          resb 56 ; None
    .i_xattr         resb 8
    .i_generation    resb 4
    .i_pad           resb 4
endstruc
%define struc_nilfs_inode_size 128


name: nilfs_super_root
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_super_root
    .sr_sum          resb 4
    .sr_bytes        resb 2
    .sr_flags        resb 2
    .sr_nongc_ctime  resb 8
    .sr_dat          resb 128 ; struc nilfs_inode
    .sr_cpfile       resb 128 ; struc nilfs_inode
    .sr_sufile       resb 128 ; struc nilfs_inode
endstruc
%define struc_nilfs_super_root_size 400


name: nilfs_super_block
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_super_block
    .s_rev_level     resb 4
    .s_minor_rev_lev resb 2
    .s_magic         resb 2
    .s_bytes         resb 2
    .s_flags         resb 2
    .s_crc_seed      resb 4
    .s_sum           resb 4
    .s_log_block_siz resb 4
    .s_nsegments     resb 8
    .s_dev_size      resb 8
    .s_first_data_bl resb 8
    .s_blocks_per_se resb 4
    .s_r_segments_pe resb 4
    .s_last_cno      resb 8
    .s_last_pseg     resb 8
    .s_last_seq      resb 8
    .s_free_blocks_c resb 8
    .s_ctime         resb 8
    .s_mtime         resb 8
    .s_wtime         resb 8
    .s_mnt_count     resb 2
    .s_max_mnt_count resb 2
    .s_state         resb 2
    .s_errors        resb 2
    .s_lastcheck     resb 8
    .s_checkinterval resb 4
    .s_creator_os    resb 4
    .s_def_resuid    resb 2
    .s_def_resgid    resb 2
    .s_first_ino     resb 4
    .s_inode_size    resb 2
    .s_dat_entry_siz resb 2
    .s_checkpoint_si resb 2
    .s_segment_usage resb 2
    .s_uuid          resb 16 ; None
    .s_volume_name   resb 80 ; None
    .s_c_interval    resb 4
    .s_c_block_max   resb 4
    .s_feature_compa resb 8
    .s_feature_compa resb 8
    .s_feature_incom resb 8
    .s_reserved      resb 744 ; None
endstruc
%define struc_nilfs_super_block_size 1024


name: nilfs_dir_entry
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_dir_entry
    .inode           resb 8
    .rec_len         resb 2
    .name_len        resb 1
    .file_type       resb 1
    .name            resb 255 ; None
    .pad             resb 1
endstruc
%define struc_nilfs_dir_entry_size 272


name: nilfs_finfo
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_finfo
    .fi_ino          resb 8
    .fi_cno          resb 8
    .fi_nblocks      resb 4
    .fi_ndatablk     resb 4
endstruc
%define struc_nilfs_finfo_size 24


name: nilfs_binfo_v
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_binfo_v
    .bi_vblocknr     resb 8
    .bi_blkoff       resb 8
endstruc
%define struc_nilfs_binfo_v_size 16


name: nilfs_binfo_dat
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_binfo_dat
    .bi_blkoff       resb 8
    .bi_level        resb 1
    .bi_pad          resb 7 ; None
endstruc
%define struc_nilfs_binfo_dat_size 16


name: nilfs_segment_summary
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_segment_summary
    .ss_datasum      resb 4
    .ss_sumsum       resb 4
    .ss_magic        resb 4
    .ss_bytes        resb 2
    .ss_flags        resb 2
    .ss_seq          resb 8
    .ss_create       resb 8
    .ss_next         resb 8
    .ss_nblocks      resb 4
    .ss_nfinfo       resb 4
    .ss_sumbytes     resb 4
    .ss_pad          resb 4
    .ss_cno          resb 8
endstruc
%define struc_nilfs_segment_summary_size 64


name: nilfs_btree_node
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_btree_node
    .bn_flags        resb 1
    .bn_level        resb 1
    .bn_nchildren    resb 2
    .bn_pad          resb 4
endstruc
%define struc_nilfs_btree_node_size 8


name: nilfs_direct_node
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_direct_node
    .dn_flags        resb 1
    .pad             resb 7 ; None
endstruc
%define struc_nilfs_direct_node_size 8


name: nilfs_palloc_group_desc
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_palloc_group_desc
    .pg_nfrees       resb 4
endstruc
%define struc_nilfs_palloc_group_desc_size 4


name: nilfs_dat_entry
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_dat_entry
    .de_blocknr      resb 8
    .de_start        resb 8
    .de_end          resb 8
    .de_rsv          resb 8
endstruc
%define struc_nilfs_dat_entry_size 32


name: nilfs_snapshot_list
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_snapshot_list
    .ssl_next        resb 8
    .ssl_prev        resb 8
endstruc
%define struc_nilfs_snapshot_list_size 16


name: nilfs_checkpoint
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_checkpoint
    .cp_flags        resb 4
    .cp_checkpoints_ resb 4
    .cp_snapshot_lis resb 16 ; struc nilfs_snapshot_list
    .cp_cno          resb 8
    .cp_create       resb 8
    .cp_nblk_inc     resb 8
    .cp_inodes_count resb 8
    .cp_blocks_count resb 8
    .cp_ifile_inode  resb 128 ; struc nilfs_inode
endstruc
%define struc_nilfs_checkpoint_size 192


name: nilfs_cpfile_header
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_cpfile_header
    .ch_ncheckpoints resb 8
    .ch_nsnapshots   resb 8
    .ch_snapshot_lis resb 16 ; struc nilfs_snapshot_list
endstruc
%define struc_nilfs_cpfile_header_size 32


name: nilfs_segment_usage
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_segment_usage
    .su_lastmod      resb 8
    .su_nblocks      resb 4
    .su_flags        resb 4
endstruc
%define struc_nilfs_segment_usage_size 16


name: nilfs_sufile_header
include_file: /usr/include/linux/nilfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/nilfs2_ondisk.h
struc nilfs_sufile_header
    .sh_ncleansegs   resb 8
    .sh_ndirtysegs   resb 8
    .sh_last_alloc   resb 8
endstruc
%define struc_nilfs_sufile_header_size 24


name: in6_addr
include_file: /usr/include/linux/in6.h
nasm_code:
; from header /usr/include/linux/in6.h
struc in6_addr
    .in6_u           resb 16 ; union None
endstruc
%define struc_in6_addr_size 16


name: sockaddr_in6
include_file: /usr/include/linux/in6.h
nasm_code:
; from header /usr/include/linux/in6.h
struc sockaddr_in6
    .sin6_family     resb 2
    .sin6_port       resb 2
    .sin6_flowinfo   resb 4
    .sin6_addr       resb 16 ; struc in6_addr
    .sin6_scope_id   resb 4
endstruc
%define struc_sockaddr_in6_size 28


name: ipv6_mreq
include_file: /usr/include/linux/in6.h
nasm_code:
; from header /usr/include/linux/in6.h
struc ipv6_mreq
    .ipv6mr_multiadd resb 16 ; struc in6_addr
    .ipv6mr_ifindex  resb 4
endstruc
%define struc_ipv6_mreq_size 20


name: in6_flowlabel_req
include_file: /usr/include/linux/in6.h
nasm_code:
; from header /usr/include/linux/in6.h
struc in6_flowlabel_req
    .flr_dst         resb 16 ; struc in6_addr
    .flr_label       resb 4
    .flr_action      resb 1
    .flr_share       resb 1
    .flr_flags       resb 2
    .flr_expires     resb 2
    .flr_linger      resb 2
    .__flr_pad       resb 4
endstruc
%define struc_in6_flowlabel_req_size 32


name: js_event
include_file: /usr/include/linux/joystick.h
nasm_code:
; from header /usr/include/linux/joystick.h
struc js_event
    .time            resb 4
    .value           resb 2
    .type            resb 1
    .number          resb 1
endstruc
%define struc_js_event_size 8


name: js_corr
include_file: /usr/include/linux/joystick.h
nasm_code:
; from header /usr/include/linux/joystick.h
struc js_corr
    .coef            resb 32 ; None
    .prec            resb 2
    .type            resb 2
endstruc
%define struc_js_corr_size 36


name: JS_DATA_TYPE
include_file: /usr/include/linux/joystick.h
nasm_code:
; from header /usr/include/linux/joystick.h
struc JS_DATA_TYPE
    .buttons         resb 4
    .x               resb 4
    .y               resb 4
endstruc
%define struc_JS_DATA_TYPE_size 12


name: JS_DATA_SAVE_TYPE_32
include_file: /usr/include/linux/joystick.h
nasm_code:
; from header /usr/include/linux/joystick.h
struc JS_DATA_SAVE_TYPE_32
    .JS_TIMEOUT      resb 4
    .BUSY            resb 4
    .JS_EXPIRETIME   resb 4
    .JS_TIMELIMIT    resb 4
    .JS_SAVE         resb 12 ; struc JS_DATA_TYPE
    .JS_CORR         resb 12 ; struc JS_DATA_TYPE
endstruc
%define struc_JS_DATA_SAVE_TYPE_32_size 40


name: JS_DATA_SAVE_TYPE_64
include_file: /usr/include/linux/joystick.h
nasm_code:
; from header /usr/include/linux/joystick.h
struc JS_DATA_SAVE_TYPE_64
    .JS_TIMEOUT      resb 4
    .BUSY            resb 4
    .JS_EXPIRETIME   resb 8
    .JS_TIMELIMIT    resb 8
    .JS_SAVE         resb 12 ; struc JS_DATA_TYPE
    .JS_CORR         resb 12 ; struc JS_DATA_TYPE
endstruc
%define struc_JS_DATA_SAVE_TYPE_64_size 48


name: batadv_bla_claim_dst
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_bla_claim_dst
    .magic           resb 3 ; None
    .type            resb 1
    .group           resb 2
endstruc
%define struc_batadv_bla_claim_dst_size 6


name: batadv_ogm_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_ogm_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .flags           resb 1
    .seqno           resb 4
    .orig            resb 6 ; None
    .prev_sender     resb 6 ; None
    .reserved        resb 1
    .tq              resb 1
    .tvlv_len        resb 2
endstruc
%define struc_batadv_ogm_packet_size 24


name: batadv_ogm2_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_ogm2_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .flags           resb 1
    .seqno           resb 4
    .orig            resb 6 ; None
    .tvlv_len        resb 2
    .throughput      resb 4
endstruc
%define struc_batadv_ogm2_packet_size 20


name: batadv_elp_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_elp_packet
    .packet_type     resb 1
    .version         resb 1
    .orig            resb 6 ; None
    .seqno           resb 4
    .elp_interval    resb 4
endstruc
%define struc_batadv_elp_packet_size 16


name: batadv_icmp_header
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_icmp_header
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .msg_type        resb 1
    .dst             resb 6 ; None
    .orig            resb 6 ; None
    .uid             resb 1
    .align           resb 3 ; None
endstruc
%define struc_batadv_icmp_header_size 20


name: batadv_icmp_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_icmp_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .msg_type        resb 1
    .dst             resb 6 ; None
    .orig            resb 6 ; None
    .uid             resb 1
    .reserved        resb 1
    .seqno           resb 2
endstruc
%define struc_batadv_icmp_packet_size 20


name: batadv_icmp_tp_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_icmp_tp_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .msg_type        resb 1
    .dst             resb 6 ; None
    .orig            resb 6 ; None
    .uid             resb 1
    .subtype         resb 1
    .session         resb 2 ; None
    .seqno           resb 4
    .timestamp       resb 4
endstruc
%define struc_batadv_icmp_tp_packet_size 28


name: batadv_icmp_packet_rr
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_icmp_packet_rr
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .msg_type        resb 1
    .dst             resb 6 ; None
    .orig            resb 6 ; None
    .uid             resb 1
    .rr_cur          resb 1
    .seqno           resb 2
    .rr              resb 96 ; None
endstruc
%define struc_batadv_icmp_packet_rr_size 116


name: batadv_unicast_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_unicast_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .ttvn            resb 1
    .dest            resb 6 ; None
endstruc
%define struc_batadv_unicast_packet_size 10


name: batadv_unicast_4addr_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_unicast_4addr_packet
    .u               resb 10 ; struc batadv_unicast_packet
    .src             resb 6 ; None
    .subtype         resb 1
    .reserved        resb 1
endstruc
%define struc_batadv_unicast_4addr_packet_size 18


name: batadv_frag_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_frag_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .reserved        resb 1
    .priority        resb 1
    .no              resb 1
    .dest            resb 6 ; None
    .orig            resb 6 ; None
    .seqno           resb 2
    .total_size      resb 2
endstruc
%define struc_batadv_frag_packet_size 20


name: batadv_bcast_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_bcast_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .reserved        resb 1
    .seqno           resb 4
    .orig            resb 6 ; None
endstruc
%define struc_batadv_bcast_packet_size 14


name: batadv_coded_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_coded_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .first_ttvn      resb 1
    .first_source    resb 6 ; None
    .first_orig_dest resb 6 ; None
    .first_crc       resb 4
    .second_ttl      resb 1
    .second_ttvn     resb 1
    .second_dest     resb 6 ; None
    .second_source   resb 6 ; None
    .second_orig_des resb 6 ; None
    .second_crc      resb 4
    .coded_len       resb 2
endstruc
%define struc_batadv_coded_packet_size 46


name: batadv_unicast_tvlv_packet
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_unicast_tvlv_packet
    .packet_type     resb 1
    .version         resb 1
    .ttl             resb 1
    .reserved        resb 1
    .dst             resb 6 ; None
    .src             resb 6 ; None
    .tvlv_len        resb 2
    .align           resb 2
endstruc
%define struc_batadv_unicast_tvlv_packet_size 20


name: batadv_tvlv_hdr
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_tvlv_hdr
    .type            resb 1
    .version         resb 1
    .len             resb 2
endstruc
%define struc_batadv_tvlv_hdr_size 4


name: batadv_tvlv_gateway_data
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_tvlv_gateway_data
    .bandwidth_down  resb 4
    .bandwidth_up    resb 4
endstruc
%define struc_batadv_tvlv_gateway_data_size 8


name: batadv_tvlv_tt_data
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_tvlv_tt_data
    .flags           resb 1
    .ttvn            resb 1
    .num_vlan        resb 2
endstruc
%define struc_batadv_tvlv_tt_data_size 4


name: batadv_tvlv_tt_vlan_data
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_tvlv_tt_vlan_data
    .crc             resb 4
    .vid             resb 2
    .reserved        resb 2
endstruc
%define struc_batadv_tvlv_tt_vlan_data_size 8


name: batadv_tvlv_tt_change
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_tvlv_tt_change
    .flags           resb 1
    .reserved        resb 3 ; None
    .addr            resb 6 ; None
    .vid             resb 2
endstruc
%define struc_batadv_tvlv_tt_change_size 12


name: batadv_tvlv_roam_adv
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_tvlv_roam_adv
    .client          resb 6 ; None
    .vid             resb 2
endstruc
%define struc_batadv_tvlv_roam_adv_size 8


name: batadv_tvlv_mcast_data
include_file: /usr/include/linux/batadv_packet.h
nasm_code:
; from header /usr/include/linux/batadv_packet.h
struc batadv_tvlv_mcast_data
    .flags           resb 1
    .reserved        resb 3 ; None
endstruc
%define struc_batadv_tvlv_mcast_data_size 4


name: bcm_timeval
include_file: /usr/include/linux/can/bcm.h
nasm_code:
; from header /usr/include/linux/can/bcm.h
struc bcm_timeval
    .tv_sec          resb 8
    .tv_usec         resb 8
endstruc
%define struc_bcm_timeval_size 16


name: bcm_msg_head
include_file: /usr/include/linux/can/bcm.h
nasm_code:
; from header /usr/include/linux/can/bcm.h
struc bcm_msg_head
    .opcode          resb 4
    .flags           resb 4
    .count           resb 4
    .ival1           resb 16 ; struc bcm_timeval
    .ival2           resb 16 ; struc bcm_timeval
    .can_id          resb 4
    .nframes         resb 4
    .frames          resb 0 ; None
endstruc
%define struc_bcm_msg_head_size 56


name: rtcanmsg
include_file: /usr/include/linux/can/gw.h
nasm_code:
; from header /usr/include/linux/can/gw.h
struc rtcanmsg
    .can_family      resb 1
    .gwtype          resb 1
    .flags           resb 2
endstruc
%define struc_rtcanmsg_size 4


name: cgw_frame_mod
include_file: /usr/include/linux/can/gw.h
nasm_code:
; from header /usr/include/linux/can/gw.h
struc cgw_frame_mod
    .cf              resb 16 ; struc can_frame
    .modtype         resb 1
endstruc
%define struc_cgw_frame_mod_size 17


name: cgw_fdframe_mod
include_file: /usr/include/linux/can/gw.h
nasm_code:
; from header /usr/include/linux/can/gw.h
struc cgw_fdframe_mod
    .cf              resb 72 ; struc canfd_frame
    .modtype         resb 1
endstruc
%define struc_cgw_fdframe_mod_size 73


name: cgw_csum_xor
include_file: /usr/include/linux/can/gw.h
nasm_code:
; from header /usr/include/linux/can/gw.h
struc cgw_csum_xor
    .from_idx        resb 1
    .to_idx          resb 1
    .result_idx      resb 1
    .init_xor_val    resb 1
endstruc
%define struc_cgw_csum_xor_size 4


name: cgw_csum_crc8
include_file: /usr/include/linux/can/gw.h
nasm_code:
; from header /usr/include/linux/can/gw.h
struc cgw_csum_crc8
    .from_idx        resb 1
    .to_idx          resb 1
    .result_idx      resb 1
    .init_crc_val    resb 1
    .final_xor_val   resb 1
    .crctab          resb 256 ; None
    .profile         resb 1
    .profile_data    resb 20 ; None
endstruc
%define struc_cgw_csum_crc8_size 282


name: can_bittiming
include_file: /usr/include/linux/can/netlink.h
nasm_code:
; from header /usr/include/linux/can/netlink.h
struc can_bittiming
    .bitrate         resb 4
    .sample_point    resb 4
    .tq              resb 4
    .prop_seg        resb 4
    .phase_seg1      resb 4
    .phase_seg2      resb 4
    .sjw             resb 4
    .brp             resb 4
endstruc
%define struc_can_bittiming_size 32


name: can_bittiming_const
include_file: /usr/include/linux/can/netlink.h
nasm_code:
; from header /usr/include/linux/can/netlink.h
struc can_bittiming_const
    .name            resb 16 ; None
    .tseg1_min       resb 4
    .tseg1_max       resb 4
    .tseg2_min       resb 4
    .tseg2_max       resb 4
    .sjw_max         resb 4
    .brp_min         resb 4
    .brp_max         resb 4
    .brp_inc         resb 4
endstruc
%define struc_can_bittiming_const_size 48


name: can_clock
include_file: /usr/include/linux/can/netlink.h
nasm_code:
; from header /usr/include/linux/can/netlink.h
struc can_clock
    .freq            resb 4
endstruc
%define struc_can_clock_size 4


name: can_berr_counter
include_file: /usr/include/linux/can/netlink.h
nasm_code:
; from header /usr/include/linux/can/netlink.h
struc can_berr_counter
    .txerr           resb 2
    .rxerr           resb 2
endstruc
%define struc_can_berr_counter_size 4


name: can_ctrlmode
include_file: /usr/include/linux/can/netlink.h
nasm_code:
; from header /usr/include/linux/can/netlink.h
struc can_ctrlmode
    .mask            resb 4
    .flags           resb 4
endstruc
%define struc_can_ctrlmode_size 8


name: can_device_stats
include_file: /usr/include/linux/can/netlink.h
nasm_code:
; from header /usr/include/linux/can/netlink.h
struc can_device_stats
    .bus_error       resb 4
    .error_warning   resb 4
    .error_passive   resb 4
    .bus_off         resb 4
    .arbitration_los resb 4
    .restarts        resb 4
endstruc
%define struc_can_device_stats_size 24


name: j1939_filter
include_file: /usr/include/linux/can/j1939.h
nasm_code:
; from header /usr/include/linux/can/j1939.h
struc j1939_filter
    .name            resb 8
    .name_mask       resb 8
    .pgn             resb 4
    .pgn_mask        resb 4
    .addr            resb 1
    .addr_mask       resb 1
endstruc
%define struc_j1939_filter_size 32


name: can_isotp_options
include_file: /usr/include/linux/can/isotp.h
nasm_code:
; from header /usr/include/linux/can/isotp.h
struc can_isotp_options
    .flags           resb 4
    .frame_txtime    resb 4
    .ext_address     resb 1
    .txpad_content   resb 1
    .rxpad_content   resb 1
    .rx_ext_address  resb 1
endstruc
%define struc_can_isotp_options_size 12


name: can_isotp_fc_options
include_file: /usr/include/linux/can/isotp.h
nasm_code:
; from header /usr/include/linux/can/isotp.h
struc can_isotp_fc_options
    .bs              resb 1
    .stmin           resb 1
    .wftmax          resb 1
endstruc
%define struc_can_isotp_fc_options_size 3


name: can_isotp_ll_options
include_file: /usr/include/linux/can/isotp.h
nasm_code:
; from header /usr/include/linux/can/isotp.h
struc can_isotp_ll_options
    .mtu             resb 1
    .tx_dl           resb 1
    .tx_flags        resb 1
endstruc
%define struc_can_isotp_ll_options_size 3


name: rtentry
include_file: /usr/include/linux/route.h
nasm_code:
; from header /usr/include/linux/route.h
struc rtentry
    .rt_pad1         resb 8
    .rt_dst          resb 16 ; struc sockaddr
    .rt_gateway      resb 16 ; struc sockaddr
    .rt_genmask      resb 16 ; struc sockaddr
    .rt_flags        resb 2
    .rt_pad2         resb 2
    .rt_pad3         resb 8
    .rt_pad4         resb 8
    .rt_metric       resb 2
    .rt_dev          resb 8
    .rt_mtu          resb 8
    .rt_window       resb 8
    .rt_irtt         resb 2
endstruc
%define struc_rtentry_size 120


name: icmphdr
include_file: /usr/include/linux/icmp.h
nasm_code:
; from header /usr/include/linux/icmp.h
struc icmphdr
    .type            resb 1
    .code            resb 1
    .checksum        resb 2
    .un              resb 4 ; union None
endstruc
%define struc_icmphdr_size 8


name: icmp_filter
include_file: /usr/include/linux/icmp.h
nasm_code:
; from header /usr/include/linux/icmp.h
struc icmp_filter
    .data            resb 4
endstruc
%define struc_icmp_filter_size 4


name: icmp_ext_hdr
include_file: /usr/include/linux/icmp.h
nasm_code:
; from header /usr/include/linux/icmp.h
struc icmp_ext_hdr
    .reserved1       resb 1
    .version         resb 1
    .reserved2       resb 1
    .checksum        resb 2
endstruc
%define struc_icmp_ext_hdr_size 4


name: icmp_extobj_hdr
include_file: /usr/include/linux/icmp.h
nasm_code:
; from header /usr/include/linux/icmp.h
struc icmp_extobj_hdr
    .length          resb 2
    .class_num       resb 1
    .class_type      resb 1
endstruc
%define struc_icmp_extobj_hdr_size 4


name: changer_params
include_file: /usr/include/linux/chio.h
nasm_code:
; from header /usr/include/linux/chio.h
struc changer_params
    .cp_curpicker    resb 4
    .cp_npickers     resb 4
    .cp_nslots       resb 4
    .cp_nportals     resb 4
    .cp_ndrives      resb 4
endstruc
%define struc_changer_params_size 20


name: changer_vendor_params
include_file: /usr/include/linux/chio.h
nasm_code:
; from header /usr/include/linux/chio.h
struc changer_vendor_params
    .cvp_n1          resb 4
    .cvp_label1      resb 16 ; None
    .cvp_n2          resb 4
    .cvp_label2      resb 16 ; None
    .cvp_n3          resb 4
    .cvp_label3      resb 16 ; None
    .cvp_n4          resb 4
    .cvp_label4      resb 16 ; None
    .reserved        resb 32 ; None
endstruc
%define struc_changer_vendor_params_size 112


name: changer_move
include_file: /usr/include/linux/chio.h
nasm_code:
; from header /usr/include/linux/chio.h
struc changer_move
    .cm_fromtype     resb 4
    .cm_fromunit     resb 4
    .cm_totype       resb 4
    .cm_tounit       resb 4
    .cm_flags        resb 4
endstruc
%define struc_changer_move_size 20


name: changer_exchange
include_file: /usr/include/linux/chio.h
nasm_code:
; from header /usr/include/linux/chio.h
struc changer_exchange
    .ce_srctype      resb 4
    .ce_srcunit      resb 4
    .ce_fdsttype     resb 4
    .ce_fdstunit     resb 4
    .ce_sdsttype     resb 4
    .ce_sdstunit     resb 4
    .ce_flags        resb 4
endstruc
%define struc_changer_exchange_size 28


name: changer_position
include_file: /usr/include/linux/chio.h
nasm_code:
; from header /usr/include/linux/chio.h
struc changer_position
    .cp_type         resb 4
    .cp_unit         resb 4
    .cp_flags        resb 4
endstruc
%define struc_changer_position_size 12


name: changer_element_status
include_file: /usr/include/linux/chio.h
nasm_code:
; from header /usr/include/linux/chio.h
struc changer_element_status
    .ces_type        resb 4
    .ces_data        resb 8
endstruc
%define struc_changer_element_status_size 16


name: changer_get_element
include_file: /usr/include/linux/chio.h
nasm_code:
; from header /usr/include/linux/chio.h
struc changer_get_element
    .cge_type        resb 4
    .cge_unit        resb 4
    .cge_status      resb 4
    .cge_errno       resb 4
    .cge_srctype     resb 4
    .cge_srcunit     resb 4
    .cge_id          resb 4
    .cge_lun         resb 4
    .cge_pvoltag     resb 36 ; None
    .cge_avoltag     resb 36 ; None
    .cge_flags       resb 4
endstruc
%define struc_changer_get_element_size 108


name: changer_set_voltag
include_file: /usr/include/linux/chio.h
nasm_code:
; from header /usr/include/linux/chio.h
struc changer_set_voltag
    .csv_type        resb 4
    .csv_unit        resb 4
    .csv_voltag      resb 36 ; None
    .csv_flags       resb 4
endstruc
%define struc_changer_set_voltag_size 48


name: virtio_crypto_ctrl_header
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_ctrl_header
    .opcode          resb 4
    .algo            resb 4
    .flag            resb 4
    .queue_id        resb 4
endstruc
%define struc_virtio_crypto_ctrl_header_size 16


name: virtio_crypto_cipher_session_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_cipher_session_para
    .algo            resb 4
    .keylen          resb 4
    .op              resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_cipher_session_para_size 16


name: virtio_crypto_session_input
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_session_input
    .session_id      resb 8
    .status          resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_session_input_size 16


name: virtio_crypto_cipher_session_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_cipher_session_req
    .para            resb 16 ; struc virtio_crypto_cipher_session_para
    .padding         resb 32 ; None
endstruc
%define struc_virtio_crypto_cipher_session_req_size 48


name: virtio_crypto_hash_session_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_hash_session_para
    .algo            resb 4
    .hash_result_len resb 4
    .padding         resb 8 ; None
endstruc
%define struc_virtio_crypto_hash_session_para_size 16


name: virtio_crypto_hash_create_session_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_hash_create_session_req
    .para            resb 16 ; struc virtio_crypto_hash_session_para
    .padding         resb 40 ; None
endstruc
%define struc_virtio_crypto_hash_create_session_req_size 56


name: virtio_crypto_mac_session_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_mac_session_para
    .algo            resb 4
    .hash_result_len resb 4
    .auth_key_len    resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_mac_session_para_size 16


name: virtio_crypto_mac_create_session_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_mac_create_session_req
    .para            resb 16 ; struc virtio_crypto_mac_session_para
    .padding         resb 40 ; None
endstruc
%define struc_virtio_crypto_mac_create_session_req_size 56


name: virtio_crypto_aead_session_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_aead_session_para
    .algo            resb 4
    .key_len         resb 4
    .hash_result_len resb 4
    .aad_len         resb 4
    .op              resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_aead_session_para_size 24


name: virtio_crypto_aead_create_session_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_aead_create_session_req
    .para            resb 24 ; struc virtio_crypto_aead_session_para
    .padding         resb 32 ; None
endstruc
%define struc_virtio_crypto_aead_create_session_req_size 56


name: virtio_crypto_alg_chain_session_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_alg_chain_session_para
    .alg_chain_order resb 4
    .hash_mode       resb 4
    .cipher_param    resb 16 ; struc virtio_crypto_cipher_session_para
    .u               resb 16 ; union None
    .aad_len         resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_alg_chain_session_para_size 48


name: virtio_crypto_alg_chain_session_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_alg_chain_session_req
    .para            resb 48 ; struc virtio_crypto_alg_chain_session_para
endstruc
%define struc_virtio_crypto_alg_chain_session_req_size 48


name: virtio_crypto_sym_create_session_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_sym_create_session_req
    .u               resb 48 ; union None
    .op_type         resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_sym_create_session_req_size 56


name: virtio_crypto_destroy_session_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_destroy_session_req
    .session_id      resb 8
    .padding         resb 48 ; None
endstruc
%define struc_virtio_crypto_destroy_session_req_size 56


name: virtio_crypto_op_ctrl_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_op_ctrl_req
    .header          resb 16 ; struc virtio_crypto_ctrl_header
    .u               resb 56 ; union None
endstruc
%define struc_virtio_crypto_op_ctrl_req_size 72


name: virtio_crypto_op_header
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_op_header
    .opcode          resb 4
    .algo            resb 4
    .session_id      resb 8
    .flag            resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_op_header_size 24


name: virtio_crypto_cipher_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_cipher_para
    .iv_len          resb 4
    .src_data_len    resb 4
    .dst_data_len    resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_cipher_para_size 16


name: virtio_crypto_hash_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_hash_para
    .src_data_len    resb 4
    .hash_result_len resb 4
endstruc
%define struc_virtio_crypto_hash_para_size 8


name: virtio_crypto_mac_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_mac_para
    .hash            resb 8 ; struc virtio_crypto_hash_para
endstruc
%define struc_virtio_crypto_mac_para_size 8


name: virtio_crypto_aead_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_aead_para
    .iv_len          resb 4
    .aad_len         resb 4
    .src_data_len    resb 4
    .dst_data_len    resb 4
endstruc
%define struc_virtio_crypto_aead_para_size 16


name: virtio_crypto_cipher_data_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_cipher_data_req
    .para            resb 16 ; struc virtio_crypto_cipher_para
    .padding         resb 24 ; None
endstruc
%define struc_virtio_crypto_cipher_data_req_size 40


name: virtio_crypto_hash_data_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_hash_data_req
    .para            resb 8 ; struc virtio_crypto_hash_para
    .padding         resb 40 ; None
endstruc
%define struc_virtio_crypto_hash_data_req_size 48


name: virtio_crypto_mac_data_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_mac_data_req
    .para            resb 8 ; struc virtio_crypto_mac_para
    .padding         resb 40 ; None
endstruc
%define struc_virtio_crypto_mac_data_req_size 48


name: virtio_crypto_alg_chain_data_para
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_alg_chain_data_para
    .iv_len          resb 4
    .src_data_len    resb 4
    .dst_data_len    resb 4
    .cipher_start_sr resb 4
    .len_to_cipher   resb 4
    .hash_start_src_ resb 4
    .len_to_hash     resb 4
    .aad_len         resb 4
    .hash_result_len resb 4
    .reserved        resb 4
endstruc
%define struc_virtio_crypto_alg_chain_data_para_size 40


name: virtio_crypto_alg_chain_data_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_alg_chain_data_req
    .para            resb 40 ; struc virtio_crypto_alg_chain_data_para
endstruc
%define struc_virtio_crypto_alg_chain_data_req_size 40


name: virtio_crypto_sym_data_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_sym_data_req
    .u               resb 40 ; union None
    .op_type         resb 4
    .padding         resb 4
endstruc
%define struc_virtio_crypto_sym_data_req_size 48


name: virtio_crypto_aead_data_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_aead_data_req
    .para            resb 16 ; struc virtio_crypto_aead_para
    .padding         resb 32 ; None
endstruc
%define struc_virtio_crypto_aead_data_req_size 48


name: virtio_crypto_op_data_req
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_op_data_req
    .header          resb 24 ; struc virtio_crypto_op_header
    .u               resb 48 ; union None
endstruc
%define struc_virtio_crypto_op_data_req_size 72


name: virtio_crypto_config
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_config
    .status          resb 4
    .max_dataqueues  resb 4
    .crypto_services resb 4
    .cipher_algo_l   resb 4
    .cipher_algo_h   resb 4
    .hash_algo       resb 4
    .mac_algo_l      resb 4
    .mac_algo_h      resb 4
    .aead_algo       resb 4
    .max_cipher_key_ resb 4
    .max_auth_key_le resb 4
    .reserve         resb 4
    .max_size        resb 8
endstruc
%define struc_virtio_crypto_config_size 56


name: virtio_crypto_inhdr
include_file: /usr/include/linux/virtio_crypto.h
nasm_code:
; from header /usr/include/linux/virtio_crypto.h
struc virtio_crypto_inhdr
    .status          resb 1
endstruc
%define struc_virtio_crypto_inhdr_size 1


name: xt_length_info
include_file: /usr/include/linux/netfilter/xt_length.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_length.h
struc xt_length_info
    .min             resb 2
    .max             resb 2
    .invert          resb 1
endstruc
%define struc_xt_length_info_size 6


name: xt_connbytes_info
include_file: /usr/include/linux/netfilter/xt_connbytes.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_connbytes.h
struc xt_connbytes_info
    .count           resb 16 ; struc None
    .what            resb 1
    .direction       resb 1
endstruc
%define struc_xt_connbytes_info_size 24


name: ip_set_counter_match0
include_file: /usr/include/linux/netfilter/ipset/ip_set.h
nasm_code:
; from header /usr/include/linux/netfilter/ipset/ip_set.h
struc ip_set_counter_match0
    .op              resb 1
    .value           resb 8
endstruc
%define struc_ip_set_counter_match0_size 16


name: ip_set_counter_match
include_file: /usr/include/linux/netfilter/ipset/ip_set.h
nasm_code:
; from header /usr/include/linux/netfilter/ipset/ip_set.h
struc ip_set_counter_match
    .value           resb 8
    .op              resb 1
endstruc
%define struc_ip_set_counter_match_size 16


name: ip_set_req_get_set
include_file: /usr/include/linux/netfilter/ipset/ip_set.h
nasm_code:
; from header /usr/include/linux/netfilter/ipset/ip_set.h
struc ip_set_req_get_set
    .op              resb 4
    .version         resb 4
    .set             resb 32 ; union ip_set_name_index
endstruc
%define struc_ip_set_req_get_set_size 40


name: ip_set_req_get_set_family
include_file: /usr/include/linux/netfilter/ipset/ip_set.h
nasm_code:
; from header /usr/include/linux/netfilter/ipset/ip_set.h
struc ip_set_req_get_set_family
    .op              resb 4
    .version         resb 4
    .family          resb 4
    .set             resb 32 ; union ip_set_name_index
endstruc
%define struc_ip_set_req_get_set_family_size 44


name: ip_set_req_version
include_file: /usr/include/linux/netfilter/ipset/ip_set.h
nasm_code:
; from header /usr/include/linux/netfilter/ipset/ip_set.h
struc ip_set_req_version
    .op              resb 4
    .version         resb 4
endstruc
%define struc_ip_set_req_version_size 8


name: xt_u32_location_element
include_file: /usr/include/linux/netfilter/xt_u32.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_u32.h
struc xt_u32_location_element
    .number          resb 4
    .nextop          resb 1
endstruc
%define struc_xt_u32_location_element_size 8


name: xt_u32_value_element
include_file: /usr/include/linux/netfilter/xt_u32.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_u32.h
struc xt_u32_value_element
    .min             resb 4
    .max             resb 4
endstruc
%define struc_xt_u32_value_element_size 8


name: xt_u32_test
include_file: /usr/include/linux/netfilter/xt_u32.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_u32.h
struc xt_u32_test
    .location        resb 88 ; None
    .value           resb 88 ; None
    .nnums           resb 1
    .nvalues         resb 1
endstruc
%define struc_xt_u32_test_size 180


name: xt_u32
include_file: /usr/include/linux/netfilter/xt_u32.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_u32.h
struc xt_u32
    .tests           resb 1980 ; None
    .ntests          resb 1
    .invert          resb 1
endstruc
%define struc_xt_u32_size 1984


name: xt_policy_spec
include_file: /usr/include/linux/netfilter/xt_policy.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_policy.h
struc xt_policy_spec
    .saddr           resb 1
    .daddr           resb 1
    .proto           resb 1
    .mode            resb 1
    .spi             resb 1
    .reqid           resb 1
endstruc
%define struc_xt_policy_spec_size 1


name: xt_policy_info
include_file: /usr/include/linux/netfilter/xt_policy.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_policy.h
struc xt_policy_info
    .pol             resb 304 ; None
    .flags           resb 2
    .len             resb 2
endstruc
%define struc_xt_policy_info_size 308


name: xt_comment_info
include_file: /usr/include/linux/netfilter/xt_comment.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_comment.h
struc xt_comment_info
    .comment         resb 256 ; None
endstruc
%define struc_xt_comment_info_size 256


name: xt_dccp_info
include_file: /usr/include/linux/netfilter/xt_dccp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_dccp.h
struc xt_dccp_info
    .dpts            resb 4 ; None
    .spts            resb 4 ; None
    .flags           resb 2
    .invflags        resb 2
    .typemask        resb 2
    .option          resb 1
endstruc
%define struc_xt_dccp_info_size 16


name: xt_state_info
include_file: /usr/include/linux/netfilter/xt_state.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_state.h
struc xt_state_info
    .statemask       resb 4
endstruc
%define struc_xt_state_info_size 4


name: xt_multiport
include_file: /usr/include/linux/netfilter/xt_multiport.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_multiport.h
struc xt_multiport
    .flags           resb 1
    .count           resb 1
    .ports           resb 30 ; None
endstruc
%define struc_xt_multiport_size 32


name: xt_multiport_v1
include_file: /usr/include/linux/netfilter/xt_multiport.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_multiport.h
struc xt_multiport_v1
    .flags           resb 1
    .count           resb 1
    .ports           resb 30 ; None
    .pflags          resb 15 ; None
    .invert          resb 1
endstruc
%define struc_xt_multiport_v1_size 48


name: xt_connlabel_mtinfo
include_file: /usr/include/linux/netfilter/xt_connlabel.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_connlabel.h
struc xt_connlabel_mtinfo
    .bit             resb 2
    .options         resb 2
endstruc
%define struc_xt_connlabel_mtinfo_size 4


name: nfgenmsg
include_file: /usr/include/linux/netfilter/nfnetlink.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink.h
struc nfgenmsg
    .nfgen_family    resb 1
    .version         resb 1
    .res_id          resb 2
endstruc
%define struc_nfgenmsg_size 4


name: xt_cluster_match_info
include_file: /usr/include/linux/netfilter/xt_cluster.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_cluster.h
struc xt_cluster_match_info
    .total_nodes     resb 4
    .node_mask       resb 4
    .hash_seed       resb 4
    .flags           resb 4
endstruc
%define struc_xt_cluster_match_info_size 16


name: xt_cpu_info
include_file: /usr/include/linux/netfilter/xt_cpu.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_cpu.h
struc xt_cpu_info
    .cpu             resb 4
    .invert          resb 4
endstruc
%define struc_xt_cpu_info_size 8


name: xt_nflog_info
include_file: /usr/include/linux/netfilter/xt_NFLOG.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_NFLOG.h
struc xt_nflog_info
    .len             resb 4
    .group           resb 2
    .threshold       resb 2
    .flags           resb 2
    .pad             resb 2
    .prefix          resb 64 ; None
endstruc
%define struc_xt_nflog_info_size 76


name: xt_esp
include_file: /usr/include/linux/netfilter/xt_esp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_esp.h
struc xt_esp
    .spis            resb 8 ; None
    .invflags        resb 1
endstruc
%define struc_xt_esp_size 12


name: xt_ipcomp
include_file: /usr/include/linux/netfilter/xt_ipcomp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_ipcomp.h
struc xt_ipcomp
    .spis            resb 8 ; None
    .invflags        resb 1
    .hdrres          resb 1
endstruc
%define struc_xt_ipcomp_size 12


name: xt_tcp
include_file: /usr/include/linux/netfilter/xt_tcpudp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_tcpudp.h
struc xt_tcp
    .spts            resb 4 ; None
    .dpts            resb 4 ; None
    .option          resb 1
    .flg_mask        resb 1
    .flg_cmp         resb 1
    .invflags        resb 1
endstruc
%define struc_xt_tcp_size 12


name: xt_udp
include_file: /usr/include/linux/netfilter/xt_tcpudp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_tcpudp.h
struc xt_udp
    .spts            resb 4 ; None
    .dpts            resb 4 ; None
    .invflags        resb 1
endstruc
%define struc_xt_udp_size 10


name: xt_tproxy_target_info
include_file: /usr/include/linux/netfilter/xt_TPROXY.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_TPROXY.h
struc xt_tproxy_target_info
    .mark_mask       resb 4
    .mark_value      resb 4
    .laddr           resb 4
    .lport           resb 2
endstruc
%define struc_xt_tproxy_target_info_size 16


name: xt_tproxy_target_info_v1
include_file: /usr/include/linux/netfilter/xt_TPROXY.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_TPROXY.h
struc xt_tproxy_target_info_v1
    .mark_mask       resb 4
    .mark_value      resb 4
    .laddr           resb 16 ; union nf_inet_addr
    .lport           resb 2
endstruc
%define struc_xt_tproxy_target_info_v1_size 28


name: xt_quota_info
include_file: /usr/include/linux/netfilter/xt_quota.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_quota.h
struc xt_quota_info
    .flags           resb 4
    .pad             resb 4
    .quota           resb 8
    .master          resb 8
endstruc
%define struc_xt_quota_info_size 24


name: xt_nfacct_match_info
include_file: /usr/include/linux/netfilter/xt_nfacct.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_nfacct.h
struc xt_nfacct_match_info
    .name            resb 32 ; None
    .nfacct          resb 8
endstruc
%define struc_xt_nfacct_match_info_size 40


name: xt_nfacct_match_info_v1
include_file: /usr/include/linux/netfilter/xt_nfacct.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_nfacct.h
struc xt_nfacct_match_info_v1
    .name            resb 32 ; None
    .nfacct          resb 8
endstruc
%define struc_xt_nfacct_match_info_v1_size 40


name: xt_hmark_info
include_file: /usr/include/linux/netfilter/xt_HMARK.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_HMARK.h
struc xt_hmark_info
    .src_mask        resb 16 ; union nf_inet_addr
    .dst_mask        resb 16 ; union nf_inet_addr
    .port_mask       resb 4 ; union hmark_ports
    .port_set        resb 4 ; union hmark_ports
    .flags           resb 4
    .proto_mask      resb 2
    .hashrnd         resb 4
    .hmodulus        resb 4
    .hoffset         resb 4
endstruc
%define struc_xt_hmark_info_size 60


name: xt_audit_info
include_file: /usr/include/linux/netfilter/xt_AUDIT.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_AUDIT.h
struc xt_audit_info
    .type            resb 1
endstruc
%define struc_xt_audit_info_size 1


name: xt_ct_target_info
include_file: /usr/include/linux/netfilter/xt_CT.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_CT.h
struc xt_ct_target_info
    .flags           resb 2
    .zone            resb 2
    .ct_events       resb 4
    .exp_events      resb 4
    .helper          resb 16 ; None
    .ct              resb 8
endstruc
%define struc_xt_ct_target_info_size 40


name: xt_ct_target_info_v1
include_file: /usr/include/linux/netfilter/xt_CT.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_CT.h
struc xt_ct_target_info_v1
    .flags           resb 2
    .zone            resb 2
    .ct_events       resb 4
    .exp_events      resb 4
    .helper          resb 16 ; None
    .timeout         resb 32 ; None
    .ct              resb 8
endstruc
%define struc_xt_ct_target_info_v1_size 72


name: xt_realm_info
include_file: /usr/include/linux/netfilter/xt_realm.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_realm.h
struc xt_realm_info
    .id              resb 4
    .mask            resb 4
    .invert          resb 1
endstruc
%define struc_xt_realm_info_size 12


name: xt_recent_mtinfo
include_file: /usr/include/linux/netfilter/xt_recent.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_recent.h
struc xt_recent_mtinfo
    .seconds         resb 4
    .hit_count       resb 4
    .check_set       resb 1
    .invert          resb 1
    .name            resb 200 ; None
    .side            resb 1
endstruc
%define struc_xt_recent_mtinfo_size 212


name: xt_recent_mtinfo_v1
include_file: /usr/include/linux/netfilter/xt_recent.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_recent.h
struc xt_recent_mtinfo_v1
    .seconds         resb 4
    .hit_count       resb 4
    .check_set       resb 1
    .invert          resb 1
    .name            resb 200 ; None
    .side            resb 1
    .mask            resb 16 ; union nf_inet_addr
endstruc
%define struc_xt_recent_mtinfo_v1_size 228


name: xt_owner_match_info
include_file: /usr/include/linux/netfilter/xt_owner.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_owner.h
struc xt_owner_match_info
    .uid_min         resb 4
    .uid_max         resb 4
    .gid_min         resb 4
    .gid_max         resb 4
    .match           resb 1
    .invert          resb 1
endstruc
%define struc_xt_owner_match_info_size 20


name: nfulnl_msg_packet_hdr
include_file: /usr/include/linux/netfilter/nfnetlink_log.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_log.h
struc nfulnl_msg_packet_hdr
    .hw_protocol     resb 2
    .hook            resb 1
    ._pad            resb 1
endstruc
%define struc_nfulnl_msg_packet_hdr_size 4


name: nfulnl_msg_packet_hw
include_file: /usr/include/linux/netfilter/nfnetlink_log.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_log.h
struc nfulnl_msg_packet_hw
    .hw_addrlen      resb 2
    ._pad            resb 2
    .hw_addr         resb 8 ; None
endstruc
%define struc_nfulnl_msg_packet_hw_size 12


name: nfulnl_msg_packet_timestamp
include_file: /usr/include/linux/netfilter/nfnetlink_log.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_log.h
struc nfulnl_msg_packet_timestamp
    .sec             resb 8
    .usec            resb 8
endstruc
%define struc_nfulnl_msg_packet_timestamp_size 16


name: nfulnl_msg_config_cmd
include_file: /usr/include/linux/netfilter/nfnetlink_log.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_log.h
struc nfulnl_msg_config_cmd
    .command         resb 1
endstruc
%define struc_nfulnl_msg_config_cmd_size 1


name: nfulnl_msg_config_mode
include_file: /usr/include/linux/netfilter/nfnetlink_log.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_log.h
struc nfulnl_msg_config_mode
    .copy_range      resb 4
    .copy_mode       resb 1
    ._pad            resb 1
endstruc
%define struc_nfulnl_msg_config_mode_size 6


name: xt_addrtype_info_v1
include_file: /usr/include/linux/netfilter/xt_addrtype.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_addrtype.h
struc xt_addrtype_info_v1
    .source          resb 2
    .dest            resb 2
    .flags           resb 4
endstruc
%define struc_xt_addrtype_info_v1_size 8


name: xt_addrtype_info
include_file: /usr/include/linux/netfilter/xt_addrtype.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_addrtype.h
struc xt_addrtype_info
    .source          resb 2
    .dest            resb 2
    .invert_source   resb 4
    .invert_dest     resb 4
endstruc
%define struc_xt_addrtype_info_size 12


name: xt_bpf_info
include_file: /usr/include/linux/netfilter/xt_bpf.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_bpf.h
struc xt_bpf_info
    .bpf_program_num resb 2
    .bpf_program     resb 512 ; None
    .filter          resb 8
endstruc
%define struc_xt_bpf_info_size 528


name: xt_ipvs_mtinfo
include_file: /usr/include/linux/netfilter/xt_ipvs.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_ipvs.h
struc xt_ipvs_mtinfo
    .vaddr           resb 16 ; union nf_inet_addr
    .vmask           resb 16 ; union nf_inet_addr
    .vport           resb 2
    .l4proto         resb 1
    .fwd_method      resb 1
    .vportctl        resb 2
    .invert          resb 1
    .bitmask         resb 1
endstruc
%define struc_xt_ipvs_mtinfo_size 40


name: xt_helper_info
include_file: /usr/include/linux/netfilter/xt_helper.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_helper.h
struc xt_helper_info
    .invert          resb 4
    .name            resb 30 ; None
endstruc
%define struc_xt_helper_info_size 36


name: xt_log_info
include_file: /usr/include/linux/netfilter/xt_LOG.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_LOG.h
struc xt_log_info
    .level           resb 1
    .logflags        resb 1
    .prefix          resb 30 ; None
endstruc
%define struc_xt_log_info_size 32


name: xt_time_info
include_file: /usr/include/linux/netfilter/xt_time.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_time.h
struc xt_time_info
    .date_start      resb 4
    .date_stop       resb 4
    .daytime_start   resb 4
    .daytime_stop    resb 4
    .monthdays_match resb 4
    .weekdays_match  resb 1
    .flags           resb 1
endstruc
%define struc_xt_time_info_size 24


name: nf_synproxy_info
include_file: /usr/include/linux/netfilter/nf_synproxy.h
nasm_code:
; from header /usr/include/linux/netfilter/nf_synproxy.h
struc nf_synproxy_info
    .options         resb 1
    .wscale          resb 1
    .mss             resb 2
endstruc
%define struc_nf_synproxy_info_size 4


name: xt_devgroup_info
include_file: /usr/include/linux/netfilter/xt_devgroup.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_devgroup.h
struc xt_devgroup_info
    .flags           resb 4
    .src_group       resb 4
    .src_mask        resb 4
    .dst_group       resb 4
    .dst_mask        resb 4
endstruc
%define struc_xt_devgroup_info_size 20


name: xt_set_info_v0
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_v0
    .index           resb 2
    .u               resb 28 ; union None
endstruc
%define struc_xt_set_info_v0_size 32


name: xt_set_info_match_v0
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_match_v0
    .match_set       resb 32 ; struc xt_set_info_v0
endstruc
%define struc_xt_set_info_match_v0_size 32


name: xt_set_info_target_v0
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_target_v0
    .add_set         resb 32 ; struc xt_set_info_v0
    .del_set         resb 32 ; struc xt_set_info_v0
endstruc
%define struc_xt_set_info_target_v0_size 64


name: xt_set_info
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info
    .index           resb 2
    .dim             resb 1
    .flags           resb 1
endstruc
%define struc_xt_set_info_size 4


name: xt_set_info_match_v1
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_match_v1
    .match_set       resb 4 ; struc xt_set_info
endstruc
%define struc_xt_set_info_match_v1_size 4


name: xt_set_info_target_v1
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_target_v1
    .add_set         resb 4 ; struc xt_set_info
    .del_set         resb 4 ; struc xt_set_info
endstruc
%define struc_xt_set_info_target_v1_size 8


name: xt_set_info_target_v2
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_target_v2
    .add_set         resb 4 ; struc xt_set_info
    .del_set         resb 4 ; struc xt_set_info
    .flags           resb 4
    .timeout         resb 4
endstruc
%define struc_xt_set_info_target_v2_size 16


name: xt_set_info_match_v3
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_match_v3
    .match_set       resb 4 ; struc xt_set_info
    .packets         resb 16 ; struc ip_set_counter_match0
    .bytes           resb 16 ; struc ip_set_counter_match0
    .flags           resb 4
endstruc
%define struc_xt_set_info_match_v3_size 48


name: xt_set_info_target_v3
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_target_v3
    .add_set         resb 4 ; struc xt_set_info
    .del_set         resb 4 ; struc xt_set_info
    .map_set         resb 4 ; struc xt_set_info
    .flags           resb 4
    .timeout         resb 4
endstruc
%define struc_xt_set_info_target_v3_size 20


name: xt_set_info_match_v4
include_file: /usr/include/linux/netfilter/xt_set.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_set.h
struc xt_set_info_match_v4
    .match_set       resb 4 ; struc xt_set_info
    .packets         resb 16 ; struc ip_set_counter_match
    .bytes           resb 16 ; struc ip_set_counter_match
    .flags           resb 4
endstruc
%define struc_xt_set_info_match_v4_size 48


name: xt_tcpmss_match_info
include_file: /usr/include/linux/netfilter/xt_tcpmss.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_tcpmss.h
struc xt_tcpmss_match_info
    .mss_min         resb 2
    .mss_max         resb 2
    .invert          resb 1
endstruc
%define struc_xt_tcpmss_match_info_size 6


name: xt_cgroup_info_v0
include_file: /usr/include/linux/netfilter/xt_cgroup.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_cgroup.h
struc xt_cgroup_info_v0
    .id              resb 4
    .invert          resb 4
endstruc
%define struc_xt_cgroup_info_v0_size 8


name: xt_cgroup_info_v1
include_file: /usr/include/linux/netfilter/xt_cgroup.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_cgroup.h
struc xt_cgroup_info_v1
    .has_path        resb 1
    .has_classid     resb 1
    .invert_path     resb 1
    .invert_classid  resb 1
    .path            resb 4096 ; None
    .classid         resb 4
    .priv            resb 8
endstruc
%define struc_xt_cgroup_info_v1_size 4112


name: xt_tcpmss_info
include_file: /usr/include/linux/netfilter/xt_TCPMSS.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_TCPMSS.h
struc xt_tcpmss_info
    .mss             resb 2
endstruc
%define struc_xt_tcpmss_info_size 2


name: xt_rateinfo
include_file: /usr/include/linux/netfilter/xt_limit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_limit.h
struc xt_rateinfo
    .avg             resb 4
    .burst           resb 4
    .prev            resb 8
    .credit          resb 4
    .credit_cap      resb 4
    .cost            resb 4
    .master          resb 8
endstruc
%define struc_xt_rateinfo_size 40


name: xt_dscp_info
include_file: /usr/include/linux/netfilter/xt_dscp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_dscp.h
struc xt_dscp_info
    .dscp            resb 1
    .invert          resb 1
endstruc
%define struc_xt_dscp_info_size 2


name: xt_tos_match_info
include_file: /usr/include/linux/netfilter/xt_dscp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_dscp.h
struc xt_tos_match_info
    .tos_mask        resb 1
    .tos_value       resb 1
    .invert          resb 1
endstruc
%define struc_xt_tos_match_info_size 3


name: xt_secmark_target_info
include_file: /usr/include/linux/netfilter/xt_SECMARK.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_SECMARK.h
struc xt_secmark_target_info
    .mode            resb 1
    .secid           resb 4
    .secctx          resb 256 ; None
endstruc
%define struc_xt_secmark_target_info_size 264


name: nf_ct_tcp_flags
include_file: /usr/include/linux/netfilter/nf_conntrack_tcp.h
nasm_code:
; from header /usr/include/linux/netfilter/nf_conntrack_tcp.h
struc nf_ct_tcp_flags
    .flags           resb 1
    .mask            resb 1
endstruc
%define struc_nf_ct_tcp_flags_size 2


name: xt_mark_tginfo2
include_file: /usr/include/linux/netfilter/xt_mark.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_mark.h
struc xt_mark_tginfo2
    .mark            resb 4
    .mask            resb 4
endstruc
%define struc_xt_mark_tginfo2_size 8


name: xt_mark_mtinfo1
include_file: /usr/include/linux/netfilter/xt_mark.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_mark.h
struc xt_mark_mtinfo1
    .mark            resb 4
    .mask            resb 4
    .invert          resb 1
endstruc
%define struc_xt_mark_mtinfo1_size 12


name: nfattr
include_file: /usr/include/linux/netfilter/nfnetlink_compat.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_compat.h
struc nfattr
    .nfa_len         resb 2
    .nfa_type        resb 2
endstruc
%define struc_nfattr_size 4


name: xt_led_info
include_file: /usr/include/linux/netfilter/xt_LED.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_LED.h
struc xt_led_info
    .id              resb 27 ; None
    .always_blink    resb 1
    .delay           resb 4
    .internal_data   resb 8
endstruc
%define struc_xt_led_info_size 40


name: xt_tee_tginfo
include_file: /usr/include/linux/netfilter/xt_TEE.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_TEE.h
struc xt_tee_tginfo
    .gw              resb 16 ; union nf_inet_addr
    .oif             resb 16 ; None
    .priv            resb 8
endstruc
%define struc_xt_tee_tginfo_size 40


name: xt_connmark_tginfo1
include_file: /usr/include/linux/netfilter/xt_connmark.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_connmark.h
struc xt_connmark_tginfo1
    .ctmark          resb 4
    .ctmask          resb 4
    .nfmask          resb 4
    .mode            resb 1
endstruc
%define struc_xt_connmark_tginfo1_size 16


name: xt_connmark_tginfo2
include_file: /usr/include/linux/netfilter/xt_connmark.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_connmark.h
struc xt_connmark_tginfo2
    .ctmark          resb 4
    .ctmask          resb 4
    .nfmask          resb 4
    .shift_dir       resb 1
    .shift_bits      resb 1
    .mode            resb 1
endstruc
%define struc_xt_connmark_tginfo2_size 16


name: xt_connmark_mtinfo1
include_file: /usr/include/linux/netfilter/xt_connmark.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_connmark.h
struc xt_connmark_mtinfo1
    .mark            resb 4
    .mask            resb 4
    .invert          resb 1
endstruc
%define struc_xt_connmark_mtinfo1_size 12


name: nfqnl_msg_packet_hdr
include_file: /usr/include/linux/netfilter/nfnetlink_queue.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_queue.h
struc nfqnl_msg_packet_hdr
    .packet_id       resb 4
    .hw_protocol     resb 2
    .hook            resb 1
endstruc
%define struc_nfqnl_msg_packet_hdr_size 7


name: nfqnl_msg_packet_hw
include_file: /usr/include/linux/netfilter/nfnetlink_queue.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_queue.h
struc nfqnl_msg_packet_hw
    .hw_addrlen      resb 2
    ._pad            resb 2
    .hw_addr         resb 8 ; None
endstruc
%define struc_nfqnl_msg_packet_hw_size 12


name: nfqnl_msg_packet_timestamp
include_file: /usr/include/linux/netfilter/nfnetlink_queue.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_queue.h
struc nfqnl_msg_packet_timestamp
    .sec             resb 8
    .usec            resb 8
endstruc
%define struc_nfqnl_msg_packet_timestamp_size 16


name: nfqnl_msg_verdict_hdr
include_file: /usr/include/linux/netfilter/nfnetlink_queue.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_queue.h
struc nfqnl_msg_verdict_hdr
    .verdict         resb 4
    .id              resb 4
endstruc
%define struc_nfqnl_msg_verdict_hdr_size 8


name: nfqnl_msg_config_cmd
include_file: /usr/include/linux/netfilter/nfnetlink_queue.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_queue.h
struc nfqnl_msg_config_cmd
    .command         resb 1
    ._pad            resb 1
    .pf              resb 2
endstruc
%define struc_nfqnl_msg_config_cmd_size 4


name: nfqnl_msg_config_params
include_file: /usr/include/linux/netfilter/nfnetlink_queue.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_queue.h
struc nfqnl_msg_config_params
    .copy_range      resb 4
    .copy_mode       resb 1
endstruc
%define struc_nfqnl_msg_config_params_size 5


name: xt_mac_info
include_file: /usr/include/linux/netfilter/xt_mac.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_mac.h
struc xt_mac_info
    .srcaddr         resb 6 ; None
    .invert          resb 4
endstruc
%define struc_xt_mac_info_size 12


name: xt_string_info
include_file: /usr/include/linux/netfilter/xt_string.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_string.h
struc xt_string_info
    .from_offset     resb 2
    .to_offset       resb 2
    .algo            resb 16 ; None
    .pattern         resb 128 ; None
    .patlen          resb 1
    .u               resb 1 ; union None
    .config          resb 8
endstruc
%define struc_xt_string_info_size 160


name: xt_entry_match
include_file: /usr/include/linux/netfilter/x_tables.h
nasm_code:
; from header /usr/include/linux/netfilter/x_tables.h
struc xt_entry_match
    .u               resb 32 ; union None
    .data            resb 0 ; None
endstruc
%define struc_xt_entry_match_size 32


name: xt_entry_target
include_file: /usr/include/linux/netfilter/x_tables.h
nasm_code:
; from header /usr/include/linux/netfilter/x_tables.h
struc xt_entry_target
    .u               resb 32 ; union None
    .data            resb 0 ; None
endstruc
%define struc_xt_entry_target_size 32


name: xt_standard_target
include_file: /usr/include/linux/netfilter/x_tables.h
nasm_code:
; from header /usr/include/linux/netfilter/x_tables.h
struc xt_standard_target
    .target          resb 32 ; struc xt_entry_target
    .verdict         resb 4
endstruc
%define struc_xt_standard_target_size 40


name: xt_error_target
include_file: /usr/include/linux/netfilter/x_tables.h
nasm_code:
; from header /usr/include/linux/netfilter/x_tables.h
struc xt_error_target
    .target          resb 32 ; struc xt_entry_target
    .errorname       resb 30 ; None
endstruc
%define struc_xt_error_target_size 64


name: xt_get_revision
include_file: /usr/include/linux/netfilter/x_tables.h
nasm_code:
; from header /usr/include/linux/netfilter/x_tables.h
struc xt_get_revision
    .name            resb 29 ; None
    .revision        resb 1
endstruc
%define struc_xt_get_revision_size 30


name: _xt_align
include_file: /usr/include/linux/netfilter/x_tables.h
nasm_code:
; from header /usr/include/linux/netfilter/x_tables.h
struc _xt_align
    .u8              resb 1
    .u16             resb 2
    .u32             resb 4
    .u64             resb 8
endstruc
%define struc__xt_align_size 16


name: xt_counters
include_file: /usr/include/linux/netfilter/x_tables.h
nasm_code:
; from header /usr/include/linux/netfilter/x_tables.h
struc xt_counters
    .pcnt            resb 8
    .bcnt            resb 8
endstruc
%define struc_xt_counters_size 16


name: xt_counters_info
include_file: /usr/include/linux/netfilter/x_tables.h
nasm_code:
; from header /usr/include/linux/netfilter/x_tables.h
struc xt_counters_info
    .name            resb 32 ; None
    .num_counters    resb 4
    .counters        resb 0 ; None
endstruc
%define struc_xt_counters_info_size 40


name: xt_classify_target_info
include_file: /usr/include/linux/netfilter/xt_CLASSIFY.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_CLASSIFY.h
struc xt_classify_target_info
    .priority        resb 4
endstruc
%define struc_xt_classify_target_info_size 4


name: xt_connsecmark_target_info
include_file: /usr/include/linux/netfilter/xt_CONNSECMARK.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_CONNSECMARK.h
struc xt_connsecmark_target_info
    .mode            resb 1
endstruc
%define struc_xt_connsecmark_target_info_size 1


name: xt_pkttype_info
include_file: /usr/include/linux/netfilter/xt_pkttype.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_pkttype.h
struc xt_pkttype_info
    .pkttype         resb 4
    .invert          resb 4
endstruc
%define struc_xt_pkttype_info_size 8


name: xt_l2tp_info
include_file: /usr/include/linux/netfilter/xt_l2tp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_l2tp.h
struc xt_l2tp_info
    .tid             resb 4
    .sid             resb 4
    .version         resb 1
    .type            resb 1
    .flags           resb 1
endstruc
%define struc_xt_l2tp_info_size 12


name: xt_DSCP_info
include_file: /usr/include/linux/netfilter/xt_DSCP.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_DSCP.h
struc xt_DSCP_info
    .dscp            resb 1
endstruc
%define struc_xt_DSCP_info_size 1


name: xt_tos_target_info
include_file: /usr/include/linux/netfilter/xt_DSCP.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_DSCP.h
struc xt_tos_target_info
    .tos_value       resb 1
    .tos_mask        resb 1
endstruc
%define struc_xt_tos_target_info_size 2


name: xt_physdev_info
include_file: /usr/include/linux/netfilter/xt_physdev.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_physdev.h
struc xt_physdev_info
    .physindev       resb 16 ; None
    .in_mask         resb 16 ; None
    .physoutdev      resb 16 ; None
    .out_mask        resb 16 ; None
    .invert          resb 1
    .bitmask         resb 1
endstruc
%define struc_xt_physdev_info_size 66


name: nf_nat_ipv4_range
include_file: /usr/include/linux/netfilter/nf_nat.h
nasm_code:
; from header /usr/include/linux/netfilter/nf_nat.h
struc nf_nat_ipv4_range
    .flags           resb 4
    .min_ip          resb 4
    .max_ip          resb 4
    .min             resb 2 ; union nf_conntrack_man_proto
    .max             resb 2 ; union nf_conntrack_man_proto
endstruc
%define struc_nf_nat_ipv4_range_size 16


name: nf_nat_ipv4_multi_range_compat
include_file: /usr/include/linux/netfilter/nf_nat.h
nasm_code:
; from header /usr/include/linux/netfilter/nf_nat.h
struc nf_nat_ipv4_multi_range_compat
    .rangesize       resb 4
    .range           resb 16 ; None
endstruc
%define struc_nf_nat_ipv4_multi_range_compat_size 20


name: nf_nat_range
include_file: /usr/include/linux/netfilter/nf_nat.h
nasm_code:
; from header /usr/include/linux/netfilter/nf_nat.h
struc nf_nat_range
    .flags           resb 4
    .min_addr        resb 16 ; union nf_inet_addr
    .max_addr        resb 16 ; union nf_inet_addr
    .min_proto       resb 2 ; union nf_conntrack_man_proto
    .max_proto       resb 2 ; union nf_conntrack_man_proto
endstruc
%define struc_nf_nat_range_size 40


name: nf_nat_range2
include_file: /usr/include/linux/netfilter/nf_nat.h
nasm_code:
; from header /usr/include/linux/netfilter/nf_nat.h
struc nf_nat_range2
    .flags           resb 4
    .min_addr        resb 16 ; union nf_inet_addr
    .max_addr        resb 16 ; union nf_inet_addr
    .min_proto       resb 2 ; union nf_conntrack_man_proto
    .max_proto       resb 2 ; union nf_conntrack_man_proto
    .base_proto      resb 2 ; union nf_conntrack_man_proto
endstruc
%define struc_nf_nat_range2_size 44


name: nf_osf_wc
include_file: /usr/include/linux/netfilter/nfnetlink_osf.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_osf.h
struc nf_osf_wc
    .wc              resb 4
    .val             resb 4
endstruc
%define struc_nf_osf_wc_size 8


name: nf_osf_opt
include_file: /usr/include/linux/netfilter/nfnetlink_osf.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_osf.h
struc nf_osf_opt
    .kind            resb 2
    .length          resb 2
    .wc              resb 8 ; struc nf_osf_wc
endstruc
%define struc_nf_osf_opt_size 12


name: nf_osf_info
include_file: /usr/include/linux/netfilter/nfnetlink_osf.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_osf.h
struc nf_osf_info
    .genre           resb 32 ; None
    .len             resb 4
    .flags           resb 4
    .loglevel        resb 4
    .ttl             resb 4
endstruc
%define struc_nf_osf_info_size 48


name: nf_osf_user_finger
include_file: /usr/include/linux/netfilter/nfnetlink_osf.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_osf.h
struc nf_osf_user_finger
    .wss             resb 8 ; struc nf_osf_wc
    .ttl             resb 1
    .df              resb 1
    .ss              resb 2
    .mss             resb 2
    .opt_num         resb 2
    .genre           resb 32 ; None
    .version         resb 32 ; None
    .subtype         resb 32 ; None
    .opt             resb 480 ; None
endstruc
%define struc_nf_osf_user_finger_size 592


name: nf_osf_nlmsg
include_file: /usr/include/linux/netfilter/nfnetlink_osf.h
nasm_code:
; from header /usr/include/linux/netfilter/nfnetlink_osf.h
struc nf_osf_nlmsg
    .f               resb 592 ; struc nf_osf_user_finger
    .ip              resb 20 ; struc iphdr
    .tcp             resb 20 ; struc tcphdr
endstruc
%define struc_nf_osf_nlmsg_size 632


name: hashlimit_cfg
include_file: /usr/include/linux/netfilter/xt_hashlimit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_hashlimit.h
struc hashlimit_cfg
    .mode            resb 4
    .avg             resb 4
    .burst           resb 4
    .size            resb 4
    .max             resb 4
    .gc_interval     resb 4
    .expire          resb 4
endstruc
%define struc_hashlimit_cfg_size 28


name: xt_hashlimit_info
include_file: /usr/include/linux/netfilter/xt_hashlimit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_hashlimit.h
struc xt_hashlimit_info
    .name            resb 16 ; None
    .cfg             resb 28 ; struc hashlimit_cfg
    .hinfo           resb 8
    .u               resb 8 ; union None
endstruc
%define struc_xt_hashlimit_info_size 64


name: hashlimit_cfg1
include_file: /usr/include/linux/netfilter/xt_hashlimit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_hashlimit.h
struc hashlimit_cfg1
    .mode            resb 4
    .avg             resb 4
    .burst           resb 4
    .size            resb 4
    .max             resb 4
    .gc_interval     resb 4
    .expire          resb 4
    .srcmask         resb 1
    .dstmask         resb 1
endstruc
%define struc_hashlimit_cfg1_size 32


name: hashlimit_cfg2
include_file: /usr/include/linux/netfilter/xt_hashlimit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_hashlimit.h
struc hashlimit_cfg2
    .avg             resb 8
    .burst           resb 8
    .mode            resb 4
    .size            resb 4
    .max             resb 4
    .gc_interval     resb 4
    .expire          resb 4
    .srcmask         resb 1
    .dstmask         resb 1
endstruc
%define struc_hashlimit_cfg2_size 40


name: hashlimit_cfg3
include_file: /usr/include/linux/netfilter/xt_hashlimit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_hashlimit.h
struc hashlimit_cfg3
    .avg             resb 8
    .burst           resb 8
    .mode            resb 4
    .size            resb 4
    .max             resb 4
    .gc_interval     resb 4
    .expire          resb 4
    .interval        resb 4
    .srcmask         resb 1
    .dstmask         resb 1
endstruc
%define struc_hashlimit_cfg3_size 48


name: xt_hashlimit_mtinfo1
include_file: /usr/include/linux/netfilter/xt_hashlimit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_hashlimit.h
struc xt_hashlimit_mtinfo1
    .name            resb 16 ; None
    .cfg             resb 32 ; struc hashlimit_cfg1
    .hinfo           resb 8
endstruc
%define struc_xt_hashlimit_mtinfo1_size 56


name: xt_hashlimit_mtinfo2
include_file: /usr/include/linux/netfilter/xt_hashlimit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_hashlimit.h
struc xt_hashlimit_mtinfo2
    .name            resb 255 ; None
    .cfg             resb 40 ; struc hashlimit_cfg2
    .hinfo           resb 8
endstruc
%define struc_xt_hashlimit_mtinfo2_size 304


name: xt_hashlimit_mtinfo3
include_file: /usr/include/linux/netfilter/xt_hashlimit.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_hashlimit.h
struc xt_hashlimit_mtinfo3
    .name            resb 255 ; None
    .cfg             resb 48 ; struc hashlimit_cfg3
    .hinfo           resb 8
endstruc
%define struc_xt_hashlimit_mtinfo3_size 312


name: xt_CHECKSUM_info
include_file: /usr/include/linux/netfilter/xt_CHECKSUM.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_CHECKSUM.h
struc xt_CHECKSUM_info
    .operation       resb 1
endstruc
%define struc_xt_CHECKSUM_info_size 1


name: xt_rateest_match_info
include_file: /usr/include/linux/netfilter/xt_rateest.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_rateest.h
struc xt_rateest_match_info
    .name1           resb 16 ; None
    .name2           resb 16 ; None
    .flags           resb 2
    .mode            resb 2
    .bps1            resb 4
    .pps1            resb 4
    .bps2            resb 4
    .pps2            resb 4
    .est1            resb 8
    .est2            resb 8
endstruc
%define struc_xt_rateest_match_info_size 72


name: xt_NFQ_info
include_file: /usr/include/linux/netfilter/xt_NFQUEUE.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_NFQUEUE.h
struc xt_NFQ_info
    .queuenum        resb 2
endstruc
%define struc_xt_NFQ_info_size 2


name: xt_NFQ_info_v1
include_file: /usr/include/linux/netfilter/xt_NFQUEUE.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_NFQUEUE.h
struc xt_NFQ_info_v1
    .queuenum        resb 2
    .queues_total    resb 2
endstruc
%define struc_xt_NFQ_info_v1_size 4


name: xt_NFQ_info_v2
include_file: /usr/include/linux/netfilter/xt_NFQUEUE.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_NFQUEUE.h
struc xt_NFQ_info_v2
    .queuenum        resb 2
    .queues_total    resb 2
    .bypass          resb 2
endstruc
%define struc_xt_NFQ_info_v2_size 6


name: xt_NFQ_info_v3
include_file: /usr/include/linux/netfilter/xt_NFQUEUE.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_NFQUEUE.h
struc xt_NFQ_info_v3
    .queuenum        resb 2
    .queues_total    resb 2
    .flags           resb 2
endstruc
%define struc_xt_NFQ_info_v3_size 6


name: xt_conntrack_mtinfo1
include_file: /usr/include/linux/netfilter/xt_conntrack.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_conntrack.h
struc xt_conntrack_mtinfo1
    .origsrc_addr    resb 16 ; union nf_inet_addr
    .origsrc_mask    resb 16 ; union nf_inet_addr
    .origdst_addr    resb 16 ; union nf_inet_addr
    .origdst_mask    resb 16 ; union nf_inet_addr
    .replsrc_addr    resb 16 ; union nf_inet_addr
    .replsrc_mask    resb 16 ; union nf_inet_addr
    .repldst_addr    resb 16 ; union nf_inet_addr
    .repldst_mask    resb 16 ; union nf_inet_addr
    .expires_min     resb 4
    .expires_max     resb 4
    .l4proto         resb 2
    .origsrc_port    resb 2
    .origdst_port    resb 2
    .replsrc_port    resb 2
    .repldst_port    resb 2
    .match_flags     resb 2
    .invert_flags    resb 2
    .state_mask      resb 1
    .status_mask     resb 1
endstruc
%define struc_xt_conntrack_mtinfo1_size 152


name: xt_conntrack_mtinfo2
include_file: /usr/include/linux/netfilter/xt_conntrack.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_conntrack.h
struc xt_conntrack_mtinfo2
    .origsrc_addr    resb 16 ; union nf_inet_addr
    .origsrc_mask    resb 16 ; union nf_inet_addr
    .origdst_addr    resb 16 ; union nf_inet_addr
    .origdst_mask    resb 16 ; union nf_inet_addr
    .replsrc_addr    resb 16 ; union nf_inet_addr
    .replsrc_mask    resb 16 ; union nf_inet_addr
    .repldst_addr    resb 16 ; union nf_inet_addr
    .repldst_mask    resb 16 ; union nf_inet_addr
    .expires_min     resb 4
    .expires_max     resb 4
    .l4proto         resb 2
    .origsrc_port    resb 2
    .origdst_port    resb 2
    .replsrc_port    resb 2
    .repldst_port    resb 2
    .match_flags     resb 2
    .invert_flags    resb 2
    .state_mask      resb 2
    .status_mask     resb 2
endstruc
%define struc_xt_conntrack_mtinfo2_size 156


name: xt_conntrack_mtinfo3
include_file: /usr/include/linux/netfilter/xt_conntrack.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_conntrack.h
struc xt_conntrack_mtinfo3
    .origsrc_addr    resb 16 ; union nf_inet_addr
    .origsrc_mask    resb 16 ; union nf_inet_addr
    .origdst_addr    resb 16 ; union nf_inet_addr
    .origdst_mask    resb 16 ; union nf_inet_addr
    .replsrc_addr    resb 16 ; union nf_inet_addr
    .replsrc_mask    resb 16 ; union nf_inet_addr
    .repldst_addr    resb 16 ; union nf_inet_addr
    .repldst_mask    resb 16 ; union nf_inet_addr
    .expires_min     resb 4
    .expires_max     resb 4
    .l4proto         resb 2
    .origsrc_port    resb 2
    .origdst_port    resb 2
    .replsrc_port    resb 2
    .repldst_port    resb 2
    .match_flags     resb 2
    .invert_flags    resb 2
    .state_mask      resb 2
    .status_mask     resb 2
    .origsrc_port_hi resb 2
    .origdst_port_hi resb 2
    .replsrc_port_hi resb 2
    .repldst_port_hi resb 2
endstruc
%define struc_xt_conntrack_mtinfo3_size 164


name: idletimer_tg_info
include_file: /usr/include/linux/netfilter/xt_IDLETIMER.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_IDLETIMER.h
struc idletimer_tg_info
    .timeout         resb 4
    .label           resb 28 ; None
    .timer           resb 8
endstruc
%define struc_idletimer_tg_info_size 40


name: idletimer_tg_info_v1
include_file: /usr/include/linux/netfilter/xt_IDLETIMER.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_IDLETIMER.h
struc idletimer_tg_info_v1
    .timeout         resb 4
    .label           resb 28 ; None
    .send_nl_msg     resb 1
    .timer_type      resb 1
    .timer           resb 8
endstruc
%define struc_idletimer_tg_info_v1_size 48


name: xt_sctp_flag_info
include_file: /usr/include/linux/netfilter/xt_sctp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_sctp.h
struc xt_sctp_flag_info
    .chunktype       resb 1
    .flag            resb 1
    .flag_mask       resb 1
endstruc
%define struc_xt_sctp_flag_info_size 3


name: xt_sctp_info
include_file: /usr/include/linux/netfilter/xt_sctp.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_sctp.h
struc xt_sctp_info
    .dpts            resb 4 ; None
    .spts            resb 4 ; None
    .chunkmap        resb 256 ; None
    .chunk_match_typ resb 4
    .flag_info       resb 12 ; None
    .flag_count      resb 4
    .flags           resb 4
    .invflags        resb 4
endstruc
%define struc_xt_sctp_info_size 292


name: xt_tcpoptstrip_target_info
include_file: /usr/include/linux/netfilter/xt_TCPOPTSTRIP.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_TCPOPTSTRIP.h
struc xt_tcpoptstrip_target_info
    .strip_bmap      resb 32 ; None
endstruc
%define struc_xt_tcpoptstrip_target_info_size 32


name: xt_iprange_mtinfo
include_file: /usr/include/linux/netfilter/xt_iprange.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_iprange.h
struc xt_iprange_mtinfo
    .src_min         resb 16 ; union nf_inet_addr
    .src_max         resb 16 ; union nf_inet_addr
    .dst_min         resb 16 ; union nf_inet_addr
    .dst_max         resb 16 ; union nf_inet_addr
    .flags           resb 1
endstruc
%define struc_xt_iprange_mtinfo_size 68


name: xt_rateest_target_info
include_file: /usr/include/linux/netfilter/xt_RATEEST.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_RATEEST.h
struc xt_rateest_target_info
    .name            resb 16 ; None
    .interval        resb 1
    .ewma_log        resb 1
    .est             resb 8
endstruc
%define struc_xt_rateest_target_info_size 32


name: xt_statistic_info
include_file: /usr/include/linux/netfilter/xt_statistic.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_statistic.h
struc xt_statistic_info
    .mode            resb 2
    .flags           resb 2
    .u               resb 12 ; union None
    .master          resb 8
endstruc
%define struc_xt_statistic_info_size 24


name: xt_ecn_info
include_file: /usr/include/linux/netfilter/xt_ecn.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_ecn.h
struc xt_ecn_info
    .operation       resb 1
    .invert          resb 1
    .ip_ect          resb 1
    .proto           resb 1 ; union None
endstruc
%define struc_xt_ecn_info_size 4


name: xt_rpfilter_info
include_file: /usr/include/linux/netfilter/xt_rpfilter.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_rpfilter.h
struc xt_rpfilter_info
    .flags           resb 1
endstruc
%define struc_xt_rpfilter_info_size 1


name: xt_socket_mtinfo1
include_file: /usr/include/linux/netfilter/xt_socket.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_socket.h
struc xt_socket_mtinfo1
    .flags           resb 1
endstruc
%define struc_xt_socket_mtinfo1_size 1


name: xt_socket_mtinfo2
include_file: /usr/include/linux/netfilter/xt_socket.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_socket.h
struc xt_socket_mtinfo2
    .flags           resb 1
endstruc
%define struc_xt_socket_mtinfo2_size 1


name: xt_socket_mtinfo3
include_file: /usr/include/linux/netfilter/xt_socket.h
nasm_code:
; from header /usr/include/linux/netfilter/xt_socket.h
struc xt_socket_mtinfo3
    .flags           resb 1
endstruc
%define struc_xt_socket_mtinfo3_size 1


name: keyctl_kdf_params
include_file: /usr/include/linux/keyctl.h
nasm_code:
; from header /usr/include/linux/keyctl.h
struc keyctl_kdf_params
    .hashname        resb 8
    .otherinfo       resb 8
    .otherinfolen    resb 4
    .__spare         resb 32 ; None
endstruc
%define struc_keyctl_kdf_params_size 56


name: keyctl_pkey_query
include_file: /usr/include/linux/keyctl.h
nasm_code:
; from header /usr/include/linux/keyctl.h
struc keyctl_pkey_query
    .supported_ops   resb 4
    .key_size        resb 4
    .max_data_size   resb 2
    .max_sig_size    resb 2
    .max_enc_size    resb 2
    .max_dec_size    resb 2
    .__spare         resb 40 ; None
endstruc
%define struc_keyctl_pkey_query_size 56


name: hpet_info
include_file: /usr/include/linux/hpet.h
nasm_code:
; from header /usr/include/linux/hpet.h
struc hpet_info
    .hi_ireqfreq     resb 8
    .hi_flags        resb 8
    .hi_hpet         resb 2
    .hi_timer        resb 2
endstruc
%define struc_hpet_info_size 24


name: switchtec_ioctl_flash_info
include_file: /usr/include/linux/switchtec_ioctl.h
nasm_code:
; from header /usr/include/linux/switchtec_ioctl.h
struc switchtec_ioctl_flash_info
    .flash_length    resb 8
    .num_partitions  resb 4
    .padding         resb 4
endstruc
%define struc_switchtec_ioctl_flash_info_size 16


name: switchtec_ioctl_flash_part_info
include_file: /usr/include/linux/switchtec_ioctl.h
nasm_code:
; from header /usr/include/linux/switchtec_ioctl.h
struc switchtec_ioctl_flash_part_info
    .flash_partition resb 4
    .address         resb 4
    .length          resb 4
    .active          resb 4
endstruc
%define struc_switchtec_ioctl_flash_part_info_size 16


name: switchtec_ioctl_event_summary_legacy
include_file: /usr/include/linux/switchtec_ioctl.h
nasm_code:
; from header /usr/include/linux/switchtec_ioctl.h
struc switchtec_ioctl_event_summary_legacy
    .global          resb 8
    .part_bitmap     resb 8
    .local_part      resb 4
    .padding         resb 4
    .part            resb 192 ; None
    .pff             resb 192 ; None
endstruc
%define struc_switchtec_ioctl_event_summary_legacy_size 408


name: switchtec_ioctl_event_summary
include_file: /usr/include/linux/switchtec_ioctl.h
nasm_code:
; from header /usr/include/linux/switchtec_ioctl.h
struc switchtec_ioctl_event_summary
    .global          resb 8
    .part_bitmap     resb 8
    .local_part      resb 4
    .padding         resb 4
    .part            resb 192 ; None
    .pff             resb 1020 ; None
endstruc
%define struc_switchtec_ioctl_event_summary_size 1240


name: switchtec_ioctl_event_ctl
include_file: /usr/include/linux/switchtec_ioctl.h
nasm_code:
; from header /usr/include/linux/switchtec_ioctl.h
struc switchtec_ioctl_event_ctl
    .event_id        resb 4
    .index           resb 4
    .flags           resb 4
    .occurred        resb 4
    .count           resb 4
    .data            resb 20 ; None
endstruc
%define struc_switchtec_ioctl_event_ctl_size 40


name: switchtec_ioctl_pff_port
include_file: /usr/include/linux/switchtec_ioctl.h
nasm_code:
; from header /usr/include/linux/switchtec_ioctl.h
struc switchtec_ioctl_pff_port
    .pff             resb 4
    .partition       resb 4
    .port            resb 4
endstruc
%define struc_switchtec_ioctl_pff_port_size 12


name: sock_diag_req
include_file: /usr/include/linux/sock_diag.h
nasm_code:
; from header /usr/include/linux/sock_diag.h
struc sock_diag_req
    .sdiag_family    resb 1
    .sdiag_protocol  resb 1
endstruc
%define struc_sock_diag_req_size 2


name: virtio_vsock_config
include_file: /usr/include/linux/virtio_vsock.h
nasm_code:
; from header /usr/include/linux/virtio_vsock.h
struc virtio_vsock_config
    .guest_cid       resb 8
endstruc
%define struc_virtio_vsock_config_size 8


name: virtio_vsock_event
include_file: /usr/include/linux/virtio_vsock.h
nasm_code:
; from header /usr/include/linux/virtio_vsock.h
struc virtio_vsock_event
    .id              resb 4
endstruc
%define struc_virtio_vsock_event_size 4


name: virtio_vsock_hdr
include_file: /usr/include/linux/virtio_vsock.h
nasm_code:
; from header /usr/include/linux/virtio_vsock.h
struc virtio_vsock_hdr
    .src_cid         resb 8
    .dst_cid         resb 8
    .src_port        resb 4
    .dst_port        resb 4
    .len             resb 4
    .type            resb 2
    .op              resb 2
    .flags           resb 4
    .buf_alloc       resb 4
    .fwd_cnt         resb 4
endstruc
%define struc_virtio_vsock_hdr_size 44


name: fiemap_extent
include_file: /usr/include/linux/fiemap.h
nasm_code:
; from header /usr/include/linux/fiemap.h
struc fiemap_extent
    .fe_logical      resb 8
    .fe_physical     resb 8
    .fe_length       resb 8
    .fe_reserved64   resb 16 ; None
    .fe_flags        resb 4
    .fe_reserved     resb 12 ; None
endstruc
%define struc_fiemap_extent_size 56


name: fiemap
include_file: /usr/include/linux/fiemap.h
nasm_code:
; from header /usr/include/linux/fiemap.h
struc fiemap
    .fm_start        resb 8
    .fm_length       resb 8
    .fm_flags        resb 4
    .fm_mapped_exten resb 4
    .fm_extent_count resb 4
    .fm_reserved     resb 4
    .fm_extents      resb 0 ; None
endstruc
%define struc_fiemap_size 32


name: xdp_diag_req
include_file: /usr/include/linux/xdp_diag.h
nasm_code:
; from header /usr/include/linux/xdp_diag.h
struc xdp_diag_req
    .sdiag_family    resb 1
    .sdiag_protocol  resb 1
    .pad             resb 2
    .xdiag_ino       resb 4
    .xdiag_show      resb 4
    .xdiag_cookie    resb 8 ; None
endstruc
%define struc_xdp_diag_req_size 20


name: xdp_diag_msg
include_file: /usr/include/linux/xdp_diag.h
nasm_code:
; from header /usr/include/linux/xdp_diag.h
struc xdp_diag_msg
    .xdiag_family    resb 1
    .xdiag_type      resb 1
    .pad             resb 2
    .xdiag_ino       resb 4
    .xdiag_cookie    resb 8 ; None
endstruc
%define struc_xdp_diag_msg_size 16


name: xdp_diag_info
include_file: /usr/include/linux/xdp_diag.h
nasm_code:
; from header /usr/include/linux/xdp_diag.h
struc xdp_diag_info
    .ifindex         resb 4
    .queue_id        resb 4
endstruc
%define struc_xdp_diag_info_size 8


name: xdp_diag_ring
include_file: /usr/include/linux/xdp_diag.h
nasm_code:
; from header /usr/include/linux/xdp_diag.h
struc xdp_diag_ring
    .entries         resb 4
endstruc
%define struc_xdp_diag_ring_size 4


name: xdp_diag_umem
include_file: /usr/include/linux/xdp_diag.h
nasm_code:
; from header /usr/include/linux/xdp_diag.h
struc xdp_diag_umem
    .size            resb 8
    .id              resb 4
    .num_pages       resb 4
    .chunk_size      resb 4
    .headroom        resb 4
    .ifindex         resb 4
    .queue_id        resb 4
    .flags           resb 4
    .refs            resb 4
endstruc
%define struc_xdp_diag_umem_size 40


name: xdp_diag_stats
include_file: /usr/include/linux/xdp_diag.h
nasm_code:
; from header /usr/include/linux/xdp_diag.h
struc xdp_diag_stats
    .n_rx_dropped    resb 8
    .n_rx_invalid    resb 8
    .n_rx_full       resb 8
    .n_fill_ring_emp resb 8
    .n_tx_invalid    resb 8
    .n_tx_ring_empty resb 8
endstruc
%define struc_xdp_diag_stats_size 48


name: can_frame
include_file: /usr/include/linux/can.h
nasm_code:
; from header /usr/include/linux/can.h
struc can_frame
    .can_id          resb 4
    .can_dlc         resb 1
    .__pad           resb 1
    .__res0          resb 1
    .__res1          resb 1
    .data            resb 8 ; None
endstruc
%define struc_can_frame_size 16


name: canfd_frame
include_file: /usr/include/linux/can.h
nasm_code:
; from header /usr/include/linux/can.h
struc canfd_frame
    .can_id          resb 4
    .len             resb 1
    .flags           resb 1
    .__res0          resb 1
    .__res1          resb 1
    .data            resb 64 ; None
endstruc
%define struc_canfd_frame_size 72


name: sockaddr_can
include_file: /usr/include/linux/can.h
nasm_code:
; from header /usr/include/linux/can.h
struc sockaddr_can
    .can_family      resb 2
    .can_ifindex     resb 4
    .can_addr        resb 16 ; union None
endstruc
%define struc_sockaddr_can_size 24


name: can_filter
include_file: /usr/include/linux/can.h
nasm_code:
; from header /usr/include/linux/can.h
struc can_filter
    .can_id          resb 4
    .can_mask        resb 4
endstruc
%define struc_can_filter_size 8


name: io_uring_cqe
include_file: /usr/include/linux/io_uring.h
nasm_code:
; from header /usr/include/linux/io_uring.h
struc io_uring_cqe
    .user_data       resb 8
    .res             resb 4
    .flags           resb 4
endstruc
%define struc_io_uring_cqe_size 16


name: io_sqring_offsets
include_file: /usr/include/linux/io_uring.h
nasm_code:
; from header /usr/include/linux/io_uring.h
struc io_sqring_offsets
    .head            resb 4
    .tail            resb 4
    .ring_mask       resb 4
    .ring_entries    resb 4
    .flags           resb 4
    .dropped         resb 4
    .array           resb 4
    .resv1           resb 4
    .resv2           resb 8
endstruc
%define struc_io_sqring_offsets_size 40


name: io_cqring_offsets
include_file: /usr/include/linux/io_uring.h
nasm_code:
; from header /usr/include/linux/io_uring.h
struc io_cqring_offsets
    .head            resb 4
    .tail            resb 4
    .ring_mask       resb 4
    .ring_entries    resb 4
    .overflow        resb 4
    .cqes            resb 4
    .flags           resb 4
    .resv1           resb 4
    .resv2           resb 8
endstruc
%define struc_io_cqring_offsets_size 40


name: io_uring_params
include_file: /usr/include/linux/io_uring.h
nasm_code:
; from header /usr/include/linux/io_uring.h
struc io_uring_params
    .sq_entries      resb 4
    .cq_entries      resb 4
    .flags           resb 4
    .sq_thread_cpu   resb 4
    .sq_thread_idle  resb 4
    .features        resb 4
    .wq_fd           resb 4
    .resv            resb 12 ; None
    .sq_off          resb 40 ; struc io_sqring_offsets
    .cq_off          resb 40 ; struc io_cqring_offsets
endstruc
%define struc_io_uring_params_size 120


name: io_uring_files_update
include_file: /usr/include/linux/io_uring.h
nasm_code:
; from header /usr/include/linux/io_uring.h
struc io_uring_files_update
    .offset          resb 4
    .resv            resb 4
    .fds             resb 8
endstruc
%define struc_io_uring_files_update_size 16


name: io_uring_probe_op
include_file: /usr/include/linux/io_uring.h
nasm_code:
; from header /usr/include/linux/io_uring.h
struc io_uring_probe_op
    .op              resb 1
    .resv            resb 1
    .flags           resb 2
    .resv2           resb 4
endstruc
%define struc_io_uring_probe_op_size 8


name: io_uring_probe
include_file: /usr/include/linux/io_uring.h
nasm_code:
; from header /usr/include/linux/io_uring.h
struc io_uring_probe
    .last_op         resb 1
    .ops_len         resb 1
    .resv            resb 2
    .resv2           resb 12 ; None
    .ops             resb 0 ; None
endstruc
%define struc_io_uring_probe_size 16


name: ipt_TTL_info
include_file: /usr/include/linux/netfilter_ipv4/ipt_TTL.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ipt_TTL.h
struc ipt_TTL_info
    .mode            resb 1
    .ttl             resb 1
endstruc
%define struc_ipt_TTL_info_size 2


name: ipt_reject_info
include_file: /usr/include/linux/netfilter_ipv4/ipt_REJECT.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ipt_REJECT.h
struc ipt_reject_info
    .with            resb 4
endstruc
%define struc_ipt_reject_info_size 4


name: ipt_ttl_info
include_file: /usr/include/linux/netfilter_ipv4/ipt_ttl.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ipt_ttl.h
struc ipt_ttl_info
    .mode            resb 1
    .ttl             resb 1
endstruc
%define struc_ipt_ttl_info_size 2


name: ipt_log_info
include_file: /usr/include/linux/netfilter_ipv4/ipt_LOG.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ipt_LOG.h
struc ipt_log_info
    .level           resb 1
    .logflags        resb 1
    .prefix          resb 30 ; None
endstruc
%define struc_ipt_log_info_size 32


name: ipt_ah
include_file: /usr/include/linux/netfilter_ipv4/ipt_ah.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ipt_ah.h
struc ipt_ah
    .spis            resb 8 ; None
    .invflags        resb 1
endstruc
%define struc_ipt_ah_size 12


name: ipt_ECN_info
include_file: /usr/include/linux/netfilter_ipv4/ipt_ECN.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ipt_ECN.h
struc ipt_ECN_info
    .operation       resb 1
    .ip_ect          resb 1
    .proto           resb 1 ; union None
endstruc
%define struc_ipt_ECN_info_size 3


name: ipt_ip
include_file: /usr/include/linux/netfilter_ipv4/ip_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ip_tables.h
struc ipt_ip
    .src             resb 4 ; struc in_addr
    .dst             resb 4 ; struc in_addr
    .smsk            resb 4 ; struc in_addr
    .dmsk            resb 4 ; struc in_addr
    .iniface         resb 16 ; None
    .outiface        resb 16 ; None
    .iniface_mask    resb 16 ; None
    .outiface_mask   resb 16 ; None
    .proto           resb 2
    .flags           resb 1
    .invflags        resb 1
endstruc
%define struc_ipt_ip_size 84


name: ipt_entry
include_file: /usr/include/linux/netfilter_ipv4/ip_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ip_tables.h
struc ipt_entry
    .ip              resb 84 ; struc ipt_ip
    .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_ipt_entry_size 112


name: ipt_icmp
include_file: /usr/include/linux/netfilter_ipv4/ip_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ip_tables.h
struc ipt_icmp
    .type            resb 1
    .code            resb 2 ; None
    .invflags        resb 1
endstruc
%define struc_ipt_icmp_size 4


name: ipt_getinfo
include_file: /usr/include/linux/netfilter_ipv4/ip_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ip_tables.h
struc ipt_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_ipt_getinfo_size 84


name: ipt_replace
include_file: /usr/include/linux/netfilter_ipv4/ip_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ip_tables.h
struc ipt_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_ipt_replace_size 96


name: ipt_get_entries
include_file: /usr/include/linux/netfilter_ipv4/ip_tables.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ip_tables.h
struc ipt_get_entries
    .name            resb 32 ; None
    .size            resb 4
    .entrytable      resb 0 ; None
endstruc
%define struc_ipt_get_entries_size 40


name: ipt_clusterip_tgt_info
include_file: /usr/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h
nasm_code:
; from header /usr/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h
struc ipt_clusterip_tgt_info
    .flags           resb 4
    .clustermac      resb 6 ; None
    .num_total_nodes resb 2
    .num_local_nodes resb 2
    .local_nodes     resb 32 ; None
    .hash_mode       resb 4
    .hash_initval    resb 4
    .config          resb 8
endstruc
%define struc_ipt_clusterip_tgt_info_size 64


name: wmi_ioctl_buffer
include_file: /usr/include/linux/wmi.h
nasm_code:
; from header /usr/include/linux/wmi.h
struc wmi_ioctl_buffer
    .length          resb 8
    .data            resb 0 ; None
endstruc
%define struc_wmi_ioctl_buffer_size 8


name: calling_interface_buffer
include_file: /usr/include/linux/wmi.h
nasm_code:
; from header /usr/include/linux/wmi.h
struc calling_interface_buffer
    .cmd_class       resb 2
    .cmd_select      resb 2
    .input           resb 16 ; None
    .output          resb 16 ; None
endstruc
%define struc_calling_interface_buffer_size 36


name: dell_wmi_extensions
include_file: /usr/include/linux/wmi.h
nasm_code:
; from header /usr/include/linux/wmi.h
struc dell_wmi_extensions
    .argattrib       resb 4
    .blength         resb 4
    .data            resb 0 ; None
endstruc
%define struc_dell_wmi_extensions_size 8


name: dell_wmi_smbios_buffer
include_file: /usr/include/linux/wmi.h
nasm_code:
; from header /usr/include/linux/wmi.h
struc dell_wmi_smbios_buffer
    .length          resb 8
    .std             resb 36 ; struc calling_interface_buffer
    .ext             resb 8 ; struc dell_wmi_extensions
endstruc
%define struc_dell_wmi_smbios_buffer_size 52


name: nl80211_sta_flag_update
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_sta_flag_update
    .mask            resb 4
    .set             resb 4
endstruc
%define struc_nl80211_sta_flag_update_size 8


name: nl80211_txrate_vht
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_txrate_vht
    .mcs             resb 16 ; None
endstruc
%define struc_nl80211_txrate_vht_size 16


name: nl80211_txrate_he
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_txrate_he
    .mcs             resb 16 ; None
endstruc
%define struc_nl80211_txrate_he_size 16


name: nl80211_pattern_support
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_pattern_support
    .max_patterns    resb 4
    .min_pattern_len resb 4
    .max_pattern_len resb 4
    .max_pkt_offset  resb 4
endstruc
%define struc_nl80211_pattern_support_size 16


name: nl80211_wowlan_tcp_data_seq
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_wowlan_tcp_data_seq
    .start           resb 4
    .offset          resb 4
    .len             resb 4
endstruc
%define struc_nl80211_wowlan_tcp_data_seq_size 12


name: nl80211_wowlan_tcp_data_token
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_wowlan_tcp_data_token
    .offset          resb 4
    .len             resb 4
    .token_stream    resb 0 ; None
endstruc
%define struc_nl80211_wowlan_tcp_data_token_size 8


name: nl80211_wowlan_tcp_data_token_feature
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_wowlan_tcp_data_token_feature
    .min_len         resb 4
    .max_len         resb 4
    .bufsize         resb 4
endstruc
%define struc_nl80211_wowlan_tcp_data_token_feature_size 12


name: nl80211_coalesce_rule_support
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_coalesce_rule_support
    .max_rules       resb 4
    .pat             resb 16 ; struc nl80211_pattern_support
    .max_delay       resb 4
endstruc
%define struc_nl80211_coalesce_rule_support_size 24


name: nl80211_vendor_cmd_info
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_vendor_cmd_info
    .vendor_id       resb 4
    .subcmd          resb 4
endstruc
%define struc_nl80211_vendor_cmd_info_size 8


name: nl80211_bss_select_rssi_adjust
include_file: /usr/include/linux/nl80211.h
nasm_code:
; from header /usr/include/linux/nl80211.h
struc nl80211_bss_select_rssi_adjust
    .band            resb 1
    .delta           resb 1
endstruc
%define struc_nl80211_bss_select_rssi_adjust_size 2


name: mdu_version_s
include_file: /usr/include/linux/raid/md_u.h
nasm_code:
; from header /usr/include/linux/raid/md_u.h
struc mdu_version_s
    .major           resb 4
    .minor           resb 4
    .patchlevel      resb 4
endstruc
%define struc_mdu_version_s_size 12


name: mdu_array_info_s
include_file: /usr/include/linux/raid/md_u.h
nasm_code:
; from header /usr/include/linux/raid/md_u.h
struc mdu_array_info_s
    .major_version   resb 4
    .minor_version   resb 4
    .patch_version   resb 4
    .ctime           resb 4
    .level           resb 4
    .size            resb 4
    .nr_disks        resb 4
    .raid_disks      resb 4
    .md_minor        resb 4
    .not_persistent  resb 4
    .utime           resb 4
    .state           resb 4
    .active_disks    resb 4
    .working_disks   resb 4
    .failed_disks    resb 4
    .spare_disks     resb 4
    .layout          resb 4
    .chunk_size      resb 4
endstruc
%define struc_mdu_array_info_s_size 72


name: mdu_disk_info_s
include_file: /usr/include/linux/raid/md_u.h
nasm_code:
; from header /usr/include/linux/raid/md_u.h
struc mdu_disk_info_s
    .number          resb 4
    .major           resb 4
    .minor           resb 4
    .raid_disk       resb 4
    .state           resb 4
endstruc
%define struc_mdu_disk_info_s_size 20


name: mdu_start_info_s
include_file: /usr/include/linux/raid/md_u.h
nasm_code:
; from header /usr/include/linux/raid/md_u.h
struc mdu_start_info_s
    .major           resb 4
    .minor           resb 4
    .raid_disk       resb 4
    .state           resb 4
endstruc
%define struc_mdu_start_info_s_size 16


name: mdp_device_descriptor_s
include_file: /usr/include/linux/raid/md_p.h
nasm_code:
; from header /usr/include/linux/raid/md_p.h
struc mdp_device_descriptor_s
    .number          resb 4
    .major           resb 4
    .minor           resb 4
    .raid_disk       resb 4
    .state           resb 4
    .reserved        resb 108 ; None
endstruc
%define struc_mdp_device_descriptor_s_size 128


name: mdp_superblock_s
include_file: /usr/include/linux/raid/md_p.h
nasm_code:
; from header /usr/include/linux/raid/md_p.h
struc mdp_superblock_s
    .md_magic        resb 4
    .major_version   resb 4
    .minor_version   resb 4
    .patch_version   resb 4
    .gvalid_words    resb 4
    .set_uuid0       resb 4
    .ctime           resb 4
    .level           resb 4
    .size            resb 4
    .nr_disks        resb 4
    .raid_disks      resb 4
    .md_minor        resb 4
    .not_persistent  resb 4
    .set_uuid1       resb 4
    .set_uuid2       resb 4
    .set_uuid3       resb 4
    .gstate_creserve resb 64 ; None
    .utime           resb 4
    .state           resb 4
    .active_disks    resb 4
    .working_disks   resb 4
    .failed_disks    resb 4
    .spare_disks     resb 4
    .sb_csum         resb 4
    .events_lo       resb 4
    .events_hi       resb 4
    .cp_events_lo    resb 4
    .cp_events_hi    resb 4
    .recovery_cp     resb 4
    .reshape_positio resb 8
    .new_level       resb 4
    .delta_disks     resb 4
    .new_layout      resb 4
    .new_chunk       resb 4
    .gstate_sreserve resb 56 ; None
    .layout          resb 4
    .chunk_size      resb 4
    .root_pv         resb 4
    .root_block      resb 4
    .pstate_reserved resb 240 ; None
    .disks           resb 3456 ; None
    .reserved        resb 0 ; None
    .this_disk       resb 128 ; mdp_disk_t
endstruc
%define struc_mdp_superblock_s_size 4096


name: r5l_payload_header
include_file: /usr/include/linux/raid/md_p.h
nasm_code:
; from header /usr/include/linux/raid/md_p.h
struc r5l_payload_header
    .type            resb 2
    .flags           resb 2
endstruc
%define struc_r5l_payload_header_size 4


name: r5l_payload_data_parity
include_file: /usr/include/linux/raid/md_p.h
nasm_code:
; from header /usr/include/linux/raid/md_p.h
struc r5l_payload_data_parity
    .header          resb 4 ; struc r5l_payload_header
    .size            resb 4
    .location        resb 8
    .checksum        resb 0 ; None
endstruc
%define struc_r5l_payload_data_parity_size 16


name: r5l_payload_flush
include_file: /usr/include/linux/raid/md_p.h
nasm_code:
; from header /usr/include/linux/raid/md_p.h
struc r5l_payload_flush
    .header          resb 4 ; struc r5l_payload_header
    .size            resb 4
    .flush_stripes   resb 0 ; None
endstruc
%define struc_r5l_payload_flush_size 8


name: r5l_meta_block
include_file: /usr/include/linux/raid/md_p.h
nasm_code:
; from header /usr/include/linux/raid/md_p.h
struc r5l_meta_block
    .magic           resb 4
    .checksum        resb 4
    .version         resb 1
    .__zero_pading_1 resb 1
    .__zero_pading_2 resb 2
    .meta_size       resb 4
    .seq             resb 8
    .position        resb 8
    .payloads        resb 0 ; None
endstruc
%define struc_r5l_meta_block_size 32


name: ppl_header_entry
include_file: /usr/include/linux/raid/md_p.h
nasm_code:
; from header /usr/include/linux/raid/md_p.h
struc ppl_header_entry
    .data_sector     resb 8
    .pp_size         resb 4
    .data_size       resb 4
    .parity_disk     resb 4
    .checksum        resb 4
endstruc
%define struc_ppl_header_entry_size 24


name: ppl_header
include_file: /usr/include/linux/raid/md_p.h
nasm_code:
; from header /usr/include/linux/raid/md_p.h
struc ppl_header
    .reserved        resb 512 ; None
    .signature       resb 4
    .padding         resb 4
    .generation      resb 8
    .entries_count   resb 4
    .checksum        resb 4
    .entries         resb 3552 ; None
endstruc
%define struc_ppl_header_size 4088


name: isst_if_platform_info
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_platform_info
    .api_version     resb 2
    .driver_version  resb 2
    .max_cmds_per_io resb 2
    .mbox_supported  resb 1
    .mmio_supported  resb 1
endstruc
%define struc_isst_if_platform_info_size 8


name: isst_if_cpu_map
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_cpu_map
    .logical_cpu     resb 4
    .physical_cpu    resb 4
endstruc
%define struc_isst_if_cpu_map_size 8


name: isst_if_cpu_maps
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_cpu_maps
    .cmd_count       resb 4
    .cpu_map         resb 8 ; None
endstruc
%define struc_isst_if_cpu_maps_size 12


name: isst_if_io_reg
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_io_reg
    .read_write      resb 4
    .logical_cpu     resb 4
    .reg             resb 4
    .value           resb 4
endstruc
%define struc_isst_if_io_reg_size 16


name: isst_if_io_regs
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_io_regs
    .req_count       resb 4
    .io_reg          resb 16 ; None
endstruc
%define struc_isst_if_io_regs_size 20


name: isst_if_mbox_cmd
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_mbox_cmd
    .logical_cpu     resb 4
    .parameter       resb 4
    .req_data        resb 4
    .resp_data       resb 4
    .command         resb 2
    .sub_command     resb 2
    .reserved        resb 4
endstruc
%define struc_isst_if_mbox_cmd_size 24


name: isst_if_mbox_cmds
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_mbox_cmds
    .cmd_count       resb 4
    .mbox_cmd        resb 24 ; None
endstruc
%define struc_isst_if_mbox_cmds_size 28


name: isst_if_msr_cmd
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_msr_cmd
    .read_write      resb 4
    .logical_cpu     resb 4
    .msr             resb 8
    .data            resb 8
endstruc
%define struc_isst_if_msr_cmd_size 24


name: isst_if_msr_cmds
include_file: /usr/include/linux/isst_if.h
nasm_code:
; from header /usr/include/linux/isst_if.h
struc isst_if_msr_cmds
    .cmd_count       resb 4
    .msr_cmd         resb 24 ; None
endstruc
%define struc_isst_if_msr_cmds_size 32


name: iio_event_data
include_file: /usr/include/linux/iio/events.h
nasm_code:
; from header /usr/include/linux/iio/events.h
struc iio_event_data
    .id              resb 8
    .timestamp       resb 8
endstruc
%define struc_iio_event_data_size 16


name: sockaddr_ax25
include_file: /usr/include/linux/ax25.h
nasm_code:
; from header /usr/include/linux/ax25.h
struc sockaddr_ax25
    .sax25_family    resb 2
    .sax25_call      resb 7 ; ax25_address
    .sax25_ndigis    resb 4
endstruc
%define struc_sockaddr_ax25_size 16


name: full_sockaddr_ax25
include_file: /usr/include/linux/ax25.h
nasm_code:
; from header /usr/include/linux/ax25.h
struc full_sockaddr_ax25
    .fsa_ax25        resb 16 ; struc sockaddr_ax25
    .fsa_digipeater  resb 56 ; None
endstruc
%define struc_full_sockaddr_ax25_size 72


name: ax25_routes_struct
include_file: /usr/include/linux/ax25.h
nasm_code:
; from header /usr/include/linux/ax25.h
struc ax25_routes_struct
    .port_addr       resb 7 ; ax25_address
    .dest_addr       resb 7 ; ax25_address
    .digi_count      resb 1
    .digi_addr       resb 56 ; None
endstruc
%define struc_ax25_routes_struct_size 71


name: ax25_route_opt_struct
include_file: /usr/include/linux/ax25.h
nasm_code:
; from header /usr/include/linux/ax25.h
struc ax25_route_opt_struct
    .port_addr       resb 7 ; ax25_address
    .dest_addr       resb 7 ; ax25_address
    .cmd             resb 4
    .arg             resb 4
endstruc
%define struc_ax25_route_opt_struct_size 24


name: ax25_ctl_struct
include_file: /usr/include/linux/ax25.h
nasm_code:
; from header /usr/include/linux/ax25.h
struc ax25_ctl_struct
    .port_addr       resb 7 ; ax25_address
    .source_addr     resb 7 ; ax25_address
    .dest_addr       resb 7 ; ax25_address
    .cmd             resb 4
    .arg             resb 8
    .digi_count      resb 1
    .digi_addr       resb 56 ; None
endstruc
%define struc_ax25_ctl_struct_size 104


name: ax25_info_struct_deprecated
include_file: /usr/include/linux/ax25.h
nasm_code:
; from header /usr/include/linux/ax25.h
struc ax25_info_struct_deprecated
    .n2              resb 4
    .n2count         resb 4
    .t1              resb 4
    .t1timer         resb 4
    .t2              resb 4
    .t2timer         resb 4
    .t3              resb 4
    .t3timer         resb 4
    .idle            resb 4
    .idletimer       resb 4
    .state           resb 4
    .rcv_q           resb 4
    .snd_q           resb 4
endstruc
%define struc_ax25_info_struct_deprecated_size 52


name: ax25_info_struct
include_file: /usr/include/linux/ax25.h
nasm_code:
; from header /usr/include/linux/ax25.h
struc ax25_info_struct
    .n2              resb 4
    .n2count         resb 4
    .t1              resb 4
    .t1timer         resb 4
    .t2              resb 4
    .t2timer         resb 4
    .t3              resb 4
    .t3timer         resb 4
    .idle            resb 4
    .idletimer       resb 4
    .state           resb 4
    .rcv_q           resb 4
    .snd_q           resb 4
    .vs              resb 4
    .vr              resb 4
    .va              resb 4
    .vs_max          resb 4
    .paclen          resb 4
    .window          resb 4
endstruc
%define struc_ax25_info_struct_size 76


name: ax25_fwd_struct
include_file: /usr/include/linux/ax25.h
nasm_code:
; from header /usr/include/linux/ax25.h
struc ax25_fwd_struct
    .port_from       resb 7 ; ax25_address
    .port_to         resb 7 ; ax25_address
endstruc
%define struc_ax25_fwd_struct_size 14


name: rseq_cs
include_file: /usr/include/linux/rseq.h
nasm_code:
; from header /usr/include/linux/rseq.h
struc rseq_cs
    .version         resb 4
    .flags           resb 4
    .start_ip        resb 8
    .post_commit_off resb 8
    .abort_ip        resb 8
endstruc
%define struc_rseq_cs_size 32


name: rseq
include_file: /usr/include/linux/rseq.h
nasm_code:
; from header /usr/include/linux/rseq.h
struc rseq
    .cpu_id_start    resb 4
    .cpu_id          resb 4
    .rseq_cs         resb 8 ; union None
    .flags           resb 4
endstruc
%define struc_rseq_size 32


name: vjstat
include_file: /usr/include/linux/ppp_defs.h
nasm_code:
; from header /usr/include/linux/ppp_defs.h
struc vjstat
    .vjs_packets     resb 4
    .vjs_compressed  resb 4
    .vjs_searches    resb 4
    .vjs_misses      resb 4
    .vjs_uncompresse resb 4
    .vjs_compressedi resb 4
    .vjs_errorin     resb 4
    .vjs_tossed      resb 4
endstruc
%define struc_vjstat_size 32


name: compstat
include_file: /usr/include/linux/ppp_defs.h
nasm_code:
; from header /usr/include/linux/ppp_defs.h
struc compstat
    .unc_bytes       resb 4
    .unc_packets     resb 4
    .comp_bytes      resb 4
    .comp_packets    resb 4
    .inc_bytes       resb 4
    .inc_packets     resb 4
    .in_count        resb 4
    .bytes_out       resb 4
    .ratio           resb 8
endstruc
%define struc_compstat_size 40


name: ppp_stats
include_file: /usr/include/linux/ppp_defs.h
nasm_code:
; from header /usr/include/linux/ppp_defs.h
struc ppp_stats
    .p               resb 44 ; struc pppstat
    .vj              resb 32 ; struc vjstat
endstruc
%define struc_ppp_stats_size 76


name: ppp_comp_stats
include_file: /usr/include/linux/ppp_defs.h
nasm_code:
; from header /usr/include/linux/ppp_defs.h
struc ppp_comp_stats
    .c               resb 40 ; struc compstat
    .d               resb 40 ; struc compstat
endstruc
%define struc_ppp_comp_stats_size 80


name: ppp_idle
include_file: /usr/include/linux/ppp_defs.h
nasm_code:
; from header /usr/include/linux/ppp_defs.h
struc ppp_idle
    .xmit_idle       resb 8
    .recv_idle       resb 8
endstruc
%define struc_ppp_idle_size 16


name: ppp_idle32
include_file: /usr/include/linux/ppp_defs.h
nasm_code:
; from header /usr/include/linux/ppp_defs.h
struc ppp_idle32
    .xmit_idle       resb 4
    .recv_idle       resb 4
endstruc
%define struc_ppp_idle32_size 8


name: ppp_idle64
include_file: /usr/include/linux/ppp_defs.h
nasm_code:
; from header /usr/include/linux/ppp_defs.h
struc ppp_idle64
    .xmit_idle       resb 8
    .recv_idle       resb 8
endstruc
%define struc_ppp_idle64_size 16


name: meye_params
include_file: /usr/include/linux/meye.h
nasm_code:
; from header /usr/include/linux/meye.h
struc meye_params
    .subsample       resb 1
    .quality         resb 1
    .sharpness       resb 1
    .agc             resb 1
    .picture         resb 1
    .framerate       resb 1
endstruc
%define struc_meye_params_size 6


name: sched_param
include_file: /usr/include/linux/sched/types.h
nasm_code:
; from header /usr/include/linux/sched/types.h
struc sched_param
    .sched_priority  resb 4
endstruc
%define struc_sched_param_size 4


name: sched_attr
include_file: /usr/include/linux/sched/types.h
nasm_code:
; from header /usr/include/linux/sched/types.h
struc sched_attr
    .size            resb 4
    .sched_policy    resb 4
    .sched_flags     resb 8
    .sched_nice      resb 4
    .sched_priority  resb 4
    .sched_runtime   resb 8
    .sched_deadline  resb 8
    .sched_period    resb 8
    .sched_util_min  resb 4
    .sched_util_max  resb 4
endstruc
%define struc_sched_attr_size 56


name: vsock_diag_req
include_file: /usr/include/linux/vm_sockets_diag.h
nasm_code:
; from header /usr/include/linux/vm_sockets_diag.h
struc vsock_diag_req
    .sdiag_family    resb 1
    .sdiag_protocol  resb 1
    .pad             resb 2
    .vdiag_states    resb 4
    .vdiag_ino       resb 4
    .vdiag_show      resb 4
    .vdiag_cookie    resb 8 ; None
endstruc
%define struc_vsock_diag_req_size 24


name: vsock_diag_msg
include_file: /usr/include/linux/vm_sockets_diag.h
nasm_code:
; from header /usr/include/linux/vm_sockets_diag.h
struc vsock_diag_msg
    .vdiag_family    resb 1
    .vdiag_type      resb 1
    .vdiag_state     resb 1
    .vdiag_shutdown  resb 1
    .vdiag_src_cid   resb 4
    .vdiag_src_port  resb 4
    .vdiag_dst_cid   resb 4
    .vdiag_dst_port  resb 4
    .vdiag_ino       resb 4
    .vdiag_cookie    resb 8 ; None
endstruc
%define struc_vsock_diag_msg_size 32


name: jffs2_raw_xattr
include_file: /usr/include/linux/jffs2.h
nasm_code:
; from header /usr/include/linux/jffs2.h
struc jffs2_raw_xattr
    .magic           resb 2 ; jint16_t
    .nodetype        resb 2 ; jint16_t
    .totlen          resb 4 ; jint32_t
    .hdr_crc         resb 4 ; jint32_t
    .xid             resb 4 ; jint32_t
    .version         resb 4 ; jint32_t
    .xprefix         resb 1
    .name_len        resb 1
    .value_len       resb 2 ; jint16_t
    .data_crc        resb 4 ; jint32_t
    .node_crc        resb 4 ; jint32_t
    .data            resb 0 ; None
endstruc
%define struc_jffs2_raw_xattr_size 32


name: lirc_scancode
include_file: /usr/include/linux/lirc.h
nasm_code:
; from header /usr/include/linux/lirc.h
struc lirc_scancode
    .timestamp       resb 8
    .flags           resb 2
    .rc_proto        resb 2
    .keycode         resb 4
    .scancode        resb 8
endstruc
%define struc_lirc_scancode_size 24


name: atmsvc_msg
include_file: /usr/include/linux/atmsvc.h
nasm_code:
; from header /usr/include/linux/atmsvc.h
struc atmsvc_msg
    .type            resb 4
    .vcc             resb 8 ; atm_kptr_t
    .listen_vcc      resb 8 ; atm_kptr_t
    .reply           resb 4
    .pvc             resb 12 ; struc sockaddr_atmpvc
    .local           resb 44 ; struc sockaddr_atmsvc
    .qos             resb 84 ; struc atm_qos
    .sap             resb 40 ; struc atm_sap
    .session         resb 4
    .svc             resb 44 ; struc sockaddr_atmsvc
endstruc
%define struc_atmsvc_msg_size 252


name: rio_cm_channel
include_file: /usr/include/linux/rio_cm_cdev.h
nasm_code:
; from header /usr/include/linux/rio_cm_cdev.h
struc rio_cm_channel
    .id              resb 2
    .remote_channel  resb 2
    .remote_destid   resb 2
    .mport_id        resb 1
endstruc
%define struc_rio_cm_channel_size 8


name: rio_cm_msg
include_file: /usr/include/linux/rio_cm_cdev.h
nasm_code:
; from header /usr/include/linux/rio_cm_cdev.h
struc rio_cm_msg
    .ch_num          resb 2
    .size            resb 2
    .rxto            resb 4
    .msg             resb 8
endstruc
%define struc_rio_cm_msg_size 16


name: rio_cm_accept
include_file: /usr/include/linux/rio_cm_cdev.h
nasm_code:
; from header /usr/include/linux/rio_cm_cdev.h
struc rio_cm_accept
    .ch_num          resb 2
    .pad0            resb 2
    .wait_to         resb 4
endstruc
%define struc_rio_cm_accept_size 8


name: input_event
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc input_event
    .time            resb 16 ; struc timeval
    .type            resb 2
    .code            resb 2
    .value           resb 4
endstruc
%define struc_input_event_size 24


name: input_id
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc input_id
    .bustype         resb 2
    .vendor          resb 2
    .product         resb 2
    .version         resb 2
endstruc
%define struc_input_id_size 8


name: input_absinfo
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc input_absinfo
    .value           resb 4
    .minimum         resb 4
    .maximum         resb 4
    .fuzz            resb 4
    .flat            resb 4
    .resolution      resb 4
endstruc
%define struc_input_absinfo_size 24


name: input_keymap_entry
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc input_keymap_entry
    .flags           resb 1
    .len             resb 1
    .index           resb 2
    .keycode         resb 4
    .scancode        resb 32 ; None
endstruc
%define struc_input_keymap_entry_size 40


name: input_mask
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc input_mask
    .type            resb 4
    .codes_size      resb 4
    .codes_ptr       resb 8
endstruc
%define struc_input_mask_size 16


name: ff_replay
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_replay
    .length          resb 2
    .delay           resb 2
endstruc
%define struc_ff_replay_size 4


name: ff_trigger
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_trigger
    .button          resb 2
    .interval        resb 2
endstruc
%define struc_ff_trigger_size 4


name: ff_envelope
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_envelope
    .attack_length   resb 2
    .attack_level    resb 2
    .fade_length     resb 2
    .fade_level      resb 2
endstruc
%define struc_ff_envelope_size 8


name: ff_constant_effect
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_constant_effect
    .level           resb 2
    .envelope        resb 8 ; struc ff_envelope
endstruc
%define struc_ff_constant_effect_size 10


name: ff_ramp_effect
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_ramp_effect
    .start_level     resb 2
    .end_level       resb 2
    .envelope        resb 8 ; struc ff_envelope
endstruc
%define struc_ff_ramp_effect_size 12


name: ff_condition_effect
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_condition_effect
    .right_saturatio resb 2
    .left_saturation resb 2
    .right_coeff     resb 2
    .left_coeff      resb 2
    .deadband        resb 2
    .center          resb 2
endstruc
%define struc_ff_condition_effect_size 12


name: ff_periodic_effect
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_periodic_effect
    .waveform        resb 2
    .period          resb 2
    .magnitude       resb 2
    .offset          resb 2
    .phase           resb 2
    .envelope        resb 8 ; struc ff_envelope
    .custom_len      resb 4
    .custom_data     resb 8
endstruc
%define struc_ff_periodic_effect_size 32


name: ff_rumble_effect
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_rumble_effect
    .strong_magnitud resb 2
    .weak_magnitude  resb 2
endstruc
%define struc_ff_rumble_effect_size 4


name: ff_effect
include_file: /usr/include/linux/input.h
nasm_code:
; from header /usr/include/linux/input.h
struc ff_effect
    .type            resb 2
    .id              resb 2
    .direction       resb 2
    .trigger         resb 4 ; struc ff_trigger
    .replay          resb 4 ; struc ff_replay
    .u               resb 32 ; union None
endstruc
%define struc_ff_effect_size 48


name: taskstats
include_file: /usr/include/linux/taskstats.h
nasm_code:
; from header /usr/include/linux/taskstats.h
struc taskstats
    .version         resb 2
    .ac_exitcode     resb 4
    .ac_flag         resb 1
    .ac_nice         resb 1
    .cpu_count       resb 8
    .cpu_delay_total resb 8
    .blkio_count     resb 8
    .blkio_delay_tot resb 8
    .swapin_count    resb 8
    .swapin_delay_to resb 8
    .cpu_run_real_to resb 8
    .cpu_run_virtual resb 8
    .ac_comm         resb 32 ; None
    .ac_sched        resb 1
    .ac_pad          resb 3 ; None
    .ac_uid          resb 4
    .ac_gid          resb 4
    .ac_pid          resb 4
    .ac_ppid         resb 4
    .ac_btime        resb 4
    .ac_etime        resb 8
    .ac_utime        resb 8
    .ac_stime        resb 8
    .ac_minflt       resb 8
    .ac_majflt       resb 8
    .coremem         resb 8
    .virtmem         resb 8
    .hiwater_rss     resb 8
    .hiwater_vm      resb 8
    .read_char       resb 8
    .write_char      resb 8
    .read_syscalls   resb 8
    .write_syscalls  resb 8
    .read_bytes      resb 8
    .write_bytes     resb 8
    .cancelled_write resb 8
    .nvcsw           resb 8
    .nivcsw          resb 8
    .ac_utimescaled  resb 8
    .ac_stimescaled  resb 8
    .cpu_scaled_run_ resb 8
    .freepages_count resb 8
    .freepages_delay resb 8
    .thrashing_count resb 8
    .thrashing_delay resb 8
    .ac_btime64      resb 8
endstruc
%define struc_taskstats_size 352


name: sockaddr_pkt
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc sockaddr_pkt
    .spkt_family     resb 2
    .spkt_device     resb 14 ; None
    .spkt_protocol   resb 2
endstruc
%define struc_sockaddr_pkt_size 18


name: sockaddr_ll
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc sockaddr_ll
    .sll_family      resb 2
    .sll_protocol    resb 2
    .sll_ifindex     resb 4
    .sll_hatype      resb 2
    .sll_pkttype     resb 1
    .sll_halen       resb 1
    .sll_addr        resb 8 ; None
endstruc
%define struc_sockaddr_ll_size 20


name: tpacket_stats
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_stats
    .tp_packets      resb 4
    .tp_drops        resb 4
endstruc
%define struc_tpacket_stats_size 8


name: tpacket_stats_v3
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_stats_v3
    .tp_packets      resb 4
    .tp_drops        resb 4
    .tp_freeze_q_cnt resb 4
endstruc
%define struc_tpacket_stats_v3_size 12


name: tpacket_rollover_stats
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_rollover_stats
    .tp_all          resb 8
    .tp_huge         resb 8
    .tp_failed       resb 8
endstruc
%define struc_tpacket_rollover_stats_size 24


name: tpacket_auxdata
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_auxdata
    .tp_status       resb 4
    .tp_len          resb 4
    .tp_snaplen      resb 4
    .tp_mac          resb 2
    .tp_net          resb 2
    .tp_vlan_tci     resb 2
    .tp_vlan_tpid    resb 2
endstruc
%define struc_tpacket_auxdata_size 20


name: tpacket_hdr
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_hdr
    .tp_status       resb 8
    .tp_len          resb 4
    .tp_snaplen      resb 4
    .tp_mac          resb 2
    .tp_net          resb 2
    .tp_sec          resb 4
    .tp_usec         resb 4
endstruc
%define struc_tpacket_hdr_size 32


name: tpacket2_hdr
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket2_hdr
    .tp_status       resb 4
    .tp_len          resb 4
    .tp_snaplen      resb 4
    .tp_mac          resb 2
    .tp_net          resb 2
    .tp_sec          resb 4
    .tp_nsec         resb 4
    .tp_vlan_tci     resb 2
    .tp_vlan_tpid    resb 2
    .tp_padding      resb 4 ; None
endstruc
%define struc_tpacket2_hdr_size 32


name: tpacket_hdr_variant1
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_hdr_variant1
    .tp_rxhash       resb 4
    .tp_vlan_tci     resb 4
    .tp_vlan_tpid    resb 2
    .tp_padding      resb 2
endstruc
%define struc_tpacket_hdr_variant1_size 12


name: tpacket_hdr_v1
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_hdr_v1
    .block_status    resb 4
    .num_pkts        resb 4
    .offset_to_first resb 4
    .blk_len         resb 4
    .seq_num         resb 8
    .ts_first_pkt    resb 8 ; struc tpacket_bd_ts
    .ts_last_pkt     resb 8 ; struc tpacket_bd_ts
endstruc
%define struc_tpacket_hdr_v1_size 40


name: tpacket_block_desc
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_block_desc
    .version         resb 4
    .offset_to_priv  resb 4
    .hdr             resb 40 ; union tpacket_bd_header_u
endstruc
%define struc_tpacket_block_desc_size 48


name: tpacket_req
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_req
    .tp_block_size   resb 4
    .tp_block_nr     resb 4
    .tp_frame_size   resb 4
    .tp_frame_nr     resb 4
endstruc
%define struc_tpacket_req_size 16


name: tpacket_req3
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc tpacket_req3
    .tp_block_size   resb 4
    .tp_block_nr     resb 4
    .tp_frame_size   resb 4
    .tp_frame_nr     resb 4
    .tp_retire_blk_t resb 4
    .tp_sizeof_priv  resb 4
    .tp_feature_req_ resb 4
endstruc
%define struc_tpacket_req3_size 28


name: packet_mreq
include_file: /usr/include/linux/if_packet.h
nasm_code:
; from header /usr/include/linux/if_packet.h
struc packet_mreq
    .mr_ifindex      resb 4
    .mr_type         resb 2
    .mr_alen         resb 2
    .mr_address      resb 8 ; None
endstruc
%define struc_packet_mreq_size 16


name: blk_io_trace
include_file: /usr/include/linux/blktrace_api.h
nasm_code:
; from header /usr/include/linux/blktrace_api.h
struc blk_io_trace
    .magic           resb 4
    .sequence        resb 4
    .time            resb 8
    .sector          resb 8
    .bytes           resb 4
    .action          resb 4
    .pid             resb 4
    .device          resb 4
    .cpu             resb 4
    .error           resb 2
    .pdu_len         resb 2
endstruc
%define struc_blk_io_trace_size 48


name: blk_io_trace_remap
include_file: /usr/include/linux/blktrace_api.h
nasm_code:
; from header /usr/include/linux/blktrace_api.h
struc blk_io_trace_remap
    .device_from     resb 4
    .device_to       resb 4
    .sector_from     resb 8
endstruc
%define struc_blk_io_trace_remap_size 16


name: blk_user_trace_setup
include_file: /usr/include/linux/blktrace_api.h
nasm_code:
; from header /usr/include/linux/blktrace_api.h
struc blk_user_trace_setup
    .name            resb 32 ; None
    .act_mask        resb 2
    .buf_size        resb 4
    .buf_nr          resb 4
    .start_lba       resb 8
    .end_lba         resb 8
    .pid             resb 4
endstruc
%define struc_blk_user_trace_setup_size 72


name: gnet_stats_basic
include_file: /usr/include/linux/gen_stats.h
nasm_code:
; from header /usr/include/linux/gen_stats.h
struc gnet_stats_basic
    .bytes           resb 8
    .packets         resb 4
endstruc
%define struc_gnet_stats_basic_size 16


name: gnet_stats_rate_est
include_file: /usr/include/linux/gen_stats.h
nasm_code:
; from header /usr/include/linux/gen_stats.h
struc gnet_stats_rate_est
    .bps             resb 4
    .pps             resb 4
endstruc
%define struc_gnet_stats_rate_est_size 8


name: gnet_stats_rate_est64
include_file: /usr/include/linux/gen_stats.h
nasm_code:
; from header /usr/include/linux/gen_stats.h
struc gnet_stats_rate_est64
    .bps             resb 8
    .pps             resb 8
endstruc
%define struc_gnet_stats_rate_est64_size 16


name: gnet_stats_queue
include_file: /usr/include/linux/gen_stats.h
nasm_code:
; from header /usr/include/linux/gen_stats.h
struc gnet_stats_queue
    .qlen            resb 4
    .backlog         resb 4
    .drops           resb 4
    .requeues        resb 4
    .overlimits      resb 4
endstruc
%define struc_gnet_stats_queue_size 20


name: gnet_estimator
include_file: /usr/include/linux/gen_stats.h
nasm_code:
; from header /usr/include/linux/gen_stats.h
struc gnet_estimator
    .interval        resb 1
    .ewma_log        resb 1
endstruc
%define struc_gnet_estimator_size 2


name: udphdr
include_file: /usr/include/linux/udp.h
nasm_code:
; from header /usr/include/linux/udp.h
struc udphdr
    .source          resb 2
    .dest            resb 2
    .len             resb 2
    .check           resb 2
endstruc
%define struc_udphdr_size 8


name: usbtmc_request
include_file: /usr/include/linux/usb/tmc.h
nasm_code:
; from header /usr/include/linux/usb/tmc.h
struc usbtmc_request
    .bRequestType    resb 1
    .bRequest        resb 1
    .wValue          resb 2
    .wIndex          resb 2
    .wLength         resb 2
endstruc
%define struc_usbtmc_request_size 8


name: usbtmc_ctrlrequest
include_file: /usr/include/linux/usb/tmc.h
nasm_code:
; from header /usr/include/linux/usb/tmc.h
struc usbtmc_ctrlrequest
    .req             resb 8 ; struc usbtmc_request
    .data            resb 8
endstruc
%define struc_usbtmc_ctrlrequest_size 16


name: usbtmc_termchar
include_file: /usr/include/linux/usb/tmc.h
nasm_code:
; from header /usr/include/linux/usb/tmc.h
struc usbtmc_termchar
    .term_char       resb 1
    .term_char_enabl resb 1
endstruc
%define struc_usbtmc_termchar_size 2


name: usbtmc_message
include_file: /usr/include/linux/usb/tmc.h
nasm_code:
; from header /usr/include/linux/usb/tmc.h
struc usbtmc_message
    .transfer_size   resb 4
    .transferred     resb 4
    .flags           resb 4
    .message         resb 8
endstruc
%define struc_usbtmc_message_size 20


name: usb_ctrlrequest
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_ctrlrequest
    .bRequestType    resb 1
    .bRequest        resb 1
    .wValue          resb 2
    .wIndex          resb 2
    .wLength         resb 2
endstruc
%define struc_usb_ctrlrequest_size 8


name: usb_descriptor_header
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_descriptor_header
    .bLength         resb 1
    .bDescriptorType resb 1
endstruc
%define struc_usb_descriptor_header_size 2


name: usb_device_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_device_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bcdUSB          resb 2
    .bDeviceClass    resb 1
    .bDeviceSubClass resb 1
    .bDeviceProtocol resb 1
    .bMaxPacketSize0 resb 1
    .idVendor        resb 2
    .idProduct       resb 2
    .bcdDevice       resb 2
    .iManufacturer   resb 1
    .iProduct        resb 1
    .iSerialNumber   resb 1
    .bNumConfigurati resb 1
endstruc
%define struc_usb_device_descriptor_size 18


name: usb_config_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_config_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .wTotalLength    resb 2
    .bNumInterfaces  resb 1
    .bConfigurationV resb 1
    .iConfiguration  resb 1
    .bmAttributes    resb 1
    .bMaxPower       resb 1
endstruc
%define struc_usb_config_descriptor_size 9


name: usb_string_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_string_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .wData           resb 2 ; None
endstruc
%define struc_usb_string_descriptor_size 4


name: usb_interface_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_interface_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bInterfaceNumbe resb 1
    .bAlternateSetti resb 1
    .bNumEndpoints   resb 1
    .bInterfaceClass resb 1
    .bInterfaceSubCl resb 1
    .bInterfaceProto resb 1
    .iInterface      resb 1
endstruc
%define struc_usb_interface_descriptor_size 9


name: usb_endpoint_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_endpoint_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bEndpointAddres resb 1
    .bmAttributes    resb 1
    .wMaxPacketSize  resb 2
    .bInterval       resb 1
    .bRefresh        resb 1
    .bSynchAddress   resb 1
endstruc
%define struc_usb_endpoint_descriptor_size 9


name: usb_ssp_isoc_ep_comp_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_ssp_isoc_ep_comp_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .wReseved        resb 2
    .dwBytesPerInter resb 4
endstruc
%define struc_usb_ssp_isoc_ep_comp_descriptor_size 8


name: usb_ss_ep_comp_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_ss_ep_comp_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bMaxBurst       resb 1
    .bmAttributes    resb 1
    .wBytesPerInterv resb 2
endstruc
%define struc_usb_ss_ep_comp_descriptor_size 6


name: usb_qualifier_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_qualifier_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bcdUSB          resb 2
    .bDeviceClass    resb 1
    .bDeviceSubClass resb 1
    .bDeviceProtocol resb 1
    .bMaxPacketSize0 resb 1
    .bNumConfigurati resb 1
    .bRESERVED       resb 1
endstruc
%define struc_usb_qualifier_descriptor_size 10


name: usb_otg_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_otg_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bmAttributes    resb 1
endstruc
%define struc_usb_otg_descriptor_size 3


name: usb_otg20_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_otg20_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bmAttributes    resb 1
    .bcdOTG          resb 2
endstruc
%define struc_usb_otg20_descriptor_size 5


name: usb_debug_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_debug_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDebugInEndpoin resb 1
    .bDebugOutEndpoi resb 1
endstruc
%define struc_usb_debug_descriptor_size 4


name: usb_interface_assoc_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_interface_assoc_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bFirstInterface resb 1
    .bInterfaceCount resb 1
    .bFunctionClass  resb 1
    .bFunctionSubCla resb 1
    .bFunctionProtoc resb 1
    .iFunction       resb 1
endstruc
%define struc_usb_interface_assoc_descriptor_size 8


name: usb_security_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_security_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .wTotalLength    resb 2
    .bNumEncryptionT resb 1
endstruc
%define struc_usb_security_descriptor_size 5


name: usb_key_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_key_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .tTKID           resb 3 ; None
    .bReserved       resb 1
    .bKeyData        resb 0 ; None
endstruc
%define struc_usb_key_descriptor_size 6


name: usb_encryption_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_encryption_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bEncryptionType resb 1
    .bEncryptionValu resb 1
    .bAuthKeyIndex   resb 1
endstruc
%define struc_usb_encryption_descriptor_size 5


name: usb_bos_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_bos_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .wTotalLength    resb 2
    .bNumDeviceCaps  resb 1
endstruc
%define struc_usb_bos_descriptor_size 5


name: usb_dev_cap_header
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_dev_cap_header
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
endstruc
%define struc_usb_dev_cap_header_size 3


name: usb_wireless_cap_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_wireless_cap_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .bmAttributes    resb 1
    .wPHYRates       resb 2
    .bmTFITXPowerInf resb 1
    .bmFFITXPowerInf resb 1
    .bmBandGroup     resb 2
    .bReserved       resb 1
endstruc
%define struc_usb_wireless_cap_descriptor_size 11


name: usb_ext_cap_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_ext_cap_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .bmAttributes    resb 4
endstruc
%define struc_usb_ext_cap_descriptor_size 7


name: usb_ss_cap_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_ss_cap_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .bmAttributes    resb 1
    .wSpeedSupported resb 2
    .bFunctionalityS resb 1
    .bU1devExitLat   resb 1
    .bU2DevExitLat   resb 2
endstruc
%define struc_usb_ss_cap_descriptor_size 10


name: usb_ss_container_id_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_ss_container_id_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .bReserved       resb 1
    .ContainerID     resb 16 ; None
endstruc
%define struc_usb_ss_container_id_descriptor_size 20


name: usb_ssp_cap_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_ssp_cap_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .bReserved       resb 1
    .bmAttributes    resb 4
    .wFunctionalityS resb 2
    .wReserved       resb 2
    .bmSublinkSpeedA resb 4 ; None
endstruc
%define struc_usb_ssp_cap_descriptor_size 16


name: usb_pd_cap_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_pd_cap_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .bReserved       resb 1
    .bmAttributes    resb 4
    .bmProviderPorts resb 2
    .bmConsumerPorts resb 2
    .bcdBCVersion    resb 2
    .bcdPDVersion    resb 2
    .bcdUSBTypeCVers resb 2
endstruc
%define struc_usb_pd_cap_descriptor_size 18


name: usb_pd_cap_battery_info_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_pd_cap_battery_info_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .iBattery        resb 1
    .iSerial         resb 1
    .iManufacturer   resb 1
    .bBatteryId      resb 1
    .bReserved       resb 1
    .dwChargedThresh resb 4
    .dwWeakThreshold resb 4
    .dwBatteryDesign resb 4
    .dwBatteryLastFu resb 4
endstruc
%define struc_usb_pd_cap_battery_info_descriptor_size 24


name: usb_pd_cap_consumer_port_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_pd_cap_consumer_port_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .bReserved       resb 1
    .bmCapabilities  resb 1
    .wMinVoltage     resb 2
    .wMaxVoltage     resb 2
    .wReserved       resb 2
    .dwMaxOperatingP resb 4
    .dwMaxPeakPower  resb 4
    .dwMaxPeakPowerT resb 4
endstruc
%define struc_usb_pd_cap_consumer_port_descriptor_size 23


name: usb_pd_cap_provider_port_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_pd_cap_provider_port_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
    .bReserved1      resb 1
    .bmCapabilities  resb 1
    .bNumOfPDObjects resb 1
    .bReserved2      resb 1
    .wPowerDataObjec resb 0 ; None
endstruc
%define struc_usb_pd_cap_provider_port_descriptor_size 7


name: usb_ptm_cap_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_ptm_cap_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDevCapabilityT resb 1
endstruc
%define struc_usb_ptm_cap_descriptor_size 3


name: usb_wireless_ep_comp_descriptor
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_wireless_ep_comp_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bMaxBurst       resb 1
    .bMaxSequence    resb 1
    .wMaxStreamDelay resb 2
    .wOverTheAirPack resb 2
    .bOverTheAirInte resb 1
    .bmCompAttribute resb 1
endstruc
%define struc_usb_wireless_ep_comp_descriptor_size 10


name: usb_handshake
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_handshake
    .bMessageNumber  resb 1
    .bStatus         resb 1
    .tTKID           resb 3 ; None
    .bReserved       resb 1
    .CDID            resb 16 ; None
    .nonce           resb 16 ; None
    .MIC             resb 8 ; None
endstruc
%define struc_usb_handshake_size 46


name: usb_connection_context
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_connection_context
    .CHID            resb 16 ; None
    .CDID            resb 16 ; None
    .CK              resb 16 ; None
endstruc
%define struc_usb_connection_context_size 48


name: usb_set_sel_req
include_file: /usr/include/linux/usb/ch9.h
nasm_code:
; from header /usr/include/linux/usb/ch9.h
struc usb_set_sel_req
    .u1_sel          resb 1
    .u1_pel          resb 1
    .u2_sel          resb 2
    .u2_pel          resb 2
endstruc
%define struc_usb_set_sel_req_size 6


name: usb_gadgetfs_event
include_file: /usr/include/linux/usb/gadgetfs.h
nasm_code:
; from header /usr/include/linux/usb/gadgetfs.h
struc usb_gadgetfs_event
    .u               resb 8 ; union None
    .type            resb 4
endstruc
%define struc_usb_gadgetfs_event_size 12


name: uvc_request_data
include_file: /usr/include/linux/usb/g_uvc.h
nasm_code:
; from header /usr/include/linux/usb/g_uvc.h
struc uvc_request_data
    .length          resb 4
    .data            resb 60 ; None
endstruc
%define struc_uvc_request_data_size 64


name: usb_raw_init
include_file: /usr/include/linux/usb/raw_gadget.h
nasm_code:
; from header /usr/include/linux/usb/raw_gadget.h
struc usb_raw_init
    .driver_name     resb 128 ; None
    .device_name     resb 128 ; None
    .speed           resb 1
endstruc
%define struc_usb_raw_init_size 257


name: usb_raw_event
include_file: /usr/include/linux/usb/raw_gadget.h
nasm_code:
; from header /usr/include/linux/usb/raw_gadget.h
struc usb_raw_event
    .type            resb 4
    .length          resb 4
    .data            resb 0 ; None
endstruc
%define struc_usb_raw_event_size 8


name: usb_raw_ep_io
include_file: /usr/include/linux/usb/raw_gadget.h
nasm_code:
; from header /usr/include/linux/usb/raw_gadget.h
struc usb_raw_ep_io
    .ep              resb 2
    .flags           resb 2
    .length          resb 4
    .data            resb 0 ; None
endstruc
%define struc_usb_raw_ep_io_size 8


name: usb_raw_ep_caps
include_file: /usr/include/linux/usb/raw_gadget.h
nasm_code:
; from header /usr/include/linux/usb/raw_gadget.h
struc usb_raw_ep_caps
    .type_control    resb 4
    .type_iso        resb 4
    .type_bulk       resb 4
    .type_int        resb 4
    .dir_in          resb 4
    .dir_out         resb 4
endstruc
%define struc_usb_raw_ep_caps_size 4


name: usb_raw_ep_limits
include_file: /usr/include/linux/usb/raw_gadget.h
nasm_code:
; from header /usr/include/linux/usb/raw_gadget.h
struc usb_raw_ep_limits
    .maxpacket_limit resb 2
    .max_streams     resb 2
    .reserved        resb 4
endstruc
%define struc_usb_raw_ep_limits_size 8


name: usb_raw_ep_info
include_file: /usr/include/linux/usb/raw_gadget.h
nasm_code:
; from header /usr/include/linux/usb/raw_gadget.h
struc usb_raw_ep_info
    .name            resb 16 ; None
    .addr            resb 4
    .caps            resb 4 ; struc usb_raw_ep_caps
    .limits          resb 8 ; struc usb_raw_ep_limits
endstruc
%define struc_usb_raw_ep_info_size 32


name: usb_raw_eps_info
include_file: /usr/include/linux/usb/raw_gadget.h
nasm_code:
; from header /usr/include/linux/usb/raw_gadget.h
struc usb_raw_eps_info
    .eps             resb 960 ; None
endstruc
%define struc_usb_raw_eps_info_size 960


name: usb_cdc_header_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_header_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bcdCDC          resb 2
endstruc
%define struc_usb_cdc_header_desc_size 5


name: usb_cdc_call_mgmt_descriptor
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_call_mgmt_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bmCapabilities  resb 1
    .bDataInterface  resb 1
endstruc
%define struc_usb_cdc_call_mgmt_descriptor_size 5


name: usb_cdc_acm_descriptor
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_acm_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bmCapabilities  resb 1
endstruc
%define struc_usb_cdc_acm_descriptor_size 4


name: usb_cdc_union_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_union_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bMasterInterfac resb 1
    .bSlaveInterface resb 1
endstruc
%define struc_usb_cdc_union_desc_size 5


name: usb_cdc_country_functional_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_country_functional_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .iCountryCodeRel resb 1
    .wCountyCode0    resb 2
endstruc
%define struc_usb_cdc_country_functional_desc_size 6


name: usb_cdc_network_terminal_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_network_terminal_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bEntityId       resb 1
    .iName           resb 1
    .bChannelIndex   resb 1
    .bPhysicalInterf resb 1
endstruc
%define struc_usb_cdc_network_terminal_desc_size 7


name: usb_cdc_ether_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ether_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .iMACAddress     resb 1
    .bmEthernetStati resb 4
    .wMaxSegmentSize resb 2
    .wNumberMCFilter resb 2
    .bNumberPowerFil resb 1
endstruc
%define struc_usb_cdc_ether_desc_size 13


name: usb_cdc_dmm_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_dmm_desc
    .bFunctionLength resb 1
    .bDescriptorType resb 1
    .bDescriptorSubt resb 1
    .bcdVersion      resb 2
    .wMaxCommand     resb 2
endstruc
%define struc_usb_cdc_dmm_desc_size 7


name: usb_cdc_mdlm_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_mdlm_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bcdVersion      resb 2
    .bGUID           resb 16 ; None
endstruc
%define struc_usb_cdc_mdlm_desc_size 21


name: usb_cdc_mdlm_detail_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_mdlm_detail_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bGuidDescriptor resb 1
    .bDetailData     resb 0 ; None
endstruc
%define struc_usb_cdc_mdlm_detail_desc_size 4


name: usb_cdc_obex_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_obex_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bcdVersion      resb 2
endstruc
%define struc_usb_cdc_obex_desc_size 5


name: usb_cdc_ncm_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bcdNcmVersion   resb 2
    .bmNetworkCapabi resb 1
endstruc
%define struc_usb_cdc_ncm_desc_size 6


name: usb_cdc_mbim_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_mbim_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bcdMBIMVersion  resb 2
    .wMaxControlMess resb 2
    .bNumberFilters  resb 1
    .bMaxFilterSize  resb 1
    .wMaxSegmentSize resb 2
    .bmNetworkCapabi resb 1
endstruc
%define struc_usb_cdc_mbim_desc_size 12


name: usb_cdc_mbim_extended_desc
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_mbim_extended_desc
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bcdMBIMExtended resb 2
    .bMaxOutstanding resb 1
    .wMTU            resb 2
endstruc
%define struc_usb_cdc_mbim_extended_desc_size 8


name: usb_cdc_line_coding
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_line_coding
    .dwDTERate       resb 4
    .bCharFormat     resb 1
    .bParityType     resb 1
    .bDataBits       resb 1
endstruc
%define struc_usb_cdc_line_coding_size 7


name: usb_cdc_notification
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_notification
    .bmRequestType   resb 1
    .bNotificationTy resb 1
    .wValue          resb 2
    .wIndex          resb 2
    .wLength         resb 2
endstruc
%define struc_usb_cdc_notification_size 8


name: usb_cdc_speed_change
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_speed_change
    .DLBitRRate      resb 4
    .ULBitRate       resb 4
endstruc
%define struc_usb_cdc_speed_change_size 8


name: usb_cdc_ncm_ntb_parameters
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_ntb_parameters
    .wLength         resb 2
    .bmNtbFormatsSup resb 2
    .dwNtbInMaxSize  resb 4
    .wNdpInDivisor   resb 2
    .wNdpInPayloadRe resb 2
    .wNdpInAlignment resb 2
    .wPadding1       resb 2
    .dwNtbOutMaxSize resb 4
    .wNdpOutDivisor  resb 2
    .wNdpOutPayloadR resb 2
    .wNdpOutAlignmen resb 2
    .wNtbOutMaxDatag resb 2
endstruc
%define struc_usb_cdc_ncm_ntb_parameters_size 28


name: usb_cdc_ncm_nth16
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_nth16
    .dwSignature     resb 4
    .wHeaderLength   resb 2
    .wSequence       resb 2
    .wBlockLength    resb 2
    .wNdpIndex       resb 2
endstruc
%define struc_usb_cdc_ncm_nth16_size 12


name: usb_cdc_ncm_nth32
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_nth32
    .dwSignature     resb 4
    .wHeaderLength   resb 2
    .wSequence       resb 2
    .dwBlockLength   resb 4
    .dwNdpIndex      resb 4
endstruc
%define struc_usb_cdc_ncm_nth32_size 16


name: usb_cdc_ncm_dpe16
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_dpe16
    .wDatagramIndex  resb 2
    .wDatagramLength resb 2
endstruc
%define struc_usb_cdc_ncm_dpe16_size 4


name: usb_cdc_ncm_ndp16
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_ndp16
    .dwSignature     resb 4
    .wLength         resb 2
    .wNextNdpIndex   resb 2
    .dpe16           resb 0 ; None
endstruc
%define struc_usb_cdc_ncm_ndp16_size 8


name: usb_cdc_ncm_dpe32
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_dpe32
    .dwDatagramIndex resb 4
    .dwDatagramLengt resb 4
endstruc
%define struc_usb_cdc_ncm_dpe32_size 8


name: usb_cdc_ncm_ndp32
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_ndp32
    .dwSignature     resb 4
    .wLength         resb 2
    .wReserved6      resb 2
    .dwNextNdpIndex  resb 4
    .dwReserved12    resb 4
    .dpe32           resb 0 ; None
endstruc
%define struc_usb_cdc_ncm_ndp32_size 16


name: usb_cdc_ncm_ndp_input_size
include_file: /usr/include/linux/usb/cdc.h
nasm_code:
; from header /usr/include/linux/usb/cdc.h
struc usb_cdc_ncm_ndp_input_size
    .dwNtbInMaxSize  resb 4
    .wNtbInMaxDatagr resb 2
    .wReserved       resb 2
endstruc
%define struc_usb_cdc_ncm_ndp_input_size_size 8


name: usb_port_status
include_file: /usr/include/linux/usb/ch11.h
nasm_code:
; from header /usr/include/linux/usb/ch11.h
struc usb_port_status
    .wPortStatus     resb 2
    .wPortChange     resb 2
    .dwExtPortStatus resb 4
endstruc
%define struc_usb_port_status_size 8


name: usb_hub_status
include_file: /usr/include/linux/usb/ch11.h
nasm_code:
; from header /usr/include/linux/usb/ch11.h
struc usb_hub_status
    .wHubStatus      resb 2
    .wHubChange      resb 2
endstruc
%define struc_usb_hub_status_size 4


name: usb_hub_descriptor
include_file: /usr/include/linux/usb/ch11.h
nasm_code:
; from header /usr/include/linux/usb/ch11.h
struc usb_hub_descriptor
    .bDescLength     resb 1
    .bDescriptorType resb 1
    .bNbrPorts       resb 1
    .wHubCharacteris resb 2
    .bPwrOn2PwrGood  resb 1
    .bHubContrCurren resb 1
    .u               resb 8 ; union None
endstruc
%define struc_usb_hub_descriptor_size 15


name: usb_endpoint_descriptor_no_audio
include_file: /usr/include/linux/usb/functionfs.h
nasm_code:
; from header /usr/include/linux/usb/functionfs.h
struc usb_endpoint_descriptor_no_audio
    .bLength         resb 1
    .bDescriptorType resb 1
    .bEndpointAddres resb 1
    .bmAttributes    resb 1
    .wMaxPacketSize  resb 2
    .bInterval       resb 1
endstruc
%define struc_usb_endpoint_descriptor_no_audio_size 7


name: usb_functionfs_descs_head_v2
include_file: /usr/include/linux/usb/functionfs.h
nasm_code:
; from header /usr/include/linux/usb/functionfs.h
struc usb_functionfs_descs_head_v2
    .magic           resb 4
    .length          resb 4
    .flags           resb 4
endstruc
%define struc_usb_functionfs_descs_head_v2_size 12


name: usb_functionfs_descs_head
include_file: /usr/include/linux/usb/functionfs.h
nasm_code:
; from header /usr/include/linux/usb/functionfs.h
struc usb_functionfs_descs_head
    .magic           resb 4
    .length          resb 4
    .fs_count        resb 4
    .hs_count        resb 4
endstruc
%define struc_usb_functionfs_descs_head_size 16


name: usb_ext_compat_desc
include_file: /usr/include/linux/usb/functionfs.h
nasm_code:
; from header /usr/include/linux/usb/functionfs.h
struc usb_ext_compat_desc
    .bFirstInterface resb 1
    .Reserved1       resb 1
    .CompatibleID    resb 8 ; None
    .SubCompatibleID resb 8 ; None
    .Reserved2       resb 6 ; None
endstruc
%define struc_usb_ext_compat_desc_size 24


name: usb_ext_prop_desc
include_file: /usr/include/linux/usb/functionfs.h
nasm_code:
; from header /usr/include/linux/usb/functionfs.h
struc usb_ext_prop_desc
    .dwSize          resb 4
    .dwPropertyDataT resb 4
    .wPropertyNameLe resb 2
endstruc
%define struc_usb_ext_prop_desc_size 10


name: usb_functionfs_strings_head
include_file: /usr/include/linux/usb/functionfs.h
nasm_code:
; from header /usr/include/linux/usb/functionfs.h
struc usb_functionfs_strings_head
    .magic           resb 4
    .length          resb 4
    .str_count       resb 4
    .lang_count      resb 4
endstruc
%define struc_usb_functionfs_strings_head_size 16


name: usb_functionfs_event
include_file: /usr/include/linux/usb/functionfs.h
nasm_code:
; from header /usr/include/linux/usb/functionfs.h
struc usb_functionfs_event
    .u               resb 8 ; union None
    .type            resb 1
    ._pad            resb 3 ; None
endstruc
%define struc_usb_functionfs_event_size 12


name: uvc_descriptor_header
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_descriptor_header
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
endstruc
%define struc_uvc_descriptor_header_size 3


name: uvc_header_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_header_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bcdUVC          resb 2
    .wTotalLength    resb 2
    .dwClockFrequenc resb 4
    .bInCollection   resb 1
    .baInterfaceNr   resb 0 ; None
endstruc
%define struc_uvc_header_descriptor_size 12


name: uvc_input_terminal_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_input_terminal_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bTerminalID     resb 1
    .wTerminalType   resb 2
    .bAssocTerminal  resb 1
    .iTerminal       resb 1
endstruc
%define struc_uvc_input_terminal_descriptor_size 8


name: uvc_output_terminal_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_output_terminal_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bTerminalID     resb 1
    .wTerminalType   resb 2
    .bAssocTerminal  resb 1
    .bSourceID       resb 1
    .iTerminal       resb 1
endstruc
%define struc_uvc_output_terminal_descriptor_size 9


name: uvc_camera_terminal_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_camera_terminal_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bTerminalID     resb 1
    .wTerminalType   resb 2
    .bAssocTerminal  resb 1
    .iTerminal       resb 1
    .wObjectiveFocal resb 2
    .wObjectiveFocal resb 2
    .wOcularFocalLen resb 2
    .bControlSize    resb 1
    .bmControls      resb 3 ; None
endstruc
%define struc_uvc_camera_terminal_descriptor_size 18


name: uvc_selector_unit_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_selector_unit_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bUnitID         resb 1
    .bNrInPins       resb 1
    .baSourceID      resb 0 ; None
    .iSelector       resb 1
endstruc
%define struc_uvc_selector_unit_descriptor_size 6


name: uvc_processing_unit_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_processing_unit_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bUnitID         resb 1
    .bSourceID       resb 1
    .wMaxMultiplier  resb 2
    .bControlSize    resb 1
    .bmControls      resb 2 ; None
    .iProcessing     resb 1
endstruc
%define struc_uvc_processing_unit_descriptor_size 11


name: uvc_extension_unit_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_extension_unit_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bUnitID         resb 1
    .guidExtensionCo resb 16 ; None
    .bNumControls    resb 1
    .bNrInPins       resb 1
    .baSourceID      resb 0 ; None
    .bControlSize    resb 1
    .bmControls      resb 0 ; None
    .iExtension      resb 1
endstruc
%define struc_uvc_extension_unit_descriptor_size 24


name: uvc_control_endpoint_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_control_endpoint_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .wMaxTransferSiz resb 2
endstruc
%define struc_uvc_control_endpoint_descriptor_size 5


name: uvc_input_header_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_input_header_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bNumFormats     resb 1
    .wTotalLength    resb 2
    .bEndpointAddres resb 1
    .bmInfo          resb 1
    .bTerminalLink   resb 1
    .bStillCaptureMe resb 1
    .bTriggerSupport resb 1
    .bTriggerUsage   resb 1
    .bControlSize    resb 1
    .bmaControls     resb 0 ; None
endstruc
%define struc_uvc_input_header_descriptor_size 13


name: uvc_output_header_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_output_header_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bNumFormats     resb 1
    .wTotalLength    resb 2
    .bEndpointAddres resb 1
    .bTerminalLink   resb 1
    .bControlSize    resb 1
    .bmaControls     resb 0 ; None
endstruc
%define struc_uvc_output_header_descriptor_size 9


name: uvc_color_matching_descriptor
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_color_matching_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bColorPrimaries resb 1
    .bTransferCharac resb 1
    .bMatrixCoeffici resb 1
endstruc
%define struc_uvc_color_matching_descriptor_size 6


name: uvc_streaming_control
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_streaming_control
    .bmHint          resb 2
    .bFormatIndex    resb 1
    .bFrameIndex     resb 1
    .dwFrameInterval resb 4
    .wKeyFrameRate   resb 2
    .wPFrameRate     resb 2
    .wCompQuality    resb 2
    .wCompWindowSize resb 2
    .wDelay          resb 2
    .dwMaxVideoFrame resb 4
    .dwMaxPayloadTra resb 4
    .dwClockFrequenc resb 4
    .bmFramingInfo   resb 1
    .bPreferedVersio resb 1
    .bMinVersion     resb 1
    .bMaxVersion     resb 1
endstruc
%define struc_uvc_streaming_control_size 34


name: uvc_format_uncompressed
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_format_uncompressed
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bFormatIndex    resb 1
    .bNumFrameDescri resb 1
    .guidFormat      resb 16 ; None
    .bBitsPerPixel   resb 1
    .bDefaultFrameIn resb 1
    .bAspectRatioX   resb 1
    .bAspectRatioY   resb 1
    .bmInterfaceFlag resb 1
    .bCopyProtect    resb 1
endstruc
%define struc_uvc_format_uncompressed_size 27


name: uvc_frame_uncompressed
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_frame_uncompressed
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bFrameIndex     resb 1
    .bmCapabilities  resb 1
    .wWidth          resb 2
    .wHeight         resb 2
    .dwMinBitRate    resb 4
    .dwMaxBitRate    resb 4
    .dwMaxVideoFrame resb 4
    .dwDefaultFrameI resb 4
    .bFrameIntervalT resb 1
    .dwFrameInterval resb 0 ; None
endstruc
%define struc_uvc_frame_uncompressed_size 26


name: uvc_format_mjpeg
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_format_mjpeg
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bFormatIndex    resb 1
    .bNumFrameDescri resb 1
    .bmFlags         resb 1
    .bDefaultFrameIn resb 1
    .bAspectRatioX   resb 1
    .bAspectRatioY   resb 1
    .bmInterfaceFlag resb 1
    .bCopyProtect    resb 1
endstruc
%define struc_uvc_format_mjpeg_size 11


name: uvc_frame_mjpeg
include_file: /usr/include/linux/usb/video.h
nasm_code:
; from header /usr/include/linux/usb/video.h
struc uvc_frame_mjpeg
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubT resb 1
    .bFrameIndex     resb 1
    .bmCapabilities  resb 1
    .wWidth          resb 2
    .wHeight         resb 2
    .dwMinBitRate    resb 4
    .dwMaxBitRate    resb 4
    .dwMaxVideoFrame resb 4
    .dwDefaultFrameI resb 4
    .bFrameIntervalT resb 1
    .dwFrameInterval resb 0 ; None
endstruc
%define struc_uvc_frame_mjpeg_size 26


name: usb_ms_header_descriptor
include_file: /usr/include/linux/usb/midi.h
nasm_code:
; from header /usr/include/linux/usb/midi.h
struc usb_ms_header_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubt resb 1
    .bcdMSC          resb 2
    .wTotalLength    resb 2
endstruc
%define struc_usb_ms_header_descriptor_size 7


name: usb_midi_in_jack_descriptor
include_file: /usr/include/linux/usb/midi.h
nasm_code:
; from header /usr/include/linux/usb/midi.h
struc usb_midi_in_jack_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubt resb 1
    .bJackType       resb 1
    .bJackID         resb 1
    .iJack           resb 1
endstruc
%define struc_usb_midi_in_jack_descriptor_size 6


name: usb_midi_source_pin
include_file: /usr/include/linux/usb/midi.h
nasm_code:
; from header /usr/include/linux/usb/midi.h
struc usb_midi_source_pin
    .baSourceID      resb 1
    .baSourcePin     resb 1
endstruc
%define struc_usb_midi_source_pin_size 2


name: usb_midi_out_jack_descriptor
include_file: /usr/include/linux/usb/midi.h
nasm_code:
; from header /usr/include/linux/usb/midi.h
struc usb_midi_out_jack_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubt resb 1
    .bJackType       resb 1
    .bJackID         resb 1
    .bNrInputPins    resb 1
    .pins            resb 0 ; None
endstruc
%define struc_usb_midi_out_jack_descriptor_size 6


name: usb_ms_endpoint_descriptor
include_file: /usr/include/linux/usb/midi.h
nasm_code:
; from header /usr/include/linux/usb/midi.h
struc usb_ms_endpoint_descriptor
    .bLength         resb 1
    .bDescriptorType resb 1
    .bDescriptorSubt resb 1
    .bNumEmbMIDIJack resb 1
    .baAssocJackID   resb 0 ; None
endstruc
%define struc_usb_ms_endpoint_descriptor_size 4


name: capi_register_params
include_file: /usr/include/linux/capi.h
nasm_code:
; from header /usr/include/linux/capi.h
struc capi_register_params
    .level3cnt       resb 4
    .datablkcnt      resb 4
    .datablklen      resb 4
endstruc
%define struc_capi_register_params_size 12


name: capi_version
include_file: /usr/include/linux/capi.h
nasm_code:
; from header /usr/include/linux/capi.h
struc capi_version
    .majorversion    resb 4
    .minorversion    resb 4
    .majormanuversio resb 4
    .minormanuversio resb 4
endstruc
%define struc_capi_version_size 16


name: capi_profile
include_file: /usr/include/linux/capi.h
nasm_code:
; from header /usr/include/linux/capi.h
struc capi_profile
    .ncontroller     resb 2
    .nbchannel       resb 2
    .goptions        resb 4
    .support1        resb 4
    .support2        resb 4
    .support3        resb 4
    .reserved        resb 24 ; None
    .manu            resb 20 ; None
endstruc
%define struc_capi_profile_size 64


name: capi_manufacturer_cmd
include_file: /usr/include/linux/capi.h
nasm_code:
; from header /usr/include/linux/capi.h
struc capi_manufacturer_cmd
    .cmd             resb 8
    .data            resb 8
endstruc
%define struc_capi_manufacturer_cmd_size 16


name: gfs2_inum
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_inum
    .no_formal_ino   resb 8
    .no_addr         resb 8
endstruc
%define struc_gfs2_inum_size 16


name: gfs2_sb
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_sb
    .sb_header       resb 24 ; struc gfs2_meta_header
    .sb_fs_format    resb 4
    .sb_multihost_fo resb 4
    .__pad0          resb 4
    .sb_bsize        resb 4
    .sb_bsize_shift  resb 4
    .__pad1          resb 4
    .sb_master_dir   resb 16 ; struc gfs2_inum
    .__pad2          resb 16 ; struc gfs2_inum
    .sb_root_dir     resb 16 ; struc gfs2_inum
    .sb_lockproto    resb 64 ; None
    .sb_locktable    resb 64 ; None
    .__pad3          resb 16 ; struc gfs2_inum
    .__pad4          resb 16 ; struc gfs2_inum
    .sb_uuid         resb 16 ; None
endstruc
%define struc_gfs2_sb_size 272


name: gfs2_rindex
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_rindex
    .ri_addr         resb 8
    .ri_length       resb 4
    .__pad           resb 4
    .ri_data0        resb 8
    .ri_data         resb 4
    .ri_bitbytes     resb 4
    .ri_reserved     resb 64 ; None
endstruc
%define struc_gfs2_rindex_size 96


name: gfs2_inode_lvb
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_inode_lvb
    .ri_magic        resb 4
    .__pad           resb 4
    .ri_generation_d resb 8
endstruc
%define struc_gfs2_inode_lvb_size 16


name: gfs2_rgrp_lvb
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_rgrp_lvb
    .rl_magic        resb 4
    .rl_flags        resb 4
    .rl_free         resb 4
    .rl_dinodes      resb 4
    .rl_igeneration  resb 8
    .rl_unlinked     resb 4
    .__pad           resb 4
endstruc
%define struc_gfs2_rgrp_lvb_size 32


name: gfs2_quota
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_quota
    .qu_limit        resb 8
    .qu_warn         resb 8
    .qu_value        resb 8
    .qu_reserved     resb 64 ; None
endstruc
%define struc_gfs2_quota_size 88


name: gfs2_dinode
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_dinode
    .di_header       resb 24 ; struc gfs2_meta_header
    .di_num          resb 16 ; struc gfs2_inum
    .di_mode         resb 4
    .di_uid          resb 4
    .di_gid          resb 4
    .di_nlink        resb 4
    .di_size         resb 8
    .di_blocks       resb 8
    .di_atime        resb 8
    .di_mtime        resb 8
    .di_ctime        resb 8
    .di_major        resb 4
    .di_minor        resb 4
    .di_goal_meta    resb 8
    .di_goal_data    resb 8
    .di_generation   resb 8
    .di_flags        resb 4
    .di_payload_form resb 4
    .__pad1          resb 2
    .di_height       resb 2
    .__pad2          resb 4
    .__pad3          resb 2
    .di_depth        resb 2
    .di_entries      resb 4
    .__pad4          resb 16 ; struc gfs2_inum
    .di_eattr        resb 8
    .di_atime_nsec   resb 4
    .di_mtime_nsec   resb 4
    .di_ctime_nsec   resb 4
    .di_reserved     resb 44 ; None
endstruc
%define struc_gfs2_dinode_size 232


name: gfs2_ea_header
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_ea_header
    .ea_rec_len      resb 4
    .ea_data_len     resb 4
    .ea_name_len     resb 1
    .ea_type         resb 1
    .ea_flags        resb 1
    .ea_num_ptrs     resb 1
    .__pad           resb 4
endstruc
%define struc_gfs2_ea_header_size 16


name: gfs2_log_header
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_log_header
    .lh_header       resb 24 ; struc gfs2_meta_header
    .lh_sequence     resb 8
    .lh_flags        resb 4
    .lh_tail         resb 4
    .lh_blkno        resb 4
    .lh_hash         resb 4
    .lh_crc          resb 4
    .lh_nsec         resb 4
    .lh_sec          resb 8
    .lh_addr         resb 8
    .lh_jinode       resb 8
    .lh_statfs_addr  resb 8
    .lh_quota_addr   resb 8
    .lh_local_total  resb 8
    .lh_local_free   resb 8
    .lh_local_dinode resb 8
endstruc
%define struc_gfs2_log_header_size 120


name: gfs2_log_descriptor
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_log_descriptor
    .ld_header       resb 24 ; struc gfs2_meta_header
    .ld_type         resb 4
    .ld_length       resb 4
    .ld_data1        resb 4
    .ld_data2        resb 4
    .ld_reserved     resb 32 ; None
endstruc
%define struc_gfs2_log_descriptor_size 72


name: gfs2_inum_range
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_inum_range
    .ir_start        resb 8
    .ir_length       resb 8
endstruc
%define struc_gfs2_inum_range_size 16


name: gfs2_statfs_change
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_statfs_change
    .sc_total        resb 8
    .sc_free         resb 8
    .sc_dinodes      resb 8
endstruc
%define struc_gfs2_statfs_change_size 24


name: gfs2_quota_change
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_quota_change
    .qc_change       resb 8
    .qc_flags        resb 4
    .qc_id           resb 4
endstruc
%define struc_gfs2_quota_change_size 16


name: gfs2_quota_lvb
include_file: /usr/include/linux/gfs2_ondisk.h
nasm_code:
; from header /usr/include/linux/gfs2_ondisk.h
struc gfs2_quota_lvb
    .qb_magic        resb 4
    .__pad           resb 4
    .qb_limit        resb 8
    .qb_warn         resb 8
    .qb_value        resb 8
endstruc
%define struc_gfs2_quota_lvb_size 32


name: virtio_balloon_stat
include_file: /usr/include/linux/virtio_balloon.h
nasm_code:
; from header /usr/include/linux/virtio_balloon.h
struc virtio_balloon_stat
    .tag             resb 2
    .val             resb 8
endstruc
%define struc_virtio_balloon_stat_size 10


name: Node
include_file: /usr/include/linux/zorro.h
nasm_code:
; from header /usr/include/linux/zorro.h
struc Node
    .ln_Succ         resb 4
    .ln_Pred         resb 4
    .ln_Type         resb 1
    .ln_Pri          resb 1
    .ln_Name         resb 4
endstruc
%define struc_Node_size 14


name: ExpansionRom
include_file: /usr/include/linux/zorro.h
nasm_code:
; from header /usr/include/linux/zorro.h
struc ExpansionRom
    .er_Type         resb 1
    .er_Product      resb 1
    .er_Flags        resb 1
    .er_Reserved03   resb 1
    .er_Manufacturer resb 2
    .er_SerialNumber resb 4
    .er_InitDiagVec  resb 2
    .er_Reserved0c   resb 1
    .er_Reserved0d   resb 1
    .er_Reserved0e   resb 1
    .er_Reserved0f   resb 1
endstruc
%define struc_ExpansionRom_size 16


name: ConfigDev
include_file: /usr/include/linux/zorro.h
nasm_code:
; from header /usr/include/linux/zorro.h
struc ConfigDev
    .cd_Node         resb 14 ; struc Node
    .cd_Flags        resb 1
    .cd_Pad          resb 1
    .cd_Rom          resb 16 ; struc ExpansionRom
    .cd_BoardAddr    resb 4
    .cd_BoardSize    resb 4
    .cd_SlotAddr     resb 2
    .cd_SlotSize     resb 2
    .cd_Driver       resb 4
    .cd_NextCD       resb 4
    .cd_Unused       resb 16 ; None
endstruc
%define struc_ConfigDev_size 68


name: v4l2_edid
include_file: /usr/include/linux/v4l2-common.h
nasm_code:
; from header /usr/include/linux/v4l2-common.h
struc v4l2_edid
    .pad             resb 4
    .start_block     resb 4
    .blocks          resb 4
    .reserved        resb 20 ; None
    .edid            resb 8
endstruc
%define struc_v4l2_edid_size 40


name: bkey
include_file: /usr/include/linux/bcache.h
nasm_code:
; from header /usr/include/linux/bcache.h
struc bkey
    .high            resb 8
    .low             resb 8
    .ptr             resb 0 ; None
endstruc
%define struc_bkey_size 16


name: prio_set
include_file: /usr/include/linux/bcache.h
nasm_code:
; from header /usr/include/linux/bcache.h
struc prio_set
    .csum            resb 8
    .magic           resb 8
    .seq             resb 8
    .version         resb 4
    .pad             resb 4
    .next_bucket     resb 8
    .data            resb 0 ; None
endstruc
%define struc_prio_set_size 40


name: bucket_disk
include_file: /usr/include/linux/bcache.h
nasm_code:
; from header /usr/include/linux/bcache.h
struc bucket_disk
    .prio            resb 2
    .gen             resb 1
endstruc
%define struc_bucket_disk_size 3


name: uuid_entry_v0
include_file: /usr/include/linux/bcache.h
nasm_code:
; from header /usr/include/linux/bcache.h
struc uuid_entry_v0
    .uuid            resb 16 ; None
    .label           resb 32 ; None
    .first_reg       resb 4
    .last_reg        resb 4
    .invalidated     resb 4
    .pad             resb 4
endstruc
%define struc_uuid_entry_v0_size 64


name: igmphdr
include_file: /usr/include/linux/igmp.h
nasm_code:
; from header /usr/include/linux/igmp.h
struc igmphdr
    .type            resb 1
    .code            resb 1
    .csum            resb 2
    .group           resb 4
endstruc
%define struc_igmphdr_size 8


name: igmpv3_grec
include_file: /usr/include/linux/igmp.h
nasm_code:
; from header /usr/include/linux/igmp.h
struc igmpv3_grec
    .grec_type       resb 1
    .grec_auxwords   resb 1
    .grec_nsrcs      resb 2
    .grec_mca        resb 4
    .grec_src        resb 0 ; None
endstruc
%define struc_igmpv3_grec_size 8


name: igmpv3_report
include_file: /usr/include/linux/igmp.h
nasm_code:
; from header /usr/include/linux/igmp.h
struc igmpv3_report
    .type            resb 1
    .resv1           resb 1
    .csum            resb 2
    .resv2           resb 2
    .ngrec           resb 2
    .grec            resb 0 ; None
endstruc
%define struc_igmpv3_report_size 8


name: igmpv3_query
include_file: /usr/include/linux/igmp.h
nasm_code:
; from header /usr/include/linux/igmp.h
struc igmpv3_query
    .type            resb 1
    .code            resb 1
    .csum            resb 2
    .group           resb 4
    .qrv             resb 1
    .suppress        resb 1
    .resv            resb 1
    .qqic            resb 1
    .nsrcs           resb 2
    .srcs            resb 0 ; None
endstruc
%define struc_igmpv3_query_size 12


name: mptcp_info
include_file: /usr/include/linux/mptcp.h
nasm_code:
; from header /usr/include/linux/mptcp.h
struc mptcp_info
    .mptcpi_subflows resb 1
    .mptcpi_add_addr resb 1
    .mptcpi_add_addr resb 1
    .mptcpi_subflows resb 1
    .mptcpi_add_addr resb 1
    .mptcpi_add_addr resb 1
    .mptcpi_flags    resb 4
    .mptcpi_token    resb 4
    .mptcpi_write_se resb 8
    .mptcpi_snd_una  resb 8
    .mptcpi_rcv_nxt  resb 8
endstruc
%define struc_mptcp_info_size 40


name: rtnl_link_stats
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc rtnl_link_stats
    .rx_packets      resb 4
    .tx_packets      resb 4
    .rx_bytes        resb 4
    .tx_bytes        resb 4
    .rx_errors       resb 4
    .tx_errors       resb 4
    .rx_dropped      resb 4
    .tx_dropped      resb 4
    .multicast       resb 4
    .collisions      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
    .rx_compressed   resb 4
    .tx_compressed   resb 4
    .rx_nohandler    resb 4
endstruc
%define struc_rtnl_link_stats_size 96


name: rtnl_link_stats64
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc rtnl_link_stats64
    .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
    .multicast       resb 8
    .collisions      resb 8
    .rx_length_error resb 8
    .rx_over_errors  resb 8
    .rx_crc_errors   resb 8
    .rx_frame_errors resb 8
    .rx_fifo_errors  resb 8
    .rx_missed_error resb 8
    .tx_aborted_erro resb 8
    .tx_carrier_erro resb 8
    .tx_fifo_errors  resb 8
    .tx_heartbeat_er resb 8
    .tx_window_error resb 8
    .rx_compressed   resb 8
    .tx_compressed   resb 8
    .rx_nohandler    resb 8
endstruc
%define struc_rtnl_link_stats64_size 192


name: rtnl_link_ifmap
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc rtnl_link_ifmap
    .mem_start       resb 8
    .mem_end         resb 8
    .base_addr       resb 8
    .irq             resb 2
    .dma             resb 1
    .port            resb 1
endstruc
%define struc_rtnl_link_ifmap_size 32


name: ifla_bridge_id
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_bridge_id
    .prio            resb 2 ; None
    .addr            resb 6 ; None
endstruc
%define struc_ifla_bridge_id_size 8


name: ifla_cacheinfo
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_cacheinfo
    .max_reasm_len   resb 4
    .tstamp          resb 4
    .reachable_time  resb 4
    .retrans_time    resb 4
endstruc
%define struc_ifla_cacheinfo_size 16


name: ifla_vlan_flags
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vlan_flags
    .flags           resb 4
    .mask            resb 4
endstruc
%define struc_ifla_vlan_flags_size 8


name: ifla_vlan_qos_mapping
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vlan_qos_mapping
    .from            resb 4
    .to              resb 4
endstruc
%define struc_ifla_vlan_qos_mapping_size 8


name: ifla_vxlan_port_range
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vxlan_port_range
    .low             resb 2
    .high            resb 2
endstruc
%define struc_ifla_vxlan_port_range_size 4


name: ifla_vf_mac
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_mac
    .vf              resb 4
    .mac             resb 32 ; None
endstruc
%define struc_ifla_vf_mac_size 36


name: ifla_vf_broadcast
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_broadcast
    .broadcast       resb 32 ; None
endstruc
%define struc_ifla_vf_broadcast_size 32


name: ifla_vf_vlan
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_vlan
    .vf              resb 4
    .vlan            resb 4
    .qos             resb 4
endstruc
%define struc_ifla_vf_vlan_size 12


name: ifla_vf_vlan_info
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_vlan_info
    .vf              resb 4
    .vlan            resb 4
    .qos             resb 4
    .vlan_proto      resb 2
endstruc
%define struc_ifla_vf_vlan_info_size 16


name: ifla_vf_tx_rate
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_tx_rate
    .vf              resb 4
    .rate            resb 4
endstruc
%define struc_ifla_vf_tx_rate_size 8


name: ifla_vf_rate
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_rate
    .vf              resb 4
    .min_tx_rate     resb 4
    .max_tx_rate     resb 4
endstruc
%define struc_ifla_vf_rate_size 12


name: ifla_vf_spoofchk
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_spoofchk
    .vf              resb 4
    .setting         resb 4
endstruc
%define struc_ifla_vf_spoofchk_size 8


name: ifla_vf_guid
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_guid
    .vf              resb 4
    .guid            resb 8
endstruc
%define struc_ifla_vf_guid_size 16


name: ifla_vf_link_state
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_link_state
    .vf              resb 4
    .link_state      resb 4
endstruc
%define struc_ifla_vf_link_state_size 8


name: ifla_vf_rss_query_en
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_rss_query_en
    .vf              resb 4
    .setting         resb 4
endstruc
%define struc_ifla_vf_rss_query_en_size 8


name: ifla_vf_trust
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_vf_trust
    .vf              resb 4
    .setting         resb 4
endstruc
%define struc_ifla_vf_trust_size 8


name: ifla_port_vsi
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_port_vsi
    .vsi_mgr_id      resb 1
    .vsi_type_id     resb 3 ; None
    .vsi_type_versio resb 1
    .pad             resb 3 ; None
endstruc
%define struc_ifla_port_vsi_size 8


name: if_stats_msg
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc if_stats_msg
    .family          resb 1
    .pad1            resb 1
    .pad2            resb 2
    .ifindex         resb 4
    .filter_mask     resb 4
endstruc
%define struc_if_stats_msg_size 12


name: ifla_rmnet_flags
include_file: /usr/include/linux/if_link.h
nasm_code:
; from header /usr/include/linux/if_link.h
struc ifla_rmnet_flags
    .flags           resb 4
    .mask            resb 4
endstruc
%define struc_ifla_rmnet_flags_size 8


name: ieee_ets
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc ieee_ets
    .willing         resb 1
    .ets_cap         resb 1
    .cbs             resb 1
    .tc_tx_bw        resb 8 ; None
    .tc_rx_bw        resb 8 ; None
    .tc_tsa          resb 8 ; None
    .prio_tc         resb 8 ; None
    .tc_reco_bw      resb 8 ; None
    .tc_reco_tsa     resb 8 ; None
    .reco_prio_tc    resb 8 ; None
endstruc
%define struc_ieee_ets_size 59


name: ieee_maxrate
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc ieee_maxrate
    .tc_maxrate      resb 64 ; None
endstruc
%define struc_ieee_maxrate_size 64


name: ieee_qcn
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc ieee_qcn
    .rpg_enable      resb 8 ; None
    .rppp_max_rps    resb 32 ; None
    .rpg_time_reset  resb 32 ; None
    .rpg_byte_reset  resb 32 ; None
    .rpg_threshold   resb 32 ; None
    .rpg_max_rate    resb 32 ; None
    .rpg_ai_rate     resb 32 ; None
    .rpg_hai_rate    resb 32 ; None
    .rpg_gd          resb 32 ; None
    .rpg_min_dec_fac resb 32 ; None
    .rpg_min_rate    resb 32 ; None
    .cndd_state_mach resb 32 ; None
endstruc
%define struc_ieee_qcn_size 360


name: ieee_qcn_stats
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc ieee_qcn_stats
    .rppp_rp_centise resb 64 ; None
    .rppp_created_rp resb 32 ; None
endstruc
%define struc_ieee_qcn_stats_size 96


name: ieee_pfc
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc ieee_pfc
    .pfc_cap         resb 1
    .pfc_en          resb 1
    .mbc             resb 1
    .delay           resb 2
    .requests        resb 64 ; None
    .indications     resb 64 ; None
endstruc
%define struc_ieee_pfc_size 136


name: dcbnl_buffer
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc dcbnl_buffer
    .prio2buffer     resb 8 ; None
    .buffer_size     resb 32 ; None
    .total_size      resb 4
endstruc
%define struc_dcbnl_buffer_size 44


name: cee_pg
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc cee_pg
    .willing         resb 1
    .error           resb 1
    .pg_en           resb 1
    .tcs_supported   resb 1
    .pg_bw           resb 8 ; None
    .prio_pg         resb 8 ; None
endstruc
%define struc_cee_pg_size 20


name: cee_pfc
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc cee_pfc
    .willing         resb 1
    .error           resb 1
    .pfc_en          resb 1
    .tcs_supported   resb 1
endstruc
%define struc_cee_pfc_size 4


name: dcb_app
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc dcb_app
    .selector        resb 1
    .priority        resb 1
    .protocol        resb 2
endstruc
%define struc_dcb_app_size 4


name: dcb_peer_app_info
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc dcb_peer_app_info
    .willing         resb 1
    .error           resb 1
endstruc
%define struc_dcb_peer_app_info_size 2


name: dcbmsg
include_file: /usr/include/linux/dcbnl.h
nasm_code:
; from header /usr/include/linux/dcbnl.h
struc dcbmsg
    .dcb_family      resb 1
    .cmd             resb 1
    .dcb_pad         resb 2
endstruc
%define struc_dcbmsg_size 4


name: udmabuf_create
include_file: /usr/include/linux/udmabuf.h
nasm_code:
; from header /usr/include/linux/udmabuf.h
struc udmabuf_create
    .memfd           resb 4
    .flags           resb 4
    .offset          resb 8
    .size            resb 8
endstruc
%define struc_udmabuf_create_size 24


name: udmabuf_create_item
include_file: /usr/include/linux/udmabuf.h
nasm_code:
; from header /usr/include/linux/udmabuf.h
struc udmabuf_create_item
    .memfd           resb 4
    .__pad           resb 4
    .offset          resb 8
    .size            resb 8
endstruc
%define struc_udmabuf_create_item_size 24


name: udmabuf_create_list
include_file: /usr/include/linux/udmabuf.h
nasm_code:
; from header /usr/include/linux/udmabuf.h
struc udmabuf_create_list
    .flags           resb 4
    .count           resb 4
    .list            resb 0 ; None
endstruc
%define struc_udmabuf_create_list_size 8


name: sockaddr_nl
include_file: /usr/include/linux/netlink.h
nasm_code:
; from header /usr/include/linux/netlink.h
struc sockaddr_nl
    .nl_family       resb 2
    .nl_pad          resb 2
    .nl_pid          resb 4
    .nl_groups       resb 4
endstruc
%define struc_sockaddr_nl_size 12


name: nlmsghdr
include_file: /usr/include/linux/netlink.h
nasm_code:
; from header /usr/include/linux/netlink.h
struc nlmsghdr
    .nlmsg_len       resb 4
    .nlmsg_type      resb 2
    .nlmsg_flags     resb 2
    .nlmsg_seq       resb 4
    .nlmsg_pid       resb 4
endstruc
%define struc_nlmsghdr_size 16


name: nlmsgerr
include_file: /usr/include/linux/netlink.h
nasm_code:
; from header /usr/include/linux/netlink.h
struc nlmsgerr
    .error           resb 4
    .msg             resb 16 ; struc nlmsghdr
endstruc
%define struc_nlmsgerr_size 20


name: nl_pktinfo
include_file: /usr/include/linux/netlink.h
nasm_code:
; from header /usr/include/linux/netlink.h
struc nl_pktinfo
    .group           resb 4
endstruc
%define struc_nl_pktinfo_size 4


name: nl_mmap_req
include_file: /usr/include/linux/netlink.h
nasm_code:
; from header /usr/include/linux/netlink.h
struc nl_mmap_req
    .nm_block_size   resb 4
    .nm_block_nr     resb 4
    .nm_frame_size   resb 4
    .nm_frame_nr     resb 4
endstruc
%define struc_nl_mmap_req_size 16


name: nl_mmap_hdr
include_file: /usr/include/linux/netlink.h
nasm_code:
; from header /usr/include/linux/netlink.h
struc nl_mmap_hdr
    .nm_status       resb 4
    .nm_len          resb 4
    .nm_group        resb 4
    .nm_pid          resb 4
    .nm_uid          resb 4
    .nm_gid          resb 4
endstruc
%define struc_nl_mmap_hdr_size 24


name: nlattr
include_file: /usr/include/linux/netlink.h
nasm_code:
; from header /usr/include/linux/netlink.h
struc nlattr
    .nla_len         resb 2
    .nla_type        resb 2
endstruc
%define struc_nlattr_size 4


name: nla_bitfield32
include_file: /usr/include/linux/netlink.h
nasm_code:
; from header /usr/include/linux/netlink.h
struc nla_bitfield32
    .value           resb 4
    .selector        resb 4
endstruc
%define struc_nla_bitfield32_size 8


name: baycom_debug_data
include_file: /usr/include/linux/baycom.h
nasm_code:
; from header /usr/include/linux/baycom.h
struc baycom_debug_data
    .debug1          resb 8
    .debug2          resb 8
    .debug3          resb 8
endstruc
%define struc_baycom_debug_data_size 24


name: baycom_ioctl
include_file: /usr/include/linux/baycom.h
nasm_code:
; from header /usr/include/linux/baycom.h
struc baycom_ioctl
    .cmd             resb 4
    .data            resb 24 ; union None
endstruc
%define struc_baycom_ioctl_size 32


name: cramfs_inode
include_file: /usr/include/linux/cramfs_fs.h
nasm_code:
; from header /usr/include/linux/cramfs_fs.h
struc cramfs_inode
    .mode            resb 4
    .uid             resb 4
    .size            resb 4
    .gid             resb 4
    .namelen         resb 4
    .offset          resb 4
endstruc
%define struc_cramfs_inode_size 12


name: cramfs_info
include_file: /usr/include/linux/cramfs_fs.h
nasm_code:
; from header /usr/include/linux/cramfs_fs.h
struc cramfs_info
    .crc             resb 4
    .edition         resb 4
    .blocks          resb 4
    .files           resb 4
endstruc
%define struc_cramfs_info_size 16


name: cramfs_super
include_file: /usr/include/linux/cramfs_fs.h
nasm_code:
; from header /usr/include/linux/cramfs_fs.h
struc cramfs_super
    .magic           resb 4
    .size            resb 4
    .flags           resb 4
    .future          resb 4
    .signature       resb 16 ; None
    .fsid            resb 16 ; struc cramfs_info
    .name            resb 16 ; None
    .root            resb 12 ; struc cramfs_inode
endstruc
%define struc_cramfs_super_size 76


name: ip6_tnl_parm
include_file: /usr/include/linux/ip6_tunnel.h
nasm_code:
; from header /usr/include/linux/ip6_tunnel.h
struc ip6_tnl_parm
    .name            resb 16 ; None
    .link            resb 4
    .proto           resb 1
    .encap_limit     resb 1
    .hop_limit       resb 1
    .flowinfo        resb 4
    .flags           resb 4
    .laddr           resb 16 ; struc in6_addr
    .raddr           resb 16 ; struc in6_addr
endstruc
%define struc_ip6_tnl_parm_size 64


name: ip6_tnl_parm2
include_file: /usr/include/linux/ip6_tunnel.h
nasm_code:
; from header /usr/include/linux/ip6_tunnel.h
struc ip6_tnl_parm2
    .name            resb 16 ; None
    .link            resb 4
    .proto           resb 1
    .encap_limit     resb 1
    .hop_limit       resb 1
    .flowinfo        resb 4
    .flags           resb 4
    .laddr           resb 16 ; struc in6_addr
    .raddr           resb 16 ; struc in6_addr
    .i_flags         resb 2
    .o_flags         resb 2
    .i_key           resb 4
    .o_key           resb 4
endstruc
%define struc_ip6_tnl_parm2_size 76


name: kcm_attach
include_file: /usr/include/linux/kcm.h
nasm_code:
; from header /usr/include/linux/kcm.h
struc kcm_attach
    .fd              resb 4
    .bpf_fd          resb 4
endstruc
%define struc_kcm_attach_size 8


name: kcm_unattach
include_file: /usr/include/linux/kcm.h
nasm_code:
; from header /usr/include/linux/kcm.h
struc kcm_unattach
    .fd              resb 4
endstruc
%define struc_kcm_unattach_size 4


name: kcm_clone
include_file: /usr/include/linux/kcm.h
nasm_code:
; from header /usr/include/linux/kcm.h
struc kcm_clone
    .fd              resb 4
endstruc
%define struc_kcm_clone_size 4


name: edd_device_params
include_file: /usr/include/linux/edd.h
nasm_code:
; from header /usr/include/linux/edd.h
struc edd_device_params
    .length          resb 2
    .info_flags      resb 2
    .num_default_cyl resb 4
    .num_default_hea resb 4
    .sectors_per_tra resb 4
    .number_of_secto resb 8
    .bytes_per_secto resb 2
    .dpte_ptr        resb 4
    .key             resb 2
    .device_path_inf resb 1
    .reserved2       resb 1
    .reserved3       resb 2
    .host_bus_type   resb 4 ; None
    .interface_type  resb 8 ; None
    .interface_path  resb 8 ; union None
    .device_path     resb 16 ; union None
    .reserved4       resb 1
    .checksum        resb 1
endstruc
%define struc_edd_device_params_size 74


name: edd_info
include_file: /usr/include/linux/edd.h
nasm_code:
; from header /usr/include/linux/edd.h
struc edd_info
    .device          resb 1
    .version         resb 1
    .interface_suppo resb 2
    .legacy_max_cyli resb 2
    .legacy_max_head resb 1
    .legacy_sectors_ resb 1
    .params          resb 74 ; struc edd_device_params
endstruc
%define struc_edd_info_size 82


name: edd
include_file: /usr/include/linux/edd.h
nasm_code:
; from header /usr/include/linux/edd.h
struc edd
    .mbr_signature   resb 64 ; None
    .edd_info        resb 492 ; None
    .mbr_signature_n resb 1
    .edd_info_nr     resb 1
endstruc
%define struc_edd_size 560


name: fuse_attr
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_attr
    .ino             resb 8
    .size            resb 8
    .blocks          resb 8
    .atime           resb 8
    .mtime           resb 8
    .ctime           resb 8
    .atimensec       resb 4
    .mtimensec       resb 4
    .ctimensec       resb 4
    .mode            resb 4
    .nlink           resb 4
    .uid             resb 4
    .gid             resb 4
    .rdev            resb 4
    .blksize         resb 4
    .flags           resb 4
endstruc
%define struc_fuse_attr_size 88


name: fuse_kstatfs
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_kstatfs
    .blocks          resb 8
    .bfree           resb 8
    .bavail          resb 8
    .files           resb 8
    .ffree           resb 8
    .bsize           resb 4
    .namelen         resb 4
    .frsize          resb 4
    .padding         resb 4
    .spare           resb 24 ; None
endstruc
%define struc_fuse_kstatfs_size 80


name: fuse_file_lock
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_file_lock
    .start           resb 8
    .end             resb 8
    .type            resb 4
    .pid             resb 4
endstruc
%define struc_fuse_file_lock_size 24


name: fuse_entry_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_entry_out
    .nodeid          resb 8
    .generation      resb 8
    .entry_valid     resb 8
    .attr_valid      resb 8
    .entry_valid_nse resb 4
    .attr_valid_nsec resb 4
    .attr            resb 88 ; struc fuse_attr
endstruc
%define struc_fuse_entry_out_size 128


name: fuse_forget_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_forget_in
    .nlookup         resb 8
endstruc
%define struc_fuse_forget_in_size 8


name: fuse_forget_one
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_forget_one
    .nodeid          resb 8
    .nlookup         resb 8
endstruc
%define struc_fuse_forget_one_size 16


name: fuse_batch_forget_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_batch_forget_in
    .count           resb 4
    .dummy           resb 4
endstruc
%define struc_fuse_batch_forget_in_size 8


name: fuse_getattr_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_getattr_in
    .getattr_flags   resb 4
    .dummy           resb 4
    .fh              resb 8
endstruc
%define struc_fuse_getattr_in_size 16


name: fuse_attr_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_attr_out
    .attr_valid      resb 8
    .attr_valid_nsec resb 4
    .dummy           resb 4
    .attr            resb 88 ; struc fuse_attr
endstruc
%define struc_fuse_attr_out_size 104


name: fuse_mknod_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_mknod_in
    .mode            resb 4
    .rdev            resb 4
    .umask           resb 4
    .padding         resb 4
endstruc
%define struc_fuse_mknod_in_size 16


name: fuse_mkdir_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_mkdir_in
    .mode            resb 4
    .umask           resb 4
endstruc
%define struc_fuse_mkdir_in_size 8


name: fuse_rename_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_rename_in
    .newdir          resb 8
endstruc
%define struc_fuse_rename_in_size 8


name: fuse_rename2_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_rename2_in
    .newdir          resb 8
    .flags           resb 4
    .padding         resb 4
endstruc
%define struc_fuse_rename2_in_size 16


name: fuse_link_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_link_in
    .oldnodeid       resb 8
endstruc
%define struc_fuse_link_in_size 8


name: fuse_setattr_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_setattr_in
    .valid           resb 4
    .padding         resb 4
    .fh              resb 8
    .size            resb 8
    .lock_owner      resb 8
    .atime           resb 8
    .mtime           resb 8
    .ctime           resb 8
    .atimensec       resb 4
    .mtimensec       resb 4
    .ctimensec       resb 4
    .mode            resb 4
    .unused4         resb 4
    .uid             resb 4
    .gid             resb 4
    .unused5         resb 4
endstruc
%define struc_fuse_setattr_in_size 88


name: fuse_open_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_open_in
    .flags           resb 4
    .unused          resb 4
endstruc
%define struc_fuse_open_in_size 8


name: fuse_create_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_create_in
    .flags           resb 4
    .mode            resb 4
    .umask           resb 4
    .padding         resb 4
endstruc
%define struc_fuse_create_in_size 16


name: fuse_open_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_open_out
    .fh              resb 8
    .open_flags      resb 4
    .padding         resb 4
endstruc
%define struc_fuse_open_out_size 16


name: fuse_release_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_release_in
    .fh              resb 8
    .flags           resb 4
    .release_flags   resb 4
    .lock_owner      resb 8
endstruc
%define struc_fuse_release_in_size 24


name: fuse_flush_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_flush_in
    .fh              resb 8
    .unused          resb 4
    .padding         resb 4
    .lock_owner      resb 8
endstruc
%define struc_fuse_flush_in_size 24


name: fuse_read_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_read_in
    .fh              resb 8
    .offset          resb 8
    .size            resb 4
    .read_flags      resb 4
    .lock_owner      resb 8
    .flags           resb 4
    .padding         resb 4
endstruc
%define struc_fuse_read_in_size 40


name: fuse_write_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_write_in
    .fh              resb 8
    .offset          resb 8
    .size            resb 4
    .write_flags     resb 4
    .lock_owner      resb 8
    .flags           resb 4
    .padding         resb 4
endstruc
%define struc_fuse_write_in_size 40


name: fuse_write_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_write_out
    .size            resb 4
    .padding         resb 4
endstruc
%define struc_fuse_write_out_size 8


name: fuse_statfs_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_statfs_out
    .st              resb 80 ; struc fuse_kstatfs
endstruc
%define struc_fuse_statfs_out_size 80


name: fuse_fsync_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_fsync_in
    .fh              resb 8
    .fsync_flags     resb 4
    .padding         resb 4
endstruc
%define struc_fuse_fsync_in_size 16


name: fuse_setxattr_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_setxattr_in
    .size            resb 4
    .flags           resb 4
endstruc
%define struc_fuse_setxattr_in_size 8


name: fuse_getxattr_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_getxattr_in
    .size            resb 4
    .padding         resb 4
endstruc
%define struc_fuse_getxattr_in_size 8


name: fuse_getxattr_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_getxattr_out
    .size            resb 4
    .padding         resb 4
endstruc
%define struc_fuse_getxattr_out_size 8


name: fuse_lk_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_lk_in
    .fh              resb 8
    .owner           resb 8
    .lk              resb 24 ; struc fuse_file_lock
    .lk_flags        resb 4
    .padding         resb 4
endstruc
%define struc_fuse_lk_in_size 48


name: fuse_lk_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_lk_out
    .lk              resb 24 ; struc fuse_file_lock
endstruc
%define struc_fuse_lk_out_size 24


name: fuse_access_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_access_in
    .mask            resb 4
    .padding         resb 4
endstruc
%define struc_fuse_access_in_size 8


name: fuse_init_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_init_in
    .major           resb 4
    .minor           resb 4
    .max_readahead   resb 4
    .flags           resb 4
endstruc
%define struc_fuse_init_in_size 16


name: fuse_init_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_init_out
    .major           resb 4
    .minor           resb 4
    .max_readahead   resb 4
    .flags           resb 4
    .max_background  resb 2
    .congestion_thre resb 2
    .max_write       resb 4
    .time_gran       resb 4
    .max_pages       resb 2
    .map_alignment   resb 2
    .unused          resb 32 ; None
endstruc
%define struc_fuse_init_out_size 64


name: cuse_init_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc cuse_init_in
    .major           resb 4
    .minor           resb 4
    .unused          resb 4
    .flags           resb 4
endstruc
%define struc_cuse_init_in_size 16


name: cuse_init_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc cuse_init_out
    .major           resb 4
    .minor           resb 4
    .unused          resb 4
    .flags           resb 4
    .max_read        resb 4
    .max_write       resb 4
    .dev_major       resb 4
    .dev_minor       resb 4
    .spare           resb 40 ; None
endstruc
%define struc_cuse_init_out_size 72


name: fuse_interrupt_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_interrupt_in
    .unique          resb 8
endstruc
%define struc_fuse_interrupt_in_size 8


name: fuse_bmap_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_bmap_in
    .block           resb 8
    .blocksize       resb 4
    .padding         resb 4
endstruc
%define struc_fuse_bmap_in_size 16


name: fuse_bmap_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_bmap_out
    .block           resb 8
endstruc
%define struc_fuse_bmap_out_size 8


name: fuse_ioctl_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_ioctl_in
    .fh              resb 8
    .flags           resb 4
    .cmd             resb 4
    .arg             resb 8
    .in_size         resb 4
    .out_size        resb 4
endstruc
%define struc_fuse_ioctl_in_size 32


name: fuse_ioctl_iovec
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_ioctl_iovec
    .base            resb 8
    .len             resb 8
endstruc
%define struc_fuse_ioctl_iovec_size 16


name: fuse_ioctl_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_ioctl_out
    .result          resb 4
    .flags           resb 4
    .in_iovs         resb 4
    .out_iovs        resb 4
endstruc
%define struc_fuse_ioctl_out_size 16


name: fuse_poll_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_poll_in
    .fh              resb 8
    .kh              resb 8
    .flags           resb 4
    .events          resb 4
endstruc
%define struc_fuse_poll_in_size 24


name: fuse_poll_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_poll_out
    .revents         resb 4
    .padding         resb 4
endstruc
%define struc_fuse_poll_out_size 8


name: fuse_notify_poll_wakeup_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_notify_poll_wakeup_out
    .kh              resb 8
endstruc
%define struc_fuse_notify_poll_wakeup_out_size 8


name: fuse_fallocate_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_fallocate_in
    .fh              resb 8
    .offset          resb 8
    .length          resb 8
    .mode            resb 4
    .padding         resb 4
endstruc
%define struc_fuse_fallocate_in_size 32


name: fuse_in_header
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_in_header
    .len             resb 4
    .opcode          resb 4
    .unique          resb 8
    .nodeid          resb 8
    .uid             resb 4
    .gid             resb 4
    .pid             resb 4
    .padding         resb 4
endstruc
%define struc_fuse_in_header_size 40


name: fuse_out_header
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_out_header
    .len             resb 4
    .error           resb 4
    .unique          resb 8
endstruc
%define struc_fuse_out_header_size 16


name: fuse_dirent
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_dirent
    .ino             resb 8
    .off             resb 8
    .namelen         resb 4
    .type            resb 4
    .name            resb 0 ; None
endstruc
%define struc_fuse_dirent_size 24


name: fuse_direntplus
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_direntplus
    .entry_out       resb 128 ; struc fuse_entry_out
    .dirent          resb 24 ; struc fuse_dirent
endstruc
%define struc_fuse_direntplus_size 152


name: fuse_notify_inval_inode_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_notify_inval_inode_out
    .ino             resb 8
    .off             resb 8
    .len             resb 8
endstruc
%define struc_fuse_notify_inval_inode_out_size 24


name: fuse_notify_inval_entry_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_notify_inval_entry_out
    .parent          resb 8
    .namelen         resb 4
    .padding         resb 4
endstruc
%define struc_fuse_notify_inval_entry_out_size 16


name: fuse_notify_delete_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_notify_delete_out
    .parent          resb 8
    .child           resb 8
    .namelen         resb 4
    .padding         resb 4
endstruc
%define struc_fuse_notify_delete_out_size 24


name: fuse_notify_store_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_notify_store_out
    .nodeid          resb 8
    .offset          resb 8
    .size            resb 4
    .padding         resb 4
endstruc
%define struc_fuse_notify_store_out_size 24


name: fuse_notify_retrieve_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_notify_retrieve_out
    .notify_unique   resb 8
    .nodeid          resb 8
    .offset          resb 8
    .size            resb 4
    .padding         resb 4
endstruc
%define struc_fuse_notify_retrieve_out_size 32


name: fuse_notify_retrieve_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_notify_retrieve_in
    .dummy1          resb 8
    .offset          resb 8
    .size            resb 4
    .dummy2          resb 4
    .dummy3          resb 8
    .dummy4          resb 8
endstruc
%define struc_fuse_notify_retrieve_in_size 40


name: fuse_lseek_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_lseek_in
    .fh              resb 8
    .offset          resb 8
    .whence          resb 4
    .padding         resb 4
endstruc
%define struc_fuse_lseek_in_size 24


name: fuse_lseek_out
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_lseek_out
    .offset          resb 8
endstruc
%define struc_fuse_lseek_out_size 8


name: fuse_copy_file_range_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_copy_file_range_in
    .fh_in           resb 8
    .off_in          resb 8
    .nodeid_out      resb 8
    .fh_out          resb 8
    .off_out         resb 8
    .len             resb 8
    .flags           resb 8
endstruc
%define struc_fuse_copy_file_range_in_size 56


name: fuse_setupmapping_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_setupmapping_in
    .fh              resb 8
    .foffset         resb 8
    .len             resb 8
    .flags           resb 8
    .moffset         resb 8
endstruc
%define struc_fuse_setupmapping_in_size 40


name: fuse_removemapping_in
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_removemapping_in
    .count           resb 4
endstruc
%define struc_fuse_removemapping_in_size 4


name: fuse_removemapping_one
include_file: /usr/include/linux/fuse.h
nasm_code:
; from header /usr/include/linux/fuse.h
struc fuse_removemapping_one
    .moffset         resb 8
    .len             resb 8
endstruc
%define struc_fuse_removemapping_one_size 16


name: virtio_pci_cap
include_file: /usr/include/linux/virtio_pci.h
nasm_code:
; from header /usr/include/linux/virtio_pci.h
struc virtio_pci_cap
    .cap_vndr        resb 1
    .cap_next        resb 1
    .cap_len         resb 1
    .cfg_type        resb 1
    .bar             resb 1
    .id              resb 1
    .padding         resb 2 ; None
    .offset          resb 4
    .length          resb 4
endstruc
%define struc_virtio_pci_cap_size 16


name: virtio_pci_cap64
include_file: /usr/include/linux/virtio_pci.h
nasm_code:
; from header /usr/include/linux/virtio_pci.h
struc virtio_pci_cap64
    .cap             resb 16 ; struc virtio_pci_cap
    .offset_hi       resb 4
    .length_hi       resb 4
endstruc
%define struc_virtio_pci_cap64_size 24


name: virtio_pci_notify_cap
include_file: /usr/include/linux/virtio_pci.h
nasm_code:
; from header /usr/include/linux/virtio_pci.h
struc virtio_pci_notify_cap
    .cap             resb 16 ; struc virtio_pci_cap
    .notify_off_mult resb 4
endstruc
%define struc_virtio_pci_notify_cap_size 20


name: virtio_pci_common_cfg
include_file: /usr/include/linux/virtio_pci.h
nasm_code:
; from header /usr/include/linux/virtio_pci.h
struc virtio_pci_common_cfg
    .device_feature_ resb 4
    .device_feature  resb 4
    .guest_feature_s resb 4
    .guest_feature   resb 4
    .msix_config     resb 2
    .num_queues      resb 2
    .device_status   resb 1
    .config_generati resb 1
    .queue_select    resb 2
    .queue_size      resb 2
    .queue_msix_vect resb 2
    .queue_enable    resb 2
    .queue_notify_of resb 2
    .queue_desc_lo   resb 4
    .queue_desc_hi   resb 4
    .queue_avail_lo  resb 4
    .queue_avail_hi  resb 4
    .queue_used_lo   resb 4
    .queue_used_hi   resb 4
endstruc
%define struc_virtio_pci_common_cfg_size 56


name: virtio_pci_cfg_cap
include_file: /usr/include/linux/virtio_pci.h
nasm_code:
; from header /usr/include/linux/virtio_pci.h
struc virtio_pci_cfg_cap
    .cap             resb 16 ; struc virtio_pci_cap
    .pci_cfg_data    resb 4 ; None
endstruc
%define struc_virtio_pci_cfg_cap_size 20


name: virtio_pmem_config
include_file: /usr/include/linux/virtio_pmem.h
nasm_code:
; from header /usr/include/linux/virtio_pmem.h
struc virtio_pmem_config
    .start           resb 8
    .size            resb 8
endstruc
%define struc_virtio_pmem_config_size 16


name: virtio_pmem_resp
include_file: /usr/include/linux/virtio_pmem.h
nasm_code:
; from header /usr/include/linux/virtio_pmem.h
struc virtio_pmem_resp
    .ret             resb 4
endstruc
%define struc_virtio_pmem_resp_size 4


name: virtio_pmem_req
include_file: /usr/include/linux/virtio_pmem.h
nasm_code:
; from header /usr/include/linux/virtio_pmem.h
struc virtio_pmem_req
    .type            resb 4
endstruc
%define struc_virtio_pmem_req_size 4


name: seccomp_data
include_file: /usr/include/linux/seccomp.h
nasm_code:
; from header /usr/include/linux/seccomp.h
struc seccomp_data
    .nr              resb 4
    .arch            resb 4
    .instruction_poi resb 8
    .args            resb 48 ; None
endstruc
%define struc_seccomp_data_size 64


name: seccomp_notif_sizes
include_file: /usr/include/linux/seccomp.h
nasm_code:
; from header /usr/include/linux/seccomp.h
struc seccomp_notif_sizes
    .seccomp_notif   resb 2
    .seccomp_notif_r resb 2
    .seccomp_data    resb 2
endstruc
%define struc_seccomp_notif_sizes_size 6


name: seccomp_notif
include_file: /usr/include/linux/seccomp.h
nasm_code:
; from header /usr/include/linux/seccomp.h
struc seccomp_notif
    .id              resb 8
    .pid             resb 4
    .flags           resb 4
    .data            resb 64 ; struc seccomp_data
endstruc
%define struc_seccomp_notif_size 80


name: seccomp_notif_resp
include_file: /usr/include/linux/seccomp.h
nasm_code:
; from header /usr/include/linux/seccomp.h
struc seccomp_notif_resp
    .id              resb 8
    .val             resb 8
    .error           resb 4
    .flags           resb 4
endstruc
%define struc_seccomp_notif_resp_size 24


name: seccomp_notif_addfd
include_file: /usr/include/linux/seccomp.h
nasm_code:
; from header /usr/include/linux/seccomp.h
struc seccomp_notif_addfd
    .id              resb 8
    .flags           resb 4
    .srcfd           resb 4
    .newfd           resb 4
    .newfd_flags     resb 4
endstruc
%define struc_seccomp_notif_addfd_size 24


name: vtpm_proxy_new_dev
include_file: /usr/include/linux/vtpm_proxy.h
nasm_code:
; from header /usr/include/linux/vtpm_proxy.h
struc vtpm_proxy_new_dev
    .flags           resb 4
    .tpm_num         resb 4
    .fd              resb 4
    .major           resb 4
    .minor           resb 4
endstruc
%define struc_vtpm_proxy_new_dev_size 20


name: qnx4_inode_entry
include_file: /usr/include/linux/qnx4_fs.h
nasm_code:
; from header /usr/include/linux/qnx4_fs.h
struc qnx4_inode_entry
    .di_fname        resb 16 ; None
    .di_size         resb 4
    .di_first_xtnt   resb 8 ; qnx4_xtnt_t
    .di_xblk         resb 4
    .di_ftime        resb 4
    .di_mtime        resb 4
    .di_atime        resb 4
    .di_ctime        resb 4
    .di_num_xtnts    resb 2
    .di_mode         resb 2
    .di_uid          resb 2
    .di_gid          resb 2
    .di_nlink        resb 2
    .di_zero         resb 4 ; None
    .di_type         resb 1
    .di_status       resb 1
endstruc
%define struc_qnx4_inode_entry_size 64


name: qnx4_link_info
include_file: /usr/include/linux/qnx4_fs.h
nasm_code:
; from header /usr/include/linux/qnx4_fs.h
struc qnx4_link_info
    .dl_fname        resb 48 ; None
    .dl_inode_blk    resb 4
    .dl_inode_ndx    resb 1
    .dl_spare        resb 10 ; None
    .dl_status       resb 1
endstruc
%define struc_qnx4_link_info_size 64


name: qnx4_xblk
include_file: /usr/include/linux/qnx4_fs.h
nasm_code:
; from header /usr/include/linux/qnx4_fs.h
struc qnx4_xblk
    .xblk_next_xblk  resb 4
    .xblk_prev_xblk  resb 4
    .xblk_num_xtnts  resb 1
    .xblk_spare      resb 3 ; None
    .xblk_num_blocks resb 4
    .xblk_xtnts      resb 480 ; None
    .xblk_signature  resb 8 ; None
    .xblk_first_xtnt resb 8 ; qnx4_xtnt_t
endstruc
%define struc_qnx4_xblk_size 512


name: qnx4_super_block
include_file: /usr/include/linux/qnx4_fs.h
nasm_code:
; from header /usr/include/linux/qnx4_fs.h
struc qnx4_super_block
    .RootDir         resb 64 ; struc qnx4_inode_entry
    .Inode           resb 64 ; struc qnx4_inode_entry
    .Boot            resb 64 ; struc qnx4_inode_entry
    .AltBoot         resb 64 ; struc qnx4_inode_entry
endstruc
%define struc_qnx4_super_block_size 256


name: br_mrp_tlv_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_tlv_hdr
    .type            resb 1
    .length          resb 1
endstruc
%define struc_br_mrp_tlv_hdr_size 2


name: br_mrp_sub_tlv_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_sub_tlv_hdr
    .type            resb 1
    .length          resb 1
endstruc
%define struc_br_mrp_sub_tlv_hdr_size 2


name: br_mrp_end_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_end_hdr
    .hdr             resb 2 ; struc br_mrp_tlv_hdr
endstruc
%define struc_br_mrp_end_hdr_size 2


name: br_mrp_common_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_common_hdr
    .seq_id          resb 2
    .domain          resb 16 ; None
endstruc
%define struc_br_mrp_common_hdr_size 18


name: br_mrp_ring_test_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_ring_test_hdr
    .prio            resb 2
    .sa              resb 6 ; None
    .port_role       resb 2
    .state           resb 2
    .transitions     resb 2
    .timestamp       resb 4
endstruc
%define struc_br_mrp_ring_test_hdr_size 20


name: br_mrp_ring_topo_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_ring_topo_hdr
    .prio            resb 2
    .sa              resb 6 ; None
    .interval        resb 2
endstruc
%define struc_br_mrp_ring_topo_hdr_size 10


name: br_mrp_ring_link_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_ring_link_hdr
    .sa              resb 6 ; None
    .port_role       resb 2
    .interval        resb 2
    .blocked         resb 2
endstruc
%define struc_br_mrp_ring_link_hdr_size 12


name: br_mrp_sub_opt_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_sub_opt_hdr
    .type            resb 1
    .manufacture_dat resb 2 ; None
endstruc
%define struc_br_mrp_sub_opt_hdr_size 3


name: br_mrp_test_mgr_nack_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_test_mgr_nack_hdr
    .prio            resb 2
    .sa              resb 6 ; None
    .other_prio      resb 2
    .other_sa        resb 6 ; None
endstruc
%define struc_br_mrp_test_mgr_nack_hdr_size 16


name: br_mrp_test_prop_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_test_prop_hdr
    .prio            resb 2
    .sa              resb 6 ; None
    .other_prio      resb 2
    .other_sa        resb 6 ; None
endstruc
%define struc_br_mrp_test_prop_hdr_size 16


name: br_mrp_oui_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_oui_hdr
    .oui             resb 3 ; None
endstruc
%define struc_br_mrp_oui_hdr_size 3


name: br_mrp_in_test_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_in_test_hdr
    .id              resb 2
    .sa              resb 6 ; None
    .port_role       resb 2
    .state           resb 2
    .transitions     resb 2
    .timestamp       resb 4
endstruc
%define struc_br_mrp_in_test_hdr_size 20


name: br_mrp_in_topo_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_in_topo_hdr
    .sa              resb 6 ; None
    .id              resb 2
    .interval        resb 2
endstruc
%define struc_br_mrp_in_topo_hdr_size 10


name: br_mrp_in_link_hdr
include_file: /usr/include/linux/mrp_bridge.h
nasm_code:
; from header /usr/include/linux/mrp_bridge.h
struc br_mrp_in_link_hdr
    .sa              resb 6 ; None
    .port_role       resb 2
    .id              resb 2
    .interval        resb 2
endstruc
%define struc_br_mrp_in_link_hdr_size 12


name: ifaddrlblmsg
include_file: /usr/include/linux/if_addrlabel.h
nasm_code:
; from header /usr/include/linux/if_addrlabel.h
struc ifaddrlblmsg
    .ifal_family     resb 1
    .__ifal_reserved resb 1
    .ifal_prefixlen  resb 1
    .ifal_flags      resb 1
    .ifal_index      resb 4
    .ifal_seq        resb 4
endstruc
%define struc_ifaddrlblmsg_size 12


name: mei_client
include_file: /usr/include/linux/mei.h
nasm_code:
; from header /usr/include/linux/mei.h
struc mei_client
    .max_msg_length  resb 4
    .protocol_versio resb 1
    .reserved        resb 3 ; None
endstruc
%define struc_mei_client_size 8


name: mei_connect_client_vtag
include_file: /usr/include/linux/mei.h
nasm_code:
; from header /usr/include/linux/mei.h
struc mei_connect_client_vtag
    .in_client_uuid  resb 16 ; uuid_le
    .vtag            resb 1
    .reserved        resb 3 ; None
endstruc
%define struc_mei_connect_client_vtag_size 20


name: in6_pktinfo
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc in6_pktinfo
    .ipi6_addr       resb 16 ; struc in6_addr
    .ipi6_ifindex    resb 4
endstruc
%define struc_in6_pktinfo_size 20


name: ip6_mtuinfo
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc ip6_mtuinfo
    .ip6m_addr       resb 28 ; struc sockaddr_in6
    .ip6m_mtu        resb 4
endstruc
%define struc_ip6_mtuinfo_size 32


name: in6_ifreq
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc in6_ifreq
    .ifr6_addr       resb 16 ; struc in6_addr
    .ifr6_prefixlen  resb 4
    .ifr6_ifindex    resb 4
endstruc
%define struc_in6_ifreq_size 24


name: ipv6_rt_hdr
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc ipv6_rt_hdr
    .nexthdr         resb 1
    .hdrlen          resb 1
    .type            resb 1
    .segments_left   resb 1
endstruc
%define struc_ipv6_rt_hdr_size 4


name: ipv6_opt_hdr
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc ipv6_opt_hdr
    .nexthdr         resb 1
    .hdrlen          resb 1
endstruc
%define struc_ipv6_opt_hdr_size 2


name: rt0_hdr
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc rt0_hdr
    .rt_hdr          resb 4 ; struc ipv6_rt_hdr
    .reserved        resb 4
    .addr            resb 0 ; None
endstruc
%define struc_rt0_hdr_size 8


name: rt2_hdr
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc rt2_hdr
    .rt_hdr          resb 4 ; struc ipv6_rt_hdr
    .reserved        resb 4
    .addr            resb 16 ; struc in6_addr
endstruc
%define struc_rt2_hdr_size 24


name: ipv6_destopt_hao
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc ipv6_destopt_hao
    .type            resb 1
    .length          resb 1
    .addr            resb 16 ; struc in6_addr
endstruc
%define struc_ipv6_destopt_hao_size 18


name: ipv6hdr
include_file: /usr/include/linux/ipv6.h
nasm_code:
; from header /usr/include/linux/ipv6.h
struc ipv6hdr
    .priority        resb 1
    .version         resb 1
    .flow_lbl        resb 3 ; None
    .payload_len     resb 2
    .nexthdr         resb 1
    .hop_limit       resb 1
    .saddr           resb 16 ; struc in6_addr
    .daddr           resb 16 ; struc in6_addr
endstruc
%define struc_ipv6hdr_size 40


name: shmid_ds
include_file: /usr/include/linux/shm.h
nasm_code:
; from header /usr/include/linux/shm.h
struc shmid_ds
    .shm_perm        resb 28 ; struc ipc_perm
    .shm_segsz       resb 4
    .shm_atime       resb 8
    .shm_dtime       resb 8
    .shm_ctime       resb 8
    .shm_cpid        resb 4
    .shm_lpid        resb 4
    .shm_nattch      resb 2
    .shm_unused      resb 2
    .shm_unused2     resb 8
    .shm_unused3     resb 8
endstruc
%define struc_shmid_ds_size 88


name: shm_info
include_file: /usr/include/linux/shm.h
nasm_code:
; from header /usr/include/linux/shm.h
struc shm_info
    .used_ids        resb 4
    .shm_tot         resb 8
    .shm_rss         resb 8
    .shm_swp         resb 8
    .swap_attempts   resb 8
    .swap_successes  resb 8
endstruc
%define struc_shm_info_size 48


name: in6_rtmsg
include_file: /usr/include/linux/ipv6_route.h
nasm_code:
; from header /usr/include/linux/ipv6_route.h
struc in6_rtmsg
    .rtmsg_dst       resb 16 ; struc in6_addr
    .rtmsg_src       resb 16 ; struc in6_addr
    .rtmsg_gateway   resb 16 ; struc in6_addr
    .rtmsg_type      resb 4
    .rtmsg_dst_len   resb 2
    .rtmsg_src_len   resb 2
    .rtmsg_metric    resb 4
    .rtmsg_info      resb 8
    .rtmsg_flags     resb 4
    .rtmsg_ifindex   resb 4
endstruc
%define struc_in6_rtmsg_size 80


name: npioctl
include_file: /usr/include/linux/ppp-ioctl.h
nasm_code:
; from header /usr/include/linux/ppp-ioctl.h
struc npioctl
    .protocol        resb 4
    .mode            resb 4
endstruc
%define struc_npioctl_size 8


name: ppp_option_data
include_file: /usr/include/linux/ppp-ioctl.h
nasm_code:
; from header /usr/include/linux/ppp-ioctl.h
struc ppp_option_data
    .ptr             resb 8
    .length          resb 4
    .transmit        resb 4
endstruc
%define struc_ppp_option_data_size 16


name: pppol2tp_ioc_stats
include_file: /usr/include/linux/ppp-ioctl.h
nasm_code:
; from header /usr/include/linux/ppp-ioctl.h
struc pppol2tp_ioc_stats
    .tunnel_id       resb 2
    .session_id      resb 2
    .using_ipsec     resb 4
    .tx_packets      resb 8
    .tx_bytes        resb 8
    .tx_errors       resb 8
    .rx_packets      resb 8
    .rx_bytes        resb 8
    .rx_seq_discards resb 8
    .rx_oos_packets  resb 8
    .rx_errors       resb 8
endstruc
%define struc_pppol2tp_ioc_stats_size 72


name: epoll_event
include_file: /usr/include/linux/eventpoll.h
nasm_code:
; from header /usr/include/linux/eventpoll.h
struc epoll_event
    .events          resb 4
    .data            resb 8
endstruc
%define struc_epoll_event_size 12


name: ptp_clock_time
include_file: /usr/include/linux/ptp_clock.h
nasm_code:
; from header /usr/include/linux/ptp_clock.h
struc ptp_clock_time
    .sec             resb 8
    .nsec            resb 4
    .reserved        resb 4
endstruc
%define struc_ptp_clock_time_size 16


name: ptp_clock_caps
include_file: /usr/include/linux/ptp_clock.h
nasm_code:
; from header /usr/include/linux/ptp_clock.h
struc ptp_clock_caps
    .max_adj         resb 4
    .n_alarm         resb 4
    .n_ext_ts        resb 4
    .n_per_out       resb 4
    .pps             resb 4
    .n_pins          resb 4
    .cross_timestamp resb 4
    .adjust_phase    resb 4
    .rsv             resb 48 ; None
endstruc
%define struc_ptp_clock_caps_size 80


name: ptp_extts_request
include_file: /usr/include/linux/ptp_clock.h
nasm_code:
; from header /usr/include/linux/ptp_clock.h
struc ptp_extts_request
    .index           resb 4
    .flags           resb 4
    .rsv             resb 8 ; None
endstruc
%define struc_ptp_extts_request_size 16


name: ptp_sys_offset
include_file: /usr/include/linux/ptp_clock.h
nasm_code:
; from header /usr/include/linux/ptp_clock.h
struc ptp_sys_offset
    .n_samples       resb 4
    .rsv             resb 12 ; None
    .ts              resb 816 ; None
endstruc
%define struc_ptp_sys_offset_size 832


name: ptp_sys_offset_extended
include_file: /usr/include/linux/ptp_clock.h
nasm_code:
; from header /usr/include/linux/ptp_clock.h
struc ptp_sys_offset_extended
    .n_samples       resb 4
    .rsv             resb 12 ; None
    .ts              resb 1200 ; None
endstruc
%define struc_ptp_sys_offset_extended_size 1216


name: ptp_sys_offset_precise
include_file: /usr/include/linux/ptp_clock.h
nasm_code:
; from header /usr/include/linux/ptp_clock.h
struc ptp_sys_offset_precise
    .device          resb 16 ; struc ptp_clock_time
    .sys_realtime    resb 16 ; struc ptp_clock_time
    .sys_monoraw     resb 16 ; struc ptp_clock_time
    .rsv             resb 16 ; None
endstruc
%define struc_ptp_sys_offset_precise_size 64


name: ptp_pin_desc
include_file: /usr/include/linux/ptp_clock.h
nasm_code:
; from header /usr/include/linux/ptp_clock.h
struc ptp_pin_desc
    .name            resb 64 ; None
    .index           resb 4
    .func            resb 4
    .chan            resb 4
    .rsv             resb 20 ; None
endstruc
%define struc_ptp_pin_desc_size 96


name: ptp_extts_event
include_file: /usr/include/linux/ptp_clock.h
nasm_code:
; from header /usr/include/linux/ptp_clock.h
struc ptp_extts_event
    .t               resb 16 ; struc ptp_clock_time
    .index           resb 4
    .flags           resb 4
    .rsv             resb 8 ; None
endstruc
%define struc_ptp_extts_event_size 32


name: ivtvfb_dma_frame
include_file: /usr/include/linux/ivtvfb.h
nasm_code:
; from header /usr/include/linux/ivtvfb.h
struc ivtvfb_dma_frame
    .source          resb 8
    .dest_offset     resb 8
    .count           resb 4
endstruc
%define struc_ivtvfb_dma_frame_size 24


name: __fat_dirent
include_file: /usr/include/linux/msdos_fs.h
nasm_code:
; from header /usr/include/linux/msdos_fs.h
struc __fat_dirent
    .d_ino           resb 8
    .d_off           resb 8
    .d_reclen        resb 2
    .d_name          resb 256 ; None
endstruc
%define struc___fat_dirent_size 280


name: fat_boot_fsinfo
include_file: /usr/include/linux/msdos_fs.h
nasm_code:
; from header /usr/include/linux/msdos_fs.h
struc fat_boot_fsinfo
    .signature1      resb 4
    .reserved1       resb 480 ; None
    .signature2      resb 4
    .free_clusters   resb 4
    .next_cluster    resb 4
    .reserved2       resb 16 ; None
endstruc
%define struc_fat_boot_fsinfo_size 512


name: msdos_dir_entry
include_file: /usr/include/linux/msdos_fs.h
nasm_code:
; from header /usr/include/linux/msdos_fs.h
struc msdos_dir_entry
    .name            resb 11 ; None
    .attr            resb 1
    .lcase           resb 1
    .ctime_cs        resb 1
    .ctime           resb 2
    .cdate           resb 2
    .adate           resb 2
    .starthi         resb 2
    .time            resb 2
    .date            resb 2
    .start           resb 2
    .size            resb 4
endstruc
%define struc_msdos_dir_entry_size 32


name: msdos_dir_slot
include_file: /usr/include/linux/msdos_fs.h
nasm_code:
; from header /usr/include/linux/msdos_fs.h
struc msdos_dir_slot
    .id              resb 1
    .name0_4         resb 10 ; None
    .attr            resb 1
    .reserved        resb 1
    .alias_checksum  resb 1
    .name5_10        resb 12 ; None
    .start           resb 2
    .name11_12       resb 4 ; None
endstruc
%define struc_msdos_dir_slot_size 32


name: nvm_ioctl_info_tgt
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_info_tgt
    .version         resb 12 ; None
    .reserved        resb 4
    .tgtname         resb 48 ; None
endstruc
%define struc_nvm_ioctl_info_tgt_size 64


name: nvm_ioctl_info
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_info
    .version         resb 12 ; None
    .tgtsize         resb 2
    .reserved16      resb 2
    .reserved        resb 48 ; None
    .tgts            resb 4032 ; None
endstruc
%define struc_nvm_ioctl_info_size 4096


name: nvm_ioctl_device_info
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_device_info
    .devname         resb 32 ; None
    .bmname          resb 48 ; None
    .bmversion       resb 12 ; None
    .flags           resb 4
    .reserved        resb 32 ; None
endstruc
%define struc_nvm_ioctl_device_info_size 128


name: nvm_ioctl_get_devices
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_get_devices
    .nr_devices      resb 4
    .reserved        resb 124 ; None
    .info            resb 3968 ; None
endstruc
%define struc_nvm_ioctl_get_devices_size 4096


name: nvm_ioctl_create_simple
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_create_simple
    .lun_begin       resb 4
    .lun_end         resb 4
endstruc
%define struc_nvm_ioctl_create_simple_size 8


name: nvm_ioctl_create_extended
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_create_extended
    .lun_begin       resb 2
    .lun_end         resb 2
    .op              resb 2
    .rsv             resb 2
endstruc
%define struc_nvm_ioctl_create_extended_size 8


name: nvm_ioctl_create
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_create
    .dev             resb 32 ; None
    .tgttype         resb 48 ; None
    .tgtname         resb 32 ; None
    .flags           resb 4
    .conf            resb 12 ; struc nvm_ioctl_create_conf
endstruc
%define struc_nvm_ioctl_create_size 128


name: nvm_ioctl_remove
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_remove
    .tgtname         resb 32 ; None
    .flags           resb 4
endstruc
%define struc_nvm_ioctl_remove_size 36


name: nvm_ioctl_dev_init
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_dev_init
    .dev             resb 32 ; None
    .mmtype          resb 8 ; None
    .flags           resb 4
endstruc
%define struc_nvm_ioctl_dev_init_size 44


name: nvm_ioctl_dev_factory
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_ioctl_dev_factory
    .dev             resb 32 ; None
    .flags           resb 4
endstruc
%define struc_nvm_ioctl_dev_factory_size 36


name: nvm_user_vio
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_user_vio
    .opcode          resb 1
    .flags           resb 1
    .control         resb 2
    .nppas           resb 2
    .rsvd            resb 2
    .metadata        resb 8
    .addr            resb 8
    .ppa_list        resb 8
    .metadata_len    resb 4
    .data_len        resb 4
    .status          resb 8
    .result          resb 4
    .rsvd3           resb 12 ; None
endstruc
%define struc_nvm_user_vio_size 64


name: nvm_passthru_vio
include_file: /usr/include/linux/lightnvm.h
nasm_code:
; from header /usr/include/linux/lightnvm.h
struc nvm_passthru_vio
    .opcode          resb 1
    .flags           resb 1
    .rsvd            resb 2 ; None
    .nsid            resb 4
    .cdw2            resb 4
    .cdw3            resb 4
    .metadata        resb 8
    .addr            resb 8
    .metadata_len    resb 4
    .data_len        resb 4
    .ppa_list        resb 8
    .nppas           resb 2
    .control         resb 2
    .cdw13           resb 4
    .cdw14           resb 4
    .cdw15           resb 4
    .status          resb 8
    .result          resb 4
    .timeout_ms      resb 4
endstruc
%define struc_nvm_passthru_vio_size 80


name: nd_cmd_dimm_flags
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_dimm_flags
    .status          resb 4
    .flags           resb 4
endstruc
%define struc_nd_cmd_dimm_flags_size 8


name: nd_cmd_get_config_size
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_get_config_size
    .status          resb 4
    .config_size     resb 4
    .max_xfer        resb 4
endstruc
%define struc_nd_cmd_get_config_size_size 12


name: nd_cmd_get_config_data_hdr
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_get_config_data_hdr
    .in_offset       resb 4
    .in_length       resb 4
    .status          resb 4
    .out_buf         resb 0 ; None
endstruc
%define struc_nd_cmd_get_config_data_hdr_size 12


name: nd_cmd_set_config_hdr
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_set_config_hdr
    .in_offset       resb 4
    .in_length       resb 4
    .in_buf          resb 0 ; None
endstruc
%define struc_nd_cmd_set_config_hdr_size 8


name: nd_cmd_vendor_hdr
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_vendor_hdr
    .opcode          resb 4
    .in_length       resb 4
    .in_buf          resb 0 ; None
endstruc
%define struc_nd_cmd_vendor_hdr_size 8


name: nd_cmd_vendor_tail
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_vendor_tail
    .status          resb 4
    .out_length      resb 4
    .out_buf         resb 0 ; None
endstruc
%define struc_nd_cmd_vendor_tail_size 8


name: nd_cmd_ars_cap
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_ars_cap
    .address         resb 8
    .length          resb 8
    .status          resb 4
    .max_ars_out     resb 4
    .clear_err_unit  resb 4
    .flags           resb 2
    .reserved        resb 2
endstruc
%define struc_nd_cmd_ars_cap_size 32


name: nd_cmd_ars_start
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_ars_start
    .address         resb 8
    .length          resb 8
    .type            resb 2
    .flags           resb 1
    .reserved        resb 5 ; None
    .status          resb 4
    .scrub_time      resb 4
endstruc
%define struc_nd_cmd_ars_start_size 32


name: nd_cmd_ars_status
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_ars_status
    .status          resb 4
    .out_length      resb 4
    .address         resb 8
    .length          resb 8
    .restart_address resb 8
    .restart_length  resb 8
    .type            resb 2
    .flags           resb 2
    .num_records     resb 4
    .records         resb 0 ; None
endstruc
%define struc_nd_cmd_ars_status_size 48


name: nd_ars_record
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_ars_record
    .handle          resb 4
    .reserved        resb 4
    .err_address     resb 8
    .length          resb 8
endstruc
%define struc_nd_ars_record_size 24


name: nd_cmd_clear_error
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_clear_error
    .address         resb 8
    .length          resb 8
    .status          resb 4
    .reserved        resb 4 ; None
    .cleared         resb 8
endstruc
%define struc_nd_cmd_clear_error_size 32


name: nd_cmd_pkg
include_file: /usr/include/linux/ndctl.h
nasm_code:
; from header /usr/include/linux/ndctl.h
struc nd_cmd_pkg
    .nd_family       resb 8
    .nd_command      resb 8
    .nd_size_in      resb 4
    .nd_size_out     resb 4
    .nd_reserved2    resb 36 ; None
    .nd_fw_size      resb 4
    .nd_payload      resb 0 ; None
endstruc
%define struc_nd_cmd_pkg_size 64


name: ipv6_rpl_sr_hdr
include_file: /usr/include/linux/rpl.h
nasm_code:
; from header /usr/include/linux/rpl.h
struc ipv6_rpl_sr_hdr
    .nexthdr         resb 1
    .hdrlen          resb 1
    .type            resb 1
    .segments_left   resb 1
    .cmpre           resb 4
    .cmpri           resb 4
    .reserved        resb 4
    .pad             resb 4
    .reserved1       resb 4
    .segments        resb 0 ; union None
endstruc
%define struc_ipv6_rpl_sr_hdr_size 8


name: ndmsg
include_file: /usr/include/linux/neighbour.h
nasm_code:
; from header /usr/include/linux/neighbour.h
struc ndmsg
    .ndm_family      resb 1
    .ndm_pad1        resb 1
    .ndm_pad2        resb 2
    .ndm_ifindex     resb 4
    .ndm_state       resb 2
    .ndm_flags       resb 1
    .ndm_type        resb 1
endstruc
%define struc_ndmsg_size 12


name: nda_cacheinfo
include_file: /usr/include/linux/neighbour.h
nasm_code:
; from header /usr/include/linux/neighbour.h
struc nda_cacheinfo
    .ndm_confirmed   resb 4
    .ndm_used        resb 4
    .ndm_updated     resb 4
    .ndm_refcnt      resb 4
endstruc
%define struc_nda_cacheinfo_size 16


name: ndt_stats
include_file: /usr/include/linux/neighbour.h
nasm_code:
; from header /usr/include/linux/neighbour.h
struc ndt_stats
    .ndts_allocs     resb 8
    .ndts_destroys   resb 8
    .ndts_hash_grows resb 8
    .ndts_res_failed resb 8
    .ndts_lookups    resb 8
    .ndts_hits       resb 8
    .ndts_rcv_probes resb 8
    .ndts_rcv_probes resb 8
    .ndts_periodic_g resb 8
    .ndts_forced_gc_ resb 8
    .ndts_table_full resb 8
endstruc
%define struc_ndt_stats_size 88


name: ndtmsg
include_file: /usr/include/linux/neighbour.h
nasm_code:
; from header /usr/include/linux/neighbour.h
struc ndtmsg
    .ndtm_family     resb 1
    .ndtm_pad1       resb 1
    .ndtm_pad2       resb 2
endstruc
%define struc_ndtmsg_size 4


name: ndt_config
include_file: /usr/include/linux/neighbour.h
nasm_code:
; from header /usr/include/linux/neighbour.h
struc ndt_config
    .ndtc_key_len    resb 2
    .ndtc_entry_size resb 2
    .ndtc_entries    resb 4
    .ndtc_last_flush resb 4
    .ndtc_last_rand  resb 4
    .ndtc_hash_rnd   resb 4
    .ndtc_hash_mask  resb 4
    .ndtc_hash_chain resb 4
    .ndtc_proxy_qlen resb 4
endstruc
%define struc_ndt_config_size 32


name: virtio_scsi_cmd_req
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_cmd_req
    .lun             resb 8 ; None
    .tag             resb 8
    .task_attr       resb 1
    .prio            resb 1
    .crn             resb 1
    .cdb             resb 32 ; None
endstruc
%define struc_virtio_scsi_cmd_req_size 51


name: virtio_scsi_cmd_req_pi
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_cmd_req_pi
    .lun             resb 8 ; None
    .tag             resb 8
    .task_attr       resb 1
    .prio            resb 1
    .crn             resb 1
    .pi_bytesout     resb 4
    .pi_bytesin      resb 4
    .cdb             resb 32 ; None
endstruc
%define struc_virtio_scsi_cmd_req_pi_size 59


name: virtio_scsi_cmd_resp
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_cmd_resp
    .sense_len       resb 4
    .resid           resb 4
    .status_qualifie resb 2
    .status          resb 1
    .response        resb 1
    .sense           resb 96 ; None
endstruc
%define struc_virtio_scsi_cmd_resp_size 108


name: virtio_scsi_ctrl_tmf_req
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_ctrl_tmf_req
    .type            resb 4
    .subtype         resb 4
    .lun             resb 8 ; None
    .tag             resb 8
endstruc
%define struc_virtio_scsi_ctrl_tmf_req_size 24


name: virtio_scsi_ctrl_tmf_resp
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_ctrl_tmf_resp
    .response        resb 1
endstruc
%define struc_virtio_scsi_ctrl_tmf_resp_size 1


name: virtio_scsi_ctrl_an_req
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_ctrl_an_req
    .type            resb 4
    .lun             resb 8 ; None
    .event_requested resb 4
endstruc
%define struc_virtio_scsi_ctrl_an_req_size 16


name: virtio_scsi_ctrl_an_resp
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_ctrl_an_resp
    .event_actual    resb 4
    .response        resb 1
endstruc
%define struc_virtio_scsi_ctrl_an_resp_size 5


name: virtio_scsi_event
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_event
    .event           resb 4
    .lun             resb 8 ; None
    .reason          resb 4
endstruc
%define struc_virtio_scsi_event_size 16


name: virtio_scsi_config
include_file: /usr/include/linux/virtio_scsi.h
nasm_code:
; from header /usr/include/linux/virtio_scsi.h
struc virtio_scsi_config
    .num_queues      resb 4
    .seg_max         resb 4
    .max_sectors     resb 4
    .cmd_per_lun     resb 4
    .event_info_size resb 4
    .sense_size      resb 4
    .cdb_size        resb 4
    .max_channel     resb 2
    .max_target      resb 2
    .max_lun         resb 4
endstruc
%define struc_virtio_scsi_config_size 36


name: semid_ds
include_file: /usr/include/linux/sem.h
nasm_code:
; from header /usr/include/linux/sem.h
struc semid_ds
    .sem_perm        resb 28 ; struc ipc_perm
    .sem_otime       resb 8
    .sem_ctime       resb 8
    .sem_base        resb 8
    .sem_pending     resb 8
    .sem_pending_las resb 8
    .undo            resb 8
    .sem_nsems       resb 2
endstruc
%define struc_semid_ds_size 88


name: sembuf
include_file: /usr/include/linux/sem.h
nasm_code:
; from header /usr/include/linux/sem.h
struc sembuf
    .sem_num         resb 2
    .sem_op          resb 2
    .sem_flg         resb 2
endstruc
%define struc_sembuf_size 6


name: seminfo
include_file: /usr/include/linux/sem.h
nasm_code:
; from header /usr/include/linux/sem.h
struc seminfo
    .semmap          resb 4
    .semmni          resb 4
    .semmns          resb 4
    .semmnu          resb 4
    .semmsl          resb 4
    .semopm          resb 4
    .semume          resb 4
    .semusz          resb 4
    .semvmx          resb 4
    .semaem          resb 4
endstruc
%define struc_seminfo_size 40


name: mq_attr
include_file: /usr/include/linux/mqueue.h
nasm_code:
; from header /usr/include/linux/mqueue.h
struc mq_attr
    .mq_flags        resb 8
    .mq_maxmsg       resb 8
    .mq_msgsize      resb 8
    .mq_curmsgs      resb 8
    .__reserved      resb 32 ; None
endstruc
%define struc_mq_attr_size 64


name: signalfd_siginfo
include_file: /usr/include/linux/signalfd.h
nasm_code:
; from header /usr/include/linux/signalfd.h
struc signalfd_siginfo
    .ssi_signo       resb 4
    .ssi_errno       resb 4
    .ssi_code        resb 4
    .ssi_pid         resb 4
    .ssi_uid         resb 4
    .ssi_fd          resb 4
    .ssi_tid         resb 4
    .ssi_band        resb 4
    .ssi_overrun     resb 4
    .ssi_trapno      resb 4
    .ssi_status      resb 4
    .ssi_int         resb 4
    .ssi_ptr         resb 8
    .ssi_utime       resb 8
    .ssi_stime       resb 8
    .ssi_addr        resb 8
    .ssi_addr_lsb    resb 2
    .__pad2          resb 2
    .ssi_syscall     resb 4
    .ssi_call_addr   resb 8
    .ssi_arch        resb 4
    .__pad           resb 28 ; None
endstruc
%define struc_signalfd_siginfo_size 128


name: fib_rule_hdr
include_file: /usr/include/linux/fib_rules.h
nasm_code:
; from header /usr/include/linux/fib_rules.h
struc fib_rule_hdr
    .family          resb 1
    .dst_len         resb 1
    .src_len         resb 1
    .tos             resb 1
    .table           resb 1
    .res1            resb 1
    .res2            resb 1
    .action          resb 1
    .flags           resb 4
endstruc
%define struc_fib_rule_hdr_size 12


name: fib_rule_uid_range
include_file: /usr/include/linux/fib_rules.h
nasm_code:
; from header /usr/include/linux/fib_rules.h
struc fib_rule_uid_range
    .start           resb 4
    .end             resb 4
endstruc
%define struc_fib_rule_uid_range_size 8


name: fib_rule_port_range
include_file: /usr/include/linux/fib_rules.h
nasm_code:
; from header /usr/include/linux/fib_rules.h
struc fib_rule_port_range
    .start           resb 2
    .end             resb 2
endstruc
%define struc_fib_rule_port_range_size 4


name: idmap_msg
include_file: /usr/include/linux/nfs_idmap.h
nasm_code:
; from header /usr/include/linux/nfs_idmap.h
struc idmap_msg
    .im_type         resb 1
    .im_conv         resb 1
    .im_name         resb 128 ; None
    .im_id           resb 4
    .im_status       resb 1
endstruc
%define struc_idmap_msg_size 140


name: tms
include_file: /usr/include/linux/times.h
nasm_code:
; from header /usr/include/linux/times.h
struc tms
    .tms_utime       resb 8
    .tms_stime       resb 8
    .tms_cutime      resb 8
    .tms_cstime      resb 8
endstruc
%define struc_tms_size 32


name: watch_notification
include_file: /usr/include/linux/watch_queue.h
nasm_code:
; from header /usr/include/linux/watch_queue.h
struc watch_notification
    .type            resb 4
    .subtype         resb 4
    .info            resb 4
endstruc
%define struc_watch_notification_size 8


name: watch_notification_type_filter
include_file: /usr/include/linux/watch_queue.h
nasm_code:
; from header /usr/include/linux/watch_queue.h
struc watch_notification_type_filter
    .type            resb 4
    .info_filter     resb 4
    .info_mask       resb 4
    .subtype_filter  resb 32 ; None
endstruc
%define struc_watch_notification_type_filter_size 44


name: watch_notification_filter
include_file: /usr/include/linux/watch_queue.h
nasm_code:
; from header /usr/include/linux/watch_queue.h
struc watch_notification_filter
    .nr_filters      resb 4
    .__reserved      resb 4
    .filters         resb 0 ; None
endstruc
%define struc_watch_notification_filter_size 8


name: watch_notification_removal
include_file: /usr/include/linux/watch_queue.h
nasm_code:
; from header /usr/include/linux/watch_queue.h
struc watch_notification_removal
    .watch           resb 8 ; struc watch_notification
    .id              resb 8
endstruc
%define struc_watch_notification_removal_size 16


name: key_notification
include_file: /usr/include/linux/watch_queue.h
nasm_code:
; from header /usr/include/linux/watch_queue.h
struc key_notification
    .watch           resb 8 ; struc watch_notification
    .key_id          resb 4
    .aux             resb 4
endstruc
%define struc_key_notification_size 16


name: io_event
include_file: /usr/include/linux/aio_abi.h
nasm_code:
; from header /usr/include/linux/aio_abi.h
struc io_event
    .data            resb 8
    .obj             resb 8
    .res             resb 8
    .res2            resb 8
endstruc
%define struc_io_event_size 32


name: iocb
include_file: /usr/include/linux/aio_abi.h
nasm_code:
; from header /usr/include/linux/aio_abi.h
struc iocb
    .aio_data        resb 8
    .aio_key         resb 4
    .aio_rw_flags    resb 4
    .aio_lio_opcode  resb 2
    .aio_reqprio     resb 2
    .aio_fildes      resb 4
    .aio_buf         resb 8
    .aio_nbytes      resb 8
    .aio_offset      resb 8
    .aio_reserved2   resb 8
    .aio_flags       resb 4
    .aio_resfd       resb 4
endstruc
%define struc_iocb_size 64


name: hidraw_report_descriptor
include_file: /usr/include/linux/hidraw.h
nasm_code:
; from header /usr/include/linux/hidraw.h
struc hidraw_report_descriptor
    .size            resb 4
    .value           resb 4096 ; None
endstruc
%define struc_hidraw_report_descriptor_size 4100


name: hidraw_devinfo
include_file: /usr/include/linux/hidraw.h
nasm_code:
; from header /usr/include/linux/hidraw.h
struc hidraw_devinfo
    .bustype         resb 4
    .vendor          resb 2
    .product         resb 2
endstruc
%define struc_hidraw_devinfo_size 8


name: args_protover
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_protover
    .version         resb 4
endstruc
%define struc_args_protover_size 4


name: args_protosubver
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_protosubver
    .sub_version     resb 4
endstruc
%define struc_args_protosubver_size 4


name: args_openmount
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_openmount
    .devid           resb 4
endstruc
%define struc_args_openmount_size 4


name: args_ready
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_ready
    .token           resb 4
endstruc
%define struc_args_ready_size 4


name: args_fail
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_fail
    .token           resb 4
    .status          resb 4
endstruc
%define struc_args_fail_size 8


name: args_setpipefd
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_setpipefd
    .pipefd          resb 4
endstruc
%define struc_args_setpipefd_size 4


name: args_timeout
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_timeout
    .timeout         resb 8
endstruc
%define struc_args_timeout_size 8


name: args_requester
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_requester
    .uid             resb 4
    .gid             resb 4
endstruc
%define struc_args_requester_size 8


name: args_expire
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_expire
    .how             resb 4
endstruc
%define struc_args_expire_size 4


name: args_askumount
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_askumount
    .may_umount      resb 4
endstruc
%define struc_args_askumount_size 4


name: args_in
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_in
    .type            resb 4
endstruc
%define struc_args_in_size 4


name: args_out
include_file: /usr/include/linux/auto_dev-ioctl.h
nasm_code:
; from header /usr/include/linux/auto_dev-ioctl.h
struc args_out
    .devid           resb 4
    .magic           resb 4
endstruc
%define struc_args_out_size 8


name: master_config
include_file: /usr/include/linux/if_eql.h
nasm_code:
; from header /usr/include/linux/if_eql.h
struc master_config
    .master_name     resb 16 ; None
    .max_slaves      resb 4
    .min_slaves      resb 4
endstruc
%define struc_master_config_size 24


name: slave_config
include_file: /usr/include/linux/if_eql.h
nasm_code:
; from header /usr/include/linux/if_eql.h
struc slave_config
    .slave_name      resb 16 ; None
    .priority        resb 8
endstruc
%define struc_slave_config_size 24


name: slaving_request
include_file: /usr/include/linux/if_eql.h
nasm_code:
; from header /usr/include/linux/if_eql.h
struc slaving_request
    .slave_name      resb 16 ; None
    .priority        resb 8
endstruc
%define struc_slaving_request_size 24


name: apm_bios_info
include_file: /usr/include/linux/apm_bios.h
nasm_code:
; from header /usr/include/linux/apm_bios.h
struc apm_bios_info
    .version         resb 2
    .cseg            resb 2
    .offset          resb 4
    .cseg_16         resb 2
    .dseg            resb 2
    .flags           resb 2
    .cseg_len        resb 2
    .cseg_16_len     resb 2
    .dseg_len        resb 2
endstruc
%define struc_apm_bios_info_size 20


name: hdlcdrv_params
include_file: /usr/include/linux/hdlcdrv.h
nasm_code:
; from header /usr/include/linux/hdlcdrv.h
struc hdlcdrv_params
    .iobase          resb 4
    .irq             resb 4
    .dma             resb 4
    .dma2            resb 4
    .seriobase       resb 4
    .pariobase       resb 4
    .midiiobase      resb 4
endstruc
%define struc_hdlcdrv_params_size 28


name: hdlcdrv_channel_params
include_file: /usr/include/linux/hdlcdrv.h
nasm_code:
; from header /usr/include/linux/hdlcdrv.h
struc hdlcdrv_channel_params
    .tx_delay        resb 4
    .tx_tail         resb 4
    .slottime        resb 4
    .ppersist        resb 4
    .fulldup         resb 4
endstruc
%define struc_hdlcdrv_channel_params_size 20


name: hdlcdrv_old_channel_state
include_file: /usr/include/linux/hdlcdrv.h
nasm_code:
; from header /usr/include/linux/hdlcdrv.h
struc hdlcdrv_old_channel_state
    .ptt             resb 4
    .dcd             resb 4
    .ptt_keyed       resb 4
endstruc
%define struc_hdlcdrv_old_channel_state_size 12


name: hdlcdrv_channel_state
include_file: /usr/include/linux/hdlcdrv.h
nasm_code:
; from header /usr/include/linux/hdlcdrv.h
struc hdlcdrv_channel_state
    .ptt             resb 4
    .dcd             resb 4
    .ptt_keyed       resb 4
    .tx_packets      resb 8
    .tx_errors       resb 8
    .rx_packets      resb 8
    .rx_errors       resb 8
endstruc
%define struc_hdlcdrv_channel_state_size 48


name: hdlcdrv_ioctl
include_file: /usr/include/linux/hdlcdrv.h
nasm_code:
; from header /usr/include/linux/hdlcdrv.h
struc hdlcdrv_ioctl
    .cmd             resb 4
    .data            resb 128 ; union None
endstruc
%define struc_hdlcdrv_ioctl_size 136


name: virtio_fs_config
include_file: /usr/include/linux/virtio_fs.h
nasm_code:
; from header /usr/include/linux/virtio_fs.h
struc virtio_fs_config
    .tag             resb 36 ; None
    .num_request_que resb 4
endstruc
%define struc_virtio_fs_config_size 40


name: pci_endpoint_test_xfer_param
include_file: /usr/include/linux/pcitest.h
nasm_code:
; from header /usr/include/linux/pcitest.h
struc pci_endpoint_test_xfer_param
    .size            resb 8
    .flags           resb 1
endstruc
%define struc_pci_endpoint_test_xfer_param_size 16


name: tipc_sock_diag_req
include_file: /usr/include/linux/tipc_sockets_diag.h
nasm_code:
; from header /usr/include/linux/tipc_sockets_diag.h
struc tipc_sock_diag_req
    .sdiag_family    resb 1
    .sdiag_protocol  resb 1
    .pad             resb 2
    .tidiag_states   resb 4
endstruc
%define struc_tipc_sock_diag_req_size 8


name: virtio_input_absinfo
include_file: /usr/include/linux/virtio_input.h
nasm_code:
; from header /usr/include/linux/virtio_input.h
struc virtio_input_absinfo
    .min             resb 4
    .max             resb 4
    .fuzz            resb 4
    .flat            resb 4
    .res             resb 4
endstruc
%define struc_virtio_input_absinfo_size 20


name: virtio_input_devids
include_file: /usr/include/linux/virtio_input.h
nasm_code:
; from header /usr/include/linux/virtio_input.h
struc virtio_input_devids
    .bustype         resb 2
    .vendor          resb 2
    .product         resb 2
    .version         resb 2
endstruc
%define struc_virtio_input_devids_size 8


name: virtio_input_config
include_file: /usr/include/linux/virtio_input.h
nasm_code:
; from header /usr/include/linux/virtio_input.h
struc virtio_input_config
    .select          resb 1
    .subsel          resb 1
    .size            resb 1
    .reserved        resb 5 ; None
    .u               resb 128 ; union None
endstruc
%define struc_virtio_input_config_size 136


name: virtio_input_event
include_file: /usr/include/linux/virtio_input.h
nasm_code:
; from header /usr/include/linux/virtio_input.h
struc virtio_input_event
    .type            resb 2
    .code            resb 2
    .value           resb 4
endstruc
%define struc_virtio_input_event_size 8


name: fw_cfg_file
include_file: /usr/include/linux/qemu_fw_cfg.h
nasm_code:
; from header /usr/include/linux/qemu_fw_cfg.h
struc fw_cfg_file
    .size            resb 4
    .select          resb 2
    .reserved        resb 2
    .name            resb 56 ; None
endstruc
%define struc_fw_cfg_file_size 64


name: fw_cfg_dma_access
include_file: /usr/include/linux/qemu_fw_cfg.h
nasm_code:
; from header /usr/include/linux/qemu_fw_cfg.h
struc fw_cfg_dma_access
    .control         resb 4
    .length          resb 4
    .address         resb 8
endstruc
%define struc_fw_cfg_dma_access_size 16


name: fw_cfg_vmcoreinfo
include_file: /usr/include/linux/qemu_fw_cfg.h
nasm_code:
; from header /usr/include/linux/qemu_fw_cfg.h
struc fw_cfg_vmcoreinfo
    .host_format     resb 2
    .guest_format    resb 2
    .size            resb 4
    .paddr           resb 8
endstruc
%define struc_fw_cfg_vmcoreinfo_size 16


name: arpreq
include_file: /usr/include/linux/if_arp.h
nasm_code:
; from header /usr/include/linux/if_arp.h
struc arpreq
    .arp_pa          resb 16 ; struc sockaddr
    .arp_ha          resb 16 ; struc sockaddr
    .arp_flags       resb 4
    .arp_netmask     resb 16 ; struc sockaddr
    .arp_dev         resb 16 ; None
endstruc
%define struc_arpreq_size 68


name: arpreq_old
include_file: /usr/include/linux/if_arp.h
nasm_code:
; from header /usr/include/linux/if_arp.h
struc arpreq_old
    .arp_pa          resb 16 ; struc sockaddr
    .arp_ha          resb 16 ; struc sockaddr
    .arp_flags       resb 4
    .arp_netmask     resb 16 ; struc sockaddr
endstruc
%define struc_arpreq_old_size 52


name: arphdr
include_file: /usr/include/linux/if_arp.h
nasm_code:
; from header /usr/include/linux/if_arp.h
struc arphdr
    .ar_hrd          resb 2
    .ar_pro          resb 2
    .ar_hln          resb 1
    .ar_pln          resb 1
    .ar_op           resb 2
endstruc
%define struc_arphdr_size 8


name: sockaddr_llc
include_file: /usr/include/linux/llc.h
nasm_code:
; from header /usr/include/linux/llc.h
struc sockaddr_llc
    .sllc_family     resb 2
    .sllc_arphrd     resb 2
    .sllc_test       resb 1
    .sllc_xid        resb 1
    .sllc_ua         resb 1
    .sllc_sap        resb 1
    .sllc_mac        resb 6 ; None
    .__pad           resb 2 ; None
endstruc
%define struc_sockaddr_llc_size 16


name: llc_pktinfo
include_file: /usr/include/linux/llc.h
nasm_code:
; from header /usr/include/linux/llc.h
struc llc_pktinfo
    .lpi_ifindex     resb 4
    .lpi_sap         resb 1
    .lpi_mac         resb 6 ; None
endstruc
%define struc_llc_pktinfo_size 12


name: nvme_user_io
include_file: /usr/include/linux/nvme_ioctl.h
nasm_code:
; from header /usr/include/linux/nvme_ioctl.h
struc nvme_user_io
    .opcode          resb 1
    .flags           resb 1
    .control         resb 2
    .nblocks         resb 2
    .rsvd            resb 2
    .metadata        resb 8
    .addr            resb 8
    .slba            resb 8
    .dsmgmt          resb 4
    .reftag          resb 4
    .apptag          resb 2
    .appmask         resb 2
endstruc
%define struc_nvme_user_io_size 48


name: nvme_passthru_cmd
include_file: /usr/include/linux/nvme_ioctl.h
nasm_code:
; from header /usr/include/linux/nvme_ioctl.h
struc nvme_passthru_cmd
    .opcode          resb 1
    .flags           resb 1
    .rsvd1           resb 2
    .nsid            resb 4
    .cdw2            resb 4
    .cdw3            resb 4
    .metadata        resb 8
    .addr            resb 8
    .metadata_len    resb 4
    .data_len        resb 4
    .cdw10           resb 4
    .cdw11           resb 4
    .cdw12           resb 4
    .cdw13           resb 4
    .cdw14           resb 4
    .cdw15           resb 4
    .timeout_ms      resb 4
    .result          resb 4
endstruc
%define struc_nvme_passthru_cmd_size 72


name: nvme_passthru_cmd64
include_file: /usr/include/linux/nvme_ioctl.h
nasm_code:
; from header /usr/include/linux/nvme_ioctl.h
struc nvme_passthru_cmd64
    .opcode          resb 1
    .flags           resb 1
    .rsvd1           resb 2
    .nsid            resb 4
    .cdw2            resb 4
    .cdw3            resb 4
    .metadata        resb 8
    .addr            resb 8
    .metadata_len    resb 4
    .data_len        resb 4
    .cdw10           resb 4
    .cdw11           resb 4
    .cdw12           resb 4
    .cdw13           resb 4
    .cdw14           resb 4
    .cdw15           resb 4
    .timeout_ms      resb 4
    .rsvd2           resb 4
    .result          resb 8
endstruc
%define struc_nvme_passthru_cmd64_size 80


name: vmmdev_hgcm_service_location_localhost
include_file: /usr/include/linux/vbox_vmmdev_types.h
nasm_code:
; from header /usr/include/linux/vbox_vmmdev_types.h
struc vmmdev_hgcm_service_location_localhost
    .service_name    resb 128 ; None
endstruc
%define struc_vmmdev_hgcm_service_location_localhost_size 128


name: vmmdev_hgcm_service_location
include_file: /usr/include/linux/vbox_vmmdev_types.h
nasm_code:
; from header /usr/include/linux/vbox_vmmdev_types.h
struc vmmdev_hgcm_service_location
    .type            resb 4
    .u               resb 128 ; union None
endstruc
%define struc_vmmdev_hgcm_service_location_size 132


name: vmmdev_hgcm_function_parameter32
include_file: /usr/include/linux/vbox_vmmdev_types.h
nasm_code:
; from header /usr/include/linux/vbox_vmmdev_types.h
struc vmmdev_hgcm_function_parameter32
    .type            resb 4
    .u               resb 8 ; union None
endstruc
%define struc_vmmdev_hgcm_function_parameter32_size 12


name: vmmdev_hgcm_function_parameter64
include_file: /usr/include/linux/vbox_vmmdev_types.h
nasm_code:
; from header /usr/include/linux/vbox_vmmdev_types.h
struc vmmdev_hgcm_function_parameter64
    .type            resb 4
    .u               resb 12 ; union None
endstruc
%define struc_vmmdev_hgcm_function_parameter64_size 16


name: vmmdev_hgcm_pagelist
include_file: /usr/include/linux/vbox_vmmdev_types.h
nasm_code:
; from header /usr/include/linux/vbox_vmmdev_types.h
struc vmmdev_hgcm_pagelist
    .flags           resb 4
    .offset_first_pa resb 2
    .page_count      resb 2
    .pages           resb 8 ; None
endstruc
%define struc_vmmdev_hgcm_pagelist_size 16


name: usbdevfs_ctrltransfer
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_ctrltransfer
    .bRequestType    resb 1
    .bRequest        resb 1
    .wValue          resb 2
    .wIndex          resb 2
    .wLength         resb 2
    .timeout         resb 4
    .data            resb 8
endstruc
%define struc_usbdevfs_ctrltransfer_size 24


name: usbdevfs_bulktransfer
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_bulktransfer
    .ep              resb 4
    .len             resb 4
    .timeout         resb 4
    .data            resb 8
endstruc
%define struc_usbdevfs_bulktransfer_size 24


name: usbdevfs_setinterface
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_setinterface
    .interface       resb 4
    .altsetting      resb 4
endstruc
%define struc_usbdevfs_setinterface_size 8


name: usbdevfs_disconnectsignal
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_disconnectsignal
    .signr           resb 4
    .context         resb 8
endstruc
%define struc_usbdevfs_disconnectsignal_size 16


name: usbdevfs_getdriver
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_getdriver
    .interface       resb 4
    .driver          resb 256 ; None
endstruc
%define struc_usbdevfs_getdriver_size 260


name: usbdevfs_connectinfo
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_connectinfo
    .devnum          resb 4
    .slow            resb 1
endstruc
%define struc_usbdevfs_connectinfo_size 8


name: usbdevfs_conninfo_ex
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_conninfo_ex
    .size            resb 4
    .busnum          resb 4
    .devnum          resb 4
    .speed           resb 4
    .num_ports       resb 1
    .ports           resb 7 ; None
endstruc
%define struc_usbdevfs_conninfo_ex_size 24


name: usbdevfs_iso_packet_desc
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_iso_packet_desc
    .length          resb 4
    .actual_length   resb 4
    .status          resb 4
endstruc
%define struc_usbdevfs_iso_packet_desc_size 12


name: usbdevfs_ioctl
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_ioctl
    .ifno            resb 4
    .ioctl_code      resb 4
    .data            resb 8
endstruc
%define struc_usbdevfs_ioctl_size 16


name: usbdevfs_hub_portinfo
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_hub_portinfo
    .nports          resb 1
    .port            resb 127 ; None
endstruc
%define struc_usbdevfs_hub_portinfo_size 128


name: usbdevfs_disconnect_claim
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_disconnect_claim
    .interface       resb 4
    .flags           resb 4
    .driver          resb 256 ; None
endstruc
%define struc_usbdevfs_disconnect_claim_size 264


name: usbdevfs_streams
include_file: /usr/include/linux/usbdevice_fs.h
nasm_code:
; from header /usr/include/linux/usbdevice_fs.h
struc usbdevfs_streams
    .num_streams     resb 4
    .num_eps         resb 4
    .eps             resb 0 ; None
endstruc
%define struc_usbdevfs_streams_size 8


name: ide_task_request_s
include_file: /usr/include/linux/hdreg.h
nasm_code:
; from header /usr/include/linux/hdreg.h
struc ide_task_request_s
    .io_ports        resb 8 ; None
    .hob_ports       resb 8 ; None
    .out_flags       resb 4 ; ide_reg_valid_t
    .in_flags        resb 4 ; ide_reg_valid_t
    .data_phase      resb 4
    .req_cmd         resb 4
    .out_size        resb 8
    .in_size         resb 8
endstruc
%define struc_ide_task_request_s_size 48


name: ide_ioctl_request_s
include_file: /usr/include/linux/hdreg.h
nasm_code:
; from header /usr/include/linux/hdreg.h
struc ide_ioctl_request_s
    .task_request    resb 8
    .out_buffer      resb 8
    .in_buffer       resb 8
endstruc
%define struc_ide_ioctl_request_s_size 24


name: hd_drive_cmd_hdr
include_file: /usr/include/linux/hdreg.h
nasm_code:
; from header /usr/include/linux/hdreg.h
struc hd_drive_cmd_hdr
    .command         resb 1
    .sector_number   resb 1
    .feature         resb 1
    .sector_count    resb 1
endstruc
%define struc_hd_drive_cmd_hdr_size 4


name: hd_drive_task_hdr
include_file: /usr/include/linux/hdreg.h
nasm_code:
; from header /usr/include/linux/hdreg.h
struc hd_drive_task_hdr
    .data            resb 1
    .feature         resb 1
    .sector_count    resb 1
    .sector_number   resb 1
    .low_cylinder    resb 1
    .high_cylinder   resb 1
    .device_head     resb 1
    .command         resb 1
endstruc
%define struc_hd_drive_task_hdr_size 8


name: hd_drive_hob_hdr
include_file: /usr/include/linux/hdreg.h
nasm_code:
; from header /usr/include/linux/hdreg.h
struc hd_drive_hob_hdr
    .data            resb 1
    .feature         resb 1
    .sector_count    resb 1
    .sector_number   resb 1
    .low_cylinder    resb 1
    .high_cylinder   resb 1
    .device_head     resb 1
    .control         resb 1
endstruc
%define struc_hd_drive_hob_hdr_size 8


name: hd_geometry
include_file: /usr/include/linux/hdreg.h
nasm_code:
; from header /usr/include/linux/hdreg.h
struc hd_geometry
    .heads           resb 1
    .sectors         resb 1
    .cylinders       resb 2
    .start           resb 8
endstruc
%define struc_hd_geometry_size 16


name: hd_driveid
include_file: /usr/include/linux/hdreg.h
nasm_code:
; from header /usr/include/linux/hdreg.h
struc hd_driveid
    .config          resb 2
    .cyls            resb 2
    .reserved2       resb 2
    .heads           resb 2
    .track_bytes     resb 2
    .sector_bytes    resb 2
    .sectors         resb 2
    .vendor0         resb 2
    .vendor1         resb 2
    .vendor2         resb 2
    .serial_no       resb 20 ; None
    .buf_type        resb 2
    .buf_size        resb 2
    .ecc_bytes       resb 2
    .fw_rev          resb 8 ; None
    .model           resb 40 ; None
    .max_multsect    resb 1
    .vendor3         resb 1
    .dword_io        resb 2
    .vendor4         resb 1
    .capability      resb 1
    .reserved50      resb 2
    .vendor5         resb 1
    .tPIO            resb 1
    .vendor6         resb 1
    .tDMA            resb 1
    .field_valid     resb 2
    .cur_cyls        resb 2
    .cur_heads       resb 2
    .cur_sectors     resb 2
    .cur_capacity0   resb 2
    .cur_capacity1   resb 2
    .multsect        resb 1
    .multsect_valid  resb 1
    .lba_capacity    resb 4
    .dma_1word       resb 2
    .dma_mword       resb 2
    .eide_pio_modes  resb 2
    .eide_dma_min    resb 2
    .eide_dma_time   resb 2
    .eide_pio        resb 2
    .eide_pio_iordy  resb 2
    .words69_70      resb 4 ; None
    .words71_74      resb 8 ; None
    .queue_depth     resb 2
    .words76_79      resb 8 ; None
    .major_rev_num   resb 2
    .minor_rev_num   resb 2
    .command_set_1   resb 2
    .command_set_2   resb 2
    .cfsse           resb 2
    .cfs_enable_1    resb 2
    .cfs_enable_2    resb 2
    .csf_default     resb 2
    .dma_ultra       resb 2
    .trseuc          resb 2
    .trsEuc          resb 2
    .CurAPMvalues    resb 2
    .mprc            resb 2
    .hw_config       resb 2
    .acoustic        resb 2
    .msrqs           resb 2
    .sxfert          resb 2
    .sal             resb 2
    .spg             resb 4
    .lba_capacity_2  resb 8
    .words104_125    resb 44 ; None
    .last_lun        resb 2
    .word127         resb 2
    .dlf             resb 2
    .csfo            resb 2
    .words130_155    resb 52 ; None
    .word156         resb 2
    .words157_159    resb 6 ; None
    .cfa_power       resb 2
    .words161_175    resb 30 ; None
    .words176_205    resb 60 ; None
    .words206_254    resb 98 ; None
    .integrity_word  resb 2
endstruc
%define struc_hd_driveid_size 512


name: file_clone_range
include_file: /usr/include/linux/fs.h
nasm_code:
; from header /usr/include/linux/fs.h
struc file_clone_range
    .src_fd          resb 8
    .src_offset      resb 8
    .src_length      resb 8
    .dest_offset     resb 8
endstruc
%define struc_file_clone_range_size 32


name: fstrim_range
include_file: /usr/include/linux/fs.h
nasm_code:
; from header /usr/include/linux/fs.h
struc fstrim_range
    .start           resb 8
    .len             resb 8
    .minlen          resb 8
endstruc
%define struc_fstrim_range_size 24


name: file_dedupe_range_info
include_file: /usr/include/linux/fs.h
nasm_code:
; from header /usr/include/linux/fs.h
struc file_dedupe_range_info
    .dest_fd         resb 8
    .dest_offset     resb 8
    .bytes_deduped   resb 8
    .status          resb 4
    .reserved        resb 4
endstruc
%define struc_file_dedupe_range_info_size 32


name: file_dedupe_range
include_file: /usr/include/linux/fs.h
nasm_code:
; from header /usr/include/linux/fs.h
struc file_dedupe_range
    .src_offset      resb 8
    .src_length      resb 8
    .dest_count      resb 2
    .reserved1       resb 2
    .reserved2       resb 4
    .info            resb 0 ; None
endstruc
%define struc_file_dedupe_range_size 24


name: files_stat_struct
include_file: /usr/include/linux/fs.h
nasm_code:
; from header /usr/include/linux/fs.h
struc files_stat_struct
    .nr_files        resb 8
    .nr_free_files   resb 8
    .max_files       resb 8
endstruc
%define struc_files_stat_struct_size 24


name: inodes_stat_t
include_file: /usr/include/linux/fs.h
nasm_code:
; from header /usr/include/linux/fs.h
struc inodes_stat_t
    .nr_inodes       resb 8
    .nr_unused       resb 8
    .dummy           resb 40 ; None
endstruc
%define struc_inodes_stat_t_size 56


name: fsxattr
include_file: /usr/include/linux/fs.h
nasm_code:
; from header /usr/include/linux/fs.h
struc fsxattr
    .fsx_xflags      resb 4
    .fsx_extsize     resb 4
    .fsx_nextents    resb 4
    .fsx_projid      resb 4
    .fsx_cowextsize  resb 4
    .fsx_pad         resb 8 ; None
endstruc
%define struc_fsxattr_size 28


name: uhid_create2_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_create2_req
    .name            resb 128 ; None
    .phys            resb 64 ; None
    .uniq            resb 64 ; None
    .rd_size         resb 2
    .bus             resb 2
    .vendor          resb 4
    .product         resb 4
    .version         resb 4
    .country         resb 4
    .rd_data         resb 4096 ; None
endstruc
%define struc_uhid_create2_req_size 4372


name: uhid_start_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_start_req
    .dev_flags       resb 8
endstruc
%define struc_uhid_start_req_size 8


name: uhid_input2_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_input2_req
    .size            resb 2
    .data            resb 4096 ; None
endstruc
%define struc_uhid_input2_req_size 4098


name: uhid_output_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_output_req
    .data            resb 4096 ; None
    .size            resb 2
    .rtype           resb 1
endstruc
%define struc_uhid_output_req_size 4099


name: uhid_get_report_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_get_report_req
    .id              resb 4
    .rnum            resb 1
    .rtype           resb 1
endstruc
%define struc_uhid_get_report_req_size 6


name: uhid_get_report_reply_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_get_report_reply_req
    .id              resb 4
    .err             resb 2
    .size            resb 2
    .data            resb 4096 ; None
endstruc
%define struc_uhid_get_report_reply_req_size 4104


name: uhid_set_report_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_set_report_req
    .id              resb 4
    .rnum            resb 1
    .rtype           resb 1
    .size            resb 2
    .data            resb 4096 ; None
endstruc
%define struc_uhid_set_report_req_size 4104


name: uhid_set_report_reply_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_set_report_reply_req
    .id              resb 4
    .err             resb 2
endstruc
%define struc_uhid_set_report_reply_req_size 6


name: uhid_create_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_create_req
    .name            resb 128 ; None
    .phys            resb 64 ; None
    .uniq            resb 64 ; None
    .rd_data         resb 8
    .rd_size         resb 2
    .bus             resb 2
    .vendor          resb 4
    .product         resb 4
    .version         resb 4
    .country         resb 4
endstruc
%define struc_uhid_create_req_size 284


name: uhid_input_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_input_req
    .data            resb 4096 ; None
    .size            resb 2
endstruc
%define struc_uhid_input_req_size 4098


name: uhid_output_ev_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_output_ev_req
    .type            resb 2
    .code            resb 2
    .value           resb 4
endstruc
%define struc_uhid_output_ev_req_size 8


name: uhid_feature_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_feature_req
    .id              resb 4
    .rnum            resb 1
    .rtype           resb 1
endstruc
%define struc_uhid_feature_req_size 6


name: uhid_feature_answer_req
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_feature_answer_req
    .id              resb 4
    .err             resb 2
    .size            resb 2
    .data            resb 4096 ; None
endstruc
%define struc_uhid_feature_answer_req_size 4104


name: uhid_event
include_file: /usr/include/linux/uhid.h
nasm_code:
; from header /usr/include/linux/uhid.h
struc uhid_event
    .type            resb 4
    .u               resb 4376 ; union None
endstruc
%define struc_uhid_event_size 4380


name: hdr_ui
include_file: /usr/include/linux/netfilter_bridge/ebt_802_3.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_802_3.h
struc hdr_ui
    .dsap            resb 1
    .ssap            resb 1
    .ctrl            resb 1
    .orig            resb 3 ; None
    .type            resb 2
endstruc
%define struc_hdr_ui_size 8


name: hdr_ni
include_file: /usr/include/linux/netfilter_bridge/ebt_802_3.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_802_3.h
struc hdr_ni
    .dsap            resb 1
    .ssap            resb 1
    .ctrl            resb 2
    .orig            resb 3 ; None
    .type            resb 2
endstruc
%define struc_hdr_ni_size 10


name: ebt_802_3_hdr
include_file: /usr/include/linux/netfilter_bridge/ebt_802_3.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_802_3.h
struc ebt_802_3_hdr
    .daddr           resb 6 ; None
    .saddr           resb 6 ; None
    .len             resb 2
    .llc             resb 10 ; union None
endstruc
%define struc_ebt_802_3_hdr_size 24


name: ebt_802_3_info
include_file: /usr/include/linux/netfilter_bridge/ebt_802_3.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_802_3.h
struc ebt_802_3_info
    .sap             resb 1
    .type            resb 2
    .bitmask         resb 1
    .invflags        resb 1
endstruc
%define struc_ebt_802_3_info_size 6


name: ebt_nat_info
include_file: /usr/include/linux/netfilter_bridge/ebt_nat.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_nat.h
struc ebt_nat_info
    .mac             resb 6 ; None
    .target          resb 4
endstruc
%define struc_ebt_nat_info_size 12


name: ebt_mark_t_info
include_file: /usr/include/linux/netfilter_bridge/ebt_mark_t.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_mark_t.h
struc ebt_mark_t_info
    .mark            resb 8
    .target          resb 4
endstruc
%define struc_ebt_mark_t_info_size 16


name: ebt_mac_wormhash_tuple
include_file: /usr/include/linux/netfilter_bridge/ebt_among.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_among.h
struc ebt_mac_wormhash_tuple
    .cmp             resb 8 ; None
    .ip              resb 4
endstruc
%define struc_ebt_mac_wormhash_tuple_size 12


name: ebt_mac_wormhash
include_file: /usr/include/linux/netfilter_bridge/ebt_among.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_among.h
struc ebt_mac_wormhash
    .table           resb 1028 ; None
    .poolsize        resb 4
    .pool            resb 0 ; None
endstruc
%define struc_ebt_mac_wormhash_size 1032


name: ebt_among_info
include_file: /usr/include/linux/netfilter_bridge/ebt_among.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_among.h
struc ebt_among_info
    .wh_dst_ofs      resb 4
    .wh_src_ofs      resb 4
    .bitmask         resb 4
endstruc
%define struc_ebt_among_info_size 12


name: ebt_nflog_info
include_file: /usr/include/linux/netfilter_bridge/ebt_nflog.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_nflog.h
struc ebt_nflog_info
    .len             resb 4
    .group           resb 2
    .threshold       resb 2
    .flags           resb 2
    .pad             resb 2
    .prefix          resb 64 ; None
endstruc
%define struc_ebt_nflog_info_size 76


name: ebt_mark_m_info
include_file: /usr/include/linux/netfilter_bridge/ebt_mark_m.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_mark_m.h
struc ebt_mark_m_info
    .mark            resb 8
    .mask            resb 8
    .invert          resb 1
    .bitmask         resb 1
endstruc
%define struc_ebt_mark_m_info_size 24


name: ebt_redirect_info
include_file: /usr/include/linux/netfilter_bridge/ebt_redirect.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_redirect.h
struc ebt_redirect_info
    .target          resb 4
endstruc
%define struc_ebt_redirect_info_size 4


name: ebt_stp_config_info
include_file: /usr/include/linux/netfilter_bridge/ebt_stp.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_stp.h
struc ebt_stp_config_info
    .flags           resb 1
    .root_priol      resb 2
    .root_priou      resb 2
    .root_addr       resb 6 ; None
    .root_addrmsk    resb 6 ; None
    .root_costl      resb 4
    .root_costu      resb 4
    .sender_priol    resb 2
    .sender_priou    resb 2
    .sender_addr     resb 6 ; None
    .sender_addrmsk  resb 6 ; None
    .portl           resb 2
    .portu           resb 2
    .msg_agel        resb 2
    .msg_ageu        resb 2
    .max_agel        resb 2
    .max_ageu        resb 2
    .hello_timel     resb 2
    .hello_timeu     resb 2
    .forward_delayl  resb 2
    .forward_delayu  resb 2
endstruc
%define struc_ebt_stp_config_info_size 64


name: ebt_stp_info
include_file: /usr/include/linux/netfilter_bridge/ebt_stp.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_stp.h
struc ebt_stp_info
    .type            resb 1
    .config          resb 64 ; struc ebt_stp_config_info
    .bitmask         resb 2
    .invflags        resb 2
endstruc
%define struc_ebt_stp_info_size 72


name: ebt_arpreply_info
include_file: /usr/include/linux/netfilter_bridge/ebt_arpreply.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_arpreply.h
struc ebt_arpreply_info
    .mac             resb 6 ; None
    .target          resb 4
endstruc
%define struc_ebt_arpreply_info_size 12


name: ebt_vlan_info
include_file: /usr/include/linux/netfilter_bridge/ebt_vlan.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_vlan.h
struc ebt_vlan_info
    .id              resb 2
    .prio            resb 1
    .encap           resb 2
    .bitmask         resb 1
    .invflags        resb 1
endstruc
%define struc_ebt_vlan_info_size 8


name: ebt_counter
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_counter
    .pcnt            resb 8
    .bcnt            resb 8
endstruc
%define struc_ebt_counter_size 16


name: ebt_replace
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_replace
    .name            resb 32 ; None
    .valid_hooks     resb 4
    .nentries        resb 4
    .entries_size    resb 4
    .hook_entry      resb 48 ; None
    .num_counters    resb 4
    .counters        resb 8
    .entries         resb 8
endstruc
%define struc_ebt_replace_size 120


name: ebt_replace_kernel
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_replace_kernel
    .name            resb 32 ; None
    .valid_hooks     resb 4
    .nentries        resb 4
    .entries_size    resb 4
    .hook_entry      resb 48 ; None
    .num_counters    resb 4
    .counters        resb 8
    .entries         resb 8
endstruc
%define struc_ebt_replace_kernel_size 120


name: ebt_entries
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_entries
    .distinguisher   resb 4
    .name            resb 32 ; None
    .counter_offset  resb 4
    .policy          resb 4
    .nentries        resb 4
    .data            resb 0 ; None
endstruc
%define struc_ebt_entries_size 48


name: ebt_entry_match
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_entry_match
    .u               resb 32 ; union None
    .match_size      resb 4
    .data            resb 0 ; None
endstruc
%define struc_ebt_entry_match_size 40


name: ebt_entry_watcher
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_entry_watcher
    .u               resb 32 ; union None
    .watcher_size    resb 4
    .data            resb 0 ; None
endstruc
%define struc_ebt_entry_watcher_size 40


name: ebt_entry_target
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_entry_target
    .u               resb 32 ; union None
    .target_size     resb 4
    .data            resb 0 ; None
endstruc
%define struc_ebt_entry_target_size 40


name: ebt_standard_target
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_standard_target
    .target          resb 40 ; struc ebt_entry_target
    .verdict         resb 4
endstruc
%define struc_ebt_standard_target_size 48


name: ebt_entry
include_file: /usr/include/linux/netfilter_bridge/ebtables.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebtables.h
struc ebt_entry
    .bitmask         resb 4
    .invflags        resb 4
    .ethproto        resb 2
    .in              resb 16 ; None
    .logical_in      resb 16 ; None
    .out             resb 16 ; None
    .logical_out     resb 16 ; None
    .sourcemac       resb 6 ; None
    .sourcemsk       resb 6 ; None
    .destmac         resb 6 ; None
    .destmsk         resb 6 ; None
    .watchers_offset resb 4
    .target_offset   resb 4
    .next_offset     resb 4
    .elems           resb 0 ; None
endstruc
%define struc_ebt_entry_size 112


name: ebt_log_info
include_file: /usr/include/linux/netfilter_bridge/ebt_log.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_log.h
struc ebt_log_info
    .loglevel        resb 1
    .prefix          resb 30 ; None
    .bitmask         resb 4
endstruc
%define struc_ebt_log_info_size 36


name: ebt_limit_info
include_file: /usr/include/linux/netfilter_bridge/ebt_limit.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_limit.h
struc ebt_limit_info
    .avg             resb 4
    .burst           resb 4
    .prev            resb 8
    .credit          resb 4
    .credit_cap      resb 4
    .cost            resb 4
endstruc
%define struc_ebt_limit_info_size 32


name: ebt_pkttype_info
include_file: /usr/include/linux/netfilter_bridge/ebt_pkttype.h
nasm_code:
; from header /usr/include/linux/netfilter_bridge/ebt_pkttype.h
struc ebt_pkttype_info
    .pkt_type        resb 1
    .invert          resb 1
endstruc
%define struc_ebt_pkttype_info_size 2


name: nfs3_fh
include_file: /usr/include/linux/nfs3.h
nasm_code:
; from header /usr/include/linux/nfs3.h
struc nfs3_fh
    .size            resb 2
    .data            resb 64 ; None
endstruc
%define struc_nfs3_fh_size 66


name: atalk_addr
include_file: /usr/include/linux/atalk.h
nasm_code:
; from header /usr/include/linux/atalk.h
struc atalk_addr
    .s_net           resb 2
    .s_node          resb 1
endstruc
%define struc_atalk_addr_size 4


name: sockaddr_at
include_file: /usr/include/linux/atalk.h
nasm_code:
; from header /usr/include/linux/atalk.h
struc sockaddr_at
    .sat_family      resb 2
    .sat_port        resb 1
    .sat_addr        resb 4 ; struc atalk_addr
    .sat_zero        resb 8 ; None
endstruc
%define struc_sockaddr_at_size 16


name: atalk_netrange
include_file: /usr/include/linux/atalk.h
nasm_code:
; from header /usr/include/linux/atalk.h
struc atalk_netrange
    .nr_phase        resb 1
    .nr_firstnet     resb 2
    .nr_lastnet      resb 2
endstruc
%define struc_atalk_netrange_size 6


name: dns_payload_header
include_file: /usr/include/linux/dns_resolver.h
nasm_code:
; from header /usr/include/linux/dns_resolver.h
struc dns_payload_header
    .zero            resb 1
    .content         resb 1
    .version         resb 1
endstruc
%define struc_dns_payload_header_size 3


name: dns_server_list_v1_header
include_file: /usr/include/linux/dns_resolver.h
nasm_code:
; from header /usr/include/linux/dns_resolver.h
struc dns_server_list_v1_header
    .hdr             resb 3 ; struc dns_payload_header
    .source          resb 1
    .status          resb 1
    .nr_servers      resb 1
endstruc
%define struc_dns_server_list_v1_header_size 6


name: dns_server_list_v1_server
include_file: /usr/include/linux/dns_resolver.h
nasm_code:
; from header /usr/include/linux/dns_resolver.h
struc dns_server_list_v1_server
    .name_len        resb 2
    .priority        resb 2
    .weight          resb 2
    .port            resb 2
    .source          resb 1
    .status          resb 1
    .protocol        resb 1
    .nr_addrs        resb 1
endstruc
%define struc_dns_server_list_v1_server_size 12


name: dns_server_list_v1_address
include_file: /usr/include/linux/dns_resolver.h
nasm_code:
; from header /usr/include/linux/dns_resolver.h
struc dns_server_list_v1_address
    .address_type    resb 1
endstruc
%define struc_dns_server_list_v1_address_size 1


name: sockaddr_caif
include_file: /usr/include/linux/caif/caif_socket.h
nasm_code:
; from header /usr/include/linux/caif/caif_socket.h
struc sockaddr_caif
    .family          resb 2
    .u               resb 20 ; union None
endstruc
%define struc_sockaddr_caif_size 24


name: dlci_conf
include_file: /usr/include/linux/if_frad.h
nasm_code:
; from header /usr/include/linux/if_frad.h
struc dlci_conf
    .flags           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_dlci_conf_size 22


name: nr_route_struct
include_file: /usr/include/linux/netrom.h
nasm_code:
; from header /usr/include/linux/netrom.h
struc nr_route_struct
    .type            resb 4
    .callsign        resb 7 ; ax25_address
    .device          resb 16 ; None
    .quality         resb 4
    .mnemonic        resb 7 ; None
    .neighbour       resb 7 ; ax25_address
    .obs_count       resb 4
    .ndigis          resb 4
    .digipeaters     resb 56 ; None
endstruc
%define struc_nr_route_struct_size 112


name: adfs_discrecord
include_file: /usr/include/linux/adfs_fs.h
nasm_code:
; from header /usr/include/linux/adfs_fs.h
struc adfs_discrecord
    .log2secsize     resb 1
    .secspertrack    resb 1
    .heads           resb 1
    .density         resb 1
    .idlen           resb 1
    .log2bpmb        resb 1
    .skew            resb 1
    .bootoption      resb 1
    .lowsector       resb 1
    .nzones          resb 1
    .zone_spare      resb 2
    .root            resb 4
    .disc_size       resb 4
    .disc_id         resb 2
    .disc_name       resb 10 ; None
    .disc_type       resb 4
    .disc_size_high  resb 4
    .log2sharesize   resb 1
    .unused40        resb 1
    .big_flag        resb 1
    .unused41        resb 1
    .nzones_high     resb 1
    .reserved43      resb 1
    .format_version  resb 4
    .root_size       resb 4
    .unused52        resb 8 ; None
endstruc
%define struc_adfs_discrecord_size 60


name: virtio_gpu_ctrl_hdr
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_ctrl_hdr
    .type            resb 4
    .flags           resb 4
    .fence_id        resb 8
    .ctx_id          resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_ctrl_hdr_size 24


name: virtio_gpu_cursor_pos
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_cursor_pos
    .scanout_id      resb 4
    .x               resb 4
    .y               resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_cursor_pos_size 16


name: virtio_gpu_update_cursor
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_update_cursor
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .pos             resb 16 ; struc virtio_gpu_cursor_pos
    .resource_id     resb 4
    .hot_x           resb 4
    .hot_y           resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_update_cursor_size 56


name: virtio_gpu_rect
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_rect
    .x               resb 4
    .y               resb 4
    .width           resb 4
    .height          resb 4
endstruc
%define struc_virtio_gpu_rect_size 16


name: virtio_gpu_resource_unref
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resource_unref
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .resource_id     resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_resource_unref_size 32


name: virtio_gpu_resource_create_2d
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resource_create_2d
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .resource_id     resb 4
    .format          resb 4
    .width           resb 4
    .height          resb 4
endstruc
%define struc_virtio_gpu_resource_create_2d_size 40


name: virtio_gpu_set_scanout
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_set_scanout
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .r               resb 16 ; struc virtio_gpu_rect
    .scanout_id      resb 4
    .resource_id     resb 4
endstruc
%define struc_virtio_gpu_set_scanout_size 48


name: virtio_gpu_resource_flush
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resource_flush
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .r               resb 16 ; struc virtio_gpu_rect
    .resource_id     resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_resource_flush_size 48


name: virtio_gpu_transfer_to_host_2d
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_transfer_to_host_2d
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .r               resb 16 ; struc virtio_gpu_rect
    .offset          resb 8
    .resource_id     resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_transfer_to_host_2d_size 56


name: virtio_gpu_mem_entry
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_mem_entry
    .addr            resb 8
    .length          resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_mem_entry_size 16


name: virtio_gpu_resource_attach_backing
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resource_attach_backing
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .resource_id     resb 4
    .nr_entries      resb 4
endstruc
%define struc_virtio_gpu_resource_attach_backing_size 32


name: virtio_gpu_resource_detach_backing
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resource_detach_backing
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .resource_id     resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_resource_detach_backing_size 32


name: virtio_gpu_resp_display_info
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resp_display_info
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .pmodes          resb 384 ; None
endstruc
%define struc_virtio_gpu_resp_display_info_size 408


name: virtio_gpu_display_one
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_display_one
    .r               resb 16 ; struc virtio_gpu_rect
    .enabled         resb 4
    .flags           resb 4
endstruc
%define struc_virtio_gpu_display_one_size 24


name: virtio_gpu_box
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_box
    .x               resb 4
    .y               resb 4
    .z               resb 4
    .w               resb 4
    .h               resb 4
    .d               resb 4
endstruc
%define struc_virtio_gpu_box_size 24


name: virtio_gpu_transfer_host_3d
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_transfer_host_3d
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .box             resb 24 ; struc virtio_gpu_box
    .offset          resb 8
    .resource_id     resb 4
    .level           resb 4
    .stride          resb 4
    .layer_stride    resb 4
endstruc
%define struc_virtio_gpu_transfer_host_3d_size 72


name: virtio_gpu_resource_create_3d
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resource_create_3d
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .resource_id     resb 4
    .target          resb 4
    .format          resb 4
    .bind            resb 4
    .width           resb 4
    .height          resb 4
    .depth           resb 4
    .array_size      resb 4
    .last_level      resb 4
    .nr_samples      resb 4
    .flags           resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_resource_create_3d_size 72


name: virtio_gpu_ctx_create
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_ctx_create
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .nlen            resb 4
    .padding         resb 4
    .debug_name      resb 64 ; None
endstruc
%define struc_virtio_gpu_ctx_create_size 96


name: virtio_gpu_ctx_destroy
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_ctx_destroy
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
endstruc
%define struc_virtio_gpu_ctx_destroy_size 24


name: virtio_gpu_ctx_resource
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_ctx_resource
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .resource_id     resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_ctx_resource_size 32


name: virtio_gpu_cmd_submit
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_cmd_submit
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .size            resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_cmd_submit_size 32


name: virtio_gpu_get_capset_info
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_get_capset_info
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .capset_index    resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_get_capset_info_size 32


name: virtio_gpu_resp_capset_info
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resp_capset_info
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .capset_id       resb 4
    .capset_max_vers resb 4
    .capset_max_size resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_resp_capset_info_size 40


name: virtio_gpu_get_capset
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_get_capset
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .capset_id       resb 4
    .capset_version  resb 4
endstruc
%define struc_virtio_gpu_get_capset_size 32


name: virtio_gpu_resp_capset
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resp_capset
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .capset_data     resb 0 ; None
endstruc
%define struc_virtio_gpu_resp_capset_size 24


name: virtio_gpu_cmd_get_edid
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_cmd_get_edid
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .scanout         resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_cmd_get_edid_size 32


name: virtio_gpu_resp_edid
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resp_edid
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .size            resb 4
    .padding         resb 4
    .edid            resb 1024 ; None
endstruc
%define struc_virtio_gpu_resp_edid_size 1056


name: virtio_gpu_config
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_config
    .events_read     resb 4
    .events_clear    resb 4
    .num_scanouts    resb 4
    .num_capsets     resb 4
endstruc
%define struc_virtio_gpu_config_size 16


name: virtio_gpu_resource_assign_uuid
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resource_assign_uuid
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .resource_id     resb 4
    .padding         resb 4
endstruc
%define struc_virtio_gpu_resource_assign_uuid_size 32


name: virtio_gpu_resp_resource_uuid
include_file: /usr/include/linux/virtio_gpu.h
nasm_code:
; from header /usr/include/linux/virtio_gpu.h
struc virtio_gpu_resp_resource_uuid
    .hdr             resb 24 ; struc virtio_gpu_ctrl_hdr
    .uuid            resb 16 ; None
endstruc
%define struc_virtio_gpu_resp_resource_uuid_size 40


name: sockaddr_alg
include_file: /usr/include/linux/if_alg.h
nasm_code:
; from header /usr/include/linux/if_alg.h
struc sockaddr_alg
    .salg_family     resb 2
    .salg_type       resb 14 ; None
    .salg_feat       resb 4
    .salg_mask       resb 4
    .salg_name       resb 64 ; None
endstruc
%define struc_sockaddr_alg_size 88


name: sockaddr_alg_new
include_file: /usr/include/linux/if_alg.h
nasm_code:
; from header /usr/include/linux/if_alg.h
struc sockaddr_alg_new
    .salg_family     resb 2
    .salg_type       resb 14 ; None
    .salg_feat       resb 4
    .salg_mask       resb 4
    .salg_name       resb 0 ; None
endstruc
%define struc_sockaddr_alg_new_size 24


name: af_alg_iv
include_file: /usr/include/linux/if_alg.h
nasm_code:
; from header /usr/include/linux/if_alg.h
struc af_alg_iv
    .ivlen           resb 4
    .iv              resb 0 ; None
endstruc
%define struc_af_alg_iv_size 4


name: sockaddr_un
include_file: /usr/include/linux/un.h
nasm_code:
; from header /usr/include/linux/un.h
struc sockaddr_un
    .sun_family      resb 2
    .sun_path        resb 108 ; None
endstruc
%define struc_sockaddr_un_size 110


name: cgroupstats
include_file: /usr/include/linux/cgroupstats.h
nasm_code:
; from header /usr/include/linux/cgroupstats.h
struc cgroupstats
    .nr_sleeping     resb 8
    .nr_running      resb 8
    .nr_stopped      resb 8
    .nr_uninterrupti resb 8
    .nr_io_wait      resb 8
endstruc
%define struc_cgroupstats_size 40


name: xfrm_id
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_id
    .daddr           resb 16 ; xfrm_address_t
    .spi             resb 4
    .proto           resb 1
endstruc
%define struc_xfrm_id_size 24


name: xfrm_sec_ctx
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_sec_ctx
    .ctx_doi         resb 1
    .ctx_alg         resb 1
    .ctx_len         resb 2
    .ctx_sid         resb 4
    .ctx_str         resb 0 ; None
endstruc
%define struc_xfrm_sec_ctx_size 8


name: xfrm_selector
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_selector
    .daddr           resb 16 ; xfrm_address_t
    .saddr           resb 16 ; xfrm_address_t
    .dport           resb 2
    .dport_mask      resb 2
    .sport           resb 2
    .sport_mask      resb 2
    .family          resb 2
    .prefixlen_d     resb 1
    .prefixlen_s     resb 1
    .proto           resb 1
    .ifindex         resb 4
    .user            resb 4
endstruc
%define struc_xfrm_selector_size 56


name: xfrm_lifetime_cfg
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_lifetime_cfg
    .soft_byte_limit resb 8
    .hard_byte_limit resb 8
    .soft_packet_lim resb 8
    .hard_packet_lim resb 8
    .soft_add_expire resb 8
    .hard_add_expire resb 8
    .soft_use_expire resb 8
    .hard_use_expire resb 8
endstruc
%define struc_xfrm_lifetime_cfg_size 64


name: xfrm_lifetime_cur
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_lifetime_cur
    .bytes           resb 8
    .packets         resb 8
    .add_time        resb 8
    .use_time        resb 8
endstruc
%define struc_xfrm_lifetime_cur_size 32


name: xfrm_replay_state
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_replay_state
    .oseq            resb 4
    .seq             resb 4
    .bitmap          resb 4
endstruc
%define struc_xfrm_replay_state_size 12


name: xfrm_replay_state_esn
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_replay_state_esn
    .bmp_len         resb 4
    .oseq            resb 4
    .seq             resb 4
    .oseq_hi         resb 4
    .seq_hi          resb 4
    .replay_window   resb 4
    .bmp             resb 0 ; None
endstruc
%define struc_xfrm_replay_state_esn_size 24


name: xfrm_algo
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_algo
    .alg_name        resb 64 ; None
    .alg_key_len     resb 4
    .alg_key         resb 0 ; None
endstruc
%define struc_xfrm_algo_size 68


name: xfrm_algo_auth
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_algo_auth
    .alg_name        resb 64 ; None
    .alg_key_len     resb 4
    .alg_trunc_len   resb 4
    .alg_key         resb 0 ; None
endstruc
%define struc_xfrm_algo_auth_size 72


name: xfrm_algo_aead
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_algo_aead
    .alg_name        resb 64 ; None
    .alg_key_len     resb 4
    .alg_icv_len     resb 4
    .alg_key         resb 0 ; None
endstruc
%define struc_xfrm_algo_aead_size 72


name: xfrm_stats
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_stats
    .replay_window   resb 4
    .replay          resb 4
    .integrity_faile resb 4
endstruc
%define struc_xfrm_stats_size 12


name: xfrm_user_sec_ctx
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_sec_ctx
    .len             resb 2
    .exttype         resb 2
    .ctx_alg         resb 1
    .ctx_doi         resb 1
    .ctx_len         resb 2
endstruc
%define struc_xfrm_user_sec_ctx_size 8


name: xfrm_user_tmpl
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_tmpl
    .id              resb 24 ; struc xfrm_id
    .family          resb 2
    .saddr           resb 16 ; xfrm_address_t
    .reqid           resb 4
    .mode            resb 1
    .share           resb 1
    .optional        resb 1
    .aalgos          resb 4
    .ealgos          resb 4
    .calgos          resb 4
endstruc
%define struc_xfrm_user_tmpl_size 64


name: xfrm_encap_tmpl
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_encap_tmpl
    .encap_type      resb 2
    .encap_sport     resb 2
    .encap_dport     resb 2
    .encap_oa        resb 16 ; xfrm_address_t
endstruc
%define struc_xfrm_encap_tmpl_size 24


name: xfrm_userpolicy_type
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_userpolicy_type
    .type            resb 1
    .reserved1       resb 2
    .reserved2       resb 1
endstruc
%define struc_xfrm_userpolicy_type_size 6


name: xfrm_mark
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_mark
    .v               resb 4
    .m               resb 4
endstruc
%define struc_xfrm_mark_size 8


name: xfrmu_sadhinfo
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrmu_sadhinfo
    .sadhcnt         resb 4
    .sadhmcnt        resb 4
endstruc
%define struc_xfrmu_sadhinfo_size 8


name: xfrmu_spdinfo
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrmu_spdinfo
    .incnt           resb 4
    .outcnt          resb 4
    .fwdcnt          resb 4
    .inscnt          resb 4
    .outscnt         resb 4
    .fwdscnt         resb 4
endstruc
%define struc_xfrmu_spdinfo_size 24


name: xfrmu_spdhinfo
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrmu_spdhinfo
    .spdhcnt         resb 4
    .spdhmcnt        resb 4
endstruc
%define struc_xfrmu_spdhinfo_size 8


name: xfrmu_spdhthresh
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrmu_spdhthresh
    .lbits           resb 1
    .rbits           resb 1
endstruc
%define struc_xfrmu_spdhthresh_size 2


name: xfrm_usersa_info
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_usersa_info
    .sel             resb 56 ; struc xfrm_selector
    .id              resb 24 ; struc xfrm_id
    .saddr           resb 16 ; xfrm_address_t
    .lft             resb 64 ; struc xfrm_lifetime_cfg
    .curlft          resb 32 ; struc xfrm_lifetime_cur
    .stats           resb 12 ; struc xfrm_stats
    .seq             resb 4
    .reqid           resb 4
    .family          resb 2
    .mode            resb 1
    .replay_window   resb 1
    .flags           resb 1
endstruc
%define struc_xfrm_usersa_info_size 224


name: xfrm_usersa_id
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_usersa_id
    .daddr           resb 16 ; xfrm_address_t
    .spi             resb 4
    .family          resb 2
    .proto           resb 1
endstruc
%define struc_xfrm_usersa_id_size 24


name: xfrm_aevent_id
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_aevent_id
    .sa_id           resb 24 ; struc xfrm_usersa_id
    .saddr           resb 16 ; xfrm_address_t
    .flags           resb 4
    .reqid           resb 4
endstruc
%define struc_xfrm_aevent_id_size 48


name: xfrm_userspi_info
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_userspi_info
    .info            resb 224 ; struc xfrm_usersa_info
    .min             resb 4
    .max             resb 4
endstruc
%define struc_xfrm_userspi_info_size 232


name: xfrm_userpolicy_info
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_userpolicy_info
    .sel             resb 56 ; struc xfrm_selector
    .lft             resb 64 ; struc xfrm_lifetime_cfg
    .curlft          resb 32 ; struc xfrm_lifetime_cur
    .priority        resb 4
    .index           resb 4
    .dir             resb 1
    .action          resb 1
    .flags           resb 1
    .share           resb 1
endstruc
%define struc_xfrm_userpolicy_info_size 168


name: xfrm_userpolicy_id
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_userpolicy_id
    .sel             resb 56 ; struc xfrm_selector
    .index           resb 4
    .dir             resb 1
endstruc
%define struc_xfrm_userpolicy_id_size 64


name: xfrm_user_acquire
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_acquire
    .id              resb 24 ; struc xfrm_id
    .saddr           resb 16 ; xfrm_address_t
    .sel             resb 56 ; struc xfrm_selector
    .policy          resb 168 ; struc xfrm_userpolicy_info
    .aalgos          resb 4
    .ealgos          resb 4
    .calgos          resb 4
    .seq             resb 4
endstruc
%define struc_xfrm_user_acquire_size 280


name: xfrm_user_expire
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_expire
    .state           resb 224 ; struc xfrm_usersa_info
    .hard            resb 1
endstruc
%define struc_xfrm_user_expire_size 232


name: xfrm_user_polexpire
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_polexpire
    .pol             resb 168 ; struc xfrm_userpolicy_info
    .hard            resb 1
endstruc
%define struc_xfrm_user_polexpire_size 176


name: xfrm_usersa_flush
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_usersa_flush
    .proto           resb 1
endstruc
%define struc_xfrm_usersa_flush_size 1


name: xfrm_user_report
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_report
    .proto           resb 1
    .sel             resb 56 ; struc xfrm_selector
endstruc
%define struc_xfrm_user_report_size 60


name: xfrm_user_kmaddress
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_kmaddress
    .local           resb 16 ; xfrm_address_t
    .remote          resb 16 ; xfrm_address_t
    .reserved        resb 4
    .family          resb 2
endstruc
%define struc_xfrm_user_kmaddress_size 40


name: xfrm_user_migrate
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_migrate
    .old_daddr       resb 16 ; xfrm_address_t
    .old_saddr       resb 16 ; xfrm_address_t
    .new_daddr       resb 16 ; xfrm_address_t
    .new_saddr       resb 16 ; xfrm_address_t
    .proto           resb 1
    .mode            resb 1
    .reserved        resb 2
    .reqid           resb 4
    .old_family      resb 2
    .new_family      resb 2
endstruc
%define struc_xfrm_user_migrate_size 76


name: xfrm_user_mapping
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_mapping
    .id              resb 24 ; struc xfrm_usersa_id
    .reqid           resb 4
    .old_saddr       resb 16 ; xfrm_address_t
    .new_saddr       resb 16 ; xfrm_address_t
    .old_sport       resb 2
    .new_sport       resb 2
endstruc
%define struc_xfrm_user_mapping_size 64


name: xfrm_address_filter
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_address_filter
    .saddr           resb 16 ; xfrm_address_t
    .daddr           resb 16 ; xfrm_address_t
    .family          resb 2
    .splen           resb 1
    .dplen           resb 1
endstruc
%define struc_xfrm_address_filter_size 36


name: xfrm_user_offload
include_file: /usr/include/linux/xfrm.h
nasm_code:
; from header /usr/include/linux/xfrm.h
struc xfrm_user_offload
    .ifindex         resb 4
    .flags           resb 1
endstruc
%define struc_xfrm_user_offload_size 8


name: tcphdr
include_file: /usr/include/linux/tcp.h
nasm_code:
; from header /usr/include/linux/tcp.h
struc tcphdr
    .source          resb 2
    .dest            resb 2
    .seq             resb 4
    .ack_seq         resb 4
    .res1            resb 2
    .doff            resb 2
    .fin             resb 2
    .syn             resb 2
    .rst             resb 2
    .psh             resb 2
    .ack             resb 2
    .urg             resb 2
    .ece             resb 2
    .cwr             resb 2
    .window          resb 2
    .check           resb 2
    .urg_ptr         resb 2
endstruc
%define struc_tcphdr_size 20


name: tcp_repair_opt
include_file: /usr/include/linux/tcp.h
nasm_code:
; from header /usr/include/linux/tcp.h
struc tcp_repair_opt
    .opt_code        resb 4
    .opt_val         resb 4
endstruc
%define struc_tcp_repair_opt_size 8


name: tcp_repair_window
include_file: /usr/include/linux/tcp.h
nasm_code:
; from header /usr/include/linux/tcp.h
struc tcp_repair_window
    .snd_wl1         resb 4
    .snd_wnd         resb 4
    .max_window      resb 4
    .rcv_wnd         resb 4
    .rcv_wup         resb 4
endstruc
%define struc_tcp_repair_window_size 20


name: tcp_info
include_file: /usr/include/linux/tcp.h
nasm_code:
; from header /usr/include/linux/tcp.h
struc tcp_info
    .tcpi_state      resb 1
    .tcpi_ca_state   resb 1
    .tcpi_retransmit resb 1
    .tcpi_probes     resb 1
    .tcpi_backoff    resb 1
    .tcpi_options    resb 1
    .tcpi_snd_wscale resb 1
    .tcpi_rcv_wscale resb 1
    .tcpi_delivery_r resb 1
    .tcpi_fastopen_c resb 1
    .tcpi_rto        resb 4
    .tcpi_ato        resb 4
    .tcpi_snd_mss    resb 4
    .tcpi_rcv_mss    resb 4
    .tcpi_unacked    resb 4
    .tcpi_sacked     resb 4
    .tcpi_lost       resb 4
    .tcpi_retrans    resb 4
    .tcpi_fackets    resb 4
    .tcpi_last_data_ resb 4
    .tcpi_last_ack_s resb 4
    .tcpi_last_data_ resb 4
    .tcpi_last_ack_r resb 4
    .tcpi_pmtu       resb 4
    .tcpi_rcv_ssthre resb 4
    .tcpi_rtt        resb 4
    .tcpi_rttvar     resb 4
    .tcpi_snd_ssthre resb 4
    .tcpi_snd_cwnd   resb 4
    .tcpi_advmss     resb 4
    .tcpi_reordering resb 4
    .tcpi_rcv_rtt    resb 4
    .tcpi_rcv_space  resb 4
    .tcpi_total_retr resb 4
    .tcpi_pacing_rat resb 8
    .tcpi_max_pacing resb 8
    .tcpi_bytes_acke resb 8
    .tcpi_bytes_rece resb 8
    .tcpi_segs_out   resb 4
    .tcpi_segs_in    resb 4
    .tcpi_notsent_by resb 4
    .tcpi_min_rtt    resb 4
    .tcpi_data_segs_ resb 4
    .tcpi_data_segs_ resb 4
    .tcpi_delivery_r resb 8
    .tcpi_busy_time  resb 8
    .tcpi_rwnd_limit resb 8
    .tcpi_sndbuf_lim resb 8
    .tcpi_delivered  resb 4
    .tcpi_delivered_ resb 4
    .tcpi_bytes_sent resb 8
    .tcpi_bytes_retr resb 8
    .tcpi_dsack_dups resb 4
    .tcpi_reord_seen resb 4
    .tcpi_rcv_ooopac resb 4
    .tcpi_snd_wnd    resb 4
endstruc
%define struc_tcp_info_size 232


name: tcp_md5sig
include_file: /usr/include/linux/tcp.h
nasm_code:
; from header /usr/include/linux/tcp.h
struc tcp_md5sig
    .tcpm_addr       resb 128 ; struc __kernel_sockaddr_storage
    .tcpm_flags      resb 1
    .tcpm_prefixlen  resb 1
    .tcpm_keylen     resb 2
    .tcpm_ifindex    resb 4
    .tcpm_key        resb 80 ; None
endstruc
%define struc_tcp_md5sig_size 216


name: tcp_diag_md5sig
include_file: /usr/include/linux/tcp.h
nasm_code:
; from header /usr/include/linux/tcp.h
struc tcp_diag_md5sig
    .tcpm_family     resb 1
    .tcpm_prefixlen  resb 1
    .tcpm_keylen     resb 2
    .tcpm_addr       resb 16 ; None
    .tcpm_key        resb 80 ; None
endstruc
%define struc_tcp_diag_md5sig_size 100


name: tcp_zerocopy_receive
include_file: /usr/include/linux/tcp.h
nasm_code:
; from header /usr/include/linux/tcp.h
struc tcp_zerocopy_receive
    .address         resb 8
    .length          resb 4
    .recv_skip_hint  resb 4
    .inq             resb 4
    .err             resb 4
endstruc
%define struc_tcp_zerocopy_receive_size 24


name: cycx_fw_info
include_file: /usr/include/linux/cycx_cfm.h
nasm_code:
; from header /usr/include/linux/cycx_cfm.h
struc cycx_fw_info
    .codeid          resb 2
    .version         resb 2
    .adapter         resb 2 ; None
    .memsize         resb 8
    .reserved        resb 4 ; None
    .startoffs       resb 2
    .winoffs         resb 2
    .codeoffs        resb 2
    .codesize        resb 8
    .dataoffs        resb 2
    .datasize        resb 8
endstruc
%define struc_cycx_fw_info_size 56


name: cycx_firmware
include_file: /usr/include/linux/cycx_cfm.h
nasm_code:
; from header /usr/include/linux/cycx_cfm.h
struc cycx_firmware
    .signature       resb 80 ; None
    .version         resb 2
    .checksum        resb 2
    .reserved        resb 12 ; None
    .descr           resb 256 ; None
    .info            resb 56 ; struc cycx_fw_info
    .image           resb 0 ; None
endstruc
%define struc_cycx_firmware_size 408


name: cycx_fw_header
include_file: /usr/include/linux/cycx_cfm.h
nasm_code:
; from header /usr/include/linux/cycx_cfm.h
struc cycx_fw_header
    .reset_size      resb 8
    .data_size       resb 8
    .code_size       resb 8
endstruc
%define struc_cycx_fw_header_size 24


name: cec_msg
include_file: /usr/include/linux/cec.h
nasm_code:
; from header /usr/include/linux/cec.h
struc cec_msg
    .tx_ts           resb 8
    .rx_ts           resb 8
    .len             resb 4
    .timeout         resb 4
    .sequence        resb 4
    .flags           resb 4
    .msg             resb 16 ; None
    .reply           resb 1
    .rx_status       resb 1
    .tx_status       resb 1
    .tx_arb_lost_cnt resb 1
    .tx_nack_cnt     resb 1
    .tx_low_drive_cn resb 1
    .tx_error_cnt    resb 1
endstruc
%define struc_cec_msg_size 56


name: cec_caps
include_file: /usr/include/linux/cec.h
nasm_code:
; from header /usr/include/linux/cec.h
struc cec_caps
    .driver          resb 32 ; None
    .name            resb 32 ; None
    .available_log_a resb 4
    .capabilities    resb 4
    .version         resb 4
endstruc
%define struc_cec_caps_size 76


name: cec_log_addrs
include_file: /usr/include/linux/cec.h
nasm_code:
; from header /usr/include/linux/cec.h
struc cec_log_addrs
    .log_addr        resb 4 ; None
    .log_addr_mask   resb 2
    .cec_version     resb 1
    .num_log_addrs   resb 1
    .vendor_id       resb 4
    .flags           resb 4
    .osd_name        resb 15 ; None
    .primary_device_ resb 4 ; None
    .log_addr_type   resb 4 ; None
    .all_device_type resb 4 ; None
    .features        resb 48 ; None
endstruc
%define struc_cec_log_addrs_size 92


name: cec_drm_connector_info
include_file: /usr/include/linux/cec.h
nasm_code:
; from header /usr/include/linux/cec.h
struc cec_drm_connector_info
    .card_no         resb 4
    .connector_id    resb 4
endstruc
%define struc_cec_drm_connector_info_size 8


name: cec_event_state_change
include_file: /usr/include/linux/cec.h
nasm_code:
; from header /usr/include/linux/cec.h
struc cec_event_state_change
    .phys_addr       resb 2
    .log_addr_mask   resb 2
    .have_conn_info  resb 2
endstruc
%define struc_cec_event_state_change_size 6


name: cec_event_lost_msgs
include_file: /usr/include/linux/cec.h
nasm_code:
; from header /usr/include/linux/cec.h
struc cec_event_lost_msgs
    .lost_msgs       resb 4
endstruc
%define struc_cec_event_lost_msgs_size 4


name: i2c_msg
include_file: /usr/include/linux/i2c.h
nasm_code:
; from header /usr/include/linux/i2c.h
struc i2c_msg
    .addr            resb 2
    .flags           resb 2
    .len             resb 2
    .buf             resb 8
endstruc
%define struc_i2c_msg_size 16


name: dccp_hdr
include_file: /usr/include/linux/dccp.h
nasm_code:
; from header /usr/include/linux/dccp.h
struc dccp_hdr
    .dccph_sport     resb 2
    .dccph_dport     resb 2
    .dccph_doff      resb 1
    .dccph_cscov     resb 1
    .dccph_ccval     resb 1
    .dccph_checksum  resb 2
    .dccph_x         resb 1
    .dccph_type      resb 1
    .dccph_reserved  resb 1
    .dccph_seq2      resb 1
    .dccph_seq       resb 2
endstruc
%define struc_dccp_hdr_size 12


