| 1 | #cxx . . $ `<file>/include/data_reg.h`/ifndef _DATA_H_ |
| 2 | #define _DATA_H_cxx . . $ `include/data_reg.h:2:9`! |
| 3 | |
| 4 | #include <linux/netfilter/nf_tables.h>cxx . . $ `<file>/include/linux/netfilter/nf_tables.h`/ |
| 5 | #include <stdint.h> |
| 6 | #include <stdbool.h> |
| 7 | #include <unistd.h> |
| 8 | |
| 9 | enumcxx . . $ $anonymous_type_63741432d23852c7_0# { |
| 10 | DATA_NONEcxx . . $ DATA_NONE., |
| 11 | DATA_VALUEcxx . . $ DATA_VALUE., |
| 12 | DATA_VERDICTcxx . . $ DATA_VERDICT., |
| 13 | DATA_CHAINcxx . . $ DATA_CHAIN., |
| 14 | }; |
| 15 | |
| 16 | enumcxx . . $ $anonymous_type_63741432d23852c7_1# { |
| 17 | DATA_F_NOPFXcxx . . $ DATA_F_NOPFX. = 1 << 0, |
| 18 | }; |
| 19 | |
| 20 | union nftnl_data_regcxx . . $ nftnl_data_reg# { |
| 21 | structcxx . . $ nftnl_data_reg#$anonymous_type_2# { |
| 22 | uint32_tcxx . . $ uint32_t# valcxx . . $ nftnl_data_reg#$anonymous_type_2#val.[NFT_DATA_VALUE_MAXLENcxx . . $ `include/linux/netfilter/nf_tables.h:522:9`! / sizeof(uint32_tcxx . . $ uint32_t#)]; |
| 23 | uint32_tcxx . . $ uint32_t# lencxx . . $ nftnl_data_reg#$anonymous_type_2#len.; |
| 24 | uint32_tcxx . . $ uint32_t# byteordercxx . . $ nftnl_data_reg#$anonymous_type_2#byteorder.; |
| 25 | uint8_tcxx . . $ uint8_t# sizescxx . . $ nftnl_data_reg#$anonymous_type_2#sizes.[NFT_REG32_COUNTcxx . . $ NFT_REG32_00.]; |
| 26 | }; |
| 27 | structcxx . . $ nftnl_data_reg#$anonymous_type_3# { |
| 28 | uint32_tcxx . . $ uint32_t# verdictcxx . . $ nftnl_data_reg#$anonymous_type_3#verdict.; |
| 29 | const char *chaincxx . . $ nftnl_data_reg#$anonymous_type_3#chain.; |
| 30 | uint32_tcxx . . $ uint32_t# chain_idcxx . . $ nftnl_data_reg#$anonymous_type_3#chain_id.; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | int nftnl_data_reg_snprintfcxx . . $ nftnl_data_reg_snprintf(92088fbd4b6db60b).(char *buf, size_t size, |
| 35 | const union nftnl_data_regcxx . . $ nftnl_data_reg# *reg, |
| 36 | uint32_tcxx . . $ uint32_t# flags, int reg_type); |
| 37 | struct nlattrcxx . . $ nlattr#; |
| 38 | |
| 39 | int nftnl_parse_datacxx . . $ nftnl_parse_data(1f43ec2decb5ffec).(union nftnl_data_regcxx . . $ nftnl_data_reg# *data, struct nlattrcxx . . $ nlattr# *attr, int *type); |
| 40 | int nftnl_data_cpycxx . . $ nftnl_data_cpy(fe1838cfef5a2dc9).(union nftnl_data_regcxx . . $ nftnl_data_reg# *dreg, const void *src, |
| 41 | uint32_tcxx . . $ uint32_t# len, uint32_tcxx . . $ uint32_t# byteorder, uint8_tcxx . . $ uint8_t# *sizes); |
| 42 | |
| 43 | #endif |