Home
last modified time | relevance | path

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

/linux-2.6.39/net/sctp/
Dsm_make_chunk.c77 int *cookie_len,
370 int cookie_len; in sctp_make_init_ack() local
394 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack()
403 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack()
464 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack()
545 int cookie_len; in sctp_make_cookie_echo() local
548 cookie_len = asoc->peer.cookie_len; in sctp_make_cookie_echo()
551 retval = sctp_make_chunk(asoc, SCTP_CID_COOKIE_ECHO, 0, cookie_len); in sctp_make_cookie_echo()
555 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo()
1540 int *cookie_len, in sctp_pack_cookie() argument
[all …]
/linux-2.6.39/net/l2tp/
Dl2tp_core.h75 int cookie_len; /* 0, 4 or 8 bytes */ member
94 int cookie_len; member
Dl2tp_core.c931 if (session->cookie_len) { in l2tp_build_l2tpv3_header()
932 memcpy(bufp, &session->cookie[0], session->cookie_len); in l2tp_build_l2tpv3_header()
933 bufp += session->cookie_len; in l2tp_build_l2tpv3_header()
1550 session->hdr_len = 4 + session->cookie_len + session->l2specific_len + session->offset; in l2tp_session_set_header_len()
1593 session->cookie_len = cfg->cookie_len; in l2tp_session_create()
1594 memcpy(&session->cookie[0], &cfg->cookie[0], cfg->cookie_len); in l2tp_session_create()
Dl2tp_debugfs.c175 if (session->cookie_len) { in l2tp_dfs_seq_session_show()
179 if (session->cookie_len == 8) in l2tp_dfs_seq_session_show()
Dl2tp_netlink.c416 cfg.cookie_len = len; in l2tp_nl_cmd_session_create()
578 if (session->cookie_len) in l2tp_nl_session_send()
579 NLA_PUT(skb, L2TP_ATTR_COOKIE, session->cookie_len, &session->cookie[0]); in l2tp_nl_session_send()
/linux-2.6.39/include/net/sctp/
Dstructs.h1588 int cookie_len; member