Searched refs:op_common (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/tools/usb/usbip/src/ |
| D | usbip_network.c | 134 struct op_common op_common; in usbip_net_send_op_common() local 137 memset(&op_common, 0, sizeof(op_common)); in usbip_net_send_op_common() 139 op_common.version = USBIP_VERSION; in usbip_net_send_op_common() 140 op_common.code = code; in usbip_net_send_op_common() 141 op_common.status = status; in usbip_net_send_op_common() 143 PACK_OP_COMMON(1, &op_common); in usbip_net_send_op_common() 145 rc = usbip_net_send(sockfd, &op_common, sizeof(op_common)); in usbip_net_send_op_common() 156 struct op_common op_common; in usbip_net_recv_op_common() local 159 memset(&op_common, 0, sizeof(op_common)); in usbip_net_recv_op_common() 161 rc = usbip_net_recv(sockfd, &op_common, sizeof(op_common)); in usbip_net_recv_op_common() [all …]
|
| D | usbip_network.h | 23 struct op_common { struct 35 #define PACK_OP_COMMON(pack, op_common) do {\ argument 36 usbip_net_pack_uint16_t(pack, &(op_common)->version);\ 37 usbip_net_pack_uint16_t(pack, &(op_common)->code);\ 38 usbip_net_pack_uint32_t(pack, &(op_common)->status);\
|