/net/sunrpc/auth_gss/ |
H A D | gss_krb5_mech.c | 220 struct krb5_ctx *ctx, struct crypto_blkcipher **res) 248 *res = crypto_alloc_blkcipher(ctx->gk5e->encrypt_name, 0, 252 "crypto algorithm %s\n", ctx->gk5e->encrypt_name); 258 "crypto algorithm %s\n", ctx->gk5e->encrypt_name); 275 gss_import_v1_context(const void *p, const void *end, struct krb5_ctx *ctx) argument 279 p = simple_get_bytes(p, end, &ctx->initiate, sizeof(ctx->initiate)); 284 ctx->enctype = ENCTYPE_DES_CBC_RAW; 286 ctx->gk5e = get_gss_krb5_enctype(ctx 219 get_key(const void *p, const void *end, struct krb5_ctx *ctx, struct crypto_blkcipher **res) argument 348 context_v2_alloc_cipher(struct krb5_ctx *ctx, const char *cname, u8 *key) argument 378 context_derive_keys_des3(struct krb5_ctx *ctx, gfp_t gfp_mask) argument 428 context_derive_keys_rc4(struct krb5_ctx *ctx) argument 496 context_derive_keys_new(struct krb5_ctx *ctx, gfp_t gfp_mask) argument 607 gss_import_v2_context(const void *p, const void *end, struct krb5_ctx *ctx, gfp_t gfp_mask) argument 686 struct krb5_ctx *ctx; local [all...] |
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...] |
H A D | auth_gss.c | 118 gss_get_ctx(struct gss_cl_ctx *ctx) argument 120 atomic_inc(&ctx->count); 121 return ctx; 125 gss_put_ctx(struct gss_cl_ctx *ctx) argument 127 if (atomic_dec_and_test(&ctx->count)) 128 gss_free_ctx(ctx); 137 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) argument 143 gss_get_ctx(ctx); 144 rcu_assign_pointer(gss_cred->gc_ctx, ctx); 183 struct gss_cl_ctx *ctx local 196 struct gss_cl_ctx *ctx; local 210 gss_fill_context(const void *p, const void *end, struct gss_cl_ctx *ctx, struct gss_api_mech *gm) argument 298 struct gss_cl_ctx *ctx; member in struct:gss_upcall_msg 680 struct gss_cl_ctx *ctx; local 1211 struct gss_cl_ctx *ctx = rcu_dereference_protected(gss_cred->gc_ctx, 1); local 1236 gss_do_free_ctx(struct gss_cl_ctx *ctx) argument 1249 struct gss_cl_ctx *ctx = container_of(head, struct gss_cl_ctx, gc_rcu); local 1254 gss_free_ctx(struct gss_cl_ctx *ctx) argument 1278 struct gss_cl_ctx *ctx = rcu_dereference_protected(gss_cred->gc_ctx, 1); local 1355 struct gss_cl_ctx *ctx; local 1413 struct gss_cl_ctx *ctx; local 1431 struct gss_cl_ctx *ctx; local 1483 struct gss_cl_ctx *ctx = gss_cred_get_ctx(cred); local 1608 struct gss_cl_ctx *ctx = gss_cred_get_ctx(cred); local 1664 gss_wrap_req_integ(struct rpc_cred *cred, struct gss_cl_ctx *ctx, kxdreproc_t encode, struct rpc_rqst *rqstp, __be32 *p, void *obj) argument 1755 gss_wrap_req_priv(struct rpc_cred *cred, struct gss_cl_ctx *ctx, kxdreproc_t encode, struct rpc_rqst *rqstp, __be32 *p, void *obj) argument 1829 struct gss_cl_ctx *ctx = gss_cred_get_ctx(cred); local 1860 gss_unwrap_resp_integ(struct rpc_cred *cred, struct gss_cl_ctx *ctx, struct rpc_rqst *rqstp, __be32 **p) argument 1897 gss_unwrap_resp_priv(struct rpc_cred *cred, struct gss_cl_ctx *ctx, struct rpc_rqst *rqstp, __be32 **p) argument 1941 struct gss_cl_ctx *ctx = gss_cred_get_ctx(cred); local [all...] |
H A D | gss_rpc_xdr.c | 351 struct gssx_call_ctx *ctx) 357 /* ctx->locale */ 358 err = gssx_enc_buffer(xdr, &ctx->locale); 362 /* ctx->server_ctx */ 363 err = gssx_enc_buffer(xdr, &ctx->server_ctx); 368 /* ctx->options */ 577 struct gssx_ctx *ctx) 582 /* ctx->exported_context_token */ 583 err = gssx_enc_buffer(xdr, &ctx->exported_context_token); 587 /* ctx 350 gssx_enc_call_ctx(struct xdr_stream *xdr, struct gssx_call_ctx *ctx) argument 576 gssx_enc_ctx(struct xdr_stream *xdr, struct gssx_ctx *ctx) argument 639 gssx_dec_ctx(struct xdr_stream *xdr, struct gssx_ctx *ctx) argument [all...] |
/net/mac80211/ |
H A D | chan.c | 13 struct ieee80211_chanctx *ctx) 20 list_for_each_entry(sdata, &ctx->assigned_vifs, assigned_chanctx_list) 27 struct ieee80211_chanctx *ctx) 34 list_for_each_entry(sdata, &ctx->reserved_vifs, reserved_chanctx_list) 41 struct ieee80211_chanctx *ctx) 43 return ieee80211_chanctx_num_assigned(local, ctx) + 44 ieee80211_chanctx_num_reserved(local, ctx); 49 struct ieee80211_chanctx *ctx; local 54 list_for_each_entry(ctx, &local->chanctx_list, list) 82 struct ieee80211_chanctx *ctx, 12 ieee80211_chanctx_num_assigned(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 26 ieee80211_chanctx_num_reserved(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 40 ieee80211_chanctx_refcount(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 81 ieee80211_chanctx_reserved_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *compat) argument 104 ieee80211_chanctx_non_reserved_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *compat) argument 130 ieee80211_chanctx_combined_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *compat) argument 148 ieee80211_chanctx_can_reserve_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *def) argument 169 struct ieee80211_chanctx *ctx; local 300 ieee80211_recalc_chanctx_min_def(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 333 ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *chandef) argument 357 struct ieee80211_chanctx *ctx; local 413 struct ieee80211_chanctx *ctx; local 433 ieee80211_add_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 469 struct ieee80211_chanctx *ctx; local 489 ieee80211_del_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 516 ieee80211_free_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 528 ieee80211_recalc_chanctx_chantype(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 776 struct ieee80211_chanctx *ctx = sdata->reserved_chanctx; local 815 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; local 1098 struct ieee80211_chanctx *ctx, *old_ctx; local 1143 struct ieee80211_chanctx *ctx; local 1183 struct ieee80211_chanctx *ctx, *ctx_tmp, *old_ctx; local 1436 struct ieee80211_chanctx *ctx; local 1472 struct ieee80211_chanctx *ctx; local 1594 struct ieee80211_chanctx *ctx; local 1698 struct ieee80211_chanctx *ctx; local [all...] |
H A D | tkip.c | 84 static void tkip_mixing_phase1(const u8 *tk, struct tkip_ctx *ctx, argument 88 u16 *p1k = ctx->p1k; 104 ctx->state = TKIP_STATE_PHASE1_DONE; 105 ctx->p1k_iv32 = tsc_IV32; 108 static void tkip_mixing_phase2(const u8 *tk, struct tkip_ctx *ctx, argument 112 const u16 *p1k = ctx->p1k; 158 struct tkip_ctx *ctx = &key->u.tkip.tx; local 170 if (ctx->p1k_iv32 != iv32 || ctx->state == TKIP_STATE_NOT_INIT) 171 tkip_mixing_phase1(tk, ctx, sdat 179 struct tkip_ctx *ctx = &key->u.tkip.tx; local 192 struct tkip_ctx ctx; local 205 struct tkip_ctx *ctx = &key->u.tkip.tx; local [all...] |
H A D | driver-ops.h | 990 struct ieee80211_chanctx *ctx) 994 trace_drv_add_chanctx(local, ctx); 996 ret = local->ops->add_chanctx(&local->hw, &ctx->conf); 999 ctx->driver_present = true; 1005 struct ieee80211_chanctx *ctx) 1007 if (WARN_ON(!ctx->driver_present)) 1010 trace_drv_remove_chanctx(local, ctx); 1012 local->ops->remove_chanctx(&local->hw, &ctx->conf); 1014 ctx->driver_present = false; 1018 struct ieee80211_chanctx *ctx, 989 drv_add_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 1004 drv_remove_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 1017 drv_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, u32 changed) argument 1029 drv_assign_vif_chanctx(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_chanctx *ctx) argument 1050 drv_unassign_vif_chanctx(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_chanctx *ctx) argument [all...] |
/net/ipv4/netfilter/ |
H A D | nf_nat_snmp_basic.c | 152 static void asn1_open(struct asn1_ctx *ctx, argument 156 ctx->begin = buf; 157 ctx->end = buf + len; 158 ctx->pointer = buf; 159 ctx->error = ASN1_ERR_NOERROR; 162 static unsigned char asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) argument 164 if (ctx->pointer >= ctx->end) { 165 ctx->error = ASN1_ERR_DEC_EMPTY; 168 *ch = *(ctx 172 asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) argument 188 asn1_id_decode(struct asn1_ctx *ctx, unsigned int *cls, unsigned int *con, unsigned int *tag) argument 209 asn1_length_decode(struct asn1_ctx *ctx, unsigned int *def, unsigned int *len) argument 246 asn1_header_decode(struct asn1_ctx *ctx, unsigned char **eoc, unsigned int *cls, unsigned int *con, unsigned int *tag) argument 272 asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) argument 302 asn1_null_decode(struct asn1_ctx *ctx, unsigned char *eoc) argument 308 asn1_long_decode(struct asn1_ctx *ctx, unsigned char *eoc, long *integer) argument 336 asn1_uint_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned int *integer) argument 365 asn1_ulong_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned long *integer) argument 394 asn1_octets_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned char **octets, unsigned int *len) argument 419 asn1_subid_decode(struct asn1_ctx *ctx, unsigned long *subid) argument 436 asn1_oid_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned long **oid, unsigned int *len) argument 671 snmp_object_decode(struct asn1_ctx *ctx, struct snmp_object **obj) argument 830 snmp_request_decode(struct asn1_ctx *ctx, struct snmp_request *request) argument 923 snmp_trap_decode(struct asn1_ctx *ctx, struct snmp_v1_trap *trap, const struct oct1_map *map, __sum16 *check) argument 1024 struct asn1_ctx ctx; local [all...] |
/net/netfilter/ |
H A D | nf_tables_api.c | 91 static void nft_ctx_init(struct nft_ctx *ctx, argument 99 ctx->net = sock_net(skb->sk); 100 ctx->afi = afi; 101 ctx->table = table; 102 ctx->chain = chain; 103 ctx->nla = nla; 104 ctx->portid = NETLINK_CB(skb).portid; 105 ctx->report = nlmsg_report(nlh); 106 ctx->seq = nlh->nlmsg_seq; 109 static struct nft_trans *nft_trans_alloc(struct nft_ctx *ctx, in argument 142 nft_trans_table_add(struct nft_ctx *ctx, int msg_type) argument 157 nft_deltable(struct nft_ctx *ctx) argument 169 nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) argument 184 nft_delchain(struct nft_ctx *ctx) argument 234 nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule) argument 245 nft_trans_rule_add(struct nft_ctx *ctx, int msg_type, struct nft_rule *rule) argument 260 nft_delrule(struct nft_ctx *ctx, struct nft_rule *rule) argument 278 nft_delrule_by_chain(struct nft_ctx *ctx) argument 294 nft_trans_set_add(struct nft_ctx *ctx, int msg_type, struct nft_set *set) argument 314 nft_delset(struct nft_ctx *ctx, struct nft_set *set) argument 437 nf_tables_table_notify(const struct nft_ctx *ctx, int event) argument 598 nf_tables_updtable(struct nft_ctx *ctx) argument 652 struct nft_ctx ctx; local 710 nft_flush_table(struct nft_ctx *ctx) argument 743 nft_flush(struct nft_ctx *ctx, int family) argument 780 struct nft_ctx ctx; local 802 nf_tables_table_destroy(struct nft_ctx *ctx) argument 977 nf_tables_chain_notify(const struct nft_ctx *ctx, int event) argument 1189 struct nft_ctx ctx; local 1402 struct nft_ctx ctx; local 1540 nf_tables_expr_parse(const struct nft_ctx *ctx, const struct nlattr *nla, struct nft_expr_info *info) argument 1583 nf_tables_newexpr(const struct nft_ctx *ctx, const struct nft_expr_info *info, struct nft_expr *expr) argument 1604 nf_tables_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr) argument 1713 nf_tables_rule_notify(const struct nft_ctx *ctx, const struct nft_rule *rule, int event) argument 1855 nf_tables_rule_destroy(const struct nft_ctx *ctx, struct nft_rule *rule) argument 1888 struct nft_ctx ctx; local 2048 struct nft_ctx ctx; local 2203 nft_ctx_init_from_setattr(struct nft_ctx *ctx, const struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[]) argument 2263 nf_tables_set_alloc_name(struct nft_ctx *ctx, struct nft_set *set, const char *name) argument 2308 nf_tables_fill_set(struct sk_buff *skb, const struct nft_ctx *ctx, const struct nft_set *set, u16 event, u16 flags) argument 2367 nf_tables_set_notify(const struct nft_ctx *ctx, const struct nft_set *set, int event, gfp_t gfp_flags) argument 2406 struct nft_ctx *ctx = cb->data, ctx_set; local 2475 struct nft_ctx ctx; local 2527 nf_tables_set_desc_parse(const struct nft_ctx *ctx, struct nft_set_desc *desc, const struct nlattr *nla) argument 2554 struct nft_ctx ctx; local 2705 nf_tables_set_destroy(const struct nft_ctx *ctx, struct nft_set *set) argument 2718 struct nft_ctx ctx; local 2741 nf_tables_bind_check_setelem(const struct nft_ctx *ctx, const struct nft_set *set, const struct nft_set_iter *iter, const struct nft_set_elem *elem) argument 2754 nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set, struct nft_set_binding *binding) argument 2792 nf_tables_unbind_set(const struct nft_ctx *ctx, struct nft_set *set, struct nft_set_binding *binding) argument 2819 nft_ctx_init_from_elemattr(struct nft_ctx *ctx, const struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], bool trans) argument 2884 nf_tables_dump_setelem(const struct nft_ctx *ctx, const struct nft_set *set, const struct nft_set_iter *iter, const struct nft_set_elem *elem) argument 2899 struct nft_ctx ctx; local 2975 struct nft_ctx ctx; local 2997 nf_tables_fill_setelem_info(struct sk_buff *skb, const struct nft_ctx *ctx, u32 seq, u32 portid, int event, u16 flags, const struct nft_set *set, const struct nft_set_elem *elem) argument 3041 nf_tables_setelem_notify(const struct nft_ctx *ctx, const struct nft_set *set, const struct nft_set_elem *elem, int event, u16 flags) argument 3074 nft_trans_elem_alloc(struct nft_ctx *ctx, int msg_type, struct nft_set *set) argument 3088 nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set, const struct nlattr *attr) argument 3194 struct nft_ctx ctx; local 3227 nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set, const struct nlattr *attr) argument 3278 struct nft_ctx ctx; local 3765 nf_tables_loop_check_setelem(const struct nft_ctx *ctx, const struct nft_set *set, const struct nft_set_iter *iter, const struct nft_set_elem *elem) argument 3782 nf_tables_check_loops(const struct nft_ctx *ctx, const struct nft_chain *chain) argument 3893 nft_validate_data_load(const struct nft_ctx *ctx, enum nft_registers reg, const struct nft_data *data, enum nft_data_types type) argument 3931 nft_verdict_init(const struct nft_ctx *ctx, struct nft_data *data, struct nft_data_desc *desc, const struct nlattr *nla) argument 4017 nft_value_init(const struct nft_ctx *ctx, struct nft_data *data, struct nft_data_desc *desc, const struct nlattr *nla) argument 4060 nft_data_init(const struct nft_ctx *ctx, struct nft_data *data, struct nft_data_desc *desc, const struct nlattr *nla) argument [all...] |
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_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_compat.c | 88 const struct nft_ctx *ctx, 92 par->net = ctx->net; 93 par->table = ctx->table->name; 94 switch (ctx->afi->family) { 107 if (ctx->chain->flags & NFT_BASE_CHAIN) { 109 nft_base_chain(ctx->chain); 116 par->family = ctx->afi->family; 159 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, argument 171 ret = nft_compat_chain_validate_dependency(target->table, ctx->chain); 177 if (ctx 87 nft_target_set_tgchk_param(struct xt_tgchk_param *par, const struct nft_ctx *ctx, struct xt_target *target, void *info, union nft_entry *entry, u8 proto, bool inv) argument 202 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 234 nft_target_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument 295 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, struct xt_match *match, void *info, union nft_entry *entry, u8 proto, bool inv) argument 337 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 374 nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 406 nft_match_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument 559 nft_match_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) argument 629 nft_target_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) argument [all...] |
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_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_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_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_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_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_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_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_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_reject.c | 29 int nft_reject_init(const struct nft_ctx *ctx, argument
|
/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...] |
/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
|