Home
last modified time | relevance | path

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

/openbmc/linux/net/rxrpc/
H A Dlocal_event.c37 struct rxrpc_wire_header whdr; in rxrpc_send_version_request() local
56 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
57 whdr.cid = htonl(sp->hdr.cid); in rxrpc_send_version_request()
59 whdr.seq = 0; in rxrpc_send_version_request()
60 whdr.serial = 0; in rxrpc_send_version_request()
61 whdr.type = RXRPC_PACKET_TYPE_VERSION; in rxrpc_send_version_request()
63 whdr.userStatus = 0; in rxrpc_send_version_request()
64 whdr.securityIndex = 0; in rxrpc_send_version_request()
65 whdr._rsvd = 0; in rxrpc_send_version_request()
68 iov[0].iov_base = &whdr; in rxrpc_send_version_request()
[all …]
H A Doutput.c293 pkt.whdr.seq = 0; in rxrpc_send_abort_packet()
298 pkt.whdr._rsvd = 0; in rxrpc_send_abort_packet()
543 whdr.callNumber = 0; in rxrpc_send_conn_abort()
544 whdr.seq = 0; in rxrpc_send_conn_abort()
549 whdr._rsvd = 0; in rxrpc_send_conn_abort()
604 memset(&whdr, 0, sizeof(whdr)); in rxrpc_reject_packet()
664 whdr.cid = 0; in rxrpc_send_keepalive()
666 whdr.seq = 0; in rxrpc_send_keepalive()
667 whdr.serial = 0; in rxrpc_send_keepalive()
672 whdr._rsvd = 0; in rxrpc_send_keepalive()
[all …]
H A Dconn_event.c85 struct rxrpc_wire_header whdr; in rxrpc_conn_retransmit_call() member
122 iov[0].iov_len = sizeof(pkt.whdr); in rxrpc_conn_retransmit_call()
132 pkt.whdr.callNumber = htonl(call_id); in rxrpc_conn_retransmit_call()
133 pkt.whdr.serial = htonl(serial); in rxrpc_conn_retransmit_call()
134 pkt.whdr.seq = 0; in rxrpc_conn_retransmit_call()
135 pkt.whdr.type = chan->last_type; in rxrpc_conn_retransmit_call()
136 pkt.whdr.flags = conn->out_clientflag; in rxrpc_conn_retransmit_call()
137 pkt.whdr.userStatus = 0; in rxrpc_conn_retransmit_call()
139 pkt.whdr._rsvd = 0; in rxrpc_conn_retransmit_call()
142 len = sizeof(pkt.whdr); in rxrpc_conn_retransmit_call()
[all …]
H A Dio_thread.c132 struct rxrpc_wire_header whdr; in rxrpc_extract_header() local
135 if (skb_copy_bits(skb, 0, &whdr, sizeof(whdr)) < 0) in rxrpc_extract_header()
139 sp->hdr.epoch = ntohl(whdr.epoch); in rxrpc_extract_header()
140 sp->hdr.cid = ntohl(whdr.cid); in rxrpc_extract_header()
142 sp->hdr.seq = ntohl(whdr.seq); in rxrpc_extract_header()
143 sp->hdr.serial = ntohl(whdr.serial); in rxrpc_extract_header()
144 sp->hdr.flags = whdr.flags; in rxrpc_extract_header()
145 sp->hdr.type = whdr.type; in rxrpc_extract_header()
146 sp->hdr.userStatus = whdr.userStatus; in rxrpc_extract_header()
148 sp->hdr._rsvd = ntohs(whdr._rsvd); in rxrpc_extract_header()
[all …]
H A Drxkad.c627 struct rxrpc_wire_header whdr; in rxkad_issue_challenge() local
651 whdr.callNumber = 0; in rxkad_issue_challenge()
652 whdr.seq = 0; in rxkad_issue_challenge()
655 whdr.userStatus = 0; in rxkad_issue_challenge()
657 whdr._rsvd = 0; in rxkad_issue_challenge()
660 iov[0].iov_base = &whdr; in rxkad_issue_challenge()
668 whdr.serial = htonl(serial); in rxkad_issue_challenge()
707 memset(&whdr, 0, sizeof(whdr)); in rxkad_send_response()
709 whdr.cid = htonl(hdr->cid); in rxkad_send_response()
715 iov[0].iov_base = &whdr; in rxkad_send_response()
[all …]
/openbmc/linux/include/trace/events/
H A Drxrpc.h1055 TP_ARGS(call_id, whdr, where),
1060 __field_struct(struct rxrpc_wire_header, whdr)
1065 memcpy(&__entry->whdr, whdr, sizeof(__entry->whdr));
1071 ntohl(__entry->whdr.epoch),
1072 ntohl(__entry->whdr.cid),
1073 ntohl(__entry->whdr.callNumber),
1074 ntohs(__entry->whdr.serviceId),
1075 ntohl(__entry->whdr.serial),
1076 ntohl(__entry->whdr.seq),
1077 __entry->whdr.type, __entry->whdr.flags,
[all …]
/openbmc/linux/drivers/bluetooth/
H A 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()
H A Dbtmtkuart.c153 if (wmt_evt->whdr.op != hdr->op) { in mtk_hci_wmt_sync()
155 wmt_evt->whdr.op, hdr->op); in mtk_hci_wmt_sync()
160 switch (wmt_evt->whdr.op) { in mtk_hci_wmt_sync()
162 if (wmt_evt->whdr.flag == 2) in mtk_hci_wmt_sync()
H A Dbtmtk.h66 struct btmtk_wmt_hdr whdr; member
H A Dbtusb.c2846 if (wmt_evt->whdr.op != hdr->op) { in btusb_mtk_hci_wmt_sync()
2848 wmt_evt->whdr.op, hdr->op); in btusb_mtk_hci_wmt_sync()
2853 switch (wmt_evt->whdr.op) { in btusb_mtk_hci_wmt_sync()
2855 if (wmt_evt->whdr.flag == 2) in btusb_mtk_hci_wmt_sync()
2870 if (wmt_evt->whdr.flag == 2) in btusb_mtk_hci_wmt_sync()
2872 else if (wmt_evt->whdr.flag == 1) in btusb_mtk_hci_wmt_sync()