sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget$/translations/zh_CN/networking/rxrpcmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/zh_TW/networking/rxrpcmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/it_IT/networking/rxrpcmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/ja_JP/networking/rxrpcmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/ko_KR/networking/rxrpcmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget$/translations/sp_SP/networking/rxrpcmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh>/var/lib/git/docbuild/linux/Documentation/networking/rxrpc.rsthKubhsection)}(hhh](htitle)}(hRxRPC Network Protocolh]hRxRPC Network Protocol}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hXThe RxRPC protocol driver provides a reliable two-phase transport on top of UDP that can be used to perform RxRPC remote operations. This is done over sockets of AF_RXRPC family, using sendmsg() and recvmsg() with control data to send and receive data, aborts and errors.h]hXThe RxRPC protocol driver provides a reliable two-phase transport on top of UDP that can be used to perform RxRPC remote operations. This is done over sockets of AF_RXRPC family, using sendmsg() and recvmsg() with control data to send and receive data, aborts and errors.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hContents of this document:h]hContents of this document:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh block_quote)}(h(#) Overview. (#) RxRPC protocol summary. (#) AF_RXRPC driver model. (#) Control messages. (#) Socket options. (#) Security. (#) Example client usage. (#) Example server usage. (#) AF_RXRPC kernel interface. (#) Configurable parameters. h]henumerated_list)}(hhh](h list_item)}(h Overview. h]h)}(h Overview.h]h Overview.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hRxRPC protocol summary. h]h)}(hRxRPC protocol summary.h]hRxRPC protocol summary.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hAF_RXRPC driver model. h]h)}(hAF_RXRPC driver model.h]hAF_RXRPC driver model.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hControl messages. h]h)}(hControl messages.h]hControl messages.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj<ubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hSocket options. h]h)}(hSocket options.h]hSocket options.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjTubah}(h]h ]h"]h$]h&]uh1hhhubh)}(h Security. h]h)}(h Security.h]h Security.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjlubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hExample client usage. h]h)}(hExample client usage.h]hExample client usage.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hExample server usage. h]h)}(hExample server usage.h]hExample server usage.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hAF_RXRPC kernel interface. h]h)}(hAF_RXRPC kernel interface.h]hAF_RXRPC kernel interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hConfigurable parameters. h]h)}(hConfigurable parameters.h]hConfigurable parameters.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hjubah}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]enumtypearabicprefix(suffix)uh1hhhubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(hOverviewh]hOverview}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK$ubh)}(hX?RxRPC is a two-layer protocol. There is a session layer which provides reliable virtual connections using UDP over IPv4 (or IPv6) as the transport layer, but implements a real network protocol; and there's the presentation layer which renders structured data to binary blobs and back again using XDR (as does SunRPC)::h]hX@RxRPC is a two-layer protocol. There is a session layer which provides reliable virtual connections using UDP over IPv4 (or IPv6) as the transport layer, but implements a real network protocol; and there’s the presentation layer which renders structured data to binary blobs and back again using XDR (as does SunRPC):}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK&hjhhubh literal_block)}(h+-------------+ | Application | +-------------+ | XDR | Presentation +-------------+ | RxRPC | Session +-------------+ | UDP | Transport +-------------+h]h+-------------+ | Application | +-------------+ | XDR | Presentation +-------------+ | RxRPC | Session +-------------+ | UDP | Transport +-------------+}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK,hjhhubh)}(hAF_RXRPC provides:h]hAF_RXRPC provides:}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK7hjhhubh)}(hX|(1) Part of an RxRPC facility for both kernel and userspace applications by making the session part of it a Linux network protocol (AF_RXRPC). (2) A two-phase protocol. The client transmits a blob (the request) and then receives a blob (the reply), and the server receives the request and then transmits the reply. (3) Retention of the reusable bits of the transport system set up for one call to speed up subsequent calls. (4) A secure protocol, using the Linux kernel's key retention facility to manage security on the client end. The server end must of necessity be more active in security negotiations. h]h)}(hhh](h)}(hPart of an RxRPC facility for both kernel and userspace applications by making the session part of it a Linux network protocol (AF_RXRPC). h]h)}(hPart of an RxRPC facility for both kernel and userspace applications by making the session part of it a Linux network protocol (AF_RXRPC).h]hPart of an RxRPC facility for both kernel and userspace applications by making the session part of it a Linux network protocol (AF_RXRPC).}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK9hj:ubah}(h]h ]h"]h$]h&]uh1hhj7ubh)}(hA two-phase protocol. The client transmits a blob (the request) and then receives a blob (the reply), and the server receives the request and then transmits the reply. h]h)}(hA two-phase protocol. The client transmits a blob (the request) and then receives a blob (the reply), and the server receives the request and then transmits the reply.h]hA two-phase protocol. The client transmits a blob (the request) and then receives a blob (the reply), and the server receives the request and then transmits the reply.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKubh)}(hRxRPC supports multiple virtual "connections" from any given transport endpoint, thus allowing the endpoints to be shared, even to the same remote endpoint. h]h)}(hRxRPC supports multiple virtual "connections" from any given transport endpoint, thus allowing the endpoints to be shared, even to the same remote endpoint.h]hRxRPC supports multiple virtual “connections” from any given transport endpoint, thus allowing the endpoints to be shared, even to the same remote endpoint.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKbhjYubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hEach connection goes to a particular "service". A connection may not go to multiple services. A service may be considered the RxRPC equivalent of a port number. AF_RXRPC permits multiple services to share an endpoint. h]h)}(hEach connection goes to a particular "service". A connection may not go to multiple services. A service may be considered the RxRPC equivalent of a port number. AF_RXRPC permits multiple services to share an endpoint.h]hEach connection goes to a particular “service”. A connection may not go to multiple services. A service may be considered the RxRPC equivalent of a port number. AF_RXRPC permits multiple services to share an endpoint.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhjqubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hClient-originating packets are marked, thus a transport endpoint can be shared between client and server connections (connections have a direction). h]h)}(hClient-originating packets are marked, thus a transport endpoint can be shared between client and server connections (connections have a direction).h]hClient-originating packets are marked, thus a transport endpoint can be shared between client and server connections (connections have a direction).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKjhjubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hXUUp to a billion connections may be supported concurrently between one local transport endpoint and one service on one remote endpoint. An RxRPC connection is described by seven numbers:: Local address } Local port } Transport (UDP) address Remote address } Remote port } Direction Connection ID Service ID h](h)}(hUp to a billion connections may be supported concurrently between one local transport endpoint and one service on one remote endpoint. An RxRPC connection is described by seven numbers::h]hUp to a billion connections may be supported concurrently between one local transport endpoint and one service on one remote endpoint. An RxRPC connection is described by seven numbers:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKnhjubj)}(hLocal address } Local port } Transport (UDP) address Remote address } Remote port } Direction Connection ID Service IDh]hLocal address } Local port } Transport (UDP) address Remote address } Remote port } Direction Connection ID Service ID}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKrhjubeh}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hEach RxRPC operation is a "call". A connection may make up to four billion calls, but only up to four calls may be in progress on a connection at any one time. h]h)}(hEach RxRPC operation is a "call". A connection may make up to four billion calls, but only up to four calls may be in progress on a connection at any one time.h]hEach RxRPC operation is a “call”. A connection may make up to four billion calls, but only up to four calls may be in progress on a connection at any one time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hCalls are two-phase and asymmetric: the client sends its request data, which the service receives; then the service transmits the reply data which the client receives. h]h)}(hCalls are two-phase and asymmetric: the client sends its request data, which the service receives; then the service transmits the reply data which the client receives.h]hCalls are two-phase and asymmetric: the client sends its request data, which the service receives; then the service transmits the reply data which the client receives.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hjubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hThe data blobs are of indefinite size, the end of a phase is marked with a flag in the packet. The number of packets of data making up one blob may not exceed 4 billion, however, as this would cause the sequence number to wrap. h]h)}(hThe data blobs are of indefinite size, the end of a phase is marked with a flag in the packet. The number of packets of data making up one blob may not exceed 4 billion, however, as this would cause the sequence number to wrap.h]hThe data blobs are of indefinite size, the end of a phase is marked with a flag in the packet. The number of packets of data making up one blob may not exceed 4 billion, however, as this would cause the sequence number to wrap.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hGThe first four bytes of the request data are the service operation ID. h]h)}(hFThe first four bytes of the request data are the service operation ID.h]hFThe first four bytes of the request data are the service operation ID.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hXSecurity is negotiated on a per-connection basis. The connection is initiated by the first data packet on it arriving. If security is requested, the server then issues a "challenge" and then the client replies with a "response". If the response is successful, the security is set for the lifetime of that connection, and all subsequent calls made upon it use that same security. In the event that the server lets a connection lapse before the client, the security will be renegotiated if the client uses the connection again. h]h)}(hXSecurity is negotiated on a per-connection basis. The connection is initiated by the first data packet on it arriving. If security is requested, the server then issues a "challenge" and then the client replies with a "response". If the response is successful, the security is set for the lifetime of that connection, and all subsequent calls made upon it use that same security. In the event that the server lets a connection lapse before the client, the security will be renegotiated if the client uses the connection again.h]hXSecurity is negotiated on a per-connection basis. The connection is initiated by the first data packet on it arriving. If security is requested, the server then issues a “challenge” and then the client replies with a “response”. If the response is successful, the security is set for the lifetime of that connection, and all subsequent calls made upon it use that same security. In the event that the server lets a connection lapse before the client, the security will be renegotiated if the client uses the connection again.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj'ubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hcCalls use ACK packets to handle reliability. Data packets are also explicitly sequenced per call. h]h)}(hbCalls use ACK packets to handle reliability. Data packets are also explicitly sequenced per call.h]hbCalls use ACK packets to handle reliability. Data packets are also explicitly sequenced per call.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj?ubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hXjThere are two types of positive acknowledgment: hard-ACKs and soft-ACKs. A hard-ACK indicates to the far side that all the data received to a point has been received and processed; a soft-ACK indicates that the data has been received but may yet be discarded and re-requested. The sender may not discard any transmittable packets until they've been hard-ACK'd. h]h)}(hXiThere are two types of positive acknowledgment: hard-ACKs and soft-ACKs. A hard-ACK indicates to the far side that all the data received to a point has been received and processed; a soft-ACK indicates that the data has been received but may yet be discarded and re-requested. The sender may not discard any transmittable packets until they've been hard-ACK'd.h]hXmThere are two types of positive acknowledgment: hard-ACKs and soft-ACKs. A hard-ACK indicates to the far side that all the data received to a point has been received and processed; a soft-ACK indicates that the data has been received but may yet be discarded and re-requested. The sender may not discard any transmittable packets until they’ve been hard-ACK’d.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjWubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hfReception of a reply data packet implicitly hard-ACK's all the data packets that make up the request. h]h)}(heReception of a reply data packet implicitly hard-ACK's all the data packets that make up the request.h]hgReception of a reply data packet implicitly hard-ACK’s all the data packets that make up the request.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjoubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hAn call is complete when the request has been sent, the reply has been received and the final hard-ACK on the last packet of the reply has reached the server. h]h)}(hAn call is complete when the request has been sent, the reply has been received and the final hard-ACK on the last packet of the reply has reached the server.h]hAn call is complete when the request has been sent, the reply has been received and the final hard-ACK on the last packet of the reply has reached the server.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhj>ubh)}(hHAn call may be aborted by either end at any time up to its completion. h]h)}(hFAn call may be aborted by either end at any time up to its completion.h]hFAn call may be aborted by either end at any time up to its completion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhj>ubeh}(h]h ]h"]h$]h&]jjjjjjuh1hhj:ubah}(h]h ]h"]h$]h&]uh1hhhhK^hjhhubeh}(h]rxrpc-protocol-summaryah ]h"]rxrpc protocol summaryah$]h&]uh1hhhhhhhhKZubh)}(hhh](h)}(hAF_RXRPC Driver Modelh]hAF_RXRPC Driver Model}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hAbout the AF_RXRPC driver:h]hAbout the AF_RXRPC driver:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hX(#) The AF_RXRPC protocol transparently uses internal sockets of the transport protocol to represent transport endpoints. (#) AF_RXRPC sockets map onto RxRPC connection bundles. Actual RxRPC connections are handled transparently. One client socket may be used to make multiple simultaneous calls to the same service. One server socket may handle calls from many clients. (#) Additional parallel client connections will be initiated to support extra concurrent calls, up to a tunable limit. (#) Each connection is retained for a certain amount of time [tunable] after the last call currently using it has completed in case a new call is made that could reuse it. (#) Each internal UDP socket is retained [tunable] for a certain amount of time [tunable] after the last connection using it discarded, in case a new connection is made that could use it. (#) A client-side connection is only shared between calls if they have the same key struct describing their security (and assuming the calls would otherwise share the connection). Non-secured calls would also be able to share connections with each other. (#) A server-side connection is shared if the client says it is. (#) ACK'ing is handled by the protocol driver automatically, including ping replying. (#) SO_KEEPALIVE automatically pings the other side to keep the connection alive [TODO]. (#) If an ICMP error is received, all calls affected by that error will be aborted with an appropriate network error passed through recvmsg(). h]h)}(hhh](h)}(hvThe AF_RXRPC protocol transparently uses internal sockets of the transport protocol to represent transport endpoints. h]h)}(huThe AF_RXRPC protocol transparently uses internal sockets of the transport protocol to represent transport endpoints.h]huThe AF_RXRPC protocol transparently uses internal sockets of the transport protocol to represent transport endpoints.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjubh)}(hAF_RXRPC sockets map onto RxRPC connection bundles. Actual RxRPC connections are handled transparently. One client socket may be used to make multiple simultaneous calls to the same service. One server socket may handle calls from many clients. h]h)}(hAF_RXRPC sockets map onto RxRPC connection bundles. Actual RxRPC connections are handled transparently. One client socket may be used to make multiple simultaneous calls to the same service. One server socket may handle calls from many clients.h]hAF_RXRPC sockets map onto RxRPC connection bundles. Actual RxRPC connections are handled transparently. One client socket may be used to make multiple simultaneous calls to the same service. One server socket may handle calls from many clients.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1hhjubh)}(hsAdditional parallel client connections will be initiated to support extra concurrent calls, up to a tunable limit. h]h)}(hrAdditional parallel client connections will be initiated to support extra concurrent calls, up to a tunable limit.h]hrAdditional parallel client connections will be initiated to support extra concurrent calls, up to a tunable limit.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj!ubah}(h]h ]h"]h$]h&]uh1hhjubh)}(hEach connection is retained for a certain amount of time [tunable] after the last call currently using it has completed in case a new call is made that could reuse it. h]h)}(hEach connection is retained for a certain amount of time [tunable] after the last call currently using it has completed in case a new call is made that could reuse it.h]hEach connection is retained for a certain amount of time [tunable] after the last call currently using it has completed in case a new call is made that could reuse it.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj9ubah}(h]h ]h"]h$]h&]uh1hhjubh)}(hEach internal UDP socket is retained [tunable] for a certain amount of time [tunable] after the last connection using it discarded, in case a new connection is made that could use it. h]h)}(hEach internal UDP socket is retained [tunable] for a certain amount of time [tunable] after the last connection using it discarded, in case a new connection is made that could use it.h]hEach internal UDP socket is retained [tunable] for a certain amount of time [tunable] after the last connection using it discarded, in case a new connection is made that could use it.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjQubah}(h]h ]h"]h$]h&]uh1hhjubh)}(hA client-side connection is only shared between calls if they have the same key struct describing their security (and assuming the calls would otherwise share the connection). Non-secured calls would also be able to share connections with each other. h]h)}(hA client-side connection is only shared between calls if they have the same key struct describing their security (and assuming the calls would otherwise share the connection). Non-secured calls would also be able to share connections with each other.h]hA client-side connection is only shared between calls if they have the same key struct describing their security (and assuming the calls would otherwise share the connection). Non-secured calls would also be able to share connections with each other.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjiubah}(h]h ]h"]h$]h&]uh1hhjubh)}(h=A server-side connection is shared if the client says it is. h]h)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj:ubh)}(hhh](h)}(h*The tag of the intended or affected call. h]h)}(h)The tag of the intended or affected call.h]h)The tag of the intended or affected call.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjOubah}(h]h ]h"]h$]h&]uh1hhjLubh)}(hRXRPC_SECURITY_KEY This is used to specify the description of the key to be used. The key is extracted from the calling process's keyrings with request_key() and should be of "rxrpc" type. The optval pointer points to the description string, and optlen indicates how long the string is, without the NUL terminator. h](h)}(hRXRPC_SECURITY_KEYh]hRXRPC_SECURITY_KEY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hThis is used to specify the description of the key to be used. The key is extracted from the calling process's keyrings with request_key() and should be of "rxrpc" type.h]hThis is used to specify the description of the key to be used. The key is extracted from the calling process’s keyrings with request_key() and should be of “rxrpc” type.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(h}The optval pointer points to the description string, and optlen indicates how long the string is, without the NUL terminator.h]h}The optval pointer points to the description string, and optlen indicates how long the string is, without the NUL terminator.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hRXRPC_SECURITY_KEYRING Similar to above but specifies a keyring of server secret keys to use (key type "keyring"). See the "Security" section. h](h)}(hRXRPC_SECURITY_KEYRINGh]hRXRPC_SECURITY_KEYRING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hxSimilar to above but specifies a keyring of server secret keys to use (key type "keyring"). See the "Security" section.h]hSimilar to above but specifies a keyring of server secret keys to use (key type “keyring”). See the “Security” section.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hRXRPC_EXCLUSIVE_CONNECTION This is used to request that new connections should be used for each call made subsequently on this socket. optval should be NULL and optlen 0. h](h)}(hRXRPC_EXCLUSIVE_CONNECTIONh]hRXRPC_EXCLUSIVE_CONNECTION}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hThis is used to request that new connections should be used for each call made subsequently on this socket. optval should be NULL and optlen 0.h]hThis is used to request that new connections should be used for each call made subsequently on this socket. optval should be NULL and optlen 0.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hX RXRPC_MIN_SECURITY_LEVEL This is used to specify the minimum security level required for calls on this socket. optval must point to an int containing one of the following values: (a) RXRPC_SECURITY_PLAIN Encrypted checksum only. (b) RXRPC_SECURITY_AUTH Encrypted checksum plus packet padded and first eight bytes of packet encrypted - which includes the actual packet length. (c) RXRPC_SECURITY_ENCRYPT Encrypted checksum plus entire packet padded and encrypted, including actual packet length. h](h)}(hRXRPC_MIN_SECURITY_LEVELh]hRXRPC_MIN_SECURITY_LEVEL}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjDubh)}(hThis is used to specify the minimum security level required for calls on this socket. optval must point to an int containing one of the following values:h]hThis is used to specify the minimum security level required for calls on this socket. optval must point to an int containing one of the following values:}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjDubh)}(hhh](h)}(h/RXRPC_SECURITY_PLAIN Encrypted checksum only. h](h)}(hRXRPC_SECURITY_PLAINh]hRXRPC_SECURITY_PLAIN}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjgubh)}(hEncrypted checksum only.h]hEncrypted checksum only.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjgubeh}(h]h ]h"]h$]h&]uh1hhjdubh)}(hRXRPC_SECURITY_AUTH Encrypted checksum plus packet padded and first eight bytes of packet encrypted - which includes the actual packet length. h](h)}(hRXRPC_SECURITY_AUTHh]hRXRPC_SECURITY_AUTH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hzEncrypted checksum plus packet padded and first eight bytes of packet encrypted - which includes the actual packet length.h]hzEncrypted checksum plus packet padded and first eight bytes of packet encrypted - which includes the actual packet length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjdubh)}(htRXRPC_SECURITY_ENCRYPT Encrypted checksum plus entire packet padded and encrypted, including actual packet length. h](h)}(hRXRPC_SECURITY_ENCRYPTh]hRXRPC_SECURITY_ENCRYPT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(h[Encrypted checksum plus entire packet padded and encrypted, including actual packet length.h]h[Encrypted checksum plus entire packet padded and encrypted, including actual packet length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjdubeh}(h]h ]h"]h$]h&]jjjjjjuh1hhjDubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hX8RXRPC_UPGRADEABLE_SERVICE This is used to indicate that a service socket with two bindings may upgrade one bound service to the other if requested by the client. optval must point to an array of two unsigned short ints. The first is the service ID to upgrade from and the second the service ID to upgrade to. h](h)}(hRXRPC_UPGRADEABLE_SERVICEh]hRXRPC_UPGRADEABLE_SERVICE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hXThis is used to indicate that a service socket with two bindings may upgrade one bound service to the other if requested by the client. optval must point to an array of two unsigned short ints. The first is the service ID to upgrade from and the second the service ID to upgrade to.h]hXThis is used to indicate that a service socket with two bindings may upgrade one bound service to the other if requested by the client. optval must point to an array of two unsigned short ints. The first is the service ID to upgrade from and the second the service ID to upgrade to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hRXRPC_SUPPORTED_CMSG This is a read-only option that writes an int into the buffer indicating the highest control message type supported. h](h)}(hRXRPC_SUPPORTED_CMSGh]hRXRPC_SUPPORTED_CMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubh)}(htThis is a read-only option that writes an int into the buffer indicating the highest control message type supported.h]htThis is a read-only option that writes an int into the buffer indicating the highest control message type supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]jjjjjjuh1hhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h]socket-optionsah ]h"]socket optionsah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hSECURITYh]hSECURITY}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhhhhhMubh)}(hXCurrently, only the kerberos 4 equivalent protocol has been implemented (security index 2 - rxkad). This requires the rxkad module to be loaded and, on the client, tickets of the appropriate type to be obtained from the AFS kaserver or the kerberos server and installed as "rxrpc" type keys. This is normally done using the klog program. An example simple klog program can be found at:h]hXCurrently, only the kerberos 4 equivalent protocol has been implemented (security index 2 - rxkad). This requires the rxkad module to be loaded and, on the client, tickets of the appropriate type to be obtained from the AFS kaserver or the kerberos server and installed as “rxrpc” type keys. This is normally done using the klog program. An example simple klog program can be found at:}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(h0http://people.redhat.com/~dhowells/rxrpc/klog.c h]h)}(h/http://people.redhat.com/~dhowells/rxrpc/klog.ch]h reference)}(hjjh]h/http://people.redhat.com/~dhowells/rxrpc/klog.c}(hjnhhhNhNubah}(h]h ]h"]h$]h&]refurijjuh1jlhjhubah}(h]h ]h"]h$]h&]uh1hhhhMhjdubah}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(hQThe payload provided to add_key() on the client should be of the following form::h]hPThe payload provided to add_key() on the client should be of the following form:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubj)}(hXstruct rxrpc_key_sec2_v1 { uint16_t security_index; /* 2 */ uint16_t ticket_length; /* length of ticket[] */ uint32_t expiry; /* time at which expires */ uint8_t kvno; /* key version number */ uint8_t __pad[3]; uint8_t session_key[8]; /* DES session key */ uint8_t ticket[0]; /* the encrypted ticket */ };h]hXstruct rxrpc_key_sec2_v1 { uint16_t security_index; /* 2 */ uint16_t ticket_length; /* length of ticket[] */ uint32_t expiry; /* time at which expires */ uint8_t kvno; /* key version number */ uint8_t __pad[3]; uint8_t session_key[8]; /* DES session key */ uint8_t ticket[0]; /* the encrypted ticket */ };}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjEhhubh)}(h>Where the ticket blob is just appended to the above structure.h]h>Where the ticket blob is just appended to the above structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjEhhubh)}(hX6For the server, keys of type "rxrpc_s" must be made available to the server. They have a description of ":" (eg: "52:2" for an rxkad key for the AFS VL service). When such a key is created, it should be given the server's secret key as the instantiation data (see the example below).h]hXDFor the server, keys of type “rxrpc_s” must be made available to the server. They have a description of “:” (eg: “52:2” for an rxkad key for the AFS VL service). When such a key is created, it should be given the server’s secret key as the instantiation data (see the example below).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(h4add_key("rxrpc_s", "52:2", secret_key, 8, keyring); h]h)}(h3add_key("rxrpc_s", "52:2", secret_key, 8, keyring);h]h;add_key(“rxrpc_s”, “52:2”, secret_key, 8, keyring);}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(hA keyring is passed to the server socket by naming it in a sockopt. The server socket then looks the server secret keys up in this keyring when secure incoming connections are made. This can be seen in an example program that can be found at:h]hA keyring is passed to the server socket by naming it in a sockopt. The server socket then looks the server secret keys up in this keyring when secure incoming connections are made. This can be seen in an example program that can be found at:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(h3http://people.redhat.com/~dhowells/rxrpc/listen.c h]h)}(h1http://people.redhat.com/~dhowells/rxrpc/listen.ch]jm)}(hjh]h1http://people.redhat.com/~dhowells/rxrpc/listen.c}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jlhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubeh}(h]securityah ]h"]securityah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hEXAMPLE CLIENT USAGEh]hEXAMPLE CLIENT USAGE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM!ubh)}(h%A client would issue an operation by:h]h%A client would issue an operation by:}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM#hjhhubh)}(hX (1) An RxRPC socket is set up by:: client = socket(AF_RXRPC, SOCK_DGRAM, PF_INET); Where the third parameter indicates the protocol family of the transport socket used - usually IPv4 but it can also be IPv6 [TODO]. (2) A local address can optionally be bound:: struct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = 0, /* we're a client */ .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7000), /* AFS callback */ .transport.sin_address = 0, /* all local interfaces */ }; bind(client, &srx, sizeof(srx)); This specifies the local UDP port to be used. If not given, a random non-privileged port will be used. A UDP port may be shared between several unrelated RxRPC sockets. Security is handled on a basis of per-RxRPC virtual connection. (3) The security is set:: const char *key = "AFS:cambridge.redhat.com"; setsockopt(client, SOL_RXRPC, RXRPC_SECURITY_KEY, key, strlen(key)); This issues a request_key() to get the key representing the security context. The minimum security level can be set:: unsigned int sec = RXRPC_SECURITY_ENCRYPT; setsockopt(client, SOL_RXRPC, RXRPC_MIN_SECURITY_LEVEL, &sec, sizeof(sec)); (4) The server to be contacted can then be specified (alternatively this can be done through sendmsg):: struct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = VL_SERVICE_ID, .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7005), /* AFS volume manager */ .transport.sin_address = ..., }; connect(client, &srx, sizeof(srx)); (5) The request data should then be posted to the server socket using a series of sendmsg() calls, each with the following control message attached: ================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== MSG_MORE should be set in msghdr::msg_flags on all but the last part of the request. Multiple requests may be made simultaneously. An RXRPC_TX_LENGTH control message can also be specified on the first sendmsg() call. If a call is intended to go to a destination other than the default specified through connect(), then msghdr::msg_name should be set on the first request message of that call. (6) The reply data will then be posted to the server socket for recvmsg() to pick up. MSG_MORE will be flagged by recvmsg() if there's more reply data for a particular call to be read. MSG_EOR will be set on the terminal read for a call. All data will be delivered with the following control message attached: RXRPC_USER_CALL_ID - specifies the user ID for this call If an abort or error occurred, this will be returned in the control data buffer instead, and MSG_EOR will be flagged to indicate the end of that call. h]h)}(hhh](h)}(hAn RxRPC socket is set up by:: client = socket(AF_RXRPC, SOCK_DGRAM, PF_INET); Where the third parameter indicates the protocol family of the transport socket used - usually IPv4 but it can also be IPv6 [TODO]. h](h)}(hAn RxRPC socket is set up by::h]hAn RxRPC socket is set up by:}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM%hj6ubj)}(h/client = socket(AF_RXRPC, SOCK_DGRAM, PF_INET);h]h/client = socket(AF_RXRPC, SOCK_DGRAM, PF_INET);}hjHsbah}(h]h ]h"]h$]h&]hhuh1jhhhM'hj6ubh)}(hWhere the third parameter indicates the protocol family of the transport socket used - usually IPv4 but it can also be IPv6 [TODO].h]hWhere the third parameter indicates the protocol family of the transport socket used - usually IPv4 but it can also be IPv6 [TODO].}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM)hj6ubeh}(h]h ]h"]h$]h&]uh1hhj3ubh)}(hXA local address can optionally be bound:: struct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = 0, /* we're a client */ .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7000), /* AFS callback */ .transport.sin_address = 0, /* all local interfaces */ }; bind(client, &srx, sizeof(srx)); This specifies the local UDP port to be used. If not given, a random non-privileged port will be used. A UDP port may be shared between several unrelated RxRPC sockets. Security is handled on a basis of per-RxRPC virtual connection. h](h)}(h)A local address can optionally be bound::h]h(A local address can optionally be bound:}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM,hjjubj)}(hXstruct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = 0, /* we're a client */ .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7000), /* AFS callback */ .transport.sin_address = 0, /* all local interfaces */ }; bind(client, &srx, sizeof(srx));h]hXstruct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = 0, /* we're a client */ .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7000), /* AFS callback */ .transport.sin_address = 0, /* all local interfaces */ }; bind(client, &srx, sizeof(srx));}hj|sbah}(h]h ]h"]h$]h&]hhuh1jhhhM.hjjubh)}(hThis specifies the local UDP port to be used. If not given, a random non-privileged port will be used. A UDP port may be shared between several unrelated RxRPC sockets. Security is handled on a basis of per-RxRPC virtual connection.h]hThis specifies the local UDP port to be used. If not given, a random non-privileged port will be used. A UDP port may be shared between several unrelated RxRPC sockets. Security is handled on a basis of per-RxRPC virtual connection.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM8hjjubeh}(h]h ]h"]h$]h&]uh1hhj3ubh)}(hXThe security is set:: const char *key = "AFS:cambridge.redhat.com"; setsockopt(client, SOL_RXRPC, RXRPC_SECURITY_KEY, key, strlen(key)); This issues a request_key() to get the key representing the security context. The minimum security level can be set:: unsigned int sec = RXRPC_SECURITY_ENCRYPT; setsockopt(client, SOL_RXRPC, RXRPC_MIN_SECURITY_LEVEL, &sec, sizeof(sec)); h](h)}(hThe security is set::h]hThe security is set:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM=hjubj)}(hrconst char *key = "AFS:cambridge.redhat.com"; setsockopt(client, SOL_RXRPC, RXRPC_SECURITY_KEY, key, strlen(key));h]hrconst char *key = "AFS:cambridge.redhat.com"; setsockopt(client, SOL_RXRPC, RXRPC_SECURITY_KEY, key, strlen(key));}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhM?hjubh)}(hvThis issues a request_key() to get the key representing the security context. The minimum security level can be set::h]huThis issues a request_key() to get the key representing the security context. The minimum security level can be set:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMBhjubj)}(hunsigned int sec = RXRPC_SECURITY_ENCRYPT; setsockopt(client, SOL_RXRPC, RXRPC_MIN_SECURITY_LEVEL, &sec, sizeof(sec));h]hunsigned int sec = RXRPC_SECURITY_ENCRYPT; setsockopt(client, SOL_RXRPC, RXRPC_MIN_SECURITY_LEVEL, &sec, sizeof(sec));}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMEhjubeh}(h]h ]h"]h$]h&]uh1hhj3ubh)}(hXThe server to be contacted can then be specified (alternatively this can be done through sendmsg):: struct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = VL_SERVICE_ID, .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7005), /* AFS volume manager */ .transport.sin_address = ..., }; connect(client, &srx, sizeof(srx)); h](h)}(hcThe server to be contacted can then be specified (alternatively this can be done through sendmsg)::h]hbThe server to be contacted can then be specified (alternatively this can be done through sendmsg):}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMIhjubj)}(hXrstruct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = VL_SERVICE_ID, .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7005), /* AFS volume manager */ .transport.sin_address = ..., }; connect(client, &srx, sizeof(srx));h]hXrstruct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = VL_SERVICE_ID, .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7005), /* AFS volume manager */ .transport.sin_address = ..., }; connect(client, &srx, sizeof(srx));}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMLhjubeh}(h]h ]h"]h$]h&]uh1hhj3ubh)}(hXThe request data should then be posted to the server socket using a series of sendmsg() calls, each with the following control message attached: ================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== MSG_MORE should be set in msghdr::msg_flags on all but the last part of the request. Multiple requests may be made simultaneously. An RXRPC_TX_LENGTH control message can also be specified on the first sendmsg() call. If a call is intended to go to a destination other than the default specified through connect(), then msghdr::msg_name should be set on the first request message of that call. h](h)}(hThe request data should then be posted to the server socket using a series of sendmsg() calls, each with the following control message attached:h]hThe request data should then be posted to the server socket using a series of sendmsg() calls, each with the following control message attached:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMVhjubh)}(h================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== h]j )}(hhh]j )}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthK#uh1j hjubj1 )}(hhh]j )}(hhh](j )}(hhh]h)}(hRXRPC_USER_CALL_IDh]hRXRPC_USER_CALL_ID}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMZhj<ubah}(h]h ]h"]h$]h&]uh1j hj9ubj )}(hhh]h)}(h#specifies the user ID for this callh]h#specifies the user ID for this call}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMZhjSubah}(h]h ]h"]h$]h&]uh1j hj9ubeh}(h]h ]h"]h$]h&]uh1j hj6ubah}(h]h ]h"]h$]h&]uh1j0 hjubeh}(h]h ]h"]h$]h&]colsKuh1j hjubah}(h]h ]h"]h$]h&]uh1j hjubah}(h]h ]h"]h$]h&]uh1hhhhMYhjubh)}(hMSG_MORE should be set in msghdr::msg_flags on all but the last part of the request. Multiple requests may be made simultaneously.h]hMSG_MORE should be set in msghdr::msg_flags on all but the last part of the request. Multiple requests may be made simultaneously.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM]hjubh)}(hUAn RXRPC_TX_LENGTH control message can also be specified on the first sendmsg() call.h]hUAn RXRPC_TX_LENGTH control message can also be specified on the first sendmsg() call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM`hjubh)}(hIf a call is intended to go to a destination other than the default specified through connect(), then msghdr::msg_name should be set on the first request message of that call.h]hIf a call is intended to go to a destination other than the default specified through connect(), then msghdr::msg_name should be set on the first request message of that call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMchjubeh}(h]h ]h"]h$]h&]uh1hhj3ubh)}(hXThe reply data will then be posted to the server socket for recvmsg() to pick up. MSG_MORE will be flagged by recvmsg() if there's more reply data for a particular call to be read. MSG_EOR will be set on the terminal read for a call. All data will be delivered with the following control message attached: RXRPC_USER_CALL_ID - specifies the user ID for this call If an abort or error occurred, this will be returned in the control data buffer instead, and MSG_EOR will be flagged to indicate the end of that call. h](h)}(hThe reply data will then be posted to the server socket for recvmsg() to pick up. MSG_MORE will be flagged by recvmsg() if there's more reply data for a particular call to be read. MSG_EOR will be set on the terminal read for a call.h]hThe reply data will then be posted to the server socket for recvmsg() to pick up. MSG_MORE will be flagged by recvmsg() if there’s more reply data for a particular call to be read. MSG_EOR will be set on the terminal read for a call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMghjubh)}(hGAll data will be delivered with the following control message attached:h]hGAll data will be delivered with the following control message attached:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMlhjubh)}(h>RXRPC_USER_CALL_ID - specifies the user ID for this call h]h)}(h=RXRPC_USER_CALL_ID - specifies the user ID for this callh]h=RXRPC_USER_CALL_ID - specifies the user ID for this call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMnhjubah}(h]h ]h"]h$]h&]uh1hhhhMnhjubh)}(hIf an abort or error occurred, this will be returned in the control data buffer instead, and MSG_EOR will be flagged to indicate the end of that call.h]hIf an abort or error occurred, this will be returned in the control data buffer instead, and MSG_EOR will be flagged to indicate the end of that call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMphjubeh}(h]h ]h"]h$]h&]uh1hhj3ubeh}(h]h ]h"]h$]h&]jjjjjjuh1hhj/ubah}(h]h ]h"]h$]h&]uh1hhhhM%hjhhubh)}(hXA client may ask for a service ID it knows and ask that this be upgraded to a better service if one is available by supplying RXRPC_UPGRADE_SERVICE on the first sendmsg() of a call. The client should then check srx_service in the msg_name filled in by recvmsg() when collecting the result. srx_service will hold the same value as given to sendmsg() if the upgrade request was ignored by the service - otherwise it will be altered to indicate the service ID the server upgraded to. Note that the upgraded service ID is chosen by the server. The caller has to wait until it sees the service ID in the reply before sending any more calls (further calls to the same destination will be blocked until the probe is concluded).h]hXA client may ask for a service ID it knows and ask that this be upgraded to a better service if one is available by supplying RXRPC_UPGRADE_SERVICE on the first sendmsg() of a call. The client should then check srx_service in the msg_name filled in by recvmsg() when collecting the result. srx_service will hold the same value as given to sendmsg() if the upgrade request was ignored by the service - otherwise it will be altered to indicate the service ID the server upgraded to. Note that the upgraded service ID is chosen by the server. The caller has to wait until it sees the service ID in the reply before sending any more calls (further calls to the same destination will be blocked until the probe is concluded).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMthjhhubh)}(hhh](h)}(hExample Server Usageh]hExample Server Usage}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hFA server would be set up to accept operations in the following manner:h]hFA server would be set up to accept operations in the following manner:}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXJ(1) An RxRPC socket is created by:: server = socket(AF_RXRPC, SOCK_DGRAM, PF_INET); Where the third parameter indicates the address type of the transport socket used - usually IPv4. (2) Security is set up if desired by giving the socket a keyring with server secret keys in it:: keyring = add_key("keyring", "AFSkeys", NULL, 0, KEY_SPEC_PROCESS_KEYRING); const char secret_key[8] = { 0xa7, 0x83, 0x8a, 0xcb, 0xc7, 0x83, 0xec, 0x94 }; add_key("rxrpc_s", "52:2", secret_key, 8, keyring); setsockopt(server, SOL_RXRPC, RXRPC_SECURITY_KEYRING, "AFSkeys", 7); The keyring can be manipulated after it has been given to the socket. This permits the server to add more keys, replace keys, etc. while it is live. (3) A local address must then be bound:: struct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = VL_SERVICE_ID, /* RxRPC service ID */ .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7000), /* AFS callback */ .transport.sin_address = 0, /* all local interfaces */ }; bind(server, &srx, sizeof(srx)); More than one service ID may be bound to a socket, provided the transport parameters are the same. The limit is currently two. To do this, bind() should be called twice. (4) If service upgrading is required, first two service IDs must have been bound and then the following option must be set:: unsigned short service_ids[2] = { from_ID, to_ID }; setsockopt(server, SOL_RXRPC, RXRPC_UPGRADEABLE_SERVICE, service_ids, sizeof(service_ids)); This will automatically upgrade connections on service from_ID to service to_ID if they request it. This will be reflected in msg_name obtained through recvmsg() when the request data is delivered to userspace. (5) The server is then set to listen out for incoming calls:: listen(server, 100); (6) The kernel notifies the server of pending incoming connections by sending it a message for each. This is received with recvmsg() on the server socket. It has no data, and has a single dataless control message attached:: RXRPC_NEW_CALL The address that can be passed back by recvmsg() at this point should be ignored since the call for which the message was posted may have gone by the time it is accepted - in which case the first call still on the queue will be accepted. (7) The server then accepts the new call by issuing a sendmsg() with two pieces of control data and no actual data: ================== ============================== RXRPC_ACCEPT indicate connection acceptance RXRPC_USER_CALL_ID specify user ID for this call ================== ============================== (8) The first request data packet will then be posted to the server socket for recvmsg() to pick up. At that point, the RxRPC address for the call can be read from the address fields in the msghdr struct. Subsequent request data will be posted to the server socket for recvmsg() to collect as it arrives. All but the last piece of the request data will be delivered with MSG_MORE flagged. All data will be delivered with the following control message attached: ================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== (9) The reply data should then be posted to the server socket using a series of sendmsg() calls, each with the following control messages attached: ================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== MSG_MORE should be set in msghdr::msg_flags on all but the last message for a particular call. h]h)}(hhh](h)}(hAn RxRPC socket is created by:: server = socket(AF_RXRPC, SOCK_DGRAM, PF_INET); Where the third parameter indicates the address type of the transport socket used - usually IPv4. h](h)}(hAn RxRPC socket is created by::h]hAn RxRPC socket is created by:}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjEubj)}(h/server = socket(AF_RXRPC, SOCK_DGRAM, PF_INET);h]h/server = socket(AF_RXRPC, SOCK_DGRAM, PF_INET);}hjWsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjEubh)}(haWhere the third parameter indicates the address type of the transport socket used - usually IPv4.h]haWhere the third parameter indicates the address type of the transport socket used - usually IPv4.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjEubeh}(h]h ]h"]h$]h&]uh1hhjBubh)}(hX6Security is set up if desired by giving the socket a keyring with server secret keys in it:: keyring = add_key("keyring", "AFSkeys", NULL, 0, KEY_SPEC_PROCESS_KEYRING); const char secret_key[8] = { 0xa7, 0x83, 0x8a, 0xcb, 0xc7, 0x83, 0xec, 0x94 }; add_key("rxrpc_s", "52:2", secret_key, 8, keyring); setsockopt(server, SOL_RXRPC, RXRPC_SECURITY_KEYRING, "AFSkeys", 7); The keyring can be manipulated after it has been given to the socket. This permits the server to add more keys, replace keys, etc. while it is live. h](h)}(h\Security is set up if desired by giving the socket a keyring with server secret keys in it::h]h[Security is set up if desired by giving the socket a keyring with server secret keys in it:}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjyubj)}(hX/keyring = add_key("keyring", "AFSkeys", NULL, 0, KEY_SPEC_PROCESS_KEYRING); const char secret_key[8] = { 0xa7, 0x83, 0x8a, 0xcb, 0xc7, 0x83, 0xec, 0x94 }; add_key("rxrpc_s", "52:2", secret_key, 8, keyring); setsockopt(server, SOL_RXRPC, RXRPC_SECURITY_KEYRING, "AFSkeys", 7);h]hX/keyring = add_key("keyring", "AFSkeys", NULL, 0, KEY_SPEC_PROCESS_KEYRING); const char secret_key[8] = { 0xa7, 0x83, 0x8a, 0xcb, 0xc7, 0x83, 0xec, 0x94 }; add_key("rxrpc_s", "52:2", secret_key, 8, keyring); setsockopt(server, SOL_RXRPC, RXRPC_SECURITY_KEYRING, "AFSkeys", 7);}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjyubh)}(hThe keyring can be manipulated after it has been given to the socket. This permits the server to add more keys, replace keys, etc. while it is live.h]hThe keyring can be manipulated after it has been given to the socket. This permits the server to add more keys, replace keys, etc. while it is live.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjyubeh}(h]h ]h"]h$]h&]uh1hhjBubh)}(hXA local address must then be bound:: struct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = VL_SERVICE_ID, /* RxRPC service ID */ .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7000), /* AFS callback */ .transport.sin_address = 0, /* all local interfaces */ }; bind(server, &srx, sizeof(srx)); More than one service ID may be bound to a socket, provided the transport parameters are the same. The limit is currently two. To do this, bind() should be called twice. h](h)}(h$A local address must then be bound::h]h#A local address must then be bound:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hXstruct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = VL_SERVICE_ID, /* RxRPC service ID */ .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7000), /* AFS callback */ .transport.sin_address = 0, /* all local interfaces */ }; bind(server, &srx, sizeof(srx));h]hXstruct sockaddr_rxrpc srx = { .srx_family = AF_RXRPC, .srx_service = VL_SERVICE_ID, /* RxRPC service ID */ .transport_type = SOCK_DGRAM, /* type of transport socket */ .transport.sin_family = AF_INET, .transport.sin_port = htons(7000), /* AFS callback */ .transport.sin_address = 0, /* all local interfaces */ }; bind(server, &srx, sizeof(srx));}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjubh)}(hMore than one service ID may be bound to a socket, provided the transport parameters are the same. The limit is currently two. To do this, bind() should be called twice.h]hMore than one service ID may be bound to a socket, provided the transport parameters are the same. The limit is currently two. To do this, bind() should be called twice.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjBubh)}(hXIf service upgrading is required, first two service IDs must have been bound and then the following option must be set:: unsigned short service_ids[2] = { from_ID, to_ID }; setsockopt(server, SOL_RXRPC, RXRPC_UPGRADEABLE_SERVICE, service_ids, sizeof(service_ids)); This will automatically upgrade connections on service from_ID to service to_ID if they request it. This will be reflected in msg_name obtained through recvmsg() when the request data is delivered to userspace. h](h)}(hxIf service upgrading is required, first two service IDs must have been bound and then the following option must be set::h]hwIf service upgrading is required, first two service IDs must have been bound and then the following option must be set:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hunsigned short service_ids[2] = { from_ID, to_ID }; setsockopt(server, SOL_RXRPC, RXRPC_UPGRADEABLE_SERVICE, service_ids, sizeof(service_ids));h]hunsigned short service_ids[2] = { from_ID, to_ID }; setsockopt(server, SOL_RXRPC, RXRPC_UPGRADEABLE_SERVICE, service_ids, sizeof(service_ids));}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjubh)}(hThis will automatically upgrade connections on service from_ID to service to_ID if they request it. This will be reflected in msg_name obtained through recvmsg() when the request data is delivered to userspace.h]hThis will automatically upgrade connections on service from_ID to service to_ID if they request it. This will be reflected in msg_name obtained through recvmsg() when the request data is delivered to userspace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjBubh)}(hSThe server is then set to listen out for incoming calls:: listen(server, 100); h](h)}(h9The server is then set to listen out for incoming calls::h]h8The server is then set to listen out for incoming calls:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hlisten(server, 100);h]hlisten(server, 100);}hj'sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjBubh)}(hXThe kernel notifies the server of pending incoming connections by sending it a message for each. This is received with recvmsg() on the server socket. It has no data, and has a single dataless control message attached:: RXRPC_NEW_CALL The address that can be passed back by recvmsg() at this point should be ignored since the call for which the message was posted may have gone by the time it is accepted - in which case the first call still on the queue will be accepted. h](h)}(hThe kernel notifies the server of pending incoming connections by sending it a message for each. This is received with recvmsg() on the server socket. It has no data, and has a single dataless control message attached::h]hThe kernel notifies the server of pending incoming connections by sending it a message for each. This is received with recvmsg() on the server socket. It has no data, and has a single dataless control message attached:}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj;ubj)}(hRXRPC_NEW_CALLh]hRXRPC_NEW_CALL}hjMsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj;ubh)}(hThe address that can be passed back by recvmsg() at this point should be ignored since the call for which the message was posted may have gone by the time it is accepted - in which case the first call still on the queue will be accepted.h]hThe address that can be passed back by recvmsg() at this point should be ignored since the call for which the message was posted may have gone by the time it is accepted - in which case the first call still on the queue will be accepted.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj;ubeh}(h]h ]h"]h$]h&]uh1hhjBubh)}(hXXThe server then accepts the new call by issuing a sendmsg() with two pieces of control data and no actual data: ================== ============================== RXRPC_ACCEPT indicate connection acceptance RXRPC_USER_CALL_ID specify user ID for this call ================== ============================== h](h)}(hoThe server then accepts the new call by issuing a sendmsg() with two pieces of control data and no actual data:h]hoThe server then accepts the new call by issuing a sendmsg() with two pieces of control data and no actual data:}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjoubh)}(h================== ============================== RXRPC_ACCEPT indicate connection acceptance RXRPC_USER_CALL_ID specify user ID for this call ================== ============================== h]j )}(hhh]j )}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubj1 )}(hhh](j )}(hhh](j )}(hhh]h)}(h RXRPC_ACCEPTh]h RXRPC_ACCEPT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(hindicate connection acceptanceh]hindicate connection acceptance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh](j )}(hhh]h)}(hRXRPC_USER_CALL_IDh]hRXRPC_USER_CALL_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(hspecify user ID for this callh]hspecify user ID for this call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j0 hjubeh}(h]h ]h"]h$]h&]colsKuh1j hjubah}(h]h ]h"]h$]h&]uh1j hjubah}(h]h ]h"]h$]h&]uh1hhhhMhjoubeh}(h]h ]h"]h$]h&]uh1hhjBubh)}(hXThe first request data packet will then be posted to the server socket for recvmsg() to pick up. At that point, the RxRPC address for the call can be read from the address fields in the msghdr struct. Subsequent request data will be posted to the server socket for recvmsg() to collect as it arrives. All but the last piece of the request data will be delivered with MSG_MORE flagged. All data will be delivered with the following control message attached: ================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== h](h)}(hThe first request data packet will then be posted to the server socket for recvmsg() to pick up. At that point, the RxRPC address for the call can be read from the address fields in the msghdr struct.h]hThe first request data packet will then be posted to the server socket for recvmsg() to pick up. At that point, the RxRPC address for the call can be read from the address fields in the msghdr struct.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj/ubh)}(hSubsequent request data will be posted to the server socket for recvmsg() to collect as it arrives. All but the last piece of the request data will be delivered with MSG_MORE flagged.h]hSubsequent request data will be posted to the server socket for recvmsg() to collect as it arrives. All but the last piece of the request data will be delivered with MSG_MORE flagged.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj/ubh)}(hGAll data will be delivered with the following control message attached:h]hGAll data will be delivered with the following control message attached:}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj/ubh)}(h================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== h]j )}(hhh]j )}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjdubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthK#uh1j hjdubj1 )}(hhh]j )}(hhh](j )}(hhh]h)}(hRXRPC_USER_CALL_IDh]hRXRPC_USER_CALL_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hj~ubj )}(hhh]h)}(h#specifies the user ID for this callh]h#specifies the user ID for this call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hj~ubeh}(h]h ]h"]h$]h&]uh1j hj{ubah}(h]h ]h"]h$]h&]uh1j0 hjdubeh}(h]h ]h"]h$]h&]colsKuh1j hjaubah}(h]h ]h"]h$]h&]uh1j hj]ubah}(h]h ]h"]h$]h&]uh1hhhhMhj/ubeh}(h]h ]h"]h$]h&]uh1hhjBubh)}(hXThe reply data should then be posted to the server socket using a series of sendmsg() calls, each with the following control messages attached: ================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== MSG_MORE should be set in msghdr::msg_flags on all but the last message for a particular call. h](h)}(hThe reply data should then be posted to the server socket using a series of sendmsg() calls, each with the following control messages attached:h]hThe reply data should then be posted to the server socket using a series of sendmsg() calls, each with the following control messages attached:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(h================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call ================== =================================== h]j )}(hhh]j )}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthK#uh1j hjubj1 )}(hhh]j )}(hhh](j )}(hhh]h)}(hRXRPC_USER_CALL_IDh]hRXRPC_USER_CALL_ID}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(h#specifies the user ID for this callh]h#specifies the user ID for this call}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj!ubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjubah}(h]h ]h"]h$]h&]uh1j0 hjubeh}(h]h ]h"]h$]h&]colsKuh1j hjubah}(h]h ]h"]h$]h&]uh1j hjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(h^MSG_MORE should be set in msghdr::msg_flags on all but the last message for a particular call.h]h^MSG_MORE should be set in msghdr::msg_flags on all but the last message for a particular call.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjBubeh}(h]h ]h"]h$]h&]jjjjjjuh1hhj>ubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hhh](h)}(hXThe final ACK from the client will be posted for retrieval by recvmsg() when it is received. It will take the form of a dataless message with two control messages attached: ================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call RXRPC_ACK indicates final ACK (no data) ================== =================================== MSG_EOR will be flagged to indicate that this is the final message for this call. h](h)}(hThe final ACK from the client will be posted for retrieval by recvmsg() when it is received. It will take the form of a dataless message with two control messages attached:h]hThe final ACK from the client will be posted for retrieval by recvmsg() when it is received. It will take the form of a dataless message with two control messages attached:}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjzubh)}(h================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call RXRPC_ACK indicates final ACK (no data) ================== =================================== h]j )}(hhh]j )}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthK#uh1j hjubj1 )}(hhh](j )}(hhh](j )}(hhh]h)}(hRXRPC_USER_CALL_IDh]hRXRPC_USER_CALL_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(h#specifies the user ID for this callh]h#specifies the user ID for this call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh](j )}(hhh]h)}(h RXRPC_ACKh]h RXRPC_ACK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(hindicates final ACK (no data)h]hindicates final ACK (no data)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j0 hjubeh}(h]h ]h"]h$]h&]colsKuh1j hjubah}(h]h ]h"]h$]h&]uh1j hjubah}(h]h ]h"]h$]h&]uh1hhhhMhjzubh)}(hQMSG_EOR will be flagged to indicate that this is the final message for this call.h]hQMSG_EOR will be flagged to indicate that this is the final message for this call.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjzubeh}(h]h ]h"]h$]h&]uh1hhjwhhhhhNubh)}(hXUp to the point the final packet of reply data is sent, the call can be aborted by calling sendmsg() with a dataless message with the following control messages attached: ================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call RXRPC_ABORT indicates abort code (4 byte data) ================== =================================== Any packets waiting in the socket's receive queue will be discarded if this is issued. h](h)}(hUp to the point the final packet of reply data is sent, the call can be aborted by calling sendmsg() with a dataless message with the following control messages attached:h]hUp to the point the final packet of reply data is sent, the call can be aborted by calling sendmsg() with a dataless message with the following control messages attached:}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjHubh)}(h================== =================================== RXRPC_USER_CALL_ID specifies the user ID for this call RXRPC_ABORT indicates abort code (4 byte data) ================== =================================== h]j )}(hhh]j )}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjaubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthK#uh1j hjaubj1 )}(hhh](j )}(hhh](j )}(hhh]h)}(hRXRPC_USER_CALL_IDh]hRXRPC_USER_CALL_ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj~ubah}(h]h ]h"]h$]h&]uh1j hj{ubj )}(hhh]h)}(h#specifies the user ID for this callh]h#specifies the user ID for this call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hj{ubeh}(h]h ]h"]h$]h&]uh1j hjxubj )}(hhh](j )}(hhh]h)}(h RXRPC_ABORTh]h RXRPC_ABORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(h"indicates abort code (4 byte data)h]h"indicates abort code (4 byte data)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjxubeh}(h]h ]h"]h$]h&]uh1j0 hjaubeh}(h]h ]h"]h$]h&]colsKuh1j hj^ubah}(h]h ]h"]h$]h&]uh1j hjZubah}(h]h ]h"]h$]h&]uh1hhhhMhjHubh)}(hVAny packets waiting in the socket's receive queue will be discarded if this is issued.h]hXAny packets waiting in the socket’s receive queue will be discarded if this is issued.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjHubeh}(h]h ]h"]h$]h&]uh1hhjwhhhhhNubeh}(h]h ]h"]h$]h&]jjjjjjjR K uh1hhjhhhhhMubh)}(hNote that all the communications for a particular service take place through the one server socket, using control messages on sendmsg() and recvmsg() to determine the call affected.h]hNote that all the communications for a particular service take place through the one server socket, using control messages on sendmsg() and recvmsg() to determine the call affected.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h]example-server-usageah ]h"]example server usageah$]h&]uh1hhjhhhhhMubh)}(hhh](h)}(hAF_RXRPC Kernel Interfaceh]hAF_RXRPC Kernel Interface}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hhhhhMubh)}(hThe AF_RXRPC module also provides an interface for use by in-kernel utilities such as the AFS filesystem. This permits such a utility to:h]hThe AF_RXRPC module also provides an interface for use by in-kernel utilities such as the AFS filesystem. This permits such a utility to:}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj2hhubh)}(hX(1) Use different keys directly on individual client calls on one socket rather than having to open a whole slew of sockets, one for each key it might want to use. (2) Avoid having RxRPC call request_key() at the point of issue of a call or opening of a socket. Instead the utility is responsible for requesting a key at the appropriate point. AFS, for instance, would do this during VFS operations such as open() or unlink(). The key is then handed through when the call is initiated. (3) Request the use of something other than GFP_KERNEL to allocate memory. (4) Avoid the overhead of using the recvmsg() call. RxRPC messages can be intercepted before they get put into the socket Rx queue and the socket buffers manipulated directly. h]h)}(hhh](h)}(hUse different keys directly on individual client calls on one socket rather than having to open a whole slew of sockets, one for each key it might want to use. h]h)}(hUse different keys directly on individual client calls on one socket rather than having to open a whole slew of sockets, one for each key it might want to use.h]hUse different keys directly on individual client calls on one socket rather than having to open a whole slew of sockets, one for each key it might want to use.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjXubah}(h]h ]h"]h$]h&]uh1hhjUubh)}(hXAAvoid having RxRPC call request_key() at the point of issue of a call or opening of a socket. Instead the utility is responsible for requesting a key at the appropriate point. AFS, for instance, would do this during VFS operations such as open() or unlink(). The key is then handed through when the call is initiated. h]h)}(hX@Avoid having RxRPC call request_key() at the point of issue of a call or opening of a socket. Instead the utility is responsible for requesting a key at the appropriate point. AFS, for instance, would do this during VFS operations such as open() or unlink(). The key is then handed through when the call is initiated.h]hX@Avoid having RxRPC call request_key() at the point of issue of a call or opening of a socket. Instead the utility is responsible for requesting a key at the appropriate point. AFS, for instance, would do this during VFS operations such as open() or unlink(). The key is then handed through when the call is initiated.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjpubah}(h]h ]h"]h$]h&]uh1hhjUubh)}(hGRequest the use of something other than GFP_KERNEL to allocate memory. h]h)}(hFRequest the use of something other than GFP_KERNEL to allocate memory.h]hFRequest the use of something other than GFP_KERNEL to allocate memory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1hhjUubh)}(hAvoid the overhead of using the recvmsg() call. RxRPC messages can be intercepted before they get put into the socket Rx queue and the socket buffers manipulated directly. h]h)}(hAvoid the overhead of using the recvmsg() call. RxRPC messages can be intercepted before they get put into the socket Rx queue and the socket buffers manipulated directly.h]hAvoid the overhead of using the recvmsg() call. RxRPC messages can be intercepted before they get put into the socket Rx queue and the socket buffers manipulated directly.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1hhjUubeh}(h]h ]h"]h$]h&]jjjjjjuh1hhjQubah}(h]h ]h"]h$]h&]uh1hhhhM hj2hhubh)}(hTo use the RxRPC facility, a kernel utility must still open an AF_RXRPC socket, bind an address as appropriate and listen if it's to be a server socket, but then it passes this to the kernel interface functions.h]hTo use the RxRPC facility, a kernel utility must still open an AF_RXRPC socket, bind an address as appropriate and listen if it’s to be a server socket, but then it passes this to the kernel interface functions.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj2hhubh)}(h.The kernel interface functions are as follows:h]h.The kernel interface functions are as follows:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj2hhubh)}(hXC0(#) Begin a new client call:: struct rxrpc_call * rxrpc_kernel_begin_call(struct socket *sock, struct sockaddr_rxrpc *srx, struct key *key, unsigned long user_call_ID, s64 tx_total_len, gfp_t gfp, rxrpc_notify_rx_t notify_rx, bool upgrade, bool intr, unsigned int debug_id); This allocates the infrastructure to make a new RxRPC call and assigns call and connection numbers. The call will be made on the UDP port that the socket is bound to. The call will go to the destination address of a connected client socket unless an alternative is supplied (srx is non-NULL). If a key is supplied then this will be used to secure the call instead of the key bound to the socket with the RXRPC_SECURITY_KEY sockopt. Calls secured in this way will still share connections if at all possible. The user_call_ID is equivalent to that supplied to sendmsg() in the control data buffer. It is entirely feasible to use this to point to a kernel data structure. tx_total_len is the amount of data the caller is intending to transmit with this call (or -1 if unknown at this point). Setting the data size allows the kernel to encrypt directly to the packet buffers, thereby saving a copy. The value may not be less than -1. notify_rx is a pointer to a function to be called when events such as incoming data packets or remote aborts happen. upgrade should be set to true if a client operation should request that the server upgrade the service to a better one. The resultant service ID is returned by rxrpc_kernel_recv_data(). intr should be set to true if the call should be interruptible. If this is not set, this function may not return until a channel has been allocated; if it is set, the function may return -ERESTARTSYS. debug_id is the call debugging ID to be used for tracing. This can be obtained by atomically incrementing rxrpc_debug_id. If this function is successful, an opaque reference to the RxRPC call is returned. The caller now holds a reference on this and it must be properly ended. (#) Shut down a client call:: void rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call); This is used to shut down a previously begun call. The user_call_ID is expunged from AF_RXRPC's knowledge and will not be seen again in association with the specified call. (#) Release the ref on a client call:: void rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call); This is used to release the caller's ref on an rxrpc call. (#) Send data through a call:: typedef void (*rxrpc_notify_end_tx_t)(struct sock *sk, unsigned long user_call_ID, struct sk_buff *skb); int rxrpc_kernel_send_data(struct socket *sock, struct rxrpc_call *call, struct msghdr *msg, size_t len, rxrpc_notify_end_tx_t notify_end_rx); This is used to supply either the request part of a client call or the reply part of a server call. msg.msg_iovlen and msg.msg_iov specify the data buffers to be used. msg_iov may not be NULL and must point exclusively to in-kernel virtual addresses. msg.msg_flags may be given MSG_MORE if there will be subsequent data sends for this call. The msg must not specify a destination address, control data or any flags other than MSG_MORE. len is the total amount of data to transmit. notify_end_rx can be NULL or it can be used to specify a function to be called when the call changes state to end the Tx phase. This function is called with a spinlock held to prevent the last DATA packet from being transmitted until the function returns. (#) Receive data from a call:: int rxrpc_kernel_recv_data(struct socket *sock, struct rxrpc_call *call, void *buf, size_t size, size_t *_offset, bool want_more, u32 *_abort, u16 *_service) This is used to receive data from either the reply part of a client call or the request part of a service call. buf and size specify how much data is desired and where to store it. *_offset is added on to buf and subtracted from size internally; the amount copied into the buffer is added to *_offset before returning. want_more should be true if further data will be required after this is satisfied and false if this is the last item of the receive phase. There are three normal returns: 0 if the buffer was filled and want_more was true; 1 if the buffer was filled, the last DATA packet has been emptied and want_more was false; and -EAGAIN if the function needs to be called again. If the last DATA packet is processed but the buffer contains less than the amount requested, EBADMSG is returned. If want_more wasn't set, but more data was available, EMSGSIZE is returned. If a remote ABORT is detected, the abort code received will be stored in ``*_abort`` and ECONNABORTED will be returned. The service ID that the call ended up with is returned into *_service. This can be used to see if a call got a service upgrade. (#) Abort a call?? :: void rxrpc_kernel_abort_call(struct socket *sock, struct rxrpc_call *call, u32 abort_code); This is used to abort a call if it's still in an abortable state. The abort code specified will be placed in the ABORT message sent. (#) Intercept received RxRPC messages:: typedef void (*rxrpc_interceptor_t)(struct sock *sk, unsigned long user_call_ID, struct sk_buff *skb); void rxrpc_kernel_intercept_rx_messages(struct socket *sock, rxrpc_interceptor_t interceptor); This installs an interceptor function on the specified AF_RXRPC socket. All messages that would otherwise wind up in the socket's Rx queue are then diverted to this function. Note that care must be taken to process the messages in the right order to maintain DATA message sequentiality. The interceptor function itself is provided with the address of the socket and handling the incoming message, the ID assigned by the kernel utility to the call and the socket buffer containing the message. The skb->mark field indicates the type of message: =============================== ======================================= Mark Meaning =============================== ======================================= RXRPC_SKB_MARK_DATA Data message RXRPC_SKB_MARK_FINAL_ACK Final ACK received for an incoming call RXRPC_SKB_MARK_BUSY Client call rejected as server busy RXRPC_SKB_MARK_REMOTE_ABORT Call aborted by peer RXRPC_SKB_MARK_NET_ERROR Network error detected RXRPC_SKB_MARK_LOCAL_ERROR Local error encountered RXRPC_SKB_MARK_NEW_CALL New incoming call awaiting acceptance =============================== ======================================= The remote abort message can be probed with rxrpc_kernel_get_abort_code(). The two error messages can be probed with rxrpc_kernel_get_error_number(). A new call can be accepted with rxrpc_kernel_accept_call(). Data messages can have their contents extracted with the usual bunch of socket buffer manipulation functions. A data message can be determined to be the last one in a sequence with rxrpc_kernel_is_data_last(). When a data message has been used up, rxrpc_kernel_data_consumed() should be called on it. Messages should be handled to rxrpc_kernel_free_skb() to dispose of. It is possible to get extra refs on all types of message for later freeing, but this may pin the state of a call until the message is finally freed. (#) Accept an incoming call:: struct rxrpc_call * rxrpc_kernel_accept_call(struct socket *sock, unsigned long user_call_ID); This is used to accept an incoming call and to assign it a call ID. This function is similar to rxrpc_kernel_begin_call() and calls accepted must be ended in the same way. If this function is successful, an opaque reference to the RxRPC call is returned. The caller now holds a reference on this and it must be properly ended. (#) Reject an incoming call:: int rxrpc_kernel_reject_call(struct socket *sock); This is used to reject the first incoming call on the socket's queue with a BUSY message. -ENODATA is returned if there were no incoming calls. Other errors may be returned if the call had been aborted (-ECONNABORTED) or had timed out (-ETIME). (#) Allocate a null key for doing anonymous security:: struct key *rxrpc_get_null_key(const char *keyname); This is used to allocate a null RxRPC key that can be used to indicate anonymous security for a particular domain. (#) Get the peer address of a call:: void rxrpc_kernel_get_peer(struct socket *sock, struct rxrpc_call *call, struct sockaddr_rxrpc *_srx); This is used to find the remote peer address of a call. (#) Set the total transmit data size on a call:: void rxrpc_kernel_set_tx_length(struct socket *sock, struct rxrpc_call *call, s64 tx_total_len); This sets the amount of data that the caller is intending to transmit on a call. It's intended to be used for setting the reply size as the request size should be set when the call is begun. tx_total_len may not be less than zero. (#) Get call RTT:: u64 rxrpc_kernel_get_rtt(struct socket *sock, struct rxrpc_call *call); Get the RTT time to the peer in use by a call. The value returned is in nanoseconds. (#) Check call still alive:: bool rxrpc_kernel_check_life(struct socket *sock, struct rxrpc_call *call, u32 *_life); void rxrpc_kernel_probe_life(struct socket *sock, struct rxrpc_call *call); The first function passes back in ``*_life`` a number that is updated when ACKs are received from the peer (notably including PING RESPONSE ACKs which we can elicit by sending PING ACKs to see if the call still exists on the server). The caller should compare the numbers of two calls to see if the call is still alive after waiting for a suitable interval. It also returns true as long as the call hasn't yet reached the completed state. This allows the caller to work out if the server is still contactable and if the call is still alive on the server while waiting for the server to process a client operation. The second function causes a ping ACK to be transmitted to try to provoke the peer into responding, which would then cause the value returned by the first function to change. Note that this must be called in TASK_RUNNING state. (#) Apply the RXRPC_MIN_SECURITY_LEVEL sockopt to a socket from within in the kernel:: int rxrpc_sock_set_min_security_level(struct sock *sk, unsigned int val); This specifies the minimum security level required for calls on this socket. h]h)}(hhh](h)}(hXBegin a new client call:: struct rxrpc_call * rxrpc_kernel_begin_call(struct socket *sock, struct sockaddr_rxrpc *srx, struct key *key, unsigned long user_call_ID, s64 tx_total_len, gfp_t gfp, rxrpc_notify_rx_t notify_rx, bool upgrade, bool intr, unsigned int debug_id); This allocates the infrastructure to make a new RxRPC call and assigns call and connection numbers. The call will be made on the UDP port that the socket is bound to. The call will go to the destination address of a connected client socket unless an alternative is supplied (srx is non-NULL). If a key is supplied then this will be used to secure the call instead of the key bound to the socket with the RXRPC_SECURITY_KEY sockopt. Calls secured in this way will still share connections if at all possible. The user_call_ID is equivalent to that supplied to sendmsg() in the control data buffer. It is entirely feasible to use this to point to a kernel data structure. tx_total_len is the amount of data the caller is intending to transmit with this call (or -1 if unknown at this point). Setting the data size allows the kernel to encrypt directly to the packet buffers, thereby saving a copy. The value may not be less than -1. notify_rx is a pointer to a function to be called when events such as incoming data packets or remote aborts happen. upgrade should be set to true if a client operation should request that the server upgrade the service to a better one. The resultant service ID is returned by rxrpc_kernel_recv_data(). intr should be set to true if the call should be interruptible. If this is not set, this function may not return until a channel has been allocated; if it is set, the function may return -ERESTARTSYS. debug_id is the call debugging ID to be used for tracing. This can be obtained by atomically incrementing rxrpc_debug_id. If this function is successful, an opaque reference to the RxRPC call is returned. The caller now holds a reference on this and it must be properly ended. h](h)}(hBegin a new client call::h]hBegin a new client call:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjubj)}(hXstruct rxrpc_call * rxrpc_kernel_begin_call(struct socket *sock, struct sockaddr_rxrpc *srx, struct key *key, unsigned long user_call_ID, s64 tx_total_len, gfp_t gfp, rxrpc_notify_rx_t notify_rx, bool upgrade, bool intr, unsigned int debug_id);h]hXstruct rxrpc_call * rxrpc_kernel_begin_call(struct socket *sock, struct sockaddr_rxrpc *srx, struct key *key, unsigned long user_call_ID, s64 tx_total_len, gfp_t gfp, rxrpc_notify_rx_t notify_rx, bool upgrade, bool intr, unsigned int debug_id);}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhM"hjubh)}(hX&This allocates the infrastructure to make a new RxRPC call and assigns call and connection numbers. The call will be made on the UDP port that the socket is bound to. The call will go to the destination address of a connected client socket unless an alternative is supplied (srx is non-NULL).h]hX&This allocates the infrastructure to make a new RxRPC call and assigns call and connection numbers. The call will be made on the UDP port that the socket is bound to. The call will go to the destination address of a connected client socket unless an alternative is supplied (srx is non-NULL).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM.hjubh)}(hIf a key is supplied then this will be used to secure the call instead of the key bound to the socket with the RXRPC_SECURITY_KEY sockopt. Calls secured in this way will still share connections if at all possible.h]hIf a key is supplied then this will be used to secure the call instead of the key bound to the socket with the RXRPC_SECURITY_KEY sockopt. Calls secured in this way will still share connections if at all possible.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM4hjubh)}(hThe user_call_ID is equivalent to that supplied to sendmsg() in the control data buffer. It is entirely feasible to use this to point to a kernel data structure.h]hThe user_call_ID is equivalent to that supplied to sendmsg() in the control data buffer. It is entirely feasible to use this to point to a kernel data structure.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM8hjubh)}(hXtx_total_len is the amount of data the caller is intending to transmit with this call (or -1 if unknown at this point). Setting the data size allows the kernel to encrypt directly to the packet buffers, thereby saving a copy. The value may not be less than -1.h]hXtx_total_len is the amount of data the caller is intending to transmit with this call (or -1 if unknown at this point). Setting the data size allows the kernel to encrypt directly to the packet buffers, thereby saving a copy. The value may not be less than -1.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM<hjubh)}(htnotify_rx is a pointer to a function to be called when events such as incoming data packets or remote aborts happen.h]htnotify_rx is a pointer to a function to be called when events such as incoming data packets or remote aborts happen.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMAhjubh)}(hupgrade should be set to true if a client operation should request that the server upgrade the service to a better one. The resultant service ID is returned by rxrpc_kernel_recv_data().h]hupgrade should be set to true if a client operation should request that the server upgrade the service to a better one. The resultant service ID is returned by rxrpc_kernel_recv_data().}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMDhjubh)}(hintr should be set to true if the call should be interruptible. If this is not set, this function may not return until a channel has been allocated; if it is set, the function may return -ERESTARTSYS.h]hintr should be set to true if the call should be interruptible. If this is not set, this function may not return until a channel has been allocated; if it is set, the function may return -ERESTARTSYS.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMHhjubh)}(hzdebug_id is the call debugging ID to be used for tracing. This can be obtained by atomically incrementing rxrpc_debug_id.h]hzdebug_id is the call debugging ID to be used for tracing. This can be obtained by atomically incrementing rxrpc_debug_id.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMLhjubh)}(hIf this function is successful, an opaque reference to the RxRPC call is returned. The caller now holds a reference on this and it must be properly ended.h]hIf this function is successful, an opaque reference to the RxRPC call is returned. The caller now holds a reference on this and it must be properly ended.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMOhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hX?Shut down a client call:: void rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call); This is used to shut down a previously begun call. The user_call_ID is expunged from AF_RXRPC's knowledge and will not be seen again in association with the specified call. h](h)}(hShut down a client call::h]hShut down a client call:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMShjubj)}(hnvoid rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call);h]hnvoid rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call);}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMUhjubh)}(hThis is used to shut down a previously begun call. The user_call_ID is expunged from AF_RXRPC's knowledge and will not be seen again in association with the specified call.h]hThis is used to shut down a previously begun call. The user_call_ID is expunged from AF_RXRPC’s knowledge and will not be seen again in association with the specified call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMXhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hRelease the ref on a client call:: void rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call); This is used to release the caller's ref on an rxrpc call. h](h)}(h"Release the ref on a client call::h]h!Release the ref on a client call:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM\hjubj)}(hdvoid rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call);h]hdvoid rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call);}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhM^hjubh)}(h:This is used to release the caller's ref on an rxrpc call.h]hmark field indicates the type of message: =============================== ======================================= Mark Meaning =============================== ======================================= RXRPC_SKB_MARK_DATA Data message RXRPC_SKB_MARK_FINAL_ACK Final ACK received for an incoming call RXRPC_SKB_MARK_BUSY Client call rejected as server busy RXRPC_SKB_MARK_REMOTE_ABORT Call aborted by peer RXRPC_SKB_MARK_NET_ERROR Network error detected RXRPC_SKB_MARK_LOCAL_ERROR Local error encountered RXRPC_SKB_MARK_NEW_CALL New incoming call awaiting acceptance =============================== ======================================= The remote abort message can be probed with rxrpc_kernel_get_abort_code(). The two error messages can be probed with rxrpc_kernel_get_error_number(). A new call can be accepted with rxrpc_kernel_accept_call(). Data messages can have their contents extracted with the usual bunch of socket buffer manipulation functions. A data message can be determined to be the last one in a sequence with rxrpc_kernel_is_data_last(). When a data message has been used up, rxrpc_kernel_data_consumed() should be called on it. Messages should be handled to rxrpc_kernel_free_skb() to dispose of. It is possible to get extra refs on all types of message for later freeing, but this may pin the state of a call until the message is finally freed. h](h)}(h#Intercept received RxRPC messages::h]h"Intercept received RxRPC messages:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hX1typedef void (*rxrpc_interceptor_t)(struct sock *sk, unsigned long user_call_ID, struct sk_buff *skb); void rxrpc_kernel_intercept_rx_messages(struct socket *sock, rxrpc_interceptor_t interceptor);h]hX1typedef void (*rxrpc_interceptor_t)(struct sock *sk, unsigned long user_call_ID, struct sk_buff *skb); void rxrpc_kernel_intercept_rx_messages(struct socket *sock, rxrpc_interceptor_t interceptor);}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjubh)}(hXThis installs an interceptor function on the specified AF_RXRPC socket. All messages that would otherwise wind up in the socket's Rx queue are then diverted to this function. Note that care must be taken to process the messages in the right order to maintain DATA message sequentiality.h]hX!This installs an interceptor function on the specified AF_RXRPC socket. All messages that would otherwise wind up in the socket’s Rx queue are then diverted to this function. Note that care must be taken to process the messages in the right order to maintain DATA message sequentiality.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hThe interceptor function itself is provided with the address of the socket and handling the incoming message, the ID assigned by the kernel utility to the call and the socket buffer containing the message.h]hThe interceptor function itself is provided with the address of the socket and handling the incoming message, the ID assigned by the kernel utility to the call and the socket buffer containing the message.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(h2The skb->mark field indicates the type of message:h]h2The skb->mark field indicates the type of message:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hX=============================== ======================================= Mark Meaning =============================== ======================================= RXRPC_SKB_MARK_DATA Data message RXRPC_SKB_MARK_FINAL_ACK Final ACK received for an incoming call RXRPC_SKB_MARK_BUSY Client call rejected as server busy RXRPC_SKB_MARK_REMOTE_ABORT Call aborted by peer RXRPC_SKB_MARK_NET_ERROR Network error detected RXRPC_SKB_MARK_LOCAL_ERROR Local error encountered RXRPC_SKB_MARK_NEW_CALL New incoming call awaiting acceptance =============================== ======================================= h]j )}(hhh]j )}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthK'uh1j hjubj )}(hhh]j )}(hhh](j )}(hhh]h)}(hMarkh]hMark}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(hMeaningh]hMeaning}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj"ubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjubah}(h]h ]h"]h$]h&]uh1j hjubj1 )}(hhh](j )}(hhh](j )}(hhh]h)}(hRXRPC_SKB_MARK_DATAh]hRXRPC_SKB_MARK_DATA}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjKubah}(h]h ]h"]h$]h&]uh1j hjHubj )}(hhh]h)}(h Data messageh]h Data message}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjbubah}(h]h ]h"]h$]h&]uh1j hjHubeh}(h]h ]h"]h$]h&]uh1j hjEubj )}(hhh](j )}(hhh]h)}(hRXRPC_SKB_MARK_FINAL_ACKh]hRXRPC_SKB_MARK_FINAL_ACK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(h'Final ACK received for an incoming callh]h'Final ACK received for an incoming call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjEubj )}(hhh](j )}(hhh]h)}(hRXRPC_SKB_MARK_BUSYh]hRXRPC_SKB_MARK_BUSY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(h#Client call rejected as server busyh]h#Client call rejected as server busy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjEubj )}(hhh](j )}(hhh]h)}(hRXRPC_SKB_MARK_REMOTE_ABORTh]hRXRPC_SKB_MARK_REMOTE_ABORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(hCall aborted by peerh]hCall aborted by peer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjEubj )}(hhh](j )}(hhh]h)}(hRXRPC_SKB_MARK_NET_ERRORh]hRXRPC_SKB_MARK_NET_ERROR}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj'ubah}(h]h ]h"]h$]h&]uh1j hj$ubj )}(hhh]h)}(hNetwork error detectedh]hNetwork error detected}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj>ubah}(h]h ]h"]h$]h&]uh1j hj$ubeh}(h]h ]h"]h$]h&]uh1j hjEubj )}(hhh](j )}(hhh]h)}(hRXRPC_SKB_MARK_LOCAL_ERRORh]hRXRPC_SKB_MARK_LOCAL_ERROR}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj^ubah}(h]h ]h"]h$]h&]uh1j hj[ubj )}(hhh]h)}(hLocal error encounteredh]hLocal error encountered}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjuubah}(h]h ]h"]h$]h&]uh1j hj[ubeh}(h]h ]h"]h$]h&]uh1j hjEubj )}(hhh](j )}(hhh]h)}(hRXRPC_SKB_MARK_NEW_CALLh]hRXRPC_SKB_MARK_NEW_CALL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh]h)}(h%New incoming call awaiting acceptanceh]h%New incoming call awaiting acceptance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1j hjEubeh}(h]h ]h"]h$]h&]uh1j0 hjubeh}(h]h ]h"]h$]h&]colsKuh1j hjubah}(h]h ]h"]h$]h&]uh1j hjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hThe remote abort message can be probed with rxrpc_kernel_get_abort_code(). The two error messages can be probed with rxrpc_kernel_get_error_number(). A new call can be accepted with rxrpc_kernel_accept_call().h]hThe remote abort message can be probed with rxrpc_kernel_get_abort_code(). The two error messages can be probed with rxrpc_kernel_get_error_number(). A new call can be accepted with rxrpc_kernel_accept_call().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hX.Data messages can have their contents extracted with the usual bunch of socket buffer manipulation functions. A data message can be determined to be the last one in a sequence with rxrpc_kernel_is_data_last(). When a data message has been used up, rxrpc_kernel_data_consumed() should be called on it.h]hX.Data messages can have their contents extracted with the usual bunch of socket buffer manipulation functions. A data message can be determined to be the last one in a sequence with rxrpc_kernel_is_data_last(). When a data message has been used up, rxrpc_kernel_data_consumed() should be called on it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hMessages should be handled to rxrpc_kernel_free_skb() to dispose of. It is possible to get extra refs on all types of message for later freeing, but this may pin the state of a call until the message is finally freed.h]hMessages should be handled to rxrpc_kernel_free_skb() to dispose of. It is possible to get extra refs on all types of message for later freeing, but this may pin the state of a call until the message is finally freed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hXAccept an incoming call:: struct rxrpc_call * rxrpc_kernel_accept_call(struct socket *sock, unsigned long user_call_ID); This is used to accept an incoming call and to assign it a call ID. This function is similar to rxrpc_kernel_begin_call() and calls accepted must be ended in the same way. If this function is successful, an opaque reference to the RxRPC call is returned. The caller now holds a reference on this and it must be properly ended. h](h)}(hAccept an incoming call::h]hAccept an incoming call:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hwstruct rxrpc_call * rxrpc_kernel_accept_call(struct socket *sock, unsigned long user_call_ID);h]hwstruct rxrpc_call * rxrpc_kernel_accept_call(struct socket *sock, unsigned long user_call_ID);}hj$sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjubh)}(hThis is used to accept an incoming call and to assign it a call ID. This function is similar to rxrpc_kernel_begin_call() and calls accepted must be ended in the same way.h]hThis is used to accept an incoming call and to assign it a call ID. This function is similar to rxrpc_kernel_begin_call() and calls accepted must be ended in the same way.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hIf this function is successful, an opaque reference to the RxRPC call is returned. The caller now holds a reference on this and it must be properly ended.h]hIf this function is successful, an opaque reference to the RxRPC call is returned. The caller now holds a reference on this and it must be properly ended.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hXHReject an incoming call:: int rxrpc_kernel_reject_call(struct socket *sock); This is used to reject the first incoming call on the socket's queue with a BUSY message. -ENODATA is returned if there were no incoming calls. Other errors may be returned if the call had been aborted (-ECONNABORTED) or had timed out (-ETIME). h](h)}(hReject an incoming call::h]hReject an incoming call:}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjTubj)}(h2int rxrpc_kernel_reject_call(struct socket *sock);h]h2int rxrpc_kernel_reject_call(struct socket *sock);}hjfsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjTubh)}(hThis is used to reject the first incoming call on the socket's queue with a BUSY message. -ENODATA is returned if there were no incoming calls. Other errors may be returned if the call had been aborted (-ECONNABORTED) or had timed out (-ETIME).h]hThis is used to reject the first incoming call on the socket’s queue with a BUSY message. -ENODATA is returned if there were no incoming calls. Other errors may be returned if the call had been aborted (-ECONNABORTED) or had timed out (-ETIME).}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjTubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hAllocate a null key for doing anonymous security:: struct key *rxrpc_get_null_key(const char *keyname); This is used to allocate a null RxRPC key that can be used to indicate anonymous security for a particular domain. h](h)}(h2Allocate a null key for doing anonymous security::h]h1Allocate a null key for doing anonymous security:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(h4struct key *rxrpc_get_null_key(const char *keyname);h]h4struct key *rxrpc_get_null_key(const char *keyname);}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjubh)}(hrThis is used to allocate a null RxRPC key that can be used to indicate anonymous security for a particular domain.h]hrThis is used to allocate a null RxRPC key that can be used to indicate anonymous security for a particular domain.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hGet the peer address of a call:: void rxrpc_kernel_get_peer(struct socket *sock, struct rxrpc_call *call, struct sockaddr_rxrpc *_srx); This is used to find the remote peer address of a call. h](h)}(h Get the peer address of a call::h]hGet the peer address of a call:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hvoid rxrpc_kernel_get_peer(struct socket *sock, struct rxrpc_call *call, struct sockaddr_rxrpc *_srx);h]hvoid rxrpc_kernel_get_peer(struct socket *sock, struct rxrpc_call *call, struct sockaddr_rxrpc *_srx);}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjubh)}(h7This is used to find the remote peer address of a call.h]h7This is used to find the remote peer address of a call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hXSet the total transmit data size on a call:: void rxrpc_kernel_set_tx_length(struct socket *sock, struct rxrpc_call *call, s64 tx_total_len); This sets the amount of data that the caller is intending to transmit on a call. It's intended to be used for setting the reply size as the request size should be set when the call is begun. tx_total_len may not be less than zero. h](h)}(h,Set the total transmit data size on a call::h]h+Set the total transmit data size on a call:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hvoid rxrpc_kernel_set_tx_length(struct socket *sock, struct rxrpc_call *call, s64 tx_total_len);h]hvoid rxrpc_kernel_set_tx_length(struct socket *sock, struct rxrpc_call *call, s64 tx_total_len);}hj sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjubh)}(hThis sets the amount of data that the caller is intending to transmit on a call. It's intended to be used for setting the reply size as the request size should be set when the call is begun. tx_total_len may not be less than zero.h]hThis sets the amount of data that the caller is intending to transmit on a call. It’s intended to be used for setting the reply size as the request size should be set when the call is begun. tx_total_len may not be less than zero.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hGet call RTT:: u64 rxrpc_kernel_get_rtt(struct socket *sock, struct rxrpc_call *call); Get the RTT time to the peer in use by a call. The value returned is in nanoseconds. h](h)}(hGet call RTT::h]h Get call RTT:}(hj( hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj$ ubj)}(hGu64 rxrpc_kernel_get_rtt(struct socket *sock, struct rxrpc_call *call);h]hGu64 rxrpc_kernel_get_rtt(struct socket *sock, struct rxrpc_call *call);}hj6 sbah}(h]h ]h"]h$]h&]hhuh1jhhhM hj$ ubh)}(hUGet the RTT time to the peer in use by a call. The value returned is in nanoseconds.h]hUGet the RTT time to the peer in use by a call. The value returned is in nanoseconds.}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj$ ubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hXtCheck call still alive:: bool rxrpc_kernel_check_life(struct socket *sock, struct rxrpc_call *call, u32 *_life); void rxrpc_kernel_probe_life(struct socket *sock, struct rxrpc_call *call); The first function passes back in ``*_life`` a number that is updated when ACKs are received from the peer (notably including PING RESPONSE ACKs which we can elicit by sending PING ACKs to see if the call still exists on the server). The caller should compare the numbers of two calls to see if the call is still alive after waiting for a suitable interval. It also returns true as long as the call hasn't yet reached the completed state. This allows the caller to work out if the server is still contactable and if the call is still alive on the server while waiting for the server to process a client operation. The second function causes a ping ACK to be transmitted to try to provoke the peer into responding, which would then cause the value returned by the first function to change. Note that this must be called in TASK_RUNNING state. h](h)}(hCheck call still alive::h]hCheck call still alive:}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjX ubj)}(hbool rxrpc_kernel_check_life(struct socket *sock, struct rxrpc_call *call, u32 *_life); void rxrpc_kernel_probe_life(struct socket *sock, struct rxrpc_call *call);h]hbool rxrpc_kernel_check_life(struct socket *sock, struct rxrpc_call *call, u32 *_life); void rxrpc_kernel_probe_life(struct socket *sock, struct rxrpc_call *call);}hjj sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjX ubh)}(hXThe first function passes back in ``*_life`` a number that is updated when ACKs are received from the peer (notably including PING RESPONSE ACKs which we can elicit by sending PING ACKs to see if the call still exists on the server). The caller should compare the numbers of two calls to see if the call is still alive after waiting for a suitable interval. It also returns true as long as the call hasn't yet reached the completed state.h](h"The first function passes back in }(hjx hhhNhNubhliteral)}(h ``*_life``h]h*_life}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjx ubhX a number that is updated when ACKs are received from the peer (notably including PING RESPONSE ACKs which we can elicit by sending PING ACKs to see if the call still exists on the server). The caller should compare the numbers of two calls to see if the call is still alive after waiting for a suitable interval. It also returns true as long as the call hasn’t yet reached the completed state.}(hjx hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjX ubh)}(hThis allows the caller to work out if the server is still contactable and if the call is still alive on the server while waiting for the server to process a client operation.h]hThis allows the caller to work out if the server is still contactable and if the call is still alive on the server while waiting for the server to process a client operation.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjX ubh)}(hThe second function causes a ping ACK to be transmitted to try to provoke the peer into responding, which would then cause the value returned by the first function to change. Note that this must be called in TASK_RUNNING state.h]hThe second function causes a ping ACK to be transmitted to try to provoke the peer into responding, which would then cause the value returned by the first function to change. Note that this must be called in TASK_RUNNING state.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM$hjX ubeh}(h]h ]h"]h$]h&]uh1hhjubh)}(hXApply the RXRPC_MIN_SECURITY_LEVEL sockopt to a socket from within in the kernel:: int rxrpc_sock_set_min_security_level(struct sock *sk, unsigned int val); This specifies the minimum security level required for calls on this socket. h](h)}(hRApply the RXRPC_MIN_SECURITY_LEVEL sockopt to a socket from within in the kernel::h]hQApply the RXRPC_MIN_SECURITY_LEVEL sockopt to a socket from within in the kernel:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM)hj ubj)}(hoint rxrpc_sock_set_min_security_level(struct sock *sk, unsigned int val);h]hoint rxrpc_sock_set_min_security_level(struct sock *sk, unsigned int val);}hj sbah}(h]h ]h"]h$]h&]hhuh1jhhhM,hj ubh)}(hLThis specifies the minimum security level required for calls on this socket.h]hLThis specifies the minimum security level required for calls on this socket.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM/hj ubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]jjjjjjuh1hhjubah}(h]h ]h"]h$]h&]uh1hhhhM hj2hhubeh}(h]af-rxrpc-kernel-interfaceah ]h"]af_rxrpc kernel interfaceah$]h&]uh1hhjhhhhhMubh)}(hhh](h)}(hConfigurable Parametersh]hConfigurable Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hhhhhM4ubh)}(h{The RxRPC protocol driver has a number of configurable parameters that can be adjusted through sysctls in /proc/net/rxrpc/:h]h{The RxRPC protocol driver has a number of configurable parameters that can be adjusted through sysctls in /proc/net/rxrpc/:}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM6hj!hhubh)}(hXl (#) req_ack_delay The amount of time in milliseconds after receiving a packet with the request-ack flag set before we honour the flag and actually send the requested ack. Usually the other side won't stop sending packets until the advertised reception window is full (to a maximum of 255 packets), so delaying the ACK permits several packets to be ACK'd in one go. (#) soft_ack_delay The amount of time in milliseconds after receiving a new packet before we generate a soft-ACK to tell the sender that it doesn't need to resend. (#) idle_ack_delay The amount of time in milliseconds after all the packets currently in the received queue have been consumed before we generate a hard-ACK to tell the sender it can free its buffers, assuming no other reason occurs that we would send an ACK. (#) resend_timeout The amount of time in milliseconds after transmitting a packet before we transmit it again, assuming no ACK is received from the receiver telling us they got it. (#) max_call_lifetime The maximum amount of time in seconds that a call may be in progress before we preemptively kill it. (#) dead_call_expiry The amount of time in seconds before we remove a dead call from the call list. Dead calls are kept around for a little while for the purpose of repeating ACK and ABORT packets. (#) connection_expiry The amount of time in seconds after a connection was last used before we remove it from the connection list. While a connection is in existence, it serves as a placeholder for negotiated security; when it is deleted, the security must be renegotiated. (#) transport_expiry The amount of time in seconds after a transport was last used before we remove it from the transport list. While a transport is in existence, it serves to anchor the peer data and keeps the connection ID counter. (#) rxrpc_rx_window_size The size of the receive window in packets. This is the maximum number of unconsumed received packets we're willing to hold in memory for any particular call. (#) rxrpc_rx_mtu The maximum packet MTU size that we're willing to receive in bytes. This indicates to the peer whether we're willing to accept jumbo packets. (#) rxrpc_rx_jumbo_max The maximum number of packets that we're willing to accept in a jumbo packet. Non-terminal packets in a jumbo packet must contain a four byte header plus exactly 1412 bytes of data. The terminal packet must contain a four byte header plus any amount of data. In any event, a jumbo packet may not exceed rxrpc_rx_mtu in size. h]h)}(hhh](h)}(hXkreq_ack_delay The amount of time in milliseconds after receiving a packet with the request-ack flag set before we honour the flag and actually send the requested ack. Usually the other side won't stop sending packets until the advertised reception window is full (to a maximum of 255 packets), so delaying the ACK permits several packets to be ACK'd in one go. h](h)}(h req_ack_delayh]h req_ack_delay}(hj.!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM9hj*!ubh)}(hThe amount of time in milliseconds after receiving a packet with the request-ack flag set before we honour the flag and actually send the requested ack.h]hThe amount of time in milliseconds after receiving a packet with the request-ack flag set before we honour the flag and actually send the requested ack.}(hj,hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj ,ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjf*ubj#)}(hu32 hard_timeouth](h)}(hhh]jH#)}(hu32h]hu32}(hjZ,hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjW,ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj\,modnameN classnameNje#jh#)}jk#]j/*c.rxrpc_kernel_begin_callasbuh1hhjS,ubj4#)}(h h]h }(hjx,hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjS,ubjH#)}(h hard_timeouth]h hard_timeout}(hj,hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjS,ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjf*ubj#)}(h gfp_t gfph](h)}(hhh]jH#)}(hgfp_th]hgfp_t}(hj,hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj,ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj,modnameN classnameNje#jh#)}jk#]j/*c.rxrpc_kernel_begin_callasbuh1hhj,ubj4#)}(h h]h }(hj,hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj,ubjH#)}(hgfph]hgfp}(hj,hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj,ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjf*ubj#)}(hrxrpc_notify_rx_t notify_rxh](h)}(hhh]jH#)}(hrxrpc_notify_rx_th]hrxrpc_notify_rx_t}(hj,hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj,ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj,modnameN classnameNje#jh#)}jk#]j/*c.rxrpc_kernel_begin_callasbuh1hhj,ubj4#)}(h h]h }(hj-hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj,ubjH#)}(h notify_rxh]h notify_rx}(hj-hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj,ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjf*ubj#)}(hu16 service_idh](h)}(hhh]jH#)}(hu16h]hu16}(hj2-hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj/-ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj4-modnameN classnameNje#jh#)}jk#]j/*c.rxrpc_kernel_begin_callasbuh1hhj+-ubj4#)}(h h]h }(hjP-hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj+-ubjH#)}(h service_idh]h service_id}(hj^-hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj+-ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjf*ubj#)}(h bool upgradeh](jq()}(hboolh]hbool}(hjw-hhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjs-ubj4#)}(h h]h }(hj-hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjs-ubjH#)}(hupgradeh]hupgrade}(hj-hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjs-ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjf*ubj#)}(h,enum rxrpc_interruptibility interruptibilityh](j"#)}(henumh]henum}(hj-hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj-ubj4#)}(h h]h }(hj-hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj-ubh)}(hhh]jH#)}(hrxrpc_interruptibilityh]hrxrpc_interruptibility}(hj-hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj-ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj-modnameN classnameNje#jh#)}jk#]j/*c.rxrpc_kernel_begin_callasbuh1hhj-ubj4#)}(h h]h }(hj-hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj-ubjH#)}(hinterruptibilityh]hinterruptibility}(hj-hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj-ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjf*ubj#)}(hunsigned int debug_idh](jq()}(hunsignedh]hunsigned}(hj.hhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hj .ubj4#)}(h h]h }(hj.hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj .ubjq()}(hinth]hint}(hj,.hhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hj .ubj4#)}(h h]h }(hj:.hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj .ubjH#)}(hdebug_idh]hdebug_id}(hjH.hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj .ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjf*ubeh}(h]h ]h"]h$]h&]hhuh1j#hj)hhhj*hM:ubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj)hhhj*hM:ubah}(h]j)ah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj*hM:hj)hhubj$)}(hhh]h)}(h&Allow a kernel service to begin a callh]h&Allow a kernel service to begin a call}(hjr.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chM:hjo.hhubah}(h]h ]h"]h$]h&]uh1j$hj)hhhj*hM:ubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%j.j%j.j%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct socket *sock`` The socket on which to make the call ``struct rxrpc_peer *peer`` The peer to contact ``struct key *key`` The security context to use (defaults to socket setting) ``unsigned long user_call_ID`` The ID to use ``s64 tx_total_len`` Total length of data to transmit during the call (or -1) ``u32 hard_timeout`` The maximum lifespan of the call in sec ``gfp_t gfp`` The allocation constraints ``rxrpc_notify_rx_t notify_rx`` Where to send notifications instead of socket queue ``u16 service_id`` The ID of the service to contact ``bool upgrade`` Request service upgrade for call ``enum rxrpc_interruptibility interruptibility`` The call is interruptible, or can be canceled. ``unsigned int debug_id`` The debug ID for tracing to be assigned to the call **Description** Allow a kernel service to begin a call on the nominated socket. This just sets up all the internal tracking structures and allocates connection and call IDs as appropriate. The default socket destination address and security may be overridden by supplying **srx** and **key**. **Return** The new call or an error code.h](h)}(h**Parameters**h]j*%)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj.ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chM>hj.ubj@%)}(hhh](jE%)}(h=``struct socket *sock`` The socket on which to make the call h](jK%)}(h``struct socket *sock``h]j )}(hj.h]hstruct socket *sock}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj.ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chM;hj.ubje%)}(hhh]h)}(h$The socket on which to make the callh]h$The socket on which to make the call}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hM;hj.ubah}(h]h ]h"]h$]h&]uh1jd%hj.ubeh}(h]h ]h"]h$]h&]uh1jD%hj.hM;hj.ubjE%)}(h0``struct rxrpc_peer *peer`` The peer to contact h](jK%)}(h``struct rxrpc_peer *peer``h]j )}(hj.h]hstruct rxrpc_peer *peer}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj.ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chM<hj.ubje%)}(hhh]h)}(hThe peer to contacth]hThe peer to contact}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hM<hj/ubah}(h]h ]h"]h$]h&]uh1jd%hj.ubeh}(h]h ]h"]h$]h&]uh1jD%hj/hM<hj.ubjE%)}(hM``struct key *key`` The security context to use (defaults to socket setting) h](jK%)}(h``struct key *key``h]j )}(hj%/h]hstruct key *key}(hj'/hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj#/ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chM=hj/ubje%)}(hhh]h)}(h8The security context to use (defaults to socket setting)h]h8The security context to use (defaults to socket setting)}(hj>/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:/hM=hj;/ubah}(h]h ]h"]h$]h&]uh1jd%hj/ubeh}(h]h ]h"]h$]h&]uh1jD%hj:/hM=hj.ubjE%)}(h-``unsigned long user_call_ID`` The ID to use h](jK%)}(h``unsigned long user_call_ID``h]j )}(hj^/h]hunsigned long user_call_ID}(hj`/hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj\/ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chM>hjX/ubje%)}(hhh]h)}(h The ID to useh]h The ID to use}(hjw/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs/hM>hjt/ubah}(h]h ]h"]h$]h&]uh1jd%hjX/ubeh}(h]h ]h"]h$]h&]uh1jD%hjs/hM>hj.ubjE%)}(hN``s64 tx_total_len`` Total length of data to transmit during the call (or -1) h](jK%)}(h``s64 tx_total_len``h]j )}(hj/h]hs64 tx_total_len}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj/ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chM?hj/ubje%)}(hhh]h)}(h8Total length of data to transmit during the call (or -1)h]h8Total length of data to transmit during the call (or -1)}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hM?hj/ubah}(h]h ]h"]h$]h&]uh1jd%hj/ubeh}(h]h ]h"]h$]h&]uh1jD%hj/hM?hj.ubjE%)}(h=``u32 hard_timeout`` The maximum lifespan of the call in sec h](jK%)}(h``u32 hard_timeout``h]j )}(hj/h]hu32 hard_timeout}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj/ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chM@hj/ubje%)}(hhh]h)}(h'The maximum lifespan of the call in sech]h'The maximum lifespan of the call in sec}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hM@hj/ubah}(h]h ]h"]h$]h&]uh1jd%hj/ubeh}(h]h ]h"]h$]h&]uh1jD%hj/hM@hj.ubjE%)}(h)``gfp_t gfp`` The allocation constraints h](jK%)}(h ``gfp_t gfp``h]j )}(hj 0h]h gfp_t gfp}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj0ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMAhj0ubje%)}(hhh]h)}(hThe allocation constraintsh]hThe allocation constraints}(hj"0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMAhj0ubah}(h]h ]h"]h$]h&]uh1jd%hj0ubeh}(h]h ]h"]h$]h&]uh1jD%hj0hMAhj.ubjE%)}(hT``rxrpc_notify_rx_t notify_rx`` Where to send notifications instead of socket queue h](jK%)}(h``rxrpc_notify_rx_t notify_rx``h]j )}(hjB0h]hrxrpc_notify_rx_t notify_rx}(hjD0hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj@0ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMBhj<0ubje%)}(hhh]h)}(h3Where to send notifications instead of socket queueh]h3Where to send notifications instead of socket queue}(hj[0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjW0hMBhjX0ubah}(h]h ]h"]h$]h&]uh1jd%hj<0ubeh}(h]h ]h"]h$]h&]uh1jD%hjW0hMBhj.ubjE%)}(h4``u16 service_id`` The ID of the service to contact h](jK%)}(h``u16 service_id``h]j )}(hj{0h]hu16 service_id}(hj}0hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjy0ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMChju0ubje%)}(hhh]h)}(h The ID of the service to contacth]h The ID of the service to contact}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMChj0ubah}(h]h ]h"]h$]h&]uh1jd%hju0ubeh}(h]h ]h"]h$]h&]uh1jD%hj0hMChj.ubjE%)}(h2``bool upgrade`` Request service upgrade for call h](jK%)}(h``bool upgrade``h]j )}(hj0h]h bool upgrade}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj0ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMDhj0ubje%)}(hhh]h)}(h Request service upgrade for callh]h Request service upgrade for call}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMDhj0ubah}(h]h ]h"]h$]h&]uh1jd%hj0ubeh}(h]h ]h"]h$]h&]uh1jD%hj0hMDhj.ubjE%)}(h```enum rxrpc_interruptibility interruptibility`` The call is interruptible, or can be canceled. h](jK%)}(h0``enum rxrpc_interruptibility interruptibility``h]j )}(hj0h]h,enum rxrpc_interruptibility interruptibility}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj0ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMEhj0ubje%)}(hhh]h)}(h.The call is interruptible, or can be canceled.h]h.The call is interruptible, or can be canceled.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMEhj1ubah}(h]h ]h"]h$]h&]uh1jd%hj0ubeh}(h]h ]h"]h$]h&]uh1jD%hj1hMEhj.ubjE%)}(hN``unsigned int debug_id`` The debug ID for tracing to be assigned to the call h](jK%)}(h``unsigned int debug_id``h]j )}(hj&1h]hunsigned int debug_id}(hj(1hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj$1ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMFhj 1ubje%)}(hhh]h)}(h3The debug ID for tracing to be assigned to the callh]h3The debug ID for tracing to be assigned to the call}(hj?1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;1hMFhj<1ubah}(h]h ]h"]h$]h&]uh1jd%hj 1ubeh}(h]h ]h"]h$]h&]uh1jD%hj;1hMFhj.ubeh}(h]h ]h"]h$]h&]uh1j?%hj.ubh)}(h**Description**h]j*%)}(hja1h]h Description}(hjc1hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj_1ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMHhj.ubh)}(hAllow a kernel service to begin a call on the nominated socket. This just sets up all the internal tracking structures and allocates connection and call IDs as appropriate.h]hAllow a kernel service to begin a call on the nominated socket. This just sets up all the internal tracking structures and allocates connection and call IDs as appropriate.}(hjw1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMHhj.ubh)}(hgThe default socket destination address and security may be overridden by supplying **srx** and **key**.h](hSThe default socket destination address and security may be overridden by supplying }(hj1hhhNhNubj*%)}(h**srx**h]hsrx}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj1ubh and }(hj1hhhNhNubj*%)}(h**key**h]hkey}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMLhj.ubh)}(h **Return**h]j*%)}(hj1h]hReturn}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj1ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMOhj.ubh)}(hThe new call or an error code.h]hThe new call or an error code.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMOhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #'rxrpc_kernel_shutdown_call (C function)c.rxrpc_kernel_shutdown_callhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hNvoid rxrpc_kernel_shutdown_call (struct socket *sock, struct rxrpc_call *call)h]j#)}(hMvoid rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call)h](jq()}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hj1hhhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMubj4#)}(h h]h }(hj2hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj1hhhj2hMubj#)}(hrxrpc_kernel_shutdown_callh]jH#)}(hrxrpc_kernel_shutdown_callh]hrxrpc_kernel_shutdown_call}(hj!2hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj2ubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hj1hhhj2hMubj#)}(h.(struct socket *sock, struct rxrpc_call *call)h](j#)}(hstruct socket *sockh](j"#)}(hj%#h]hstruct}(hj=2hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj92ubj4#)}(h h]h }(hjJ2hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj92ubh)}(hhh]jH#)}(hsocketh]hsocket}(hj[2hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjX2ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj]2modnameN classnameNje#jh#)}jk#]jn#)}ja#j#2sbc.rxrpc_kernel_shutdown_callasbuh1hhj92ubj4#)}(h h]h }(hj{2hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj92ubj#)}(hj#h]h*}(hj2hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj92ubjH#)}(hsockh]hsock}(hj2hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj92ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj52ubj#)}(hstruct rxrpc_call *callh](j"#)}(hj%#h]hstruct}(hj2hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj2ubj4#)}(h h]h }(hj2hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj2ubh)}(hhh]jH#)}(h rxrpc_callh]h rxrpc_call}(hj2hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj2ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj2modnameN classnameNje#jh#)}jk#]jw2c.rxrpc_kernel_shutdown_callasbuh1hhj2ubj4#)}(h h]h }(hj2hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj2ubj#)}(hj#h]h*}(hj2hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj2ubjH#)}(hcallh]hcall}(hj3hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj2ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj52ubeh}(h]h ]h"]h$]h&]hhuh1j#hj1hhhj2hMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj1hhhj2hMubah}(h]j1ah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj2hMhj1hhubj$)}(hhh]h)}(h7Allow a kernel service to shut down a call it was usingh]h7Allow a kernel service to shut down a call it was using}(hj03hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj-3hhubah}(h]h ]h"]h$]h&]uh1j$hj1hhhj2hMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jH3j%jH3j%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct socket *sock`` The socket the call is on ``struct rxrpc_call *call`` The call to end **Description** Allow a kernel service to shut down a call it was using. The call must be complete before this is called (the call should be aborted if necessary).h](h)}(h**Parameters**h]j*%)}(hjR3h]h Parameters}(hjT3hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjP3ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjL3ubj@%)}(hhh](jE%)}(h2``struct socket *sock`` The socket the call is on h](jK%)}(h``struct socket *sock``h]j )}(hjq3h]hstruct socket *sock}(hjs3hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjo3ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjk3ubje%)}(hhh]h)}(hThe socket the call is onh]hThe socket the call is on}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jd%hjk3ubeh}(h]h ]h"]h$]h&]uh1jD%hj3hMhjh3ubjE%)}(h,``struct rxrpc_call *call`` The call to end h](jK%)}(h``struct rxrpc_call *call``h]j )}(hj3h]hstruct rxrpc_call *call}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj3ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj3ubje%)}(hhh]h)}(hThe call to endh]hThe call to end}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jd%hj3ubeh}(h]h ]h"]h$]h&]uh1jD%hj3hMhjh3ubeh}(h]h ]h"]h$]h&]uh1j?%hjL3ubh)}(h**Description**h]j*%)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj3ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjL3ubh)}(hAllow a kernel service to shut down a call it was using. The call must be complete before this is called (the call should be aborted if necessary).h]hAllow a kernel service to shut down a call it was using. The call must be complete before this is called (the call should be aborted if necessary).}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjL3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #"rxrpc_kernel_put_call (C function)c.rxrpc_kernel_put_callhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hIvoid rxrpc_kernel_put_call (struct socket *sock, struct rxrpc_call *call)h]j#)}(hHvoid rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call)h](jq()}(hvoidh]hvoid}(hj*4hhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hj&4hhhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMubj4#)}(h h]h }(hj94hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj&4hhhj84hMubj#)}(hrxrpc_kernel_put_callh]jH#)}(hrxrpc_kernel_put_callh]hrxrpc_kernel_put_call}(hjK4hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjG4ubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hj&4hhhj84hMubj#)}(h.(struct socket *sock, struct rxrpc_call *call)h](j#)}(hstruct socket *sockh](j"#)}(hj%#h]hstruct}(hjg4hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjc4ubj4#)}(h h]h }(hjt4hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjc4ubh)}(hhh]jH#)}(hsocketh]hsocket}(hj4hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj4ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj4modnameN classnameNje#jh#)}jk#]jn#)}ja#jM4sbc.rxrpc_kernel_put_callasbuh1hhjc4ubj4#)}(h h]h }(hj4hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjc4ubj#)}(hj#h]h*}(hj4hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjc4ubjH#)}(hsockh]hsock}(hj4hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjc4ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj_4ubj#)}(hstruct rxrpc_call *callh](j"#)}(hj%#h]hstruct}(hj4hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj4ubj4#)}(h h]h }(hj4hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj4ubh)}(hhh]jH#)}(h rxrpc_callh]h rxrpc_call}(hj4hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj4ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj4modnameN classnameNje#jh#)}jk#]j4c.rxrpc_kernel_put_callasbuh1hhj4ubj4#)}(h h]h }(hj5hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj4ubj#)}(hj#h]h*}(hj#5hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj4ubjH#)}(hcallh]hcall}(hj05hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj4ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj_4ubeh}(h]h ]h"]h$]h&]hhuh1j#hj&4hhhj84hMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj"4hhhj84hMubah}(h]j4ah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj84hMhj4hhubj$)}(hhh]h)}(hRelease a reference to a callh]hRelease a reference to a call}(hjZ5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjW5hhubah}(h]h ]h"]h$]h&]uh1j$hj4hhhj84hMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jr5j%jr5j%j%j%uh1j#hhhj"hNhNubj %)}(h**Parameters** ``struct socket *sock`` The socket the call is on ``struct rxrpc_call *call`` The call to put **Description** Drop the application's ref on an rxrpc call.h](h)}(h**Parameters**h]j*%)}(hj|5h]h Parameters}(hj~5hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjz5ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjv5ubj@%)}(hhh](jE%)}(h2``struct socket *sock`` The socket the call is on h](jK%)}(h``struct socket *sock``h]j )}(hj5h]hstruct socket *sock}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj5ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj5ubje%)}(hhh]h)}(hThe socket the call is onh]hThe socket the call is on}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jd%hj5ubeh}(h]h ]h"]h$]h&]uh1jD%hj5hMhj5ubjE%)}(h,``struct rxrpc_call *call`` The call to put h](jK%)}(h``struct rxrpc_call *call``h]j )}(hj5h]hstruct rxrpc_call *call}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj5ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj5ubje%)}(hhh]h)}(hThe call to puth]hThe call to put}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jd%hj5ubeh}(h]h ]h"]h$]h&]uh1jD%hj5hMhj5ubeh}(h]h ]h"]h$]h&]uh1j?%hjv5ubh)}(h**Description**h]j*%)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj 6ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjv5ubh)}(h,Drop the application's ref on an rxrpc call.h]h.Drop the application’s ref on an rxrpc call.}(hj%6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjv5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #$rxrpc_kernel_check_life (C function)c.rxrpc_kernel_check_lifehNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hWbool rxrpc_kernel_check_life (const struct socket *sock, const struct rxrpc_call *call)h]j#)}(hVbool rxrpc_kernel_check_life(const struct socket *sock, const struct rxrpc_call *call)h](jq()}(hjy-h]hbool}(hjT6hhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjP6hhhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMubj4#)}(h h]h }(hjb6hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjP6hhhja6hMubj#)}(hrxrpc_kernel_check_lifeh]jH#)}(hrxrpc_kernel_check_lifeh]hrxrpc_kernel_check_life}(hjt6hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjp6ubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjP6hhhja6hMubj#)}(h:(const struct socket *sock, const struct rxrpc_call *call)h](j#)}(hconst struct socket *sockh](j"#)}(hconsth]hconst}(hj6hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj6ubj4#)}(h h]h }(hj6hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj6ubj"#)}(hj%#h]hstruct}(hj6hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj6ubj4#)}(h h]h }(hj6hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj6ubh)}(hhh]jH#)}(hsocketh]hsocket}(hj6hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj6ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj6modnameN classnameNje#jh#)}jk#]jn#)}ja#jv6sbc.rxrpc_kernel_check_lifeasbuh1hhj6ubj4#)}(h h]h }(hj6hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj6ubj#)}(hj#h]h*}(hj6hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj6ubjH#)}(hsockh]hsock}(hj7hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj6ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj6ubj#)}(hconst struct rxrpc_call *callh](j"#)}(hj6h]hconst}(hj7hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj7ubj4#)}(h h]h }(hj+7hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj7ubj"#)}(hj%#h]hstruct}(hj97hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj7ubj4#)}(h h]h }(hjF7hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj7ubh)}(hhh]jH#)}(h rxrpc_callh]h rxrpc_call}(hjW7hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjT7ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjY7modnameN classnameNje#jh#)}jk#]j6c.rxrpc_kernel_check_lifeasbuh1hhj7ubj4#)}(h h]h }(hju7hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj7ubj#)}(hj#h]h*}(hj7hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj7ubjH#)}(hcallh]hcall}(hj7hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj7ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj6ubeh}(h]h ]h"]h$]h&]hhuh1j#hjP6hhhja6hMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjL6hhhja6hMubah}(h]jG6ah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hja6hMhjI6hhubj$)}(hhh]h)}(h*Check to see whether a call is still aliveh]h*Check to see whether a call is still alive}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj7hhubah}(h]h ]h"]h$]h&]uh1j$hjI6hhhja6hMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%j7j%j7j%j%j%uh1j#hhhj"hNhNubj %)}(hXz**Parameters** ``const struct socket *sock`` The socket the call is on ``const struct rxrpc_call *call`` The call to check **Description** Allow a kernel service to find out whether a call is still alive - whether it has completed successfully and all received data has been consumed. **Return** ``true`` if the call is still ongoing and ``false`` if it has completed.h](h)}(h**Parameters**h]j*%)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj7ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj7ubj@%)}(hhh](jE%)}(h8``const struct socket *sock`` The socket the call is on h](jK%)}(h``const struct socket *sock``h]j )}(hj7h]hconst struct socket *sock}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj7ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj7ubje%)}(hhh]h)}(hThe socket the call is onh]hThe socket the call is on}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jd%hj7ubeh}(h]h ]h"]h$]h&]uh1jD%hj8hMhj7ubjE%)}(h4``const struct rxrpc_call *call`` The call to check h](jK%)}(h!``const struct rxrpc_call *call``h]j )}(hj48h]hconst struct rxrpc_call *call}(hj68hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj28ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj.8ubje%)}(hhh]h)}(hThe call to checkh]hThe call to check}(hjM8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjI8hMhjJ8ubah}(h]h ]h"]h$]h&]uh1jd%hj.8ubeh}(h]h ]h"]h$]h&]uh1jD%hjI8hMhj7ubeh}(h]h ]h"]h$]h&]uh1j?%hj7ubh)}(h**Description**h]j*%)}(hjo8h]h Description}(hjq8hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjm8ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj7ubh)}(hAllow a kernel service to find out whether a call is still alive - whether it has completed successfully and all received data has been consumed.h]hAllow a kernel service to find out whether a call is still alive - whether it has completed successfully and all received data has been consumed.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj7ubh)}(h **Return**h]j*%)}(hj8h]hReturn}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj8ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj7ubh)}(hH``true`` if the call is still ongoing and ``false`` if it has completed.h](j )}(h``true``h]htrue}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj8ubh" if the call is still ongoing and }(hj8hhhNhNubj )}(h ``false``h]hfalse}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj8ubh if it has completed.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #+rxrpc_kernel_set_notifications (C function) c.rxrpc_kernel_set_notificationshNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(havoid rxrpc_kernel_set_notifications (struct socket *sock, const struct rxrpc_kernel_ops *app_ops)h]j#)}(h`void rxrpc_kernel_set_notifications(struct socket *sock, const struct rxrpc_kernel_ops *app_ops)h](jq()}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hj8hhhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMubj4#)}(h h]h }(hj 9hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj8hhhj 9hMubj#)}(hrxrpc_kernel_set_notificationsh]jH#)}(hrxrpc_kernel_set_notificationsh]hrxrpc_kernel_set_notifications}(hj9hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj9ubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hj8hhhj 9hMubj#)}(h=(struct socket *sock, const struct rxrpc_kernel_ops *app_ops)h](j#)}(hstruct socket *sockh](j"#)}(hj%#h]hstruct}(hj89hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj49ubj4#)}(h h]h }(hjE9hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj49ubh)}(hhh]jH#)}(hsocketh]hsocket}(hjV9hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjS9ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjX9modnameN classnameNje#jh#)}jk#]jn#)}ja#j9sb c.rxrpc_kernel_set_notificationsasbuh1hhj49ubj4#)}(h h]h }(hjv9hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj49ubj#)}(hj#h]h*}(hj9hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj49ubjH#)}(hsockh]hsock}(hj9hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj49ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj09ubj#)}(h&const struct rxrpc_kernel_ops *app_opsh](j"#)}(hj6h]hconst}(hj9hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj9ubj4#)}(h h]h }(hj9hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj9ubj"#)}(hj%#h]hstruct}(hj9hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj9ubj4#)}(h h]h }(hj9hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj9ubh)}(hhh]jH#)}(hrxrpc_kernel_opsh]hrxrpc_kernel_ops}(hj9hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj9ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj9modnameN classnameNje#jh#)}jk#]jr9 c.rxrpc_kernel_set_notificationsasbuh1hhj9ubj4#)}(h h]h }(hj:hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj9ubj#)}(hj#h]h*}(hj:hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj9ubjH#)}(happ_opsh]happ_ops}(hj:hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj9ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj09ubeh}(h]h ]h"]h$]h&]hhuh1j#hj8hhhj 9hMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj8hhhj 9hMubah}(h]j8ah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj 9hMhj8hhubj$)}(hhh]h)}(h Set table of callback operationsh]h Set table of callback operations}(hjF:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjC:hhubah}(h]h ]h"]h$]h&]uh1j$hj8hhhj 9hMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%j^:j%j^:j%j%j%uh1j#hhhj"hNhNubj %)}(h**Parameters** ``struct socket *sock`` The socket to install table upon ``const struct rxrpc_kernel_ops *app_ops`` Callback operation table to set **Description** Allow a kernel service to set a table of event notifications on a socket.h](h)}(h**Parameters**h]j*%)}(hjh:h]h Parameters}(hjj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjf:ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjb:ubj@%)}(hhh](jE%)}(h9``struct socket *sock`` The socket to install table upon h](jK%)}(h``struct socket *sock``h]j )}(hj:h]hstruct socket *sock}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj:ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj:ubje%)}(hhh]h)}(h The socket to install table uponh]h The socket to install table upon}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jd%hj:ubeh}(h]h ]h"]h$]h&]uh1jD%hj:hMhj~:ubjE%)}(hK``const struct rxrpc_kernel_ops *app_ops`` Callback operation table to set h](jK%)}(h*``const struct rxrpc_kernel_ops *app_ops``h]j )}(hj:h]h&const struct rxrpc_kernel_ops *app_ops}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj:ubah}(h]h ]h"]h$]h&]uh1jJ%hW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhj:ubje%)}(hhh]h)}(hCallback operation table to seth]hCallback operation table to set}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jd%hj:ubeh}(h]h ]h"]h$]h&]uh1jD%hj:hMhj~:ubeh}(h]h ]h"]h$]h&]uh1j?%hjb:ubh)}(h**Description**h]j*%)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj:ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjb:ubh)}(hIAllow a kernel service to set a table of event notifications on a socket.h]hIAllow a kernel service to set a table of event notifications on a socket.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1156: ./net/rxrpc/af_rxrpc.chMhjb:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #-rxrpc_kernel_query_call_security (C function)"c.rxrpc_kernel_query_call_securityhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h^u8 rxrpc_kernel_query_call_security (struct rxrpc_call *call, u16 *_service_id, u32 *_enctype)h]j#)}(h]u8 rxrpc_kernel_query_call_security(struct rxrpc_call *call, u16 *_service_id, u32 *_enctype)h](h)}(hhh]jH#)}(hu8h]hu8}(hjC;hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj@;ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjE;modnameN classnameNje#jh#)}jk#]jn#)}ja# rxrpc_kernel_query_call_securitysb"c.rxrpc_kernel_query_call_securityasbuh1hhj<;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMubj4#)}(h h]h }(hje;hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj<;hhhjd;hMubj#)}(h rxrpc_kernel_query_call_securityh]jH#)}(hja;h]h rxrpc_kernel_query_call_security}(hjw;hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjs;ubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hj<;hhhjd;hMubj#)}(h:(struct rxrpc_call *call, u16 *_service_id, u32 *_enctype)h](j#)}(hstruct rxrpc_call *callh](j"#)}(hj%#h]hstruct}(hj;hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj;ubj4#)}(h h]h }(hj;hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj;ubh)}(hhh]jH#)}(h rxrpc_callh]h rxrpc_call}(hj;hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj;ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj;modnameN classnameNje#jh#)}jk#]j_;"c.rxrpc_kernel_query_call_securityasbuh1hhj;ubj4#)}(h h]h }(hj;hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj;ubj#)}(hj#h]h*}(hj;hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj;ubjH#)}(hcallh]hcall}(hj;hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj;ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj;ubj#)}(hu16 *_service_idh](h)}(hhh]jH#)}(hu16h]hu16}(hj<hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj<ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj<modnameN classnameNje#jh#)}jk#]j_;"c.rxrpc_kernel_query_call_securityasbuh1hhj;ubj4#)}(h h]h }(hj#<hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj;ubj#)}(hj#h]h*}(hj1<hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj;ubjH#)}(h _service_idh]h _service_id}(hj><hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj;ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj;ubj#)}(h u32 *_enctypeh](h)}(hhh]jH#)}(hu32h]hu32}(hjZ<hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjW<ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj\<modnameN classnameNje#jh#)}jk#]j_;"c.rxrpc_kernel_query_call_securityasbuh1hhjS<ubj4#)}(h h]h }(hjx<hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjS<ubj#)}(hj#h]h*}(hj<hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjS<ubjH#)}(h_enctypeh]h_enctype}(hj<hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjS<ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj;ubeh}(h]h ]h"]h$]h&]hhuh1j#hj<;hhhjd;hMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj8;hhhjd;hMubah}(h]j3;ah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjd;hMhj5;hhubj$)}(hhh]h)}(h Query call's security parametersh]h"Query call’s security parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhj<hhubah}(h]h ]h"]h$]h&]uh1j$hj5;hhhjd;hMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%j<j%j<j%j%j%uh1j#hhhj"hNhNubj %)}(hXo**Parameters** ``struct rxrpc_call *call`` The call to query ``u16 *_service_id`` Where to return the service ID ``u32 *_enctype`` Where to return the "encoding type" **Description** This queries the security parameters of a call, setting ***_service_id** and ***_enctype** and returning the security class. **Return** The security class protocol number.h](h)}(h**Parameters**h]j*%)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj<ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhj<ubj@%)}(hhh](jE%)}(h.``struct rxrpc_call *call`` The call to query h](jK%)}(h``struct rxrpc_call *call``h]j )}(hj<h]hstruct rxrpc_call *call}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj<ubah}(h]h ]h"]h$]h&]uh1jJ%hZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhj<ubje%)}(hhh]h)}(hThe call to queryh]hThe call to query}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jd%hj<ubeh}(h]h ]h"]h$]h&]uh1jD%hj=hMhj<ubjE%)}(h4``u16 *_service_id`` Where to return the service ID h](jK%)}(h``u16 *_service_id``h]j )}(hj7=h]hu16 *_service_id}(hj9=hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj5=ubah}(h]h ]h"]h$]h&]uh1jJ%hZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhj1=ubje%)}(hhh]h)}(hWhere to return the service IDh]hWhere to return the service ID}(hjP=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL=hMhjM=ubah}(h]h ]h"]h$]h&]uh1jd%hj1=ubeh}(h]h ]h"]h$]h&]uh1jD%hjL=hMhj<ubjE%)}(h6``u32 *_enctype`` Where to return the "encoding type" h](jK%)}(h``u32 *_enctype``h]j )}(hjp=h]h u32 *_enctype}(hjr=hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjn=ubah}(h]h ]h"]h$]h&]uh1jJ%hZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhjj=ubje%)}(hhh]h)}(h#Where to return the "encoding type"h]h'Where to return the “encoding type”}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jd%hjj=ubeh}(h]h ]h"]h$]h&]uh1jD%hj=hMhj<ubeh}(h]h ]h"]h$]h&]uh1j?%hj<ubh)}(h**Description**h]j*%)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj=ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhj<ubh)}(h|This queries the security parameters of a call, setting ***_service_id** and ***_enctype** and returning the security class.h](h8This queries the security parameters of a call, setting }(hj=hhhNhNubj*%)}(h***_service_id**h]h *_service_id}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj=ubh and }(hj=hhhNhNubj*%)}(h ***_enctype**h]h *_enctype}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj=ubh" and returning the security class.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhj<ubh)}(h **Return**h]j*%)}(hj=h]hReturn}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj=ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhj<ubh)}(h#The security class protocol number.h]h#The security class protocol number.}(hj >hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1157: ./net/rxrpc/call_object.chMhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #rxrpc_get_null_key (C function)c.rxrpc_get_null_keyhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h5struct key * rxrpc_get_null_key (const char *keyname)h]j#)}(h3struct key *rxrpc_get_null_key(const char *keyname)h](j"#)}(hj%#h]hstruct}(hj;>hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj7>hhhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1158: ./net/rxrpc/key.chMubj4#)}(h h]h }(hjI>hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj7>hhhjH>hMubh)}(hhh]jH#)}(hkeyh]hkey}(hjZ>hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjW>ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj\>modnameN classnameNje#jh#)}jk#]jn#)}ja#rxrpc_get_null_keysbc.rxrpc_get_null_keyasbuh1hhj7>hhhjH>hMubj4#)}(h h]h }(hj{>hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj7>hhhjH>hMubj#)}(hj#h]h*}(hj>hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj7>hhhjH>hMubj#)}(hrxrpc_get_null_keyh]jH#)}(hjx>h]hrxrpc_get_null_key}(hj>hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj>ubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hj7>hhhjH>hMubj#)}(h(const char *keyname)h]j#)}(hconst char *keynameh](j"#)}(hj6h]hconst}(hj>hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj>ubj4#)}(h h]h }(hj>hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj>ubjq()}(hcharh]hchar}(hj>hhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hj>ubj4#)}(h h]h }(hj>hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj>ubj#)}(hj#h]h*}(hj>hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj>ubjH#)}(hkeynameh]hkeyname}(hj>hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj>ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj>ubah}(h]h ]h"]h$]h&]hhuh1j#hj7>hhhjH>hMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj3>hhhjH>hMubah}(h]j.>ah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjH>hMhj0>hhubj$)}(hhh]h)}(hGenerate a null RxRPC keyh]hGenerate a null RxRPC key}(hj#?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1158: ./net/rxrpc/key.chMhj ?hhubah}(h]h ]h"]h$]h&]uh1j$hj0>hhhjH>hMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%j;?j%j;?j%j%j%uh1j#hhhj"hNhNubj %)}(h**Parameters** ``const char *keyname`` The name to give the key. **Description** Generate a null RxRPC key that can be used to indicate anonymous security is required for a particular domain. **Return** The new key or a negative error code.h](h)}(h**Parameters**h]j*%)}(hjE?h]h Parameters}(hjG?hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjC?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1158: ./net/rxrpc/key.chMhj??ubj@%)}(hhh]jE%)}(h2``const char *keyname`` The name to give the key. h](jK%)}(h``const char *keyname``h]j )}(hjd?h]hconst char *keyname}(hjf?hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjb?ubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1158: ./net/rxrpc/key.chMhj^?ubje%)}(hhh]h)}(hThe name to give the key.h]hThe name to give the key.}(hj}?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy?hMhjz?ubah}(h]h ]h"]h$]h&]uh1jd%hj^?ubeh}(h]h ]h"]h$]h&]uh1jD%hjy?hMhj[?ubah}(h]h ]h"]h$]h&]uh1j?%hj??ubh)}(h**Description**h]j*%)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1158: ./net/rxrpc/key.chMhj??ubh)}(hnGenerate a null RxRPC key that can be used to indicate anonymous security is required for a particular domain.h]hnGenerate a null RxRPC key that can be used to indicate anonymous security is required for a particular domain.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1158: ./net/rxrpc/key.chMhj??ubh)}(h **Return**h]j*%)}(hj?h]hReturn}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1158: ./net/rxrpc/key.chMhj??ubh)}(h%The new key or a negative error code.h]h%The new key or a negative error code.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1158: ./net/rxrpc/key.chMhj??ubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j ##rxrpc_kernel_query_oob (C function)c.rxrpc_kernel_query_oobhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hyenum rxrpc_oob_type rxrpc_kernel_query_oob (struct sk_buff *oob, struct rxrpc_peer **_peer, unsigned long *_peer_appdata)h]j#)}(hxenum rxrpc_oob_type rxrpc_kernel_query_oob(struct sk_buff *oob, struct rxrpc_peer **_peer, unsigned long *_peer_appdata)h](j"#)}(hj-h]henum}(hj @hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj@hhhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chKubj4#)}(h h]h }(hj@hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj@hhhj@hKubh)}(hhh]jH#)}(hrxrpc_oob_typeh]hrxrpc_oob_type}(hj*@hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj'@ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj,@modnameN classnameNje#jh#)}jk#]jn#)}ja#rxrpc_kernel_query_oobsbc.rxrpc_kernel_query_oobasbuh1hhj@hhhj@hKubj4#)}(h h]h }(hjK@hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj@hhhj@hKubj#)}(hrxrpc_kernel_query_oobh]jH#)}(hjH@h]hrxrpc_kernel_query_oob}(hj]@hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjY@ubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hj@hhhj@hKubj#)}(hN(struct sk_buff *oob, struct rxrpc_peer **_peer, unsigned long *_peer_appdata)h](j#)}(hstruct sk_buff *oobh](j"#)}(hj%#h]hstruct}(hjx@hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjt@ubj4#)}(h h]h }(hj@hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjt@ubh)}(hhh]jH#)}(hsk_buffh]hsk_buff}(hj@hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj@ubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj@modnameN classnameNje#jh#)}jk#]jF@c.rxrpc_kernel_query_oobasbuh1hhjt@ubj4#)}(h h]h }(hj@hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjt@ubj#)}(hj#h]h*}(hj@hhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjt@ubjH#)}(hoobh]hoob}(hj@hhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjt@ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjp@ubj#)}(hstruct rxrpc_peer **_peerh](j"#)}(hj%#h]hstruct}(hj@hhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj@ubj4#)}(h h]h }(hj@hhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj@ubh)}(hhh]jH#)}(h rxrpc_peerh]h rxrpc_peer}(hjAhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjAubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjAmodnameN classnameNje#jh#)}jk#]jF@c.rxrpc_kernel_query_oobasbuh1hhj@ubj4#)}(h h]h }(hj$AhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj@ubj#)}(hj#h]h*}(hj2AhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj@ubj#)}(hj#h]h*}(hj?AhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj@ubjH#)}(h_peerh]h_peer}(hjLAhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj@ubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjp@ubj#)}(hunsigned long *_peer_appdatah](jq()}(hunsignedh]hunsigned}(hjeAhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjaAubj4#)}(h h]h }(hjsAhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjaAubjq()}(hlongh]hlong}(hjAhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjaAubj4#)}(h h]h }(hjAhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjaAubj#)}(hj#h]h*}(hjAhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjaAubjH#)}(h _peer_appdatah]h _peer_appdata}(hjAhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjaAubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjp@ubeh}(h]h ]h"]h$]h&]hhuh1j#hj@hhhj@hKubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj@hhhj@hKubah}(h]j?ah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj@hKhj@hhubj$)}(hhh]h)}(h.Query the parameters of an out-of-band messageh]h.Query the parameters of an out-of-band message}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chKhjAhhubah}(h]h ]h"]h$]h&]uh1j$hj@hhhj@hKubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jAj%jAj%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct sk_buff *oob`` The message to query ``struct rxrpc_peer **_peer`` Where to return the peer record ``unsigned long *_peer_appdata`` The application data attached to a peer record **Description** Extract useful parameters from an out-of-band message. The source peer parameters are returned through the argument list and the message type is returned. **Return** * ``RXRPC_OOB_CHALLENGE`` - Challenge wanting a response.h](h)}(h**Parameters**h]j*%)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMhjAubj@%)}(hhh](jE%)}(h-``struct sk_buff *oob`` The message to query h](jK%)}(h``struct sk_buff *oob``h]j )}(hjBh]hstruct sk_buff *oob}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjBubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chKhjBubje%)}(hhh]h)}(hThe message to queryh]hThe message to query}(hj.BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*BhKhj+Bubah}(h]h ]h"]h$]h&]uh1jd%hjBubeh}(h]h ]h"]h$]h&]uh1jD%hj*BhKhj BubjE%)}(h>``struct rxrpc_peer **_peer`` Where to return the peer record h](jK%)}(h``struct rxrpc_peer **_peer``h]j )}(hjNBh]hstruct rxrpc_peer **_peer}(hjPBhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjLBubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chKhjHBubje%)}(hhh]h)}(hWhere to return the peer recordh]hWhere to return the peer record}(hjgBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjcBhKhjdBubah}(h]h ]h"]h$]h&]uh1jd%hjHBubeh}(h]h ]h"]h$]h&]uh1jD%hjcBhKhj BubjE%)}(hP``unsigned long *_peer_appdata`` The application data attached to a peer record h](jK%)}(h ``unsigned long *_peer_appdata``h]j )}(hjBh]hunsigned long *_peer_appdata}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjBubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMhjBubje%)}(hhh]h)}(h.The application data attached to a peer recordh]h.The application data attached to a peer record}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jd%hjBubeh}(h]h ]h"]h$]h&]uh1jD%hjBhMhj Bubeh}(h]h ]h"]h$]h&]uh1j?%hjAubh)}(h**Description**h]j*%)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMhjAubh)}(hExtract useful parameters from an out-of-band message. The source peer parameters are returned through the argument list and the message type is returned.h]hExtract useful parameters from an out-of-band message. The source peer parameters are returned through the argument list and the message type is returned.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMhjAubh)}(h **Return**h]j*%)}(hjBh]hReturn}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMhjAubh bullet_list)}(hhh]h)}(h7``RXRPC_OOB_CHALLENGE`` - Challenge wanting a response.h]h)}(hjCh](j )}(h``RXRPC_OOB_CHALLENGE``h]hRXRPC_OOB_CHALLENGE}(hj ChhhNhNubah}(h]h ]h"]h$]h&]uh1j hjCubh - Challenge wanting a response.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMhjCubah}(h]h ]h"]h$]h&]uh1hhjCubah}(h]h ]h"]h$]h&]bulletj#uh1jBhj#ChMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #%rxrpc_kernel_dequeue_oob (C function)c.rxrpc_kernel_dequeue_oobhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h[struct sk_buff * rxrpc_kernel_dequeue_oob (struct socket *sock, enum rxrpc_oob_type *_type)h]j#)}(hYstruct sk_buff *rxrpc_kernel_dequeue_oob(struct socket *sock, enum rxrpc_oob_type *_type)h](j"#)}(hj%#h]hstruct}(hjQChhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjMChhhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM!ubj4#)}(h h]h }(hj_ChhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjMChhhj^ChM!ubh)}(hhh]jH#)}(hsk_buffh]hsk_buff}(hjpChhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjmCubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjrCmodnameN classnameNje#jh#)}jk#]jn#)}ja#rxrpc_kernel_dequeue_oobsbc.rxrpc_kernel_dequeue_oobasbuh1hhjMChhhj^ChM!ubj4#)}(h h]h }(hjChhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjMChhhj^ChM!ubj#)}(hj#h]h*}(hjChhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjMChhhj^ChM!ubj#)}(hrxrpc_kernel_dequeue_oobh]jH#)}(hjCh]hrxrpc_kernel_dequeue_oob}(hjChhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjCubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjMChhhj^ChM!ubj#)}(h1(struct socket *sock, enum rxrpc_oob_type *_type)h](j#)}(hstruct socket *sockh](j"#)}(hj%#h]hstruct}(hjChhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjCubj4#)}(h h]h }(hjChhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjCubh)}(hhh]jH#)}(hsocketh]hsocket}(hjChhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjCubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjCmodnameN classnameNje#jh#)}jk#]jCc.rxrpc_kernel_dequeue_oobasbuh1hhjCubj4#)}(h h]h }(hjDhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjCubj#)}(hj#h]h*}(hjDhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjCubjH#)}(hsockh]hsock}(hj"DhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjCubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjCubj#)}(henum rxrpc_oob_type *_typeh](j"#)}(hj-h]henum}(hj;DhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj7Dubj4#)}(h h]h }(hjHDhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj7Dubh)}(hhh]jH#)}(hrxrpc_oob_typeh]hrxrpc_oob_type}(hjYDhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjVDubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj[DmodnameN classnameNje#jh#)}jk#]jCc.rxrpc_kernel_dequeue_oobasbuh1hhj7Dubj4#)}(h h]h }(hjwDhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj7Dubj#)}(hj#h]h*}(hjDhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj7DubjH#)}(h_typeh]h_type}(hjDhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj7Dubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjCubeh}(h]h ]h"]h$]h&]hhuh1j#hjMChhhj^ChM!ubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjIChhhj^ChM!ubah}(h]jDCah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj^ChM!hjFChhubj$)}(hhh]h)}(h(Dequeue and return the front OOB messageh]h(Dequeue and return the front OOB message}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM!hjDhhubah}(h]h ]h"]h$]h&]uh1j$hjFChhhj^ChM!ubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jDj%jDj%j%j%uh1j#hhhj"hNhNubj %)}(hX8**Parameters** ``struct socket *sock`` The socket to query ``enum rxrpc_oob_type *_type`` Where to return the message type **Description** Dequeue the front OOB message, if there is one, and return it and its type. **Return** The sk_buff representing the OOB message or ``NULL`` if the queue was empty.h](h)}(h**Parameters**h]j*%)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjDubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM%hjDubj@%)}(hhh](jE%)}(h,``struct socket *sock`` The socket to query h](jK%)}(h``struct socket *sock``h]j )}(hjDh]hstruct socket *sock}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjDubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM"hjDubje%)}(hhh]h)}(hThe socket to queryh]hThe socket to query}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM"hjEubah}(h]h ]h"]h$]h&]uh1jd%hjDubeh}(h]h ]h"]h$]h&]uh1jD%hjEhM"hjDubjE%)}(h@``enum rxrpc_oob_type *_type`` Where to return the message type h](jK%)}(h``enum rxrpc_oob_type *_type``h]j )}(hj6Eh]henum rxrpc_oob_type *_type}(hj8EhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj4Eubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM#hj0Eubje%)}(hhh]h)}(h Where to return the message typeh]h Where to return the message type}(hjOEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKEhM#hjLEubah}(h]h ]h"]h$]h&]uh1jd%hj0Eubeh}(h]h ]h"]h$]h&]uh1jD%hjKEhM#hjDubeh}(h]h ]h"]h$]h&]uh1j?%hjDubh)}(h**Description**h]j*%)}(hjqEh]h Description}(hjsEhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjoEubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM%hjDubh)}(hKDequeue the front OOB message, if there is one, and return it and its type.h]hKDequeue the front OOB message, if there is one, and return it and its type.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM%hjDubh)}(h **Return**h]j*%)}(hjEh]hReturn}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjEubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM(hjDubh)}(hLThe sk_buff representing the OOB message or ``NULL`` if the queue was empty.h](h,The sk_buff representing the OOB message or }(hjEhhhNhNubj )}(h``NULL``h]hNULL}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjEubh if the queue was empty.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM(hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #"rxrpc_kernel_free_oob (C function)c.rxrpc_kernel_free_oobhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h0void rxrpc_kernel_free_oob (struct sk_buff *oob)h]j#)}(h/void rxrpc_kernel_free_oob(struct sk_buff *oob)h](jq()}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjEhhhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM9ubj4#)}(h h]h }(hjEhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjEhhhjEhM9ubj#)}(hrxrpc_kernel_free_oobh]jH#)}(hrxrpc_kernel_free_oobh]hrxrpc_kernel_free_oob}(hjFhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj Fubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjEhhhjEhM9ubj#)}(h(struct sk_buff *oob)h]j#)}(hstruct sk_buff *oobh](j"#)}(hj%#h]hstruct}(hj,FhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj(Fubj4#)}(h h]h }(hj9FhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj(Fubh)}(hhh]jH#)}(hsk_buffh]hsk_buff}(hjJFhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjGFubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjLFmodnameN classnameNje#jh#)}jk#]jn#)}ja#jFsbc.rxrpc_kernel_free_oobasbuh1hhj(Fubj4#)}(h h]h }(hjjFhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj(Fubj#)}(hj#h]h*}(hjxFhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj(FubjH#)}(hoobh]hoob}(hjFhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj(Fubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj$Fubah}(h]h ]h"]h$]h&]hhuh1j#hjEhhhjEhM9ubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjEhhhjEhM9ubah}(h]jEah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjEhM9hjEhhubj$)}(hhh]h)}(hFree an out-of-band messageh]hFree an out-of-band message}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM9hjFhhubah}(h]h ]h"]h$]h&]uh1j$hjEhhhjEhM9ubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jFj%jFj%j%j%uh1j#hhhj"hNhNubj %)}(h**Parameters** ``struct sk_buff *oob`` The OOB message to free **Description** Free an OOB message along with any resources it holds.h](h)}(h**Parameters**h]j*%)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM=hjFubj@%)}(hhh]jE%)}(h0``struct sk_buff *oob`` The OOB message to free h](jK%)}(h``struct sk_buff *oob``h]j )}(hjFh]hstruct sk_buff *oob}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjFubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM:hjFubje%)}(hhh]h)}(hThe OOB message to freeh]hThe OOB message to free}(hj GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM:hjGubah}(h]h ]h"]h$]h&]uh1jd%hjFubeh}(h]h ]h"]h$]h&]uh1jD%hjGhM:hjFubah}(h]h ]h"]h$]h&]uh1j?%hjFubh)}(h**Description**h]j*%)}(hj+Gh]h Description}(hj-GhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj)Gubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM<hjFubh)}(h6Free an OOB message along with any resources it holds.h]h6Free an OOB message along with any resources it holds.}(hjAGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chM<hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #)rxrpc_kernel_query_challenge (C function)c.rxrpc_kernel_query_challengehNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hvoid rxrpc_kernel_query_challenge (struct sk_buff *challenge, struct rxrpc_peer **_peer, unsigned long *_peer_appdata, u16 *_service_id, u8 *_security_index)h]j#)}(hvoid rxrpc_kernel_query_challenge(struct sk_buff *challenge, struct rxrpc_peer **_peer, unsigned long *_peer_appdata, u16 *_service_id, u8 *_security_index)h](jq()}(hvoidh]hvoid}(hjpGhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjlGhhhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMMubj4#)}(h h]h }(hjGhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjlGhhhj~GhMMubj#)}(hrxrpc_kernel_query_challengeh]jH#)}(hrxrpc_kernel_query_challengeh]hrxrpc_kernel_query_challenge}(hjGhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjGubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjlGhhhj~GhMMubj#)}(h{(struct sk_buff *challenge, struct rxrpc_peer **_peer, unsigned long *_peer_appdata, u16 *_service_id, u8 *_security_index)h](j#)}(hstruct sk_buff *challengeh](j"#)}(hj%#h]hstruct}(hjGhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjGubj4#)}(h h]h }(hjGhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjGubh)}(hhh]jH#)}(hsk_buffh]hsk_buff}(hjGhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjGubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjGmodnameN classnameNje#jh#)}jk#]jn#)}ja#jGsbc.rxrpc_kernel_query_challengeasbuh1hhjGubj4#)}(h h]h }(hjGhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjGubj#)}(hj#h]h*}(hjGhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjGubjH#)}(h challengeh]h challenge}(hjHhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjGubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjGubj#)}(hstruct rxrpc_peer **_peerh](j"#)}(hj%#h]hstruct}(hjHhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjHubj4#)}(h h]h }(hj,HhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjHubh)}(hhh]jH#)}(h rxrpc_peerh]h rxrpc_peer}(hj=HhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj:Hubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj?HmodnameN classnameNje#jh#)}jk#]jGc.rxrpc_kernel_query_challengeasbuh1hhjHubj4#)}(h h]h }(hj[HhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjHubj#)}(hj#h]h*}(hjiHhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjHubj#)}(hj#h]h*}(hjvHhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjHubjH#)}(h_peerh]h_peer}(hjHhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjHubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjGubj#)}(hunsigned long *_peer_appdatah](jq()}(hunsignedh]hunsigned}(hjHhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjHubj4#)}(h h]h }(hjHhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjHubjq()}(hlongh]hlong}(hjHhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjHubj4#)}(h h]h }(hjHhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjHubj#)}(hj#h]h*}(hjHhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjHubjH#)}(h _peer_appdatah]h _peer_appdata}(hjHhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjHubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjGubj#)}(hu16 *_service_idh](h)}(hhh]jH#)}(hu16h]hu16}(hjHhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjHubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjHmodnameN classnameNje#jh#)}jk#]jGc.rxrpc_kernel_query_challengeasbuh1hhjHubj4#)}(h h]h }(hjIhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjHubj#)}(hj#h]h*}(hj)IhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjHubjH#)}(h _service_idh]h _service_id}(hj6IhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjHubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjGubj#)}(hu8 *_security_indexh](h)}(hhh]jH#)}(hu8h]hu8}(hjRIhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjOIubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjTImodnameN classnameNje#jh#)}jk#]jGc.rxrpc_kernel_query_challengeasbuh1hhjKIubj4#)}(h h]h }(hjpIhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjKIubj#)}(hj#h]h*}(hj~IhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjKIubjH#)}(h_security_indexh]h_security_index}(hjIhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjKIubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjGubeh}(h]h ]h"]h$]h&]hhuh1j#hjlGhhhj~GhMMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjhGhhhj~GhMMubah}(h]jcGah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj~GhMMhjeGhhubj$)}(hhh]h)}(h#Query the parameters of a challengeh]h#Query the parameters of a challenge}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMMhjIhhubah}(h]h ]h"]h$]h&]uh1j$hjeGhhhj~GhMMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jIj%jIj%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct sk_buff *challenge`` The challenge to query ``struct rxrpc_peer **_peer`` Where to return the peer record ``unsigned long *_peer_appdata`` The application data attached to a peer record ``u16 *_service_id`` Where to return the connection service ID ``u8 *_security_index`` Where to return the connection security index **Description** Extract useful parameters from a CHALLENGE message.h](h)}(h**Parameters**h]j*%)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjIubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMQhjIubj@%)}(hhh](jE%)}(h5``struct sk_buff *challenge`` The challenge to query h](jK%)}(h``struct sk_buff *challenge``h]j )}(hjIh]hstruct sk_buff *challenge}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjIubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMNhjIubje%)}(hhh]h)}(hThe challenge to queryh]hThe challenge to query}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj JhMNhj Jubah}(h]h ]h"]h$]h&]uh1jd%hjIubeh}(h]h ]h"]h$]h&]uh1jD%hj JhMNhjIubjE%)}(h>``struct rxrpc_peer **_peer`` Where to return the peer record h](jK%)}(h``struct rxrpc_peer **_peer``h]j )}(hj/Jh]hstruct rxrpc_peer **_peer}(hj1JhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj-Jubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMOhj)Jubje%)}(hhh]h)}(hWhere to return the peer recordh]hWhere to return the peer record}(hjHJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDJhMOhjEJubah}(h]h ]h"]h$]h&]uh1jd%hj)Jubeh}(h]h ]h"]h$]h&]uh1jD%hjDJhMOhjIubjE%)}(hP``unsigned long *_peer_appdata`` The application data attached to a peer record h](jK%)}(h ``unsigned long *_peer_appdata``h]j )}(hjhJh]hunsigned long *_peer_appdata}(hjjJhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjfJubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMPhjbJubje%)}(hhh]h)}(h.The application data attached to a peer recordh]h.The application data attached to a peer record}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}JhMPhj~Jubah}(h]h ]h"]h$]h&]uh1jd%hjbJubeh}(h]h ]h"]h$]h&]uh1jD%hj}JhMPhjIubjE%)}(h?``u16 *_service_id`` Where to return the connection service ID h](jK%)}(h``u16 *_service_id``h]j )}(hjJh]hu16 *_service_id}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjJubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMQhjJubje%)}(hhh]h)}(h)Where to return the connection service IDh]h)Where to return the connection service ID}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMQhjJubah}(h]h ]h"]h$]h&]uh1jd%hjJubeh}(h]h ]h"]h$]h&]uh1jD%hjJhMQhjIubjE%)}(hF``u8 *_security_index`` Where to return the connection security index h](jK%)}(h``u8 *_security_index``h]j )}(hjJh]hu8 *_security_index}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjJubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMRhjJubje%)}(hhh]h)}(h-Where to return the connection security indexh]h-Where to return the connection security index}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMRhjJubah}(h]h ]h"]h$]h&]uh1jd%hjJubeh}(h]h ]h"]h$]h&]uh1jD%hjJhMRhjIubeh}(h]h ]h"]h$]h&]uh1j?%hjIubh)}(h**Description**h]j*%)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMThjIubh)}(h3Extract useful parameters from a CHALLENGE message.h]h3Extract useful parameters from a CHALLENGE message.}(hj+KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMThjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #*rxrpc_kernel_reject_challenge (C function)c.rxrpc_kernel_reject_challengehNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(huint rxrpc_kernel_reject_challenge (struct sk_buff *challenge, u32 abort_code, int error, enum rxrpc_abort_reason why)h]j#)}(htint rxrpc_kernel_reject_challenge(struct sk_buff *challenge, u32 abort_code, int error, enum rxrpc_abort_reason why)h](jq()}(hinth]hint}(hjZKhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjVKhhhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMeubj4#)}(h h]h }(hjiKhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjVKhhhjhKhMeubj#)}(hrxrpc_kernel_reject_challengeh]jH#)}(hrxrpc_kernel_reject_challengeh]hrxrpc_kernel_reject_challenge}(hj{KhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjwKubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjVKhhhjhKhMeubj#)}(hS(struct sk_buff *challenge, u32 abort_code, int error, enum rxrpc_abort_reason why)h](j#)}(hstruct sk_buff *challengeh](j"#)}(hj%#h]hstruct}(hjKhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjKubj4#)}(h h]h }(hjKhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjKubh)}(hhh]jH#)}(hsk_buffh]hsk_buff}(hjKhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjKubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjKmodnameN classnameNje#jh#)}jk#]jn#)}ja#j}Ksbc.rxrpc_kernel_reject_challengeasbuh1hhjKubj4#)}(h h]h }(hjKhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjKubj#)}(hj#h]h*}(hjKhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjKubjH#)}(h challengeh]h challenge}(hjKhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjKubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjKubj#)}(hu32 abort_codeh](h)}(hhh]jH#)}(hu32h]hu32}(hj LhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj Lubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjLmodnameN classnameNje#jh#)}jk#]jKc.rxrpc_kernel_reject_challengeasbuh1hhjLubj4#)}(h h]h }(hj*LhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjLubjH#)}(h abort_codeh]h abort_code}(hj8LhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjLubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjKubj#)}(h int errorh](jq()}(hinth]hint}(hjQLhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjMLubj4#)}(h h]h }(hj_LhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjMLubjH#)}(herrorh]herror}(hjmLhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjMLubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjKubj#)}(henum rxrpc_abort_reason whyh](j"#)}(hj-h]henum}(hjLhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjLubj4#)}(h h]h }(hjLhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjLubh)}(hhh]jH#)}(hrxrpc_abort_reasonh]hrxrpc_abort_reason}(hjLhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjLubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjLmodnameN classnameNje#jh#)}jk#]jKc.rxrpc_kernel_reject_challengeasbuh1hhjLubj4#)}(h h]h }(hjLhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjLubjH#)}(hwhyh]hwhy}(hjLhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjLubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjKubeh}(h]h ]h"]h$]h&]hhuh1j#hjVKhhhjhKhMeubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjRKhhhjhKhMeubah}(h]jMKah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjhKhMehjOKhhubj$)}(hhh]h)}(h,Allow a kernel service to reject a challengeh]h,Allow a kernel service to reject a challenge}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMehjLhhubah}(h]h ]h"]h$]h&]uh1j$hjOKhhhjhKhMeubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jMj%jMj%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct sk_buff *challenge`` The challenge to be rejected ``u32 abort_code`` The abort code to stick into the ABORT packet ``int error`` Local error value ``enum rxrpc_abort_reason why`` Indication as to why. **Description** Allow a kernel service to reject a challenge by aborting the connection if it's still in an abortable state. The error is returned so this function can be used with a return statement. **Return** The ``error`` parameter.h](h)}(h**Parameters**h]j*%)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjMubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMihjMubj@%)}(hhh](jE%)}(h;``struct sk_buff *challenge`` The challenge to be rejected h](jK%)}(h``struct sk_buff *challenge``h]j )}(hj;Mh]hstruct sk_buff *challenge}(hj=MhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj9Mubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMfhj5Mubje%)}(hhh]h)}(hThe challenge to be rejectedh]hThe challenge to be rejected}(hjTMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPMhMfhjQMubah}(h]h ]h"]h$]h&]uh1jd%hj5Mubeh}(h]h ]h"]h$]h&]uh1jD%hjPMhMfhj2MubjE%)}(hA``u32 abort_code`` The abort code to stick into the ABORT packet h](jK%)}(h``u32 abort_code``h]j )}(hjtMh]hu32 abort_code}(hjvMhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjrMubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMghjnMubje%)}(hhh]h)}(h-The abort code to stick into the ABORT packeth]h-The abort code to stick into the ABORT packet}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMghjMubah}(h]h ]h"]h$]h&]uh1jd%hjnMubeh}(h]h ]h"]h$]h&]uh1jD%hjMhMghj2MubjE%)}(h ``int error`` Local error value h](jK%)}(h ``int error``h]j )}(hjMh]h int error}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjMubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMhhjMubje%)}(hhh]h)}(hLocal error valueh]hLocal error value}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhhjMubah}(h]h ]h"]h$]h&]uh1jd%hjMubeh}(h]h ]h"]h$]h&]uh1jD%hjMhMhhj2MubjE%)}(h6``enum rxrpc_abort_reason why`` Indication as to why. h](jK%)}(h``enum rxrpc_abort_reason why``h]j )}(hjMh]henum rxrpc_abort_reason why}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjMubah}(h]h ]h"]h$]h&]uh1jJ%hR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMihjMubje%)}(hhh]h)}(hIndication as to why.h]hIndication as to why.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMihjMubah}(h]h ]h"]h$]h&]uh1jd%hjMubeh}(h]h ]h"]h$]h&]uh1jD%hjMhMihj2Mubeh}(h]h ]h"]h$]h&]uh1j?%hjMubh)}(h**Description**h]j*%)}(hj!Nh]h Description}(hj#NhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMkhjMubh)}(hAllow a kernel service to reject a challenge by aborting the connection if it's still in an abortable state. The error is returned so this function can be used with a return statement.h]hAllow a kernel service to reject a challenge by aborting the connection if it’s still in an abortable state. The error is returned so this function can be used with a return statement.}(hj7NhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMkhjMubh)}(h **Return**h]j*%)}(hjHNh]hReturn}(hjJNhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjFNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMohjMubh)}(hThe ``error`` parameter.h](hThe }(hj^NhhhNhNubj )}(h ``error``h]herror}(hjfNhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj^Nubh parameter.}(hj^NhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1159: ./net/rxrpc/oob.chMohjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #'rxrpc_kernel_get_call_peer (C function)c.rxrpc_kernel_get_call_peerhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h]struct rxrpc_peer * rxrpc_kernel_get_call_peer (struct socket *sock, struct rxrpc_call *call)h]j#)}(h[struct rxrpc_peer *rxrpc_kernel_get_call_peer(struct socket *sock, struct rxrpc_call *call)h](j"#)}(hj%#h]hstruct}(hjNhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMubj4#)}(h h]h }(hjNhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjNhhhjNhMubh)}(hhh]jH#)}(h rxrpc_peerh]h rxrpc_peer}(hjNhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjNubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjNmodnameN classnameNje#jh#)}jk#]jn#)}ja#rxrpc_kernel_get_call_peersbc.rxrpc_kernel_get_call_peerasbuh1hhjNhhhjNhMubj4#)}(h h]h }(hjNhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjNhhhjNhMubj#)}(hj#h]h*}(hjNhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjNhhhjNhMubj#)}(hrxrpc_kernel_get_call_peerh]jH#)}(hjNh]hrxrpc_kernel_get_call_peer}(hjNhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjNubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjNhhhjNhMubj#)}(h.(struct socket *sock, struct rxrpc_call *call)h](j#)}(hstruct socket *sockh](j"#)}(hj%#h]hstruct}(hjOhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjOubj4#)}(h h]h }(hj&OhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjOubh)}(hhh]jH#)}(hsocketh]hsocket}(hj7OhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj4Oubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj9OmodnameN classnameNje#jh#)}jk#]jNc.rxrpc_kernel_get_call_peerasbuh1hhjOubj4#)}(h h]h }(hjUOhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjOubj#)}(hj#h]h*}(hjcOhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjOubjH#)}(hsockh]hsock}(hjpOhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjOubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjOubj#)}(hstruct rxrpc_call *callh](j"#)}(hj%#h]hstruct}(hjOhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjOubj4#)}(h h]h }(hjOhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjOubh)}(hhh]jH#)}(h rxrpc_callh]h rxrpc_call}(hjOhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjOubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjOmodnameN classnameNje#jh#)}jk#]jNc.rxrpc_kernel_get_call_peerasbuh1hhjOubj4#)}(h h]h }(hjOhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjOubj#)}(hj#h]h*}(hjOhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjOubjH#)}(hcallh]hcall}(hjOhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjOubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjOubeh}(h]h ]h"]h$]h&]hhuh1j#hjNhhhjNhMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjNhhhjNhMubah}(h]jNah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjNhMhjNhhubj$)}(hhh]h)}(hGet the peer address of a callh]hGet the peer address of a call}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjPhhubah}(h]h ]h"]h$]h&]uh1j$hjNhhhjNhMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%j"Pj%j"Pj%j%j%uh1j#hhhj"hNhNubj %)}(h**Parameters** ``struct socket *sock`` The socket on which the call is in progress. ``struct rxrpc_call *call`` The call to query **Description** Get a record for the remote peer in a call. **Return** The call's peer record.h](h)}(h**Parameters**h]j*%)}(hj,Ph]h Parameters}(hj.PhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj*Pubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj&Pubj@%)}(hhh](jE%)}(hE``struct socket *sock`` The socket on which the call is in progress. h](jK%)}(h``struct socket *sock``h]j )}(hjKPh]hstruct socket *sock}(hjMPhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjIPubah}(h]h ]h"]h$]h&]uh1jJ%hZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjEPubje%)}(hhh]h)}(h,The socket on which the call is in progress.h]h,The socket on which the call is in progress.}(hjdPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`PhMhjaPubah}(h]h ]h"]h$]h&]uh1jd%hjEPubeh}(h]h ]h"]h$]h&]uh1jD%hj`PhMhjBPubjE%)}(h.``struct rxrpc_call *call`` The call to query h](jK%)}(h``struct rxrpc_call *call``h]j )}(hjPh]hstruct rxrpc_call *call}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjPubah}(h]h ]h"]h$]h&]uh1jJ%hZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj~Pubje%)}(hhh]h)}(hThe call to queryh]hThe call to query}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jd%hj~Pubeh}(h]h ]h"]h$]h&]uh1jD%hjPhMhjBPubeh}(h]h ]h"]h$]h&]uh1j?%hj&Pubh)}(h**Description**h]j*%)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjPubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj&Pubh)}(h+Get a record for the remote peer in a call.h]h+Get a record for the remote peer in a call.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj&Pubh)}(h **Return**h]j*%)}(hjPh]hReturn}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjPubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj&Pubh)}(hThe call's peer record.h]hThe call’s peer record.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj&Pubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #"rxrpc_kernel_get_srtt (C function)c.rxrpc_kernel_get_srtthNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hBunsigned int rxrpc_kernel_get_srtt (const struct rxrpc_peer *peer)h]j#)}(hAunsigned int rxrpc_kernel_get_srtt(const struct rxrpc_peer *peer)h](jq()}(hunsignedh]hunsigned}(hj+QhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hj'QhhhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMubj4#)}(h h]h }(hj:QhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj'Qhhhj9QhMubjq()}(hinth]hint}(hjHQhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hj'Qhhhj9QhMubj4#)}(h h]h }(hjVQhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj'Qhhhj9QhMubj#)}(hrxrpc_kernel_get_srtth]jH#)}(hrxrpc_kernel_get_srtth]hrxrpc_kernel_get_srtt}(hjhQhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjdQubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hj'Qhhhj9QhMubj#)}(h(const struct rxrpc_peer *peer)h]j#)}(hconst struct rxrpc_peer *peerh](j"#)}(hj6h]hconst}(hjQhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjQubj4#)}(h h]h }(hjQhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjQubj"#)}(hj%#h]hstruct}(hjQhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjQubj4#)}(h h]h }(hjQhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjQubh)}(hhh]jH#)}(h rxrpc_peerh]h rxrpc_peer}(hjQhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjQubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjQmodnameN classnameNje#jh#)}jk#]jn#)}ja#jjQsbc.rxrpc_kernel_get_srttasbuh1hhjQubj4#)}(h h]h }(hjQhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjQubj#)}(hj#h]h*}(hjQhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjQubjH#)}(hpeerh]hpeer}(hjQhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjQubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj|Qubah}(h]h ]h"]h$]h&]hhuh1j#hj'Qhhhj9QhMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj#Qhhhj9QhMubah}(h]jQah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj9QhMhj Qhhubj$)}(hhh]h)}(hGet a call's peer smoothed RTTh]h Get a call’s peer smoothed RTT}(hj"RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjRhhubah}(h]h ]h"]h$]h&]uh1j$hj Qhhhj9QhMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%j:Rj%j:Rj%j%j%uh1j#hhhj"hNhNubj %)}(h**Parameters** ``const struct rxrpc_peer *peer`` The peer to query **Description** Get the call's peer smoothed RTT. **Return** The RTT in uS or ``UINT_MAX`` if we have no samples.h](h)}(h**Parameters**h]j*%)}(hjDRh]h Parameters}(hjFRhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjBRubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj>Rubj@%)}(hhh]jE%)}(h4``const struct rxrpc_peer *peer`` The peer to query h](jK%)}(h!``const struct rxrpc_peer *peer``h]j )}(hjcRh]hconst struct rxrpc_peer *peer}(hjeRhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjaRubah}(h]h ]h"]h$]h&]uh1jJ%hZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj]Rubje%)}(hhh]h)}(hThe peer to queryh]hThe peer to query}(hj|RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxRhMhjyRubah}(h]h ]h"]h$]h&]uh1jd%hj]Rubeh}(h]h ]h"]h$]h&]uh1jD%hjxRhMhjZRubah}(h]h ]h"]h$]h&]uh1j?%hj>Rubh)}(h**Description**h]j*%)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjRubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj>Rubh)}(h!Get the call's peer smoothed RTT.h]h#Get the call’s peer smoothed RTT.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj>Rubh)}(h **Return**h]j*%)}(hjRh]hReturn}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjRubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj>Rubh)}(h4The RTT in uS or ``UINT_MAX`` if we have no samples.h](hThe RTT in uS or }(hjRhhhNhNubj )}(h ``UINT_MAX``h]hUINT_MAX}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjRubh if we have no samples.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhj>Rubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #$rxrpc_kernel_remote_srx (C function)c.rxrpc_kernel_remote_srxhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hUconst struct sockaddr_rxrpc * rxrpc_kernel_remote_srx (const struct rxrpc_peer *peer)h]j#)}(hSconst struct sockaddr_rxrpc *rxrpc_kernel_remote_srx(const struct rxrpc_peer *peer)h](j"#)}(hj6h]hconst}(hjShhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjShhhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMubj4#)}(h h]h }(hj*ShhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjShhhj)ShMubj"#)}(hj%#h]hstruct}(hj8ShhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjShhhj)ShMubj4#)}(h h]h }(hjEShhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjShhhj)ShMubh)}(hhh]jH#)}(hsockaddr_rxrpch]hsockaddr_rxrpc}(hjVShhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjSSubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjXSmodnameN classnameNje#jh#)}jk#]jn#)}ja#rxrpc_kernel_remote_srxsbc.rxrpc_kernel_remote_srxasbuh1hhjShhhj)ShMubj4#)}(h h]h }(hjwShhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjShhhj)ShMubj#)}(hj#h]h*}(hjShhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjShhhj)ShMubj#)}(hrxrpc_kernel_remote_srxh]jH#)}(hjtSh]hrxrpc_kernel_remote_srx}(hjShhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjSubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjShhhj)ShMubj#)}(h(const struct rxrpc_peer *peer)h]j#)}(hconst struct rxrpc_peer *peerh](j"#)}(hj6h]hconst}(hjShhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjSubj4#)}(h h]h }(hjShhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjSubj"#)}(hj%#h]hstruct}(hjShhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjSubj4#)}(h h]h }(hjShhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjSubh)}(hhh]jH#)}(h rxrpc_peerh]h rxrpc_peer}(hjShhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjSubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjSmodnameN classnameNje#jh#)}jk#]jrSc.rxrpc_kernel_remote_srxasbuh1hhjSubj4#)}(h h]h }(hjThhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjSubj#)}(hj#h]h*}(hjThhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjSubjH#)}(hpeerh]hpeer}(hj#ThhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjSubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjSubah}(h]h ]h"]h$]h&]hhuh1j#hjShhhj)ShMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjShhhj)ShMubah}(h]jSah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj)ShMhjShhubj$)}(hhh]h)}(hGet the address of a peerh]hGet the address of a peer}(hjMThhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjJThhubah}(h]h ]h"]h$]h&]uh1j$hjShhhj)ShMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jeTj%jeTj%j%j%uh1j#hhhj"hNhNubj %)}(hXI**Parameters** ``const struct rxrpc_peer *peer`` The peer to query **Description** Get a pointer to the address from a peer record. The caller is responsible for making sure that the address is not deallocated. A fake address will be substituted if ``peer`` in NULL. **Return** The rxrpc address record or a fake record.h](h)}(h**Parameters**h]j*%)}(hjoTh]h Parameters}(hjqThhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjmTubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjiTubj@%)}(hhh]jE%)}(h4``const struct rxrpc_peer *peer`` The peer to query h](jK%)}(h!``const struct rxrpc_peer *peer``h]j )}(hjTh]hconst struct rxrpc_peer *peer}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1j hjTubah}(h]h ]h"]h$]h&]uh1jJ%hZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjTubje%)}(hhh]h)}(hThe peer to queryh]hThe peer to query}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jd%hjTubeh}(h]h ]h"]h$]h&]uh1jD%hjThMhjTubah}(h]h ]h"]h$]h&]uh1j?%hjiTubh)}(h**Description**h]j*%)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjTubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjiTubh)}(hGet a pointer to the address from a peer record. The caller is responsible for making sure that the address is not deallocated. A fake address will be substituted if ``peer`` in NULL.h](hGet a pointer to the address from a peer record. The caller is responsible for making sure that the address is not deallocated. A fake address will be substituted if }(hjThhhNhNubj )}(h``peer``h]hpeer}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1j hjTubh in NULL.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjiTubh)}(h **Return**h]j*%)}(hjUh]hReturn}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjUubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjiTubh)}(h*The rxrpc address record or a fake record.h]h*The rxrpc address record or a fake record.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMhjiTubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #%rxrpc_kernel_remote_addr (C function)c.rxrpc_kernel_remote_addrhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hPconst struct sockaddr * rxrpc_kernel_remote_addr (const struct rxrpc_peer *peer)h]j#)}(hNconst struct sockaddr *rxrpc_kernel_remote_addr(const struct rxrpc_peer *peer)h](j"#)}(hj6h]hconst}(hjGUhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjCUhhhZ/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1160: ./net/rxrpc/peer_object.chMubj4#)}(h h]h }(hjUUhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjCUhhhjTUhMubj"#)}(hj%#h]hstruct}(hjcUhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjCUhhhjTUhMubj4#)}(h h]h }(hjpUhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjCUhhhjTUhMubh)}(hhh]jH#)}(hsockaddrh]hsockaddr}(hjUhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj~Uubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjUmodnameN classnameNje#jh#)}jk#]jn#)}ja#rxrpc_kernel_remote_addrsbc.rxrpc_kernel_remote_addrasbuh1hhjCUhhhjTUhMubj4#)}(h h]h }(hjUhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjCUhhhjTUhMubj#)}(hj#h]h*}(hjUhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjCUhhhjTUhMubj#)}(hrxrpc_kernel_remote_addrh]jH#)}(hjUh]hrxrpc_kernel_remote_addr}(hjUhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjUubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjCUhhhjTUhMubj#)}(h(const struct rxrpc_peer *peer)h]j#)}(hconst struct rxrpc_peer *peerh](j"#)}(hj6h]hconst}(hjUhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjUubj4#)}(h h]h }(hjUhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjUubj"#)}(hj%#h]hstruct}(hjUhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjUubj4#)}(h h]h }(hjVhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjUubh)}(hhh]jH#)}(h rxrpc_peerh]h rxrpc_peer}(hjVhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjVubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjVmodnameN classnameNje#jh#)}jk#]jUc.rxrpc_kernel_remote_addrasbuh1hhjUubj4#)}(h h]h }(hj3VhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjUubj#)}(hj#h]h*}(hjAVhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjUubjH#)}(hpeerh]hpeer}(hjNVhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjUubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjUubah}(h]h ]h"]h$]h&]hhuh1j#hjCUhhhjTUhMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hj?UhhhjTUhMubah}(h]j:Uah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjTUhMhj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:_hM-hj;_ubah}(h]h ]h"]h$]h&]uh1jd%hj_ubeh}(h]h ]h"]h$]h&]uh1jD%hj:_hM-hj^ubjE%)}(hM``size_t *_len`` The amount of data we want to receive (decreased on return) h](jK%)}(h``size_t *_len``h]j )}(hj^_h]h size_t *_len}(hj`_hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj\_ubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM.hjX_ubje%)}(hhh]h)}(h;The amount of data we want to receive (decreased on return)h]h;The amount of data we want to receive (decreased on return)}(hjw_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs_hM.hjt_ubah}(h]h ]h"]h$]h&]uh1jd%hjX_ubeh}(h]h ]h"]h$]h&]uh1jD%hjs_hM.hj^ubjE%)}(h<``bool want_more`` True if more data is expected to be read h](jK%)}(h``bool want_more``h]j )}(hj_h]hbool want_more}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj_ubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM/hj_ubje%)}(hhh]h)}(h(True if more data is expected to be readh]h(True if more data is expected to be read}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM/hj_ubah}(h]h ]h"]h$]h&]uh1jd%hj_ubeh}(h]h ]h"]h$]h&]uh1jD%hj_hM/hj^ubjE%)}(hL``u32 *_abort`` Where the abort code is stored if -ECONNABORTED is returned h](jK%)}(h``u32 *_abort``h]j )}(hj_h]h u32 *_abort}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj_ubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM0hj_ubje%)}(hhh]h)}(h;Where the abort code is stored if -ECONNABORTED is returnedh]h;Where the abort code is stored if -ECONNABORTED is returned}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM0hj_ubah}(h]h ]h"]h$]h&]uh1jd%hj_ubeh}(h]h ]h"]h$]h&]uh1jD%hj_hM0hj^ubjE%)}(hI``u16 *_service`` Where to store the actual service ID (may be upgraded) h](jK%)}(h``u16 *_service``h]j )}(hj `h]h u16 *_service}(hj `hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj`ubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM1hj`ubje%)}(hhh]h)}(h6Where to store the actual service ID (may be upgraded)h]h6Where to store the actual service ID (may be upgraded)}(hj"`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM1hj`ubah}(h]h ]h"]h$]h&]uh1jd%hj`ubeh}(h]h ]h"]h$]h&]uh1jD%hj`hM1hj^ubeh}(h]h ]h"]h$]h&]uh1j?%hj^ubh)}(h**Description**h]j*%)}(hjD`h]h Description}(hjF`hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjB`ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM3hj^ubh)}(hAllow a kernel service to receive data and pick up information about the state of a call. Note that ***_abort** should also be initialised to ``0``.h](heAllow a kernel service to receive data and pick up information about the state of a call. Note that }(hjZ`hhhNhNubj*%)}(h ***_abort**h]h*_abort}(hjb`hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjZ`ubh should also be initialised to }(hjZ`hhhNhNubj )}(h``0``h]h0}(hjt`hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjZ`ubh.}(hjZ`hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM3hj^ubh)}(hNote that we may return ``-EAGAIN`` to drain empty packets at the end of the data, even if we've already copied over the requested data.h](hNote that we may return }(hj`hhhNhNubj )}(h ``-EAGAIN``h]h-EAGAIN}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj`ubhg to drain empty packets at the end of the data, even if we’ve already copied over the requested data.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM6hj^ubh)}(h **Return**h]j*%)}(hj`h]hReturn}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj`ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM9hj^ubh)}(h``0`` if got what was asked for and there's more available, ``1`` if we got what was asked for and we're at the end of the data and ``-EAGAIN`` if we need more data.h](j )}(h``0``h]h0}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj`ubh9 if got what was asked for and there’s more available, }(hj`hhhNhNubj )}(h``1``h]h1}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj`ubhE if we got what was asked for and we’re at the end of the data and }(hj`hhhNhNubj )}(h ``-EAGAIN``h]h-EAGAIN}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj`ubh if we need more data.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1161: ./net/rxrpc/recvmsg.chM9hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #(rxgk_kernel_query_challenge (C function)c.rxgk_kernel_query_challengehNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h;u32 rxgk_kernel_query_challenge (struct sk_buff *challenge)h]j#)}(h:u32 rxgk_kernel_query_challenge(struct sk_buff *challenge)h](h)}(hhh]jH#)}(hu32h]hu32}(hj*ahhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj'aubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj,amodnameN classnameNje#jh#)}jk#]jn#)}ja#rxgk_kernel_query_challengesbc.rxgk_kernel_query_challengeasbuh1hhj#ahhhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMubj4#)}(h h]h }(hjLahhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj#ahhhjKahMubj#)}(hrxgk_kernel_query_challengeh]jH#)}(hjHah]hrxgk_kernel_query_challenge}(hj^ahhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjZaubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hj#ahhhjKahMubj#)}(h(struct sk_buff *challenge)h]j#)}(hstruct sk_buff *challengeh](j"#)}(hj%#h]hstruct}(hjyahhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjuaubj4#)}(h h]h }(hjahhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjuaubh)}(hhh]jH#)}(hsk_buffh]hsk_buff}(hjahhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjaubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjamodnameN classnameNje#jh#)}jk#]jFac.rxgk_kernel_query_challengeasbuh1hhjuaubj4#)}(h h]h }(hjahhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjuaubj#)}(hj#h]h*}(hjahhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjuaubjH#)}(h challengeh]h challenge}(hjahhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjuaubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjqaubah}(h]h ]h"]h$]h&]hhuh1j#hj#ahhhjKahMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjahhhjKahMubah}(h]jaah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjKahMhjahhubj$)}(hhh]h)}(h(Query RxGK-specific challenge parametersh]h(Query RxGK-specific challenge parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjahhubah}(h]h ]h"]h$]h&]uh1j$hjahhhjKahMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jbj%jbj%j%j%uh1j#hhhj"hNhNubj %)}(h**Parameters** ``struct sk_buff *challenge`` The challenge packet to query **Return** The Kerberos 5 encoding type for the challenged connection.h](h)}(h**Parameters**h]j*%)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjbubj@%)}(hhh]jE%)}(h<``struct sk_buff *challenge`` The challenge packet to query h](jK%)}(h``struct sk_buff *challenge``h]j )}(hj;bh]hstruct sk_buff *challenge}(hj=bhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj9bubah}(h]h ]h"]h$]h&]uh1jJ%hS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhj5bubje%)}(hhh]h)}(hThe challenge packet to queryh]hThe challenge packet to query}(hjTbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPbhMhjQbubah}(h]h ]h"]h$]h&]uh1jd%hj5bubeh}(h]h ]h"]h$]h&]uh1jD%hjPbhMhj2bubah}(h]h ]h"]h$]h&]uh1j?%hjbubh)}(h **Return**h]j*%)}(hjvbh]hReturn}(hjxbhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjtbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjbubh)}(h;The Kerberos 5 encoding type for the challenged connection.h]h;The Kerberos 5 encoding type for the challenged connection.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #-rxgk_kernel_respond_to_challenge (C function)"c.rxgk_kernel_respond_to_challengehNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h]int rxgk_kernel_respond_to_challenge (struct sk_buff *challenge, struct krb5_buffer *appdata)h]j#)}(h\int rxgk_kernel_respond_to_challenge(struct sk_buff *challenge, struct krb5_buffer *appdata)h](jq()}(hinth]hint}(hjbhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjbhhhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMubj4#)}(h h]h }(hjbhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjbhhhjbhMubj#)}(h rxgk_kernel_respond_to_challengeh]jH#)}(h rxgk_kernel_respond_to_challengeh]h rxgk_kernel_respond_to_challenge}(hjbhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjbubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjbhhhjbhMubj#)}(h8(struct sk_buff *challenge, struct krb5_buffer *appdata)h](j#)}(hstruct sk_buff *challengeh](j"#)}(hj%#h]hstruct}(hjbhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjbubj4#)}(h h]h }(hjchhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjbubh)}(hhh]jH#)}(hsk_buffh]hsk_buff}(hjchhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjcubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjcmodnameN classnameNje#jh#)}jk#]jn#)}ja#jbsb"c.rxgk_kernel_respond_to_challengeasbuh1hhjbubj4#)}(h h]h }(hj6chhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjbubj#)}(hj#h]h*}(hjDchhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjbubjH#)}(h challengeh]h challenge}(hjQchhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjbubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjbubj#)}(hstruct krb5_buffer *appdatah](j"#)}(hj%#h]hstruct}(hjjchhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjfcubj4#)}(h h]h }(hjwchhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjfcubh)}(hhh]jH#)}(h krb5_bufferh]h krb5_buffer}(hjchhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjcubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjcmodnameN classnameNje#jh#)}jk#]j2c"c.rxgk_kernel_respond_to_challengeasbuh1hhjfcubj4#)}(h h]h }(hjchhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjfcubj#)}(hj#h]h*}(hjchhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjfcubjH#)}(happdatah]happdata}(hjchhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjfcubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjbubeh}(h]h ]h"]h$]h&]hhuh1j#hjbhhhjbhMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjbhhhjbhMubah}(h]jbah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjbhMhjbhhubj$)}(hhh]h)}(h#Respond to a challenge with appdatah]h#Respond to a challenge with appdata}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjchhubah}(h]h ]h"]h$]h&]uh1j$hjbhhhjbhMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jdj%jdj%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct sk_buff *challenge`` The challenge to respond to ``struct krb5_buffer *appdata`` The application data to include in the RESPONSE authenticator **Description** Allow a kernel application to respond to a CHALLENGE with application data to be included in the RxGK RESPONSE Authenticator. **Return** ``0`` if successful and a negative error code otherwise.h](h)}(h**Parameters**h]j*%)}(hj dh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj dubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjdubj@%)}(hhh](jE%)}(h:``struct sk_buff *challenge`` The challenge to respond to h](jK%)}(h``struct sk_buff *challenge``h]j )}(hj,dh]hstruct sk_buff *challenge}(hj.dhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj*dubah}(h]h ]h"]h$]h&]uh1jJ%hS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhj&dubje%)}(hhh]h)}(hThe challenge to respond toh]hThe challenge to respond to}(hjEdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAdhMhjBdubah}(h]h ]h"]h$]h&]uh1jd%hj&dubeh}(h]h ]h"]h$]h&]uh1jD%hjAdhMhj#dubjE%)}(h^``struct krb5_buffer *appdata`` The application data to include in the RESPONSE authenticator h](jK%)}(h``struct krb5_buffer *appdata``h]j )}(hjedh]hstruct krb5_buffer *appdata}(hjgdhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjcdubah}(h]h ]h"]h$]h&]uh1jJ%hS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhj_dubje%)}(hhh]h)}(h=The application data to include in the RESPONSE authenticatorh]h=The application data to include in the RESPONSE authenticator}(hj~dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzdhMhj{dubah}(h]h ]h"]h$]h&]uh1jd%hj_dubeh}(h]h ]h"]h$]h&]uh1jD%hjzdhMhj#dubeh}(h]h ]h"]h$]h&]uh1j?%hjdubh)}(h**Description**h]j*%)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjdubh)}(h}Allow a kernel application to respond to a CHALLENGE with application data to be included in the RxGK RESPONSE Authenticator.h]h}Allow a kernel application to respond to a CHALLENGE with application data to be included in the RxGK RESPONSE Authenticator.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjdubh)}(h **Return**h]j*%)}(hjdh]hReturn}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjdubh)}(h8``0`` if successful and a negative error code otherwise.h](j )}(h``0``h]h0}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjdubh3 if successful and a negative error code otherwise.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1162: ./net/rxrpc/rxgk.chMhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #.rxkad_kernel_respond_to_challenge (C function)#c.rxkad_kernel_respond_to_challengehNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hAint rxkad_kernel_respond_to_challenge (struct sk_buff *challenge)h]j#)}(h@int rxkad_kernel_respond_to_challenge(struct sk_buff *challenge)h](jq()}(hinth]hint}(hjehhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjehhhT/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1163: ./net/rxrpc/rxkad.chMubj4#)}(h h]h }(hj)ehhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjehhhj(ehMubj#)}(h!rxkad_kernel_respond_to_challengeh]jH#)}(h!rxkad_kernel_respond_to_challengeh]h!rxkad_kernel_respond_to_challenge}(hj;ehhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj7eubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjehhhj(ehMubj#)}(h(struct sk_buff *challenge)h]j#)}(hstruct sk_buff *challengeh](j"#)}(hj%#h]hstruct}(hjWehhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjSeubj4#)}(h h]h }(hjdehhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjSeubh)}(hhh]jH#)}(hsk_buffh]hsk_buff}(hjuehhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjreubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjwemodnameN classnameNje#jh#)}jk#]jn#)}ja#j=esb#c.rxkad_kernel_respond_to_challengeasbuh1hhjSeubj4#)}(h h]h }(hjehhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjSeubj#)}(hj#h]h*}(hjehhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjSeubjH#)}(h challengeh]h challenge}(hjehhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjSeubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjOeubah}(h]h ]h"]h$]h&]hhuh1j#hjehhhj(ehMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjehhhj(ehMubah}(h]j eah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hj(ehMhjehhubj$)}(hhh]h)}(h#Respond to a challenge with appdatah]h#Respond to a challenge with appdata}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1163: ./net/rxrpc/rxkad.chMhjehhubah}(h]h ]h"]h$]h&]uh1j$hjehhhj(ehMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jej%jej%j%j%uh1j#hhhj"hNhNubj %)}(h**Parameters** ``struct sk_buff *challenge`` The challenge to respond to **Description** Allow a kernel application to respond to a CHALLENGE. **Return** ``0`` if successful and a negative error code otherwise.h](h)}(h**Parameters**h]j*%)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjeubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1163: ./net/rxrpc/rxkad.chMhjeubj@%)}(hhh]jE%)}(h:``struct sk_buff *challenge`` The challenge to respond to h](jK%)}(h``struct sk_buff *challenge``h]j )}(hjfh]hstruct sk_buff *challenge}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjfubah}(h]h ]h"]h$]h&]uh1jJ%hT/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1163: ./net/rxrpc/rxkad.chMhjfubje%)}(hhh]h)}(hThe challenge to respond toh]hThe challenge to respond to}(hj4fhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0fhMhj1fubah}(h]h ]h"]h$]h&]uh1jd%hjfubeh}(h]h ]h"]h$]h&]uh1jD%hj0fhMhjfubah}(h]h ]h"]h$]h&]uh1j?%hjeubh)}(h**Description**h]j*%)}(hjVfh]h Description}(hjXfhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjTfubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1163: ./net/rxrpc/rxkad.chMhjeubh)}(h5Allow a kernel application to respond to a CHALLENGE.h]h5Allow a kernel application to respond to a CHALLENGE.}(hjlfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1163: ./net/rxrpc/rxkad.chMhjeubh)}(h **Return**h]j*%)}(hj}fh]hReturn}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj{fubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1163: ./net/rxrpc/rxkad.chMhjeubh)}(h8``0`` if successful and a negative error code otherwise.h](j )}(h``0``h]h0}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjfubh3 if successful and a negative error code otherwise.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1163: ./net/rxrpc/rxkad.chMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j ##rxrpc_kernel_send_data (C function)c.rxrpc_kernel_send_datahNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hint rxrpc_kernel_send_data (struct socket *sock, struct rxrpc_call *call, struct msghdr *msg, size_t len, rxrpc_notify_end_tx_t notify_end_tx)h]j#)}(hint rxrpc_kernel_send_data(struct socket *sock, struct rxrpc_call *call, struct msghdr *msg, size_t len, rxrpc_notify_end_tx_t notify_end_tx)h](jq()}(hinth]hint}(hjfhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjfhhhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMubj4#)}(h h]h }(hjfhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjfhhhjfhMubj#)}(hrxrpc_kernel_send_datah]jH#)}(hrxrpc_kernel_send_datah]hrxrpc_kernel_send_data}(hjfhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjfubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjfhhhjfhMubj#)}(hs(struct socket *sock, struct rxrpc_call *call, struct msghdr *msg, size_t len, rxrpc_notify_end_tx_t notify_end_tx)h](j#)}(hstruct socket *sockh](j"#)}(hj%#h]hstruct}(hj ghhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj gubj4#)}(h h]h }(hjghhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj gubh)}(hhh]jH#)}(hsocketh]hsocket}(hj+ghhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj(gubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj-gmodnameN classnameNje#jh#)}jk#]jn#)}ja#jfsbc.rxrpc_kernel_send_dataasbuh1hhj gubj4#)}(h h]h }(hjKghhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj gubj#)}(hj#h]h*}(hjYghhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj gubjH#)}(hsockh]hsock}(hjfghhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj gubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjgubj#)}(hstruct rxrpc_call *callh](j"#)}(hj%#h]hstruct}(hjghhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj{gubj4#)}(h h]h }(hjghhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj{gubh)}(hhh]jH#)}(h rxrpc_callh]h rxrpc_call}(hjghhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjgubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjgmodnameN classnameNje#jh#)}jk#]jGgc.rxrpc_kernel_send_dataasbuh1hhj{gubj4#)}(h h]h }(hjghhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj{gubj#)}(hj#h]h*}(hjghhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj{gubjH#)}(hcallh]hcall}(hjghhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj{gubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjgubj#)}(hstruct msghdr *msgh](j"#)}(hj%#h]hstruct}(hjghhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjgubj4#)}(h h]h }(hjghhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjgubh)}(hhh]jH#)}(hmsghdrh]hmsghdr}(hj hhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj hubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjhmodnameN classnameNje#jh#)}jk#]jGgc.rxrpc_kernel_send_dataasbuh1hhjgubj4#)}(h h]h }(hj+hhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjgubj#)}(hj#h]h*}(hj9hhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjgubjH#)}(hmsgh]hmsg}(hjFhhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjgubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjgubj#)}(h size_t lenh](h)}(hhh]jH#)}(hsize_th]hsize_t}(hjbhhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj_hubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjdhmodnameN classnameNje#jh#)}jk#]jGgc.rxrpc_kernel_send_dataasbuh1hhj[hubj4#)}(h h]h }(hjhhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj[hubjH#)}(hlenh]hlen}(hjhhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj[hubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjgubj#)}(h#rxrpc_notify_end_tx_t notify_end_txh](h)}(hhh]jH#)}(hrxrpc_notify_end_tx_th]hrxrpc_notify_end_tx_t}(hjhhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjhubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjhmodnameN classnameNje#jh#)}jk#]jGgc.rxrpc_kernel_send_dataasbuh1hhjhubj4#)}(h h]h }(hjhhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjhubjH#)}(h notify_end_txh]h notify_end_tx}(hjhhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjhubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjgubeh}(h]h ]h"]h$]h&]hhuh1j#hjfhhhjfhMubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjfhhhjfhMubah}(h]jfah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjfhMhjfhhubj$)}(hhh]h)}(h-Allow a kernel service to send data on a callh]h-Allow a kernel service to send data on a call}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhjhhhubah}(h]h ]h"]h$]h&]uh1j$hjfhhhjfhMubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jij%jij%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct socket *sock`` The socket the call is on ``struct rxrpc_call *call`` The call to send data through ``struct msghdr *msg`` The data to send ``size_t len`` The amount of data to send ``rxrpc_notify_end_tx_t notify_end_tx`` Notification that the last packet is queued. **Description** Allow a kernel service to send data on a call. The call must be in an state appropriate to sending data. No control data should be supplied in **msg**, nor should an address be supplied. MSG_MORE should be flagged if there's more data to come, otherwise this data will end the transmission phase. **Return** ``0`` if successful and a negative error code otherwise.h](h)}(h**Parameters**h]j*%)}(hj"ih]h Parameters}(hj$ihhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj iubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhjiubj@%)}(hhh](jE%)}(h2``struct socket *sock`` The socket the call is on h](jK%)}(h``struct socket *sock``h]j )}(hjAih]hstruct socket *sock}(hjCihhhNhNubah}(h]h ]h"]h$]h&]uh1j hj?iubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhj;iubje%)}(hhh]h)}(hThe socket the call is onh]hThe socket the call is on}(hjZihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVihMhjWiubah}(h]h ]h"]h$]h&]uh1jd%hj;iubeh}(h]h ]h"]h$]h&]uh1jD%hjVihMhj8iubjE%)}(h:``struct rxrpc_call *call`` The call to send data through h](jK%)}(h``struct rxrpc_call *call``h]j )}(hjzih]hstruct rxrpc_call *call}(hj|ihhhNhNubah}(h]h ]h"]h$]h&]uh1j hjxiubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhjtiubje%)}(hhh]h)}(hThe call to send data throughh]hThe call to send data through}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjiubah}(h]h ]h"]h$]h&]uh1jd%hjtiubeh}(h]h ]h"]h$]h&]uh1jD%hjihMhj8iubjE%)}(h(``struct msghdr *msg`` The data to send h](jK%)}(h``struct msghdr *msg``h]j )}(hjih]hstruct msghdr *msg}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1j hjiubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhjiubje%)}(hhh]h)}(hThe data to sendh]hThe data to send}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjiubah}(h]h ]h"]h$]h&]uh1jd%hjiubeh}(h]h ]h"]h$]h&]uh1jD%hjihMhj8iubjE%)}(h*``size_t len`` The amount of data to send h](jK%)}(h``size_t len``h]j )}(hjih]h size_t len}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1j hjiubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhjiubje%)}(hhh]h)}(hThe amount of data to sendh]hThe amount of data to send}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jd%hjiubeh}(h]h ]h"]h$]h&]uh1jD%hjjhMhj8iubjE%)}(hU``rxrpc_notify_end_tx_t notify_end_tx`` Notification that the last packet is queued. h](jK%)}(h'``rxrpc_notify_end_tx_t notify_end_tx``h]j )}(hj%jh]h#rxrpc_notify_end_tx_t notify_end_tx}(hj'jhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj#jubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhjjubje%)}(hhh]h)}(h,Notification that the last packet is queued.h]h,Notification that the last packet is queued.}(hj>jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:jhMhj;jubah}(h]h ]h"]h$]h&]uh1jd%hjjubeh}(h]h ]h"]h$]h&]uh1jD%hj:jhMhj8iubeh}(h]h ]h"]h$]h&]uh1j?%hjiubh)}(h**Description**h]j*%)}(hj`jh]h Description}(hjbjhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hj^jubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhjiubh)}(hX+Allow a kernel service to send data on a call. The call must be in an state appropriate to sending data. No control data should be supplied in **msg**, nor should an address be supplied. MSG_MORE should be flagged if there's more data to come, otherwise this data will end the transmission phase.h](hAllow a kernel service to send data on a call. The call must be in an state appropriate to sending data. No control data should be supplied in }(hjvjhhhNhNubj*%)}(h**msg**h]hmsg}(hj~jhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjvjubh, nor should an address be supplied. MSG_MORE should be flagged if there’s more data to come, otherwise this data will end the transmission phase.}(hjvjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMhjiubh)}(h **Return**h]j*%)}(hjjh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM$hjiubh)}(h8``0`` if successful and a negative error code otherwise.h](j )}(h``0``h]h0}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjjubh3 if successful and a negative error code otherwise.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM$hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #$rxrpc_kernel_abort_call (C function)c.rxrpc_kernel_abort_callhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hbool rxrpc_kernel_abort_call (struct socket *sock, struct rxrpc_call *call, u32 abort_code, int error, enum rxrpc_abort_reason why)h]j#)}(hbool rxrpc_kernel_abort_call(struct socket *sock, struct rxrpc_call *call, u32 abort_code, int error, enum rxrpc_abort_reason why)h](jq()}(hjy-h]hbool}(hjjhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjjhhhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMAubj4#)}(h h]h }(hjjhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjjhhhjjhMAubj#)}(hrxrpc_kernel_abort_callh]jH#)}(hrxrpc_kernel_abort_callh]hrxrpc_kernel_abort_call}(hj khhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjkubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjjhhhjjhMAubj#)}(hf(struct socket *sock, struct rxrpc_call *call, u32 abort_code, int error, enum rxrpc_abort_reason why)h](j#)}(hstruct socket *sockh](j"#)}(hj%#h]hstruct}(hj(khhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj$kubj4#)}(h h]h }(hj5khhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj$kubh)}(hhh]jH#)}(hsocketh]hsocket}(hjFkhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjCkubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjHkmodnameN classnameNje#jh#)}jk#]jn#)}ja#jksbc.rxrpc_kernel_abort_callasbuh1hhj$kubj4#)}(h h]h }(hjfkhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj$kubj#)}(hj#h]h*}(hjtkhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj$kubjH#)}(hsockh]hsock}(hjkhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj$kubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj kubj#)}(hstruct rxrpc_call *callh](j"#)}(hj%#h]hstruct}(hjkhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjkubj4#)}(h h]h }(hjkhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjkubh)}(hhh]jH#)}(h rxrpc_callh]h rxrpc_call}(hjkhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjkubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjkmodnameN classnameNje#jh#)}jk#]jbkc.rxrpc_kernel_abort_callasbuh1hhjkubj4#)}(h h]h }(hjkhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjkubj#)}(hj#h]h*}(hjkhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjkubjH#)}(hcallh]hcall}(hjkhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjkubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj kubj#)}(hu32 abort_codeh](h)}(hhh]jH#)}(hu32h]hu32}(hj lhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj lubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjlmodnameN classnameNje#jh#)}jk#]jbkc.rxrpc_kernel_abort_callasbuh1hhjlubj4#)}(h h]h }(hj+lhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjlubjH#)}(h abort_codeh]h abort_code}(hj9lhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjlubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj kubj#)}(h int errorh](jq()}(hinth]hint}(hjRlhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjNlubj4#)}(h h]h }(hj`lhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjNlubjH#)}(herrorh]herror}(hjnlhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjNlubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj kubj#)}(henum rxrpc_abort_reason whyh](j"#)}(hj-h]henum}(hjlhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjlubj4#)}(h h]h }(hjlhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjlubh)}(hhh]jH#)}(hrxrpc_abort_reasonh]hrxrpc_abort_reason}(hjlhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjlubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjlmodnameN classnameNje#jh#)}jk#]jbkc.rxrpc_kernel_abort_callasbuh1hhjlubj4#)}(h h]h }(hjlhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjlubjH#)}(hwhyh]hwhy}(hjlhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjlubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj kubeh}(h]h ]h"]h$]h&]hhuh1j#hjjhhhjjhMAubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjjhhhjjhMAubah}(h]jjah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjjhMAhjjhhubj$)}(hhh]h)}(h&Allow a kernel service to abort a callh]h&Allow a kernel service to abort a call}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMAhjlhhubah}(h]h ]h"]h$]h&]uh1j$hjjhhhjjhMAubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jmj%jmj%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct socket *sock`` The socket the call is on ``struct rxrpc_call *call`` The call to be aborted ``u32 abort_code`` The abort code to stick into the ABORT packet ``int error`` Local error value ``enum rxrpc_abort_reason why`` Indication as to why. **Description** Allow a kernel service to abort a call if it's still in an abortable state. **Return** ``true`` if the call was aborted, ``false`` if it was already complete.h](h)}(h**Parameters**h]j*%)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjmubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMEhjmubj@%)}(hhh](jE%)}(h2``struct socket *sock`` The socket the call is on h](jK%)}(h``struct socket *sock``h]j )}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj:mubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMBhj6mubje%)}(hhh]h)}(hThe socket the call is onh]hThe socket the call is on}(hjUmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQmhMBhjRmubah}(h]h ]h"]h$]h&]uh1jd%hj6mubeh}(h]h ]h"]h$]h&]uh1jD%hjQmhMBhj3mubjE%)}(h3``struct rxrpc_call *call`` The call to be aborted h](jK%)}(h``struct rxrpc_call *call``h]j )}(hjumh]hstruct rxrpc_call *call}(hjwmhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjsmubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMChjomubje%)}(hhh]h)}(hThe call to be abortedh]hThe call to be aborted}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMChjmubah}(h]h ]h"]h$]h&]uh1jd%hjomubeh}(h]h ]h"]h$]h&]uh1jD%hjmhMChj3mubjE%)}(hA``u32 abort_code`` The abort code to stick into the ABORT packet h](jK%)}(h``u32 abort_code``h]j )}(hjmh]hu32 abort_code}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjmubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMDhjmubje%)}(hhh]h)}(h-The abort code to stick into the ABORT packeth]h-The abort code to stick into the ABORT packet}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMDhjmubah}(h]h ]h"]h$]h&]uh1jd%hjmubeh}(h]h ]h"]h$]h&]uh1jD%hjmhMDhj3mubjE%)}(h ``int error`` Local error value h](jK%)}(h ``int error``h]j )}(hjmh]h int error}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjmubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMEhjmubje%)}(hhh]h)}(hLocal error valueh]hLocal error value}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMEhjmubah}(h]h ]h"]h$]h&]uh1jd%hjmubeh}(h]h ]h"]h$]h&]uh1jD%hjmhMEhj3mubjE%)}(h6``enum rxrpc_abort_reason why`` Indication as to why. h](jK%)}(h``enum rxrpc_abort_reason why``h]j )}(hj nh]henum rxrpc_abort_reason why}(hj"nhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjnubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMFhjnubje%)}(hhh]h)}(hIndication as to why.h]hIndication as to why.}(hj9nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5nhMFhj6nubah}(h]h ]h"]h$]h&]uh1jd%hjnubeh}(h]h ]h"]h$]h&]uh1jD%hj5nhMFhj3mubeh}(h]h ]h"]h$]h&]uh1j?%hjmubh)}(h**Description**h]j*%)}(hj[nh]h Description}(hj]nhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjYnubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMHhjmubh)}(hKAllow a kernel service to abort a call if it's still in an abortable state.h]hMAllow a kernel service to abort a call if it’s still in an abortable state.}(hjqnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMHhjmubh)}(h **Return**h]j*%)}(hjnh]hReturn}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjnubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMJhjmubh)}(hG``true`` if the call was aborted, ``false`` if it was already complete.h](j )}(h``true``h]htrue}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjnubh if the call was aborted, }(hjnhhhNhNubj )}(h ``false``h]hfalse}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjnubh if it was already complete.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMJhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #'rxrpc_kernel_set_tx_length (C function)c.rxrpc_kernel_set_tx_lengthhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h`void rxrpc_kernel_set_tx_length (struct socket *sock, struct rxrpc_call *call, s64 tx_total_len)h]j#)}(h_void rxrpc_kernel_set_tx_length(struct socket *sock, struct rxrpc_call *call, s64 tx_total_len)h](jq()}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjnhhhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM[ubj4#)}(h h]h }(hjnhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjnhhhjnhM[ubj#)}(hrxrpc_kernel_set_tx_lengthh]jH#)}(hrxrpc_kernel_set_tx_lengthh]hrxrpc_kernel_set_tx_length}(hjohhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjoubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjnhhhjnhM[ubj#)}(h@(struct socket *sock, struct rxrpc_call *call, s64 tx_total_len)h](j#)}(hstruct socket *sockh](j"#)}(hj%#h]hstruct}(hj$ohhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj oubj4#)}(h h]h }(hj1ohhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj oubh)}(hhh]jH#)}(hsocketh]hsocket}(hjBohhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj?oubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjDomodnameN classnameNje#jh#)}jk#]jn#)}ja#j osbc.rxrpc_kernel_set_tx_lengthasbuh1hhj oubj4#)}(h h]h }(hjbohhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj oubj#)}(hj#h]h*}(hjpohhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj oubjH#)}(hsockh]hsock}(hj}ohhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj oubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjoubj#)}(hstruct rxrpc_call *callh](j"#)}(hj%#h]hstruct}(hjohhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjoubj4#)}(h h]h }(hjohhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjoubh)}(hhh]jH#)}(h rxrpc_callh]h rxrpc_call}(hjohhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjoubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjomodnameN classnameNje#jh#)}jk#]j^oc.rxrpc_kernel_set_tx_lengthasbuh1hhjoubj4#)}(h h]h }(hjohhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjoubj#)}(hj#h]h*}(hjohhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjoubjH#)}(hcallh]hcall}(hjohhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjoubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjoubj#)}(hs64 tx_total_lenh](h)}(hhh]jH#)}(hs64h]hs64}(hj phhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjpubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj pmodnameN classnameNje#jh#)}jk#]j^oc.rxrpc_kernel_set_tx_lengthasbuh1hhjpubj4#)}(h h]h }(hj'phhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjpubjH#)}(h tx_total_lenh]h tx_total_len}(hj5phhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjpubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjoubeh}(h]h ]h"]h$]h&]hhuh1j#hjnhhhjnhM[ubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjnhhhjnhM[ubah}(h]jnah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjnhM[hjnhhubj$)}(hhh]h)}(h!Set the total Tx length on a callh]h!Set the total Tx length on a call}(hj_phhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM[hj\phhubah}(h]h ]h"]h$]h&]uh1j$hjnhhhjnhM[ubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jwpj%jwpj%j%j%uh1j#hhhj"hNhNubj %)}(hX**Parameters** ``struct socket *sock`` The socket the call is on ``struct rxrpc_call *call`` The call to be informed ``s64 tx_total_len`` The amount of data to be transmitted for this call **Description** Allow a kernel service to set the total transmit length on a call. This allows buffer-to-packet encrypt-and-copy to be performed. This function is primarily for use for setting the reply length since the request length can be set when beginning the call.h](h)}(h**Parameters**h]j*%)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjpubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM_hj{pubj@%)}(hhh](jE%)}(h2``struct socket *sock`` The socket the call is on h](jK%)}(h``struct socket *sock``h]j )}(hjph]hstruct socket *sock}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1j hjpubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM\hjpubje%)}(hhh]h)}(hThe socket the call is onh]hThe socket the call is on}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphM\hjpubah}(h]h ]h"]h$]h&]uh1jd%hjpubeh}(h]h ]h"]h$]h&]uh1jD%hjphM\hjpubjE%)}(h4``struct rxrpc_call *call`` The call to be informed h](jK%)}(h``struct rxrpc_call *call``h]j )}(hjph]hstruct rxrpc_call *call}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1j hjpubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM]hjpubje%)}(hhh]h)}(hThe call to be informedh]hThe call to be informed}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphM]hjpubah}(h]h ]h"]h$]h&]uh1jd%hjpubeh}(h]h ]h"]h$]h&]uh1jD%hjphM]hjpubjE%)}(hH``s64 tx_total_len`` The amount of data to be transmitted for this call h](jK%)}(h``s64 tx_total_len``h]j )}(hjqh]hs64 tx_total_len}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjqubah}(h]h ]h"]h$]h&]uh1jJ%hV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM^hj qubje%)}(hhh]h)}(h2The amount of data to be transmitted for this callh]h2The amount of data to be transmitted for this call}(hj+qhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'qhM^hj(qubah}(h]h ]h"]h$]h&]uh1jd%hj qubeh}(h]h ]h"]h$]h&]uh1jD%hj'qhM^hjpubeh}(h]h ]h"]h$]h&]uh1j?%hj{pubh)}(h**Description**h]j*%)}(hjMqh]h Description}(hjOqhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjKqubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM`hj{pubh)}(hAllow a kernel service to set the total transmit length on a call. This allows buffer-to-packet encrypt-and-copy to be performed.h]hAllow a kernel service to set the total transmit length on a call. This allows buffer-to-packet encrypt-and-copy to be performed.}(hjcqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chM`hj{pubh)}(h|This function is primarily for use for setting the reply length since the request length can be set when beginning the call.h]h|This function is primarily for use for setting the reply length since the request length can be set when beginning the call.}(hjrqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1164: ./net/rxrpc/sendmsg.chMchj{pubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #,rxrpc_sock_set_security_keyring (C function)!c.rxrpc_sock_set_security_keyringhNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(hJint rxrpc_sock_set_security_keyring (struct sock *sk, struct key *keyring)h]j#)}(hIint rxrpc_sock_set_security_keyring(struct sock *sk, struct key *keyring)h](jq()}(hinth]hint}(hjqhhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjqhhhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKubj4#)}(h h]h }(hjqhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjqhhhjqhKubj#)}(hrxrpc_sock_set_security_keyringh]jH#)}(hrxrpc_sock_set_security_keyringh]hrxrpc_sock_set_security_keyring}(hjqhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjqubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjqhhhjqhKubj#)}(h&(struct sock *sk, struct key *keyring)h](j#)}(hstruct sock *skh](j"#)}(hj%#h]hstruct}(hjqhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjqubj4#)}(h h]h }(hjqhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjqubh)}(hhh]jH#)}(hsockh]hsock}(hjqhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjqubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjqmodnameN classnameNje#jh#)}jk#]jn#)}ja#jqsb!c.rxrpc_sock_set_security_keyringasbuh1hhjqubj4#)}(h h]h }(hjrhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjqubj#)}(hj#h]h*}(hj*rhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjqubjH#)}(hskh]hsk}(hj7rhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjqubeh}(h]h ]h"]h$]h&]noemphfDhhuh1j#hjqubj#)}(hstruct key *keyringh](j"#)}(hj%#h]hstruct}(hjPrhhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hjLrubj4#)}(h h]h }(hj]rhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjLrubh)}(hhh]jH#)}(hkeyh]hkey}(hjnrhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjkrubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetjprmodnameN classnameNje#jh#)}jk#]jr!c.rxrpc_sock_set_security_keyringasbuh1hhjLrubj4#)}(h h]h }(hjrhhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjLrubj#)}(hj#h]h*}(hjrhhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hjLrubjH#)}(hkeyringh]hkeyring}(hjrhhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjLrubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hjqubeh}(h]h ]h"]h$]h&]hhuh1j#hjqhhhjqhKubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjqhhhjqhKubah}(h]jqah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjqhKhjqhhubj$)}(hhh]h)}(h-Set the security keyring for a kernel serviceh]h-Set the security keyring for a kernel service}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjrhhubah}(h]h ]h"]h$]h&]uh1j$hjqhhhjqhKubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%jrj%jrj%j%j%uh1j#hhhj"hNhNubj %)}(hXC**Parameters** ``struct sock *sk`` The socket to set the keyring on ``struct key *keyring`` The keyring to set **Description** Set the server security keyring on an rxrpc socket. This is used to provide the encryption keys for a kernel service. **Return** ``0`` if successful and a negative error code otherwise.h](h)}(h**Parameters**h]j*%)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjrubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjrubj@%)}(hhh](jE%)}(h5``struct sock *sk`` The socket to set the keyring on h](jK%)}(h``struct sock *sk``h]j )}(hjsh]hstruct sock *sk}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j hjsubah}(h]h ]h"]h$]h&]uh1jJ%hY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhj subje%)}(hhh]h)}(h The socket to set the keyring onh]h The socket to set the keyring on}(hj+shhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'shKhj(subah}(h]h ]h"]h$]h&]uh1jd%hj subeh}(h]h ]h"]h$]h&]uh1jD%hj'shKhj subjE%)}(h+``struct key *keyring`` The keyring to set h](jK%)}(h``struct key *keyring``h]j )}(hjKsh]hstruct key *keyring}(hjMshhhNhNubah}(h]h ]h"]h$]h&]uh1j hjIsubah}(h]h ]h"]h$]h&]uh1jJ%hY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjEsubje%)}(hhh]h)}(hThe keyring to seth]hThe keyring to set}(hjdshhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`shKhjasubah}(h]h ]h"]h$]h&]uh1jd%hjEsubeh}(h]h ]h"]h$]h&]uh1jD%hj`shKhj subeh}(h]h ]h"]h$]h&]uh1j?%hjrubh)}(h**Description**h]j*%)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjsubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjrubh)}(hvSet the server security keyring on an rxrpc socket. This is used to provide the encryption keys for a kernel service.h]hvSet the server security keyring on an rxrpc socket. This is used to provide the encryption keys for a kernel service.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjrubh)}(h **Return**h]j*%)}(hjsh]hReturn}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjsubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjrubh)}(h8``0`` if successful and a negative error code otherwise.h](j )}(h``0``h]h0}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j hjsubh3 if successful and a negative error code otherwise.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubj#)}(hhh]h}(h]h ]h"]h$]h&]entries](j #+rxrpc_sock_set_manage_response (C function) c.rxrpc_sock_set_manage_responsehNtauh1j"hj"hhhNhNubj#)}(hhh](j#)}(h>int rxrpc_sock_set_manage_response (struct sock *sk, bool set)h]j#)}(h=int rxrpc_sock_set_manage_response(struct sock *sk, bool set)h](jq()}(hinth]hint}(hjthhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjshhhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKubj4#)}(h h]h }(hjthhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjshhhjthKubj#)}(hrxrpc_sock_set_manage_responseh]jH#)}(hrxrpc_sock_set_manage_responseh]hrxrpc_sock_set_manage_response}(hj!thhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjtubah}(h]h ](j#j#eh"]h$]h&]hhuh1j#hjshhhjthKubj#)}(h(struct sock *sk, bool set)h](j#)}(hstruct sock *skh](j"#)}(hj%#h]hstruct}(hj=thhhNhNubah}(h]h ]j.#ah"]h$]h&]uh1j!#hj9tubj4#)}(h h]h }(hjJthhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj9tubh)}(hhh]jH#)}(hsockh]hsock}(hj[thhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjXtubah}(h]h ]h"]h$]h&] refdomainj_#reftypeja# reftargetj]tmodnameN classnameNje#jh#)}jk#]jn#)}ja#j#tsb c.rxrpc_sock_set_manage_responseasbuh1hhj9tubj4#)}(h h]h }(hj{thhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hj9tubj#)}(hj#h]h*}(hjthhhNhNubah}(h]h ]j#ah"]h$]h&]uh1j#hj9tubjH#)}(hskh]hsk}(hjthhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hj9tubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj5tubj#)}(hbool seth](jq()}(hjy-h]hbool}(hjthhhNhNubah}(h]h ]j}(ah"]h$]h&]uh1jp(hjtubj4#)}(h h]h }(hjthhhNhNubah}(h]h ]j@#ah"]h$]h&]uh1j3#hjtubjH#)}(hseth]hset}(hjthhhNhNubah}(h]h ]jT#ah"]h$]h&]uh1jG#hjtubeh}(h]h ]h"]h$]h&]noemphhhuh1j#hj5tubeh}(h]h ]h"]h$]h&]hhuh1j#hjshhhjthKubeh}(h]h ]h"]h$]h&]hhj$uh1j#j$j$hjshhhjthKubah}(h]jsah ](j$j$eh"]h$]h&]j$j$)j$huh1j#hjthKhjshhubj$)}(hhh]h)}(h1Set the manage-response flag for a kernel serviceh]h1Set the manage-response flag for a kernel service}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjthhubah}(h]h ]h"]h$]h&]uh1j$hjshhhjthKubeh}(h]h ](j_#functioneh"]h$]h&]j%j_#j%j uj%j uj%j%j%uh1j#hhhj"hNhNubj %)}(hX **Parameters** ``struct sock *sk`` The socket to set the keyring on ``bool set`` True to set, false to clear the flag **Description** Set the flag on an rxrpc socket to say that the caller wants to manage the RESPONSE packet and the user-defined data it may contain. Setting this means that recvmsg() will return messages with RXRPC_CHALLENGED in the control message buffer containing information about the challenge. The user should respond to the challenge by passing RXRPC_RESPOND or RXRPC_RESPOND_ABORT control messages with sendmsg() to the same call. Supplementary control messages, such as RXRPC_RESP_RXGK_APPDATA, may be included to indicate the parts the user wants to supply. The server will be passed the response data with a RXRPC_RESPONDED control message when it gets the first data from each call. Note that this is only honoured by security classes that need auxiliary data (e.g. RxGK). Those that don't offer the facility (e.g. RxKAD) respond without consulting userspace. **Return** The previous setting.h](h)}(h**Parameters**h]j*%)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjuubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjuubj@%)}(hhh](jE%)}(h5``struct sock *sk`` The socket to set the keyring on h](jK%)}(h``struct sock *sk``h]j )}(hj5uh]hstruct sock *sk}(hj7uhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj3uubah}(h]h ]h"]h$]h&]uh1jJ%hY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhj/uubje%)}(hhh]h)}(h The socket to set the keyring onh]h The socket to set the keyring on}(hjNuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJuhKhjKuubah}(h]h ]h"]h$]h&]uh1jd%hj/uubeh}(h]h ]h"]h$]h&]uh1jD%hjJuhKhj,uubjE%)}(h2``bool set`` True to set, false to clear the flag h](jK%)}(h ``bool set``h]j )}(hjnuh]hbool set}(hjpuhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjluubah}(h]h ]h"]h$]h&]uh1jJ%hY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjhuubje%)}(hhh]h)}(h$True to set, false to clear the flagh]h$True to set, false to clear the flag}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhKhjuubah}(h]h ]h"]h$]h&]uh1jd%hjhuubeh}(h]h ]h"]h$]h&]uh1jD%hjuhKhj,uubeh}(h]h ]h"]h$]h&]uh1j?%hjuubh)}(h**Description**h]j*%)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjuubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjuubh)}(hXSet the flag on an rxrpc socket to say that the caller wants to manage the RESPONSE packet and the user-defined data it may contain. Setting this means that recvmsg() will return messages with RXRPC_CHALLENGED in the control message buffer containing information about the challenge.h]hXSet the flag on an rxrpc socket to say that the caller wants to manage the RESPONSE packet and the user-defined data it may contain. Setting this means that recvmsg() will return messages with RXRPC_CHALLENGED in the control message buffer containing information about the challenge.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjuubh)}(hX The user should respond to the challenge by passing RXRPC_RESPOND or RXRPC_RESPOND_ABORT control messages with sendmsg() to the same call. Supplementary control messages, such as RXRPC_RESP_RXGK_APPDATA, may be included to indicate the parts the user wants to supply.h]hX The user should respond to the challenge by passing RXRPC_RESPOND or RXRPC_RESPOND_ABORT control messages with sendmsg() to the same call. Supplementary control messages, such as RXRPC_RESP_RXGK_APPDATA, may be included to indicate the parts the user wants to supply.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjuubh)}(h~The server will be passed the response data with a RXRPC_RESPONDED control message when it gets the first data from each call.h]h~The server will be passed the response data with a RXRPC_RESPONDED control message when it gets the first data from each call.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjuubh)}(hNote that this is only honoured by security classes that need auxiliary data (e.g. RxGK). Those that don't offer the facility (e.g. RxKAD) respond without consulting userspace.h]hNote that this is only honoured by security classes that need auxiliary data (e.g. RxGK). Those that don’t offer the facility (e.g. RxKAD) respond without consulting userspace.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjuubh)}(h **Return**h]j*%)}(hjuh]hReturn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1j)%hjuubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjuubh)}(hThe previous setting.h]hThe previous setting.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/networking/rxrpc:1165: ./net/rxrpc/server_key.chKhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1j%hj"hhhNhNubeh}(h]api-function-referenceah ]h"]api function referenceah$]h&]uh1hhjhhhhhMubeh}(h]example-client-usageah ]h"]example client usageah$]h&]uh1hhhhhhhhM!ubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksj footnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj[verror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jjjjjjj^ j[ jjjBj?j j j6vj3vj/j,j!j j"j"j.vj+vu nametypes}(jjjj^ jjBj j6vj/j!j"j.vuh}(jhjjjjj[ jjja j?jj jEj3vjj,jj j2j"j!j+vj"j#j#jn&js&jc(jh(j)j)j1j1j4j"4jG6jL6j8j8j3;j8;j.>j3>j?j@jDCjICjEjEjcGjhGjMKjRKjNjNjQj#QjSjSj:Uj?UjeWjjWjYjYj[j[jajajbjbj ejejfjfjjjjjnjnjqjqjsjsu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages](hsystem_message)}(hhh]h)}(h:Enumerated list start value not ordinal-1: "2" (ordinal 2)h]h>Enumerated list start value not ordinal-1: “2” (ordinal 2)}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1jvhjdubjv)}(hhh]h)}(h