/net/netfilter/ |
H A D | nft_masq.c | 24 int nft_masq_init(const struct nft_ctx *ctx, argument 31 err = nft_chain_validate_dependency(ctx->chain, NFT_CHAIN_T_NAT); 63 int nft_masq_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, argument 66 return nft_chain_validate_dependency(ctx->chain, NFT_CHAIN_T_NAT);
|
H A D | nft_reject.c | 29 int nft_reject_init(const struct nft_ctx *ctx, argument
|
H A D | nft_expr_template.c | 34 static int nft_template_init(const struct nft_ctx *ctx, argument 43 static void nft_template_destroy(const struct nft_ctx *ctx, argument
|
H A D | nft_reject_inet.c | 62 static int nft_reject_inet_init(const struct nft_ctx *ctx, argument
|
H A D | nft_bitwise.c | 51 static int nft_bitwise_init(const struct nft_ctx *ctx, argument 75 err = nft_validate_data_load(ctx, priv->dreg, NULL, NFT_DATA_VALUE);
|
H A D | nft_counter.c | 66 static int nft_counter_init(const struct nft_ctx *ctx, argument
|
H A D | nft_exthdr.c | 56 static int nft_exthdr_init(const struct nft_ctx *ctx, argument 80 return nft_validate_data_load(ctx, priv->dreg, NULL, NFT_DATA_VALUE);
|
H A D | nft_immediate.c | 40 static int nft_immediate_init(const struct nft_ctx *ctx, argument 57 err = nft_data_init(ctx, &priv->data, &desc, tb[NFTA_IMMEDIATE_DATA]); 62 err = nft_validate_data_load(ctx, priv->dreg, &priv->data, desc.type); 73 static void nft_immediate_destroy(const struct nft_ctx *ctx, argument 94 static int nft_immediate_validate(const struct nft_ctx *ctx, argument
|
H A D | nft_limit.c | 56 static int nft_limit_init(const struct nft_ctx *ctx, argument
|
H A D | nft_log.c | 49 static int nft_log_init(const struct nft_ctx *ctx, argument 101 if (ctx->afi->family == NFPROTO_INET) { 114 return nf_logger_find_get(ctx->afi->family, li->type); 117 static void nft_log_destroy(const struct nft_ctx *ctx, argument 126 if (ctx->afi->family == NFPROTO_INET) { 130 nf_logger_put(ctx->afi->family, li->type);
|
H A D | nft_lookup.c | 46 static int nft_lookup_init(const struct nft_ctx *ctx, argument 58 set = nf_tables_set_lookup(ctx->table, tb[NFTA_LOOKUP_SET]); 61 set = nf_tables_set_lookup_byid(ctx->net, 90 err = nf_tables_bind_set(ctx, set, &priv->binding); 98 static void nft_lookup_destroy(const struct nft_ctx *ctx, argument 103 nf_tables_unbind_set(ctx, priv->set, &priv->binding);
|
H A D | nft_meta.c | 210 int nft_meta_get_init(const struct nft_ctx *ctx, argument 253 err = nft_validate_data_load(ctx, priv->dreg, NULL, NFT_DATA_VALUE); 261 int nft_meta_set_init(const struct nft_ctx *ctx, argument 338 nft_meta_select_ops(const struct nft_ctx *ctx, argument
|
H A D | nft_payload.c | 60 static int nft_payload_init(const struct nft_ctx *ctx, argument 75 return nft_validate_data_load(ctx, priv->dreg, NULL, NFT_DATA_VALUE); 111 nft_payload_select_ops(const struct nft_ctx *ctx, argument
|
H A D | nft_queue.c | 63 static int nft_queue_init(const struct nft_ctx *ctx, argument
|
H A D | nft_byteorder.c | 76 static int nft_byteorder_init(const struct nft_ctx *ctx, argument 99 err = nft_validate_data_load(ctx, priv->dreg, NULL, NFT_DATA_VALUE);
|
H A D | nft_cmp.c | 71 static int nft_cmp_init(const struct nft_ctx *ctx, const struct nft_expr *expr, argument 115 static int nft_cmp_fast_init(const struct nft_ctx *ctx, argument 166 nft_cmp_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) argument
|
H A D | nft_ct.c | 218 static int nft_ct_get_init(const struct nft_ctx *ctx, argument 273 err = nft_validate_data_load(ctx, priv->dreg, NULL, NFT_DATA_VALUE); 277 err = nft_ct_l3proto_try_module_get(ctx->afi->family); 284 static int nft_ct_set_init(const struct nft_ctx *ctx, argument 306 err = nft_ct_l3proto_try_module_get(ctx->afi->family); 313 static void nft_ct_destroy(const struct nft_ctx *ctx, argument 316 nft_ct_l3proto_module_put(ctx->afi->family); 380 nft_ct_select_ops(const struct nft_ctx *ctx, argument
|
H A D | nft_hash.c | 122 static void nft_hash_walk(const struct nft_ctx *ctx, const struct nft_set *set, argument 142 iter->err = iter->fn(ctx, set, iter, &elem);
|
H A D | nft_nat.c | 91 static int nft_nat_init(const struct nft_ctx *ctx, const struct nft_expr *expr, argument 98 err = nft_chain_validate_dependency(ctx->chain, NFT_CHAIN_T_NAT); 124 if (family != ctx->afi->family) 222 static int nft_nat_validate(const struct nft_ctx *ctx, argument 226 return nft_chain_validate_dependency(ctx->chain, NFT_CHAIN_T_NAT);
|
H A D | nft_rbtree.c | 184 static void nft_rbtree_walk(const struct nft_ctx *ctx, argument 205 iter->err = iter->fn(ctx, set, iter, &elem);
|
/net/bridge/netfilter/ |
H A D | nft_meta_bridge.c | 51 static int nft_meta_bridge_get_init(const struct nft_ctx *ctx, argument 64 return nft_meta_get_init(ctx, expr, tb); 72 err = nft_validate_data_load(ctx, priv->dreg, NULL, NFT_DATA_VALUE); 97 nft_meta_bridge_select_ops(const struct nft_ctx *ctx, argument
|
H A D | nft_reject_bridge.c | 328 static int nft_reject_bridge_init(const struct nft_ctx *ctx, argument 335 err = nft_reject_bridge_validate_hooks(ctx->chain); 386 static int nft_reject_bridge_validate(const struct nft_ctx *ctx, argument 390 return nft_reject_bridge_validate_hooks(ctx->chain);
|
/net/sunrpc/auth_gss/ |
H A D | gss_krb5_seal.c | 74 setup_token(struct krb5_ctx *ctx, struct xdr_netobj *token) argument 78 int body_size = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; 80 token->len = g_token_size(&ctx->mech_used, body_size); 83 g_make_token_header(&ctx->mech_used, body_size, (unsigned char **)&ptr); 92 *ptr++ = (__force u16)cpu_to_le16(ctx->gk5e->signalg); 100 setup_token_v2(struct krb5_ctx *ctx, struct xdr_netobj *token) argument 106 if ((ctx->flags & KRB5_CTX_FLAG_INITIATOR) == 0) 108 if (ctx->flags & KRB5_CTX_FLAG_ACCEPTOR_SUBKEY) 123 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; 128 gss_get_mic_v1(struct krb5_ctx *ctx, struc argument 169 gss_get_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *text, struct xdr_netobj *token) argument 215 struct krb5_ctx *ctx = gss_ctx->internal_ctx_id; local [all...] |
H A D | gss_krb5_unseal.c | 74 gss_verify_mic_v1(struct krb5_ctx *ctx, argument 91 if (g_verify_token_header(&ctx->mech_used, &bodysize, &ptr, 102 if (signalg != ctx->gk5e->signalg) 112 if (ctx->gk5e->keyed_cksum) 113 cksumkey = ctx->cksum; 117 if (make_checksum(ctx, ptr, 8, message_buffer, 0, 122 ctx->gk5e->cksumlength)) 129 if (now > ctx->endtime) 134 if (krb5_get_seq_num(ctx, ptr + GSS_KRB5_TOK_HDR_LEN, ptr + 8, 138 if ((ctx 146 gss_verify_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *message_buffer, struct xdr_netobj *read_token) argument 212 struct krb5_ctx *ctx = gss_ctx->internal_ctx_id; local [all...] |
/net/ipv4/ |
H A D | tcp_fastopen.c | 33 struct tcp_fastopen_context *ctx = local 35 crypto_free_cipher(ctx->tfm); 36 kfree(ctx); 42 struct tcp_fastopen_context *ctx, *octx; local 44 ctx = kmalloc(sizeof(*ctx), GFP_KERNEL); 45 if (!ctx) 47 ctx->tfm = crypto_alloc_cipher("aes", 0, 0); 49 if (IS_ERR(ctx->tfm)) { 50 err = PTR_ERR(ctx 78 struct tcp_fastopen_context *ctx; local [all...] |