Home
last modified time | relevance | path

Searched refs:whdr (Results 1 – 5 of 5) sorted by relevance

/net/rxrpc/
Doutput.c19 struct rxrpc_wire_header whdr; member
27 struct rxrpc_wire_header whdr; member
105 pkt->whdr.flags |= RXRPC_REQUEST_ACK; in rxrpc_fill_out_ack()
207 pkt->whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_ack_packet()
208 pkt->whdr.cid = htonl(call->cid); in rxrpc_send_ack_packet()
209 pkt->whdr.callNumber = htonl(call->call_id); in rxrpc_send_ack_packet()
210 pkt->whdr.seq = 0; in rxrpc_send_ack_packet()
211 pkt->whdr.type = RXRPC_PACKET_TYPE_ACK; in rxrpc_send_ack_packet()
212 pkt->whdr.flags = RXRPC_SLOW_START_OK | conn->out_clientflag; in rxrpc_send_ack_packet()
213 pkt->whdr.userStatus = 0; in rxrpc_send_ack_packet()
[all …]
Dlocal_event.c28 struct rxrpc_wire_header whdr; in rxrpc_send_version_request() local
47 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
48 whdr.cid = htonl(sp->hdr.cid); in rxrpc_send_version_request()
49 whdr.callNumber = htonl(sp->hdr.callNumber); in rxrpc_send_version_request()
50 whdr.seq = 0; in rxrpc_send_version_request()
51 whdr.serial = 0; in rxrpc_send_version_request()
52 whdr.type = RXRPC_PACKET_TYPE_VERSION; in rxrpc_send_version_request()
53 whdr.flags = RXRPC_LAST_PACKET | (~hdr->flags & RXRPC_CLIENT_INITIATED); in rxrpc_send_version_request()
54 whdr.userStatus = 0; in rxrpc_send_version_request()
55 whdr.securityIndex = 0; in rxrpc_send_version_request()
[all …]
Dconn_event.c31 struct rxrpc_wire_header whdr; in rxrpc_conn_retransmit_call() member
70 iov[0].iov_len = sizeof(pkt.whdr); in rxrpc_conn_retransmit_call()
76 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_conn_retransmit_call()
77 pkt.whdr.cid = htonl(conn->proto.cid | channel); in rxrpc_conn_retransmit_call()
78 pkt.whdr.callNumber = htonl(call_id); in rxrpc_conn_retransmit_call()
79 pkt.whdr.seq = 0; in rxrpc_conn_retransmit_call()
80 pkt.whdr.type = chan->last_type; in rxrpc_conn_retransmit_call()
81 pkt.whdr.flags = conn->out_clientflag; in rxrpc_conn_retransmit_call()
82 pkt.whdr.userStatus = 0; in rxrpc_conn_retransmit_call()
83 pkt.whdr.securityIndex = conn->security_ix; in rxrpc_conn_retransmit_call()
[all …]
Drxkad.c732 struct rxrpc_wire_header whdr; in rxkad_issue_challenge() local
754 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
755 whdr.cid = htonl(conn->proto.cid); in rxkad_issue_challenge()
756 whdr.callNumber = 0; in rxkad_issue_challenge()
757 whdr.seq = 0; in rxkad_issue_challenge()
758 whdr.type = RXRPC_PACKET_TYPE_CHALLENGE; in rxkad_issue_challenge()
759 whdr.flags = conn->out_clientflag; in rxkad_issue_challenge()
760 whdr.userStatus = 0; in rxkad_issue_challenge()
761 whdr.securityIndex = conn->security_ix; in rxkad_issue_challenge()
762 whdr._rsvd = 0; in rxkad_issue_challenge()
[all …]
Dinput.c1207 struct rxrpc_wire_header whdr; in rxrpc_extract_header() local
1210 if (skb_copy_bits(skb, 0, &whdr, sizeof(whdr)) < 0) { in rxrpc_extract_header()
1217 sp->hdr.epoch = ntohl(whdr.epoch); in rxrpc_extract_header()
1218 sp->hdr.cid = ntohl(whdr.cid); in rxrpc_extract_header()
1219 sp->hdr.callNumber = ntohl(whdr.callNumber); in rxrpc_extract_header()
1220 sp->hdr.seq = ntohl(whdr.seq); in rxrpc_extract_header()
1221 sp->hdr.serial = ntohl(whdr.serial); in rxrpc_extract_header()
1222 sp->hdr.flags = whdr.flags; in rxrpc_extract_header()
1223 sp->hdr.type = whdr.type; in rxrpc_extract_header()
1224 sp->hdr.userStatus = whdr.userStatus; in rxrpc_extract_header()
[all …]