Lines Matching refs:hdr

63 	struct rxrpc_header hdr;  in rxrpc_abort_connection()  local
92 hdr.epoch = conn->epoch; in rxrpc_abort_connection()
93 hdr.cid = conn->cid; in rxrpc_abort_connection()
94 hdr.callNumber = 0; in rxrpc_abort_connection()
95 hdr.seq = 0; in rxrpc_abort_connection()
96 hdr.type = RXRPC_PACKET_TYPE_ABORT; in rxrpc_abort_connection()
97 hdr.flags = conn->out_clientflag; in rxrpc_abort_connection()
98 hdr.userStatus = 0; in rxrpc_abort_connection()
99 hdr.securityIndex = conn->security_ix; in rxrpc_abort_connection()
100 hdr._rsvd = 0; in rxrpc_abort_connection()
101 hdr.serviceId = conn->service_id; in rxrpc_abort_connection()
105 iov[0].iov_base = &hdr; in rxrpc_abort_connection()
106 iov[0].iov_len = sizeof(hdr); in rxrpc_abort_connection()
112 hdr.serial = htonl(atomic_inc_return(&conn->serial)); in rxrpc_abort_connection()
113 _proto("Tx CONN ABORT %%%u { %d }", ntohl(hdr.serial), abort_code); in rxrpc_abort_connection()
158 serial = ntohl(sp->hdr.serial); in rxrpc_process_event()
160 _enter("{%d},{%u,%%%u},", conn->debug_id, sp->hdr.type, serial); in rxrpc_process_event()
162 switch (sp->hdr.type) { in rxrpc_process_event()
206 _leave(" = -EPROTO [%u]", sp->hdr.type); in rxrpc_process_event()
338 struct rxrpc_header hdr; in rxrpc_reject_packets() local
351 iov[0].iov_base = &hdr; in rxrpc_reject_packets()
352 iov[0].iov_len = sizeof(hdr); in rxrpc_reject_packets()
355 size = sizeof(hdr) + sizeof(code); in rxrpc_reject_packets()
373 memset(&hdr, 0, sizeof(hdr)); in rxrpc_reject_packets()
374 hdr.type = RXRPC_PACKET_TYPE_ABORT; in rxrpc_reject_packets()
384 hdr.epoch = sp->hdr.epoch; in rxrpc_reject_packets()
385 hdr.cid = sp->hdr.cid; in rxrpc_reject_packets()
386 hdr.callNumber = sp->hdr.callNumber; in rxrpc_reject_packets()
387 hdr.serviceId = sp->hdr.serviceId; in rxrpc_reject_packets()
388 hdr.flags = sp->hdr.flags; in rxrpc_reject_packets()
389 hdr.flags ^= RXRPC_CLIENT_INITIATED; in rxrpc_reject_packets()
390 hdr.flags &= RXRPC_CLIENT_INITIATED; in rxrpc_reject_packets()