Home
last modified time | relevance | path

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

/linux-6.1.9/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
62 iov[0].iov_len = sizeof(pkt.whdr); in rxrpc_conn_retransmit_call()
68 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_conn_retransmit_call()
69 pkt.whdr.cid = htonl(conn->proto.cid | channel); in rxrpc_conn_retransmit_call()
70 pkt.whdr.callNumber = htonl(call_id); in rxrpc_conn_retransmit_call()
71 pkt.whdr.seq = 0; in rxrpc_conn_retransmit_call()
72 pkt.whdr.type = chan->last_type; in rxrpc_conn_retransmit_call()
73 pkt.whdr.flags = conn->out_clientflag; in rxrpc_conn_retransmit_call()
74 pkt.whdr.userStatus = 0; in rxrpc_conn_retransmit_call()
75 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 …]
/linux-6.1.9/include/trace/events/
Drxrpc.h729 TP_PROTO(unsigned int call_id, struct rxrpc_wire_header *whdr,
732 TP_ARGS(call_id, whdr, where),
737 __field_struct(struct rxrpc_wire_header, whdr )
742 memcpy(&__entry->whdr, whdr, sizeof(__entry->whdr));
748 ntohl(__entry->whdr.epoch),
749 ntohl(__entry->whdr.cid),
750 ntohl(__entry->whdr.callNumber),
751 ntohs(__entry->whdr.serviceId),
752 ntohl(__entry->whdr.serial),
753 ntohl(__entry->whdr.seq),
[all …]
/linux-6.1.9/drivers/bluetooth/
Dbtmtksdio.c206 if (wmt_evt->whdr.op != hdr->op) { in mtk_hci_wmt_sync()
208 wmt_evt->whdr.op, hdr->op); in mtk_hci_wmt_sync()
213 switch (wmt_evt->whdr.op) { in mtk_hci_wmt_sync()
215 if (wmt_evt->whdr.flag == 2) in mtk_hci_wmt_sync()
230 if (wmt_evt->whdr.flag == 2) in mtk_hci_wmt_sync()
232 else if (wmt_evt->whdr.flag == 1) in mtk_hci_wmt_sync()
239 if (le16_to_cpu(wmt_evt->whdr.dlen) == 12) in mtk_hci_wmt_sync()
Dbtmtk.h59 struct btmtk_wmt_hdr whdr; member
Dbtmtkuart.c154 if (wmt_evt->whdr.op != hdr->op) { in mtk_hci_wmt_sync()
156 wmt_evt->whdr.op, hdr->op); in mtk_hci_wmt_sync()
161 switch (wmt_evt->whdr.op) { in mtk_hci_wmt_sync()
163 if (wmt_evt->whdr.flag == 2) in mtk_hci_wmt_sync()
Dbtusb.c2552 if (wmt_evt->whdr.op != hdr->op) { in btusb_mtk_hci_wmt_sync()
2554 wmt_evt->whdr.op, hdr->op); in btusb_mtk_hci_wmt_sync()
2559 switch (wmt_evt->whdr.op) { in btusb_mtk_hci_wmt_sync()
2561 if (wmt_evt->whdr.flag == 2) in btusb_mtk_hci_wmt_sync()
2576 if (wmt_evt->whdr.flag == 2) in btusb_mtk_hci_wmt_sync()
2578 else if (wmt_evt->whdr.flag == 1) in btusb_mtk_hci_wmt_sync()