Searched refs:cookie_len (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/net/ceph/ |
| D | cls_lock_client.c | 31 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/ |
| D | netlink.h | 78 u8 cookie_len; member 119 extack->cookie_len = sizeof(__cookie); in nl_set_extack_cookie_u64()
|
| /Linux-v5.4/samples/bpf/ |
| D | cookie_uid_helper_example.c | 218 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/ |
| D | sm_make_chunk.c | 61 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/ |
| D | l2tp_core.h | 63 int cookie_len; /* 0, 4 or 8 bytes */ member 81 int cookie_len; member
|
| D | l2tp_core.c | 979 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()
|
| D | l2tp_debugfs.c | 197 if (session->cookie_len) { in l2tp_dfs_seq_session_show() 201 if (session->cookie_len == 8) in l2tp_dfs_seq_session_show()
|
| D | l2tp_netlink.c | 577 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/ |
| D | act_api.c | 176 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/ |
| D | af_netlink.c | 2404 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/ |
| D | structs.h | 1714 int cookie_len; member
|