Home
last modified time | relevance | path

Searched refs:msg_len (Results 1 – 3 of 3) sorted by relevance

/net/sctp/
Dchunk.c157 struct msghdr *msgh, int msg_len) in sctp_datamsg_from_user() argument
201 whole = msg_len / (max - SCTP_ARBITRARY_COOKIE_ECHO_LEN); in sctp_datamsg_from_user()
206 msg_len -= first_len; in sctp_datamsg_from_user()
212 whole += msg_len / max; in sctp_datamsg_from_user()
213 over = msg_len % max; in sctp_datamsg_from_user()
Dsocket.c91 size_t msg_len);
1424 struct msghdr *msg, size_t msg_len) in sctp_sendmsg() argument
1446 sk, msg, msg_len); in sctp_sendmsg()
1497 msg_len, sinfo_flags); in sctp_sendmsg()
1510 if (((sinfo_flags & SCTP_EOF) && (msg_len > 0)) || in sctp_sendmsg()
1511 (!(sinfo_flags & (SCTP_EOF|SCTP_ABORT)) && (msg_len == 0))) { in sctp_sendmsg()
1577 chunk = sctp_make_abort_user(asoc, msg, msg_len); in sctp_sendmsg()
1709 if (msg_len > sk->sk_sndbuf) { in sctp_sendmsg()
1722 if (sctp_sk(sk)->disable_fragments && (msg_len > asoc->frag_point)) { in sctp_sendmsg()
1737 err = sctp_wait_for_sndbuf(asoc, &timeo, msg_len); in sctp_sendmsg()
[all …]
/net/wimax/
Dop-msg.c342 size_t msg_len; in wimax_gnl_doit_msg_from_user() local
366 msg_len = nla_len(info->attrs[WIMAX_GNL_MSG_DATA]); in wimax_gnl_doit_msg_from_user()
392 d_printf(1, dev, "CRX: wimax message %zu bytes\n", msg_len); in wimax_gnl_doit_msg_from_user()
393 d_dump(2, dev, msg_buf, msg_len); in wimax_gnl_doit_msg_from_user()
396 msg_buf, msg_len, info); in wimax_gnl_doit_msg_from_user()