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()
164 pkt->whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_ack_packet()
165 pkt->whdr.cid = htonl(call->cid); in rxrpc_send_ack_packet()
166 pkt->whdr.callNumber = htonl(call->call_id); in rxrpc_send_ack_packet()
167 pkt->whdr.seq = 0; in rxrpc_send_ack_packet()
168 pkt->whdr.type = RXRPC_PACKET_TYPE_ACK; in rxrpc_send_ack_packet()
169 pkt->whdr.flags = RXRPC_SLOW_START_OK | conn->out_clientflag; in rxrpc_send_ack_packet()
170 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.c644 struct rxrpc_wire_header whdr; in rxkad_issue_challenge() local
670 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
671 whdr.cid = htonl(conn->proto.cid); in rxkad_issue_challenge()
672 whdr.callNumber = 0; in rxkad_issue_challenge()
673 whdr.seq = 0; in rxkad_issue_challenge()
674 whdr.type = RXRPC_PACKET_TYPE_CHALLENGE; in rxkad_issue_challenge()
675 whdr.flags = conn->out_clientflag; in rxkad_issue_challenge()
676 whdr.userStatus = 0; in rxkad_issue_challenge()
677 whdr.securityIndex = conn->security_ix; in rxkad_issue_challenge()
678 whdr._rsvd = 0; in rxkad_issue_challenge()
[all …]
Dinput.c1169 struct rxrpc_wire_header whdr; in rxrpc_extract_header() local
1172 if (skb_copy_bits(skb, 0, &whdr, sizeof(whdr)) < 0) { in rxrpc_extract_header()
1179 sp->hdr.epoch = ntohl(whdr.epoch); in rxrpc_extract_header()
1180 sp->hdr.cid = ntohl(whdr.cid); in rxrpc_extract_header()
1181 sp->hdr.callNumber = ntohl(whdr.callNumber); in rxrpc_extract_header()
1182 sp->hdr.seq = ntohl(whdr.seq); in rxrpc_extract_header()
1183 sp->hdr.serial = ntohl(whdr.serial); in rxrpc_extract_header()
1184 sp->hdr.flags = whdr.flags; in rxrpc_extract_header()
1185 sp->hdr.type = whdr.type; in rxrpc_extract_header()
1186 sp->hdr.userStatus = whdr.userStatus; in rxrpc_extract_header()
[all …]