Debian Codegraph @

include/obj.h

raw symbols SCIP
1 #cxx . . $ `<file>/include/obj.h`/ifndef _OBJ_OPS_H_
2 #define _OBJ_OPS_H_cxx . . $ `include/obj.h:2:9`!
3
4 #include <stdint.h>
5 #include <libnftnl/object.h>cxx . . $ `<file>/include/libnftnl/object.h`/ /* For NFTNL_CTTIMEOUT_ARRAY_MAX. */
6 #include "internal.h"cxx . . $ `<file>/include/internal.h`/
7
8 struct nlattrcxx . . $ nlattr#;
9 struct nlmsghdrcxx . . $ nlmsghdr#;
10 struct nftnl_objcxx . . $ nftnl_obj#;
11
12 struct nftnl_objcxx . . $ nftnl_obj# {
13 struct list_headcxx . . $ list_head# headcxx . . $ nftnl_obj#head.;
14 struct obj_opscxx . . $ obj_ops# *opscxx . . $ nftnl_obj#ops.;
15
16 const char *tablecxx . . $ nftnl_obj#table.;
17 const char *namecxx . . $ nftnl_obj#name.;
18
19 uint32_tcxx . . $ uint32_t# familycxx . . $ nftnl_obj#family.;
20 uint32_tcxx . . $ uint32_t# usecxx . . $ nftnl_obj#use.;
21
22 uint32_tcxx . . $ uint32_t# flagscxx . . $ nftnl_obj#flags.;
23 uint64_tcxx . . $ uint64_t# handlecxx . . $ nftnl_obj#handle.;
24
25 structcxx . . $ nftnl_obj#$anonymous_type_0# {
26 void *datacxx . . $ nftnl_obj#$anonymous_type_0#data.;
27 uint32_tcxx . . $ uint32_t# lencxx . . $ nftnl_obj#$anonymous_type_0#len.;
28 } usercxx . . $ nftnl_obj#user.;
29
30 unioncxx . . $ nftnl_obj#$anonymous_type_1# {
31 struct nftnl_obj_countercxx . . $ nftnl_obj_counter# {
32 uint64_tcxx . . $ uint64_t# pktscxx . . $ nftnl_obj_counter#pkts.;
33 uint64_tcxx . . $ uint64_t# bytescxx . . $ nftnl_obj_counter#bytes.;
34 } countercxx . . $ nftnl_obj#$anonymous_type_1#counter.;
35 struct nftnl_obj_quotacxx . . $ nftnl_obj_quota# {
36 uint64_tcxx . . $ uint64_t# bytescxx . . $ nftnl_obj_quota#bytes.;
37 uint64_tcxx . . $ uint64_t# consumedcxx . . $ nftnl_obj_quota#consumed.;
38 uint32_tcxx . . $ uint32_t# flagscxx . . $ nftnl_obj_quota#flags.;
39 } quotacxx . . $ nftnl_obj#$anonymous_type_1#quota.;
40 struct nftnl_obj_ct_helpercxx . . $ nftnl_obj_ct_helper# {
41 uint16_tcxx . . $ uint16_t# l3protocxx . . $ nftnl_obj_ct_helper#l3proto.;
42 uint8_tcxx . . $ uint8_t# l4protocxx . . $ nftnl_obj_ct_helper#l4proto.;
43 char namecxx . . $ nftnl_obj_ct_helper#name.[16];
44 } ct_helpercxx . . $ nftnl_obj#$anonymous_type_1#ct_helper.;
45 struct nftnl_obj_ct_timeoutcxx . . $ nftnl_obj_ct_timeout# {
46 uint16_tcxx . . $ uint16_t# l3protocxx . . $ nftnl_obj_ct_timeout#l3proto.;
47 uint8_tcxx . . $ uint8_t# l4protocxx . . $ nftnl_obj_ct_timeout#l4proto.;
48 uint32_tcxx . . $ uint32_t# timeoutcxx . . $ nftnl_obj_ct_timeout#timeout.[NFTNL_CTTIMEOUT_ARRAY_MAXcxx . . $ NFTNL_CTTIMEOUT_TCP_MAX.];
49 } ct_timeoutcxx . . $ nftnl_obj#$anonymous_type_1#ct_timeout.;
50 struct nftnl_obj_ct_expectcxx . . $ nftnl_obj_ct_expect# {
51 uint16_tcxx . . $ uint16_t# l3protocxx . . $ nftnl_obj_ct_expect#l3proto.;
52 uint16_tcxx . . $ uint16_t# dportcxx . . $ nftnl_obj_ct_expect#dport.;
53 uint8_tcxx . . $ uint8_t# l4protocxx . . $ nftnl_obj_ct_expect#l4proto.;
54 uint8_tcxx . . $ uint8_t# sizecxx . . $ nftnl_obj_ct_expect#size.;
55 uint32_tcxx . . $ uint32_t# timeoutcxx . . $ nftnl_obj_ct_expect#timeout.;
56 } ct_expectcxx . . $ nftnl_obj#$anonymous_type_1#ct_expect.;
57 struct nftnl_obj_limitcxx . . $ nftnl_obj_limit# {
58 uint64_tcxx . . $ uint64_t# ratecxx . . $ nftnl_obj_limit#rate.;
59 uint64_tcxx . . $ uint64_t# unitcxx . . $ nftnl_obj_limit#unit.;
60 uint32_tcxx . . $ uint32_t# burstcxx . . $ nftnl_obj_limit#burst.;
61 uint32_tcxx . . $ uint32_t# typecxx . . $ nftnl_obj_limit#type.;
62 uint32_tcxx . . $ uint32_t# flagscxx . . $ nftnl_obj_limit#flags.;
63 } limitcxx . . $ nftnl_obj#$anonymous_type_1#limit.;
64 struct nftnl_obj_synproxycxx . . $ nftnl_obj_synproxy# {
65 uint16_tcxx . . $ uint16_t# msscxx . . $ nftnl_obj_synproxy#mss.;
66 uint8_tcxx . . $ uint8_t# wscalecxx . . $ nftnl_obj_synproxy#wscale.;
67 uint32_tcxx . . $ uint32_t# flagscxx . . $ nftnl_obj_synproxy#flags.;
68 } synproxycxx . . $ nftnl_obj#$anonymous_type_1#synproxy.;
69 struct nftnl_obj_tunnelcxx . . $ nftnl_obj_tunnel# {
70 uint32_tcxx . . $ uint32_t# idcxx . . $ nftnl_obj_tunnel#id.;
71 uint32_tcxx . . $ uint32_t# src_v4cxx . . $ nftnl_obj_tunnel#src_v4.;
72 uint32_tcxx . . $ uint32_t# dst_v4cxx . . $ nftnl_obj_tunnel#dst_v4.;
73 struct in6_addrcxx . . $ in6_addr# src_v6cxx . . $ nftnl_obj_tunnel#src_v6.;
74 struct in6_addrcxx . . $ in6_addr# dst_v6cxx . . $ nftnl_obj_tunnel#dst_v6.;
75 uint16_tcxx . . $ uint16_t# sportcxx . . $ nftnl_obj_tunnel#sport.;
76 uint16_tcxx . . $ uint16_t# dportcxx . . $ nftnl_obj_tunnel#dport.;
77 uint32_tcxx . . $ uint32_t# flowlabelcxx . . $ nftnl_obj_tunnel#flowlabel.;
78 uint32_tcxx . . $ uint32_t# tun_flagscxx . . $ nftnl_obj_tunnel#tun_flags.;
79 uint8_tcxx . . $ uint8_t# tun_toscxx . . $ nftnl_obj_tunnel#tun_tos.;
80 uint8_tcxx . . $ uint8_t# tun_ttlcxx . . $ nftnl_obj_tunnel#tun_ttl.;
81 struct nftnl_tunnel_optscxx . . $ nftnl_tunnel_opts# *tun_optscxx . . $ nftnl_obj_tunnel#tun_opts.;
82 } tunnelcxx . . $ nftnl_obj#$anonymous_type_1#tunnel.;
83 struct nftnl_obj_secmarkcxx . . $ nftnl_obj_secmark# {
84 char ctxcxx . . $ nftnl_obj_secmark#ctx.[NFT_SECMARK_CTX_MAXLENcxx . . $ `include/linux/netfilter/nf_tables.h:1397:9`!];
85 } secmarkcxx . . $ nftnl_obj#$anonymous_type_1#secmark.;
86 struct nftnl_obj_connlimitcxx . . $ nftnl_obj_connlimit# {
87 uint32_tcxx . . $ uint32_t# countcxx . . $ nftnl_obj_connlimit#count.;
88 uint32_tcxx . . $ uint32_t# flagscxx . . $ nftnl_obj_connlimit#flags.;
89 } connlimitcxx . . $ nftnl_obj#$anonymous_type_1#connlimit.;
90 } datacxx . . $ nftnl_obj#data.;
91 };
92
93 struct obj_opscxx . . $ obj_ops# {
94 const char *namecxx . . $ obj_ops#name.;
95 uint32_tcxx . . $ uint32_t# typecxx . . $ obj_ops#type.;
96 size_t alloc_lencxx . . $ obj_ops#alloc_len.;
97 int nftnl_max_attrcxx . . $ obj_ops#nftnl_max_attr.;
98 struct attr_policycxx . . $ attr_policy# *attr_policycxx . . $ obj_ops#attr_policy.;
99 int (*setcxx . . $ obj_ops#set.)(struct nftnl_objcxx . . $ nftnl_obj# *e, uint16_tcxx . . $ uint16_t# type, const void *data, uint32_tcxx . . $ uint32_t# data_len);
100 const void *(*getcxx . . $ obj_ops#get.)(const struct nftnl_objcxx . . $ nftnl_obj# *e, uint16_tcxx . . $ uint16_t# type, uint32_tcxx . . $ uint32_t# *data_len);
101 int (*parsecxx . . $ obj_ops#parse.)(struct nftnl_objcxx . . $ nftnl_obj# *e, struct nlattrcxx . . $ nlattr# *attr);
102 void (*buildcxx . . $ obj_ops#build.)(struct nlmsghdrcxx . . $ nlmsghdr# *nlh, const struct nftnl_objcxx . . $ nftnl_obj# *e);
103 int (*outputcxx . . $ obj_ops#output.)(char *buf, size_t len, uint32_tcxx . . $ uint32_t# flags, const struct nftnl_objcxx . . $ nftnl_obj# *e);
104 };
105
106 extern struct obj_opscxx . . $ obj_ops# obj_ops_countercxx . . $ obj_ops_counter.;
107 extern struct obj_opscxx . . $ obj_ops# obj_ops_quotacxx . . $ obj_ops_quota.;
108 extern struct obj_opscxx . . $ obj_ops# obj_ops_ct_helpercxx . . $ obj_ops_ct_helper.;
109 extern struct obj_opscxx . . $ obj_ops# obj_ops_ct_timeoutcxx . . $ obj_ops_ct_timeout.;
110 extern struct obj_opscxx . . $ obj_ops# obj_ops_ct_expectcxx . . $ obj_ops_ct_expect.;
111 extern struct obj_opscxx . . $ obj_ops# obj_ops_limitcxx . . $ obj_ops_limit.;
112 extern struct obj_opscxx . . $ obj_ops# obj_ops_synproxycxx . . $ obj_ops_synproxy.;
113 extern struct obj_opscxx . . $ obj_ops# obj_ops_tunnelcxx . . $ obj_ops_tunnel.;
114 extern struct obj_opscxx . . $ obj_ops# obj_ops_secmarkcxx . . $ obj_ops_secmark.;
115 extern struct obj_opscxx . . $ obj_ops# obj_ops_connlimitcxx . . $ obj_ops_connlimit.;
116
117 #define nftnl_obj_datacxx . . $ `include/obj.h:117:9`!(obj) (void *)&obj->data
118
119 #endif