Symbol: op_common
tools/usb/usbip/src/usbip_network.c
133
struct op_common *op_common)
tools/usb/usbip/src/usbip_network.c
135
op_common->version = usbip_net_pack_uint16_t(pack, op_common->version);
tools/usb/usbip/src/usbip_network.c
136
op_common->code = usbip_net_pack_uint16_t(pack, op_common->code);
tools/usb/usbip/src/usbip_network.c
137
op_common->status = usbip_net_pack_uint32_t(pack, op_common->status);
tools/usb/usbip/src/usbip_network.c
142
struct op_common op_common;
tools/usb/usbip/src/usbip_network.c
145
memset(&op_common, 0, sizeof(op_common));
tools/usb/usbip/src/usbip_network.c
147
op_common.version = USBIP_VERSION;
tools/usb/usbip/src/usbip_network.c
148
op_common.code = code;
tools/usb/usbip/src/usbip_network.c
149
op_common.status = status;
tools/usb/usbip/src/usbip_network.c
151
usbip_net_pack_op_common(1, &op_common);
tools/usb/usbip/src/usbip_network.c
153
rc = usbip_net_send(sockfd, &op_common, sizeof(op_common));
tools/usb/usbip/src/usbip_network.c
164
struct op_common op_common;
tools/usb/usbip/src/usbip_network.c
167
memset(&op_common, 0, sizeof(op_common));
tools/usb/usbip/src/usbip_network.c
169
rc = usbip_net_recv(sockfd, &op_common, sizeof(op_common));
tools/usb/usbip/src/usbip_network.c
175
usbip_net_pack_op_common(0, &op_common);
tools/usb/usbip/src/usbip_network.c
177
if (op_common.version != USBIP_VERSION) {
tools/usb/usbip/src/usbip_network.c
179
op_common.version, USBIP_VERSION);
tools/usb/usbip/src/usbip_network.c
187
if (op_common.code != *code) {
tools/usb/usbip/src/usbip_network.c
188
dbg("unexpected pdu %#0x for %#0x", op_common.code,
tools/usb/usbip/src/usbip_network.c
196
*status = op_common.status;
tools/usb/usbip/src/usbip_network.c
198
if (op_common.status != ST_OK) {
tools/usb/usbip/src/usbip_network.c
199
dbg("request failed at peer: %d", op_common.status);
tools/usb/usbip/src/usbip_network.c
203
*code = op_common.code;