Lines Matching defs:whdr
39 struct rxrpc_wire_header whdr;
290 pkt.whdr.epoch = htonl(conn->proto.epoch);
291 pkt.whdr.cid = htonl(call->cid);
292 pkt.whdr.callNumber = htonl(call->call_id);
293 pkt.whdr.seq = 0;
294 pkt.whdr.type = RXRPC_PACKET_TYPE_ABORT;
295 pkt.whdr.flags = conn->out_clientflag;
296 pkt.whdr.userStatus = 0;
297 pkt.whdr.securityIndex = call->security_ix;
298 pkt.whdr._rsvd = 0;
299 pkt.whdr.serviceId = htons(call->dest_srx.srx_service);
306 pkt.whdr.serial = htonl(serial);
315 trace_rxrpc_tx_packet(call->debug_id, &pkt.whdr,
527 struct rxrpc_wire_header whdr;
541 whdr.epoch = htonl(conn->proto.epoch);
542 whdr.cid = htonl(conn->proto.cid);
543 whdr.callNumber = 0;
544 whdr.seq = 0;
545 whdr.type = RXRPC_PACKET_TYPE_ABORT;
546 whdr.flags = conn->out_clientflag;
547 whdr.userStatus = 0;
548 whdr.securityIndex = conn->security_ix;
549 whdr._rsvd = 0;
550 whdr.serviceId = htons(conn->service_id);
554 iov[0].iov_base = &whdr;
555 iov[0].iov_len = sizeof(whdr);
562 whdr.serial = htonl(serial);
573 trace_rxrpc_tx_packet(conn->debug_id, &whdr, rxrpc_tx_point_conn_abort);
583 struct rxrpc_wire_header whdr;
594 iov[0].iov_base = &whdr;
595 iov[0].iov_len = sizeof(whdr);
604 memset(&whdr, 0, sizeof(whdr));
608 whdr.type = RXRPC_PACKET_TYPE_BUSY;
609 size = sizeof(whdr);
613 whdr.type = RXRPC_PACKET_TYPE_ABORT;
615 size = sizeof(whdr) + sizeof(code);
625 whdr.epoch = htonl(sp->hdr.epoch);
626 whdr.cid = htonl(sp->hdr.cid);
627 whdr.callNumber = htonl(sp->hdr.callNumber);
628 whdr.serviceId = htons(sp->hdr.serviceId);
629 whdr.flags = sp->hdr.flags;
630 whdr.flags ^= RXRPC_CLIENT_INITIATED;
631 whdr.flags &= RXRPC_CLIENT_INITIATED;
639 trace_rxrpc_tx_packet(local->debug_id, &whdr,
649 struct rxrpc_wire_header whdr;
663 whdr.epoch = htonl(peer->local->rxnet->epoch);
664 whdr.cid = 0;
665 whdr.callNumber = 0;
666 whdr.seq = 0;
667 whdr.serial = 0;
668 whdr.type = RXRPC_PACKET_TYPE_VERSION; /* Not client-initiated */
669 whdr.flags = RXRPC_LAST_PACKET;
670 whdr.userStatus = 0;
671 whdr.securityIndex = 0;
672 whdr._rsvd = 0;
673 whdr.serviceId = 0;
675 iov[0].iov_base = &whdr;
676 iov[0].iov_len = sizeof(whdr);
688 trace_rxrpc_tx_packet(peer->debug_id, &whdr,