Lines Matching refs:cmsg
499 struct cmsghdr *cmsg; in rxrpc_sendmsg_cmsg() local
506 for_each_cmsghdr(cmsg, msg) { in rxrpc_sendmsg_cmsg()
507 if (!CMSG_OK(msg, cmsg)) in rxrpc_sendmsg_cmsg()
510 len = cmsg->cmsg_len - sizeof(struct cmsghdr); in rxrpc_sendmsg_cmsg()
512 cmsg->cmsg_level, cmsg->cmsg_type, len); in rxrpc_sendmsg_cmsg()
514 if (cmsg->cmsg_level != SOL_RXRPC) in rxrpc_sendmsg_cmsg()
517 switch (cmsg->cmsg_type) { in rxrpc_sendmsg_cmsg()
522 p->call.user_call_ID = *(u32 *)CMSG_DATA(cmsg); in rxrpc_sendmsg_cmsg()
527 CMSG_DATA(cmsg); in rxrpc_sendmsg_cmsg()
538 p->abort_code = *(unsigned int *)CMSG_DATA(cmsg); in rxrpc_sendmsg_cmsg()
566 p->call.tx_total_len = *(__s64 *)CMSG_DATA(cmsg); in rxrpc_sendmsg_cmsg()
574 memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); in rxrpc_sendmsg_cmsg()