Home
last modified time | relevance | path

Searched refs:cookie_len (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/net/ceph/
Dcls_lock_client.c31 int cookie_len = strlen(cookie); in ceph_cls_lock() local
40 cookie_len + sizeof(__le32) + in ceph_cls_lock()
62 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_lock()
96 int cookie_len = strlen(cookie); in ceph_cls_unlock() local
102 cookie_len + sizeof(__le32) + in ceph_cls_unlock()
118 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_unlock()
146 int cookie_len = strlen(cookie); in ceph_cls_break_lock() local
152 cookie_len + sizeof(__le32) + in ceph_cls_break_lock()
170 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_break_lock()
388 int cookie_len = strlen(cookie); in ceph_cls_assert_locked() local
[all …]
/Linux-v5.4/include/linux/
Dnetlink.h78 u8 cookie_len; member
119 extack->cookie_len = sizeof(__cookie); in nl_set_extack_cookie_u64()
/Linux-v5.4/samples/bpf/
Dcookie_uid_helper_example.c218 socklen_t cookie_len = sizeof(cookie); in udp_client() local
233 res = getsockopt(s_send, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len); in udp_client()
/Linux-v5.4/net/sctp/
Dsm_make_chunk.c61 int *cookie_len,
396 int cookie_len; in sctp_make_init_ack() local
411 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack()
420 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack()
493 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack()
571 int cookie_len; in sctp_make_cookie_echo() local
575 cookie_len = asoc->peer.cookie_len; in sctp_make_cookie_echo()
579 cookie_len, GFP_ATOMIC); in sctp_make_cookie_echo()
583 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo()
1608 int *cookie_len, const __u8 *raw_addrs, in sctp_pack_cookie() argument
[all …]
/Linux-v5.4/net/l2tp/
Dl2tp_core.h63 int cookie_len; /* 0, 4 or 8 bytes */ member
81 int cookie_len; member
Dl2tp_core.c979 if (session->cookie_len) { in l2tp_build_l2tpv3_header()
980 memcpy(bufp, &session->cookie[0], session->cookie_len); in l2tp_build_l2tpv3_header()
981 bufp += session->cookie_len; in l2tp_build_l2tpv3_header()
1631 session->hdr_len = 4 + session->cookie_len; in l2tp_session_set_header_len()
1681 session->cookie_len = cfg->cookie_len; in l2tp_session_create()
1682 memcpy(&session->cookie[0], &cfg->cookie[0], cfg->cookie_len); in l2tp_session_create()
Dl2tp_debugfs.c197 if (session->cookie_len) { in l2tp_dfs_seq_session_show()
201 if (session->cookie_len == 8) in l2tp_dfs_seq_session_show()
Dl2tp_netlink.c577 cfg.cookie_len = len; in l2tp_nl_cmd_session_create()
726 (session->cookie_len && in l2tp_nl_session_send()
727 nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len, in l2tp_nl_session_send()
/Linux-v5.4/net/sched/
Dact_api.c176 u32 cookie_len = 0; in tcf_action_shared_attrs_size() local
182 cookie_len = nla_total_size(act_cookie->len); in tcf_action_shared_attrs_size()
187 + cookie_len /* TCA_ACT_COOKIE */ in tcf_action_shared_attrs_size()
/Linux-v5.4/net/netlink/
Daf_netlink.c2404 if (nlk_has_extack && extack && extack->cookie_len) in netlink_ack()
2405 tlvlen += nla_total_size(extack->cookie_len); in netlink_ack()
2438 if (extack->cookie_len) in netlink_ack()
2440 extack->cookie_len, in netlink_ack()
/Linux-v5.4/include/net/sctp/
Dstructs.h1714 int cookie_len; member