Home
last modified time | relevance | path

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

/linux/net/rxrpc/
H A Doutput.c39 struct rxrpc_wire_header whdr; member
79 struct rxrpc_wire_header *whdr; in rxrpc_alloc_ack() local
88 sizeof(*whdr) + sizeof(*ack) + 1 + 3 + sizeof(*trailer), gfp); in rxrpc_alloc_ack()
100 whdr = buf; in rxrpc_alloc_ack()
101 ack = buf + sizeof(*whdr); in rxrpc_alloc_ack()
102 filler = buf + sizeof(*whdr) + sizeof(*ack) + 1; in rxrpc_alloc_ack()
103 trailer = buf + sizeof(*whdr) + sizeof(*ack) + 1 + 3; in rxrpc_alloc_ack()
105 kv[0].iov_base = whdr; in rxrpc_alloc_ack()
106 kv[0].iov_len = sizeof(*whdr) + sizeof(*ack); in rxrpc_alloc_ack()
156 struct rxrpc_wire_header *whdr = kv[0].iov_base; in rxrpc_fill_out_ack() local
[all …]
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()
58 whdr.callNumber = htonl(sp->hdr.callNumber); 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()
62 whdr.flags = RXRPC_LAST_PACKET | (~hdr->flags & RXRPC_CLIENT_INITIATED); in rxrpc_send_version_request()
63 whdr.userStatus = 0; in rxrpc_send_version_request()
64 whdr.securityIndex = 0; in rxrpc_send_version_request()
[all …]
H A Dconn_event.c94 struct rxrpc_wire_header whdr; in rxrpc_conn_retransmit_call()
131 iov[0].iov_len = sizeof(pkt.whdr); in rxrpc_conn_retransmit_call()
139 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_conn_retransmit_call()
140 pkt.whdr.cid = htonl(conn->proto.cid | channel); in rxrpc_conn_retransmit_call()
141 pkt.whdr.callNumber = htonl(call_id); in rxrpc_conn_retransmit_call()
142 pkt.whdr.serial = htonl(serial); in rxrpc_conn_retransmit_call()
143 pkt.whdr.seq = 0; in rxrpc_conn_retransmit_call()
144 pkt.whdr.type = chan->last_type; in rxrpc_conn_retransmit_call()
145 pkt.whdr.flags = conn->out_clientflag; in rxrpc_conn_retransmit_call()
146 pkt.whdr in rxrpc_conn_retransmit_call()
86 struct rxrpc_wire_header whdr; rxrpc_conn_retransmit_call() member
[all...]
H A Dio_thread.c146 struct rxrpc_wire_header whdr; in rxrpc_extract_header() local
150 if (skb_copy_bits(skb, 0, &whdr, sizeof(whdr)) < 0) in rxrpc_extract_header()
154 sp->hdr.epoch = ntohl(whdr.epoch); in rxrpc_extract_header()
155 sp->hdr.cid = ntohl(whdr.cid); in rxrpc_extract_header()
156 sp->hdr.callNumber = ntohl(whdr.callNumber); in rxrpc_extract_header()
157 sp->hdr.seq = ntohl(whdr.seq); in rxrpc_extract_header()
158 sp->hdr.serial = ntohl(whdr.serial); in rxrpc_extract_header()
159 sp->hdr.flags = whdr.flags; in rxrpc_extract_header()
160 sp->hdr.type = whdr.type; in rxrpc_extract_header()
161 sp->hdr.userStatus = whdr.userStatus; in rxrpc_extract_header()
[all …]
H A Drxgk.c634 struct rxrpc_wire_header *whdr; in rxgk_issue_challenge() local
638 size_t len = sizeof(*whdr) + sizeof(conn->rxgk.nonce); in rxgk_issue_challenge()
647 page = rxgk_alloc_packet(sizeof(*whdr) + sizeof(conn->rxgk.nonce)); in rxgk_issue_challenge()
660 whdr = page_address(page); in rxgk_issue_challenge()
661 whdr->epoch = htonl(conn->proto.epoch); in rxgk_issue_challenge()
662 whdr->cid = htonl(conn->proto.cid); in rxgk_issue_challenge()
663 whdr->callNumber = 0; in rxgk_issue_challenge()
664 whdr->seq = 0; in rxgk_issue_challenge()
665 whdr->type = RXRPC_PACKET_TYPE_CHALLENGE; in rxgk_issue_challenge()
666 whdr->flags = conn->out_clientflag; in rxgk_issue_challenge()
[all …]
H A Drxkad.c645 struct rxrpc_wire_header whdr; in rxkad_issue_challenge()
667 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
668 whdr.cid = htonl(conn->proto.cid); in rxkad_issue_challenge()
669 whdr.callNumber = 0; in rxkad_issue_challenge()
670 whdr.seq = 0; in rxkad_issue_challenge()
671 whdr.type = RXRPC_PACKET_TYPE_CHALLENGE; in rxkad_issue_challenge()
672 whdr.flags = conn->out_clientflag; in rxkad_issue_challenge()
673 whdr.userStatus = 0; in rxkad_issue_challenge()
674 whdr.securityIndex = conn->security_ix; in rxkad_issue_challenge()
675 whdr in rxkad_issue_challenge()
643 struct rxrpc_wire_header whdr; rxkad_issue_challenge() local
708 struct rxrpc_wire_header whdr; rxkad_send_response() local
[all...]
/linux/drivers/bluetooth/
H A Dbtmtksdio.c208 if (wmt_evt->whdr.op != hdr->op) { in mtk_hci_wmt_sync()
210 wmt_evt->whdr.op, hdr->op); in mtk_hci_wmt_sync()
215 switch (wmt_evt->whdr.op) { in mtk_hci_wmt_sync()
217 if (wmt_evt->whdr.flag == 2) in mtk_hci_wmt_sync()
232 if (wmt_evt->whdr.flag == 2) in mtk_hci_wmt_sync()
234 else if (wmt_evt->whdr.flag == 1) in mtk_hci_wmt_sync()
241 if (le16_to_cpu(wmt_evt->whdr.dlen) == 12) in mtk_hci_wmt_sync()
H A Dbtmtk.c659 if (wmt_evt->whdr.op != hdr->op) { in btmtk_usb_hci_wmt_sync()
661 wmt_evt->whdr.op, hdr->op); in btmtk_usb_hci_wmt_sync()
666 switch (wmt_evt->whdr.op) { in btmtk_usb_hci_wmt_sync()
668 if (wmt_evt->whdr.flag == 2) in btmtk_usb_hci_wmt_sync()
683 if (wmt_evt->whdr.flag == 2) in btmtk_usb_hci_wmt_sync()
685 else if (wmt_evt->whdr.flag == 1) in btmtk_usb_hci_wmt_sync()
H A Dbtmtkuart.c155 if (wmt_evt->whdr.op != hdr->op) { in mtk_hci_wmt_sync()
157 wmt_evt->whdr.op, hdr->op); in mtk_hci_wmt_sync()
162 switch (wmt_evt->whdr.op) { in mtk_hci_wmt_sync()
164 if (wmt_evt->whdr.flag == 2) in mtk_hci_wmt_sync()
H A Dbtmtk.h81 struct btmtk_wmt_hdr whdr; member
/linux/include/trace/events/
H A Drxrpc.h1378 TP_PROTO(unsigned int call_id, struct rxrpc_wire_header *whdr,
1381 TP_ARGS(call_id, whdr, where),
1386 __field_struct(struct rxrpc_wire_header, whdr)
1391 memcpy(&__entry->whdr, whdr, sizeof(__entry->whdr));
1397 ntohl(__entry->whdr.epoch),
1398 ntohl(__entry->whdr.cid),
1399 ntohl(__entry->whdr.callNumber),
1400 ntohs(__entry->whdr.serviceId),
1401 ntohl(__entry->whdr.serial),
1402 ntohl(__entry->whdr.seq),
[all …]