| 1 | #cxx . . $ `<file>/include/expr_ops.h`/ifndef _EXPR_OPS_H_cxx . . $ `include/expr_ops.h:2:9`! |
| 2 | #define _EXPR_OPS_H_cxx . . $ `include/expr_ops.h:2:9`! |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | #include "internal.h"cxx . . $ `<file>/include/internal.h`/ |
| 6 | |
| 7 | struct nlattrcxx . . $ nlattr#; |
| 8 | struct nlmsghdrcxx . . $ nlmsghdr#; |
| 9 | struct nftnl_exprcxx . . $ nftnl_expr#; |
| 10 | |
| 11 | struct attr_policycxx . . $ attr_policy# { |
| 12 | uint32_tcxx . . $ uint32_t# maxlencxx . . $ attr_policy#maxlen.; |
| 13 | }; |
| 14 | |
| 15 | struct expr_opscxx . . $ expr_ops# { |
| 16 | const char *namecxx . . $ expr_ops#name.; |
| 17 | uint32_tcxx . . $ uint32_t# alloc_lencxx . . $ expr_ops#alloc_len.; |
| 18 | int nftnl_max_attrcxx . . $ expr_ops#nftnl_max_attr.; |
| 19 | struct attr_policycxx . . $ attr_policy# *attr_policycxx . . $ expr_ops#attr_policy.; |
| 20 | void (*initcxx . . $ expr_ops#init.)(const struct nftnl_exprcxx . . $ nftnl_expr# *e); |
| 21 | void (*freecxx . . $ expr_ops#free.)(const struct nftnl_exprcxx . . $ nftnl_expr# *e); |
| 22 | int (*setcxx . . $ expr_ops#set.)(struct nftnl_exprcxx . . $ nftnl_expr# *e, uint16_tcxx . . $ uint16_t# type, const void *data, uint32_tcxx . . $ uint32_t# data_len, uint32_tcxx . . $ uint32_t# byteorder); |
| 23 | const void *(*getcxx . . $ expr_ops#get.)(const struct nftnl_exprcxx . . $ nftnl_expr# *e, uint16_tcxx . . $ uint16_t# type, uint32_tcxx . . $ uint32_t# *data_len); |
| 24 | int (*parsecxx . . $ expr_ops#parse.)(struct nftnl_exprcxx . . $ nftnl_expr# *e, struct nlattrcxx . . $ nlattr# *attr); |
| 25 | void (*buildcxx . . $ expr_ops#build.)(struct nlmsghdrcxx . . $ nlmsghdr# *nlh, const struct nftnl_exprcxx . . $ nftnl_expr# *e); |
| 26 | int (*outputcxx . . $ expr_ops#output.)(char *buf, size_t len, uint32_tcxx . . $ uint32_t# flags, const struct nftnl_exprcxx . . $ nftnl_expr# *e); |
| 27 | }; |
| 28 | |
| 29 | struct expr_opscxx . . $ expr_ops# *nftnl_expr_ops_lookupcxx . . $ nftnl_expr_ops_lookup(7edc9fba769e98c).(const char *name); |
| 30 | |
| 31 | #define nftnl_expr_datacxx . . $ `include/expr_ops.h:31:9`!(ops) (void *)ops->data |
| 32 | |
| 33 | #endif |