Searched refs:seclen (Results 1 – 3 of 3) sorted by relevance
/net/netfilter/ |
D | nfnetlink_queue.c | 283 u32 seclen = 0; in nfqnl_get_sk_secctx() local 291 security_secid_to_secctx(skb->secmark, secdata, &seclen); in nfqnl_get_sk_secctx() 295 return seclen; in nfqnl_get_sk_secctx() 319 u32 seclen = 0; in nfqnl_build_packet_message() local 384 seclen = nfqnl_get_sk_secctx(entskb, &secdata); in nfqnl_build_packet_message() 385 if (seclen) in nfqnl_build_packet_message() 386 size += nla_total_size(seclen); in nfqnl_build_packet_message() 517 if (seclen && nla_put(skb, NFQA_SECCTX, seclen, secdata)) in nfqnl_build_packet_message() 545 if (seclen) in nfqnl_build_packet_message() 546 security_release_secctx(secdata, seclen); in nfqnl_build_packet_message() [all …]
|
/net/ipv4/ |
D | ip_sockglue.c | 119 u32 seclen, secid; in ip_cmsg_recv_security() local 126 err = security_secid_to_secctx(secid, &secdata, &seclen); in ip_cmsg_recv_security() 130 put_cmsg(msg, SOL_IP, SCM_SECURITY, seclen, secdata); in ip_cmsg_recv_security() 131 security_release_secctx(secdata, seclen); in ip_cmsg_recv_security()
|
/net/sunrpc/auth_gss/ |
D | auth_gss.c | 185 unsigned int seclen; in gss_fill_context() local 225 p = simple_get_bytes(p, end, &seclen, sizeof(seclen)); in gss_fill_context() 228 q = (const void *)((const char *)p + seclen); in gss_fill_context() 233 ret = gss_import_sec_context(p, seclen, gm, &ctx->gc_gss_ctx, NULL, GFP_NOFS); in gss_fill_context()
|