/openbmc/linux/net/netfilter/ |
H A D | nft_objref.c | 14 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr)) 20 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_eval() 29 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_init() 55 const struct nft_object *obj = nft_objref_priv(expr); in nft_objref_dump() 72 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_deactivate() 83 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_activate() 90 .size = NFT_EXPR_SIZE(sizeof(struct nft_object *)), 113 struct nft_object *obj; in nft_objref_map_eval()
|
H A D | nft_quota.c | 49 static void nft_quota_obj_eval(struct nft_object *obj, in nft_quota_obj_eval() 112 struct nft_object *obj) in nft_quota_obj_init() 119 static void nft_quota_obj_update(struct nft_object *obj, in nft_quota_obj_update() 120 struct nft_object *newobj) in nft_quota_obj_update() 167 static int nft_quota_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_quota_obj_dump() 176 struct nft_object *obj) in nft_quota_obj_destroy()
|
H A D | nft_limit.c | 328 static void nft_limit_obj_pkts_eval(struct nft_object *obj, in nft_limit_obj_pkts_eval() 340 struct nft_object *obj) in nft_limit_obj_pkts_init() 354 struct nft_object *obj, in nft_limit_obj_pkts_dump() 363 struct nft_object *obj) in nft_limit_obj_pkts_destroy() 380 static void nft_limit_obj_bytes_eval(struct nft_object *obj, in nft_limit_obj_bytes_eval() 393 struct nft_object *obj) in nft_limit_obj_bytes_init() 401 struct nft_object *obj, in nft_limit_obj_bytes_dump() 410 struct nft_object *obj) in nft_limit_obj_bytes_destroy()
|
H A D | nft_synproxy.c | 308 struct nft_object *obj) in nft_synproxy_obj_init() 316 struct nft_object *obj) in nft_synproxy_obj_destroy() 322 struct nft_object *obj, bool reset) in nft_synproxy_obj_dump() 329 static void nft_synproxy_obj_eval(struct nft_object *obj, in nft_synproxy_obj_eval() 338 static void nft_synproxy_obj_update(struct nft_object *obj, in nft_synproxy_obj_update() 339 struct nft_object *newobj) in nft_synproxy_obj_update()
|
H A D | nft_connlimit.c | 122 static inline void nft_connlimit_obj_eval(struct nft_object *obj, in nft_connlimit_obj_eval() 133 struct nft_object *obj) in nft_connlimit_obj_init() 141 struct nft_object *obj) in nft_connlimit_obj_destroy() 149 struct nft_object *obj, bool reset) in nft_connlimit_obj_dump()
|
H A D | nft_counter.c | 50 static inline void nft_counter_obj_eval(struct nft_object *obj, in nft_counter_obj_eval() 86 struct nft_object *obj) in nft_counter_obj_init() 99 struct nft_object *obj) in nft_counter_obj_destroy() 171 struct nft_object *obj, bool reset) in nft_counter_obj_dump()
|
H A D | nft_ct.c | 901 static void nft_ct_timeout_obj_eval(struct nft_object *obj, in nft_ct_timeout_obj_eval() 937 struct nft_object *obj) in nft_ct_timeout_obj_init() 992 struct nft_object *obj) in nft_ct_timeout_obj_destroy() 1003 struct nft_object *obj, bool reset) in nft_ct_timeout_obj_dump() 1053 struct nft_object *obj) in nft_ct_helper_obj_init() 1125 struct nft_object *obj) in nft_ct_helper_obj_destroy() 1137 static void nft_ct_helper_obj_eval(struct nft_object *obj, in nft_ct_helper_obj_eval() 1178 struct nft_object *obj, bool reset) in nft_ct_helper_obj_dump() 1242 struct nft_object *obj) in nft_ct_expect_obj_init() 1288 struct nft_object *obj) in nft_ct_expect_obj_destroy() [all …]
|
H A D | nft_tunnel.c | 444 struct nft_object *obj) in nft_tunnel_obj_init() 525 static inline void nft_tunnel_obj_eval(struct nft_object *obj, in nft_tunnel_obj_eval() 675 struct nft_object *obj, bool reset) in nft_tunnel_obj_dump() 697 struct nft_object *obj) in nft_tunnel_obj_destroy()
|
H A D | nft_meta.c | 938 static void nft_secmark_obj_eval(struct nft_object *obj, struct nft_regs *regs, in nft_secmark_obj_eval() 949 struct nft_object *obj) in nft_secmark_obj_init() 972 static int nft_secmark_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_secmark_obj_dump() 990 static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj) in nft_secmark_obj_destroy()
|
H A D | nf_tables_api.c | 65 .head_offset = offsetof(struct nft_object, rhlhead), 66 .key_offset = offsetof(struct nft_object, key), 666 struct nft_object *obj) in nft_trans_obj_add() 683 static int nft_delobj(struct nft_ctx *ctx, struct nft_object *obj) in nft_delobj() 1324 const struct nft_object *obj = data; in nft_objname_hash_obj() 1333 const struct nft_object *obj = ptr; in nft_objname_hash_cmp() 1463 struct nft_object *obj, *ne; in nft_flush_table() 5620 .len = sizeof(struct nft_object *), 5621 .align = __alignof__(struct nft_object *), 6693 struct nft_object *obj = NULL; in nft_add_set_elem() [all …]
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_tables.h | 835 static inline struct nft_object **nft_set_ext_obj(const struct nft_set_ext *ext) in nft_set_ext_obj() 1296 * struct nft_object_hash_key - key to lookup nft_object 1307 * struct nft_object - nf_tables stateful object 1320 struct nft_object { argument 1335 static inline void *nft_obj_data(const struct nft_object *obj) in nft_obj_data() 1340 #define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr)) 1342 struct nft_object *nft_obj_lookup(const struct net *net, 1348 struct nft_object *obj, u32 portid, u32 seq, 1387 void (*eval)(struct nft_object *obj, 1393 struct nft_object *ob 1317 struct nft_object { global() struct 1327 ____cacheline_alignednft_object global() argument 1332 datanft_object nft_obj_data() argument [all...] |