Home
last modified time | relevance | path

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

/Linux-v4.19/net/ceph/
Dcls_lock_client.c30 int cookie_len = strlen(cookie); in ceph_cls_lock() local
39 cookie_len + sizeof(__le32) + in ceph_cls_lock()
61 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_lock()
95 int cookie_len = strlen(cookie); in ceph_cls_unlock() local
101 cookie_len + sizeof(__le32) + in ceph_cls_unlock()
117 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_unlock()
145 int cookie_len = strlen(cookie); in ceph_cls_break_lock() local
151 cookie_len + sizeof(__le32) + in ceph_cls_break_lock()
169 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_break_lock()
/Linux-v4.19/net/l2tp/
Dl2tp_core.h66 int cookie_len; /* 0, 4 or 8 bytes */ member
84 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()
1632 session->hdr_len = 4 + session->cookie_len; in l2tp_session_set_header_len()
1682 session->cookie_len = cfg->cookie_len; in l2tp_session_create()
1683 memcpy(&session->cookie[0], &cfg->cookie[0], cfg->cookie_len); in l2tp_session_create()
Dl2tp_debugfs.c202 if (session->cookie_len) { in l2tp_dfs_seq_session_show()
206 if (session->cookie_len == 8) in l2tp_dfs_seq_session_show()
Dl2tp_netlink.c580 cfg.cookie_len = len; in l2tp_nl_cmd_session_create()
729 (session->cookie_len && in l2tp_nl_session_send()
730 nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len, in l2tp_nl_session_send()
/Linux-v4.19/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-v4.19/net/sctp/
Dsm_make_chunk.c76 int *cookie_len,
409 int cookie_len; in sctp_make_init_ack() local
424 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack()
433 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack()
503 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack()
581 int cookie_len; in sctp_make_cookie_echo() local
585 cookie_len = asoc->peer.cookie_len; in sctp_make_cookie_echo()
589 cookie_len, GFP_ATOMIC); in sctp_make_cookie_echo()
593 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo()
1616 int *cookie_len, const __u8 *raw_addrs, in sctp_pack_cookie() argument
[all …]
/Linux-v4.19/include/linux/
Dnetlink.h78 u8 cookie_len; member
/Linux-v4.19/net/sched/
Dact_api.c153 u32 cookie_len = 0; in tcf_action_shared_attrs_size() local
159 cookie_len = nla_total_size(act_cookie->len); in tcf_action_shared_attrs_size()
164 + cookie_len /* TCA_ACT_COOKIE */ in tcf_action_shared_attrs_size()
/Linux-v4.19/net/netlink/
Daf_netlink.c2381 if (nlk_has_extack && extack && extack->cookie_len) in netlink_ack()
2382 tlvlen += nla_total_size(extack->cookie_len); in netlink_ack()
2415 if (extack->cookie_len) in netlink_ack()
2417 extack->cookie_len, in netlink_ack()
/Linux-v4.19/include/net/sctp/
Dstructs.h1716 int cookie_len; member