| /qemu/python/tests/ |
| A D | protocol.py | 163 self.proto = NullProtocol() 167 repr(self.proto), 173 self.proto.runstate, 179 self.proto.name, 185 self.proto.logger.name, 193 self.proto.name, 198 self.proto.logger.name, 203 repr(self.proto), 290 await self.proto.disconnect() 450 await self.proto.disconnect() [all …]
|
| /qemu/tests/qemu-iotests/ |
| A D | 083 | 47 local event export_name=foo extra_args nbd_addr nbd_url proto when 58 proto=tcp 62 proto=unix 81 if [ "$proto" = "tcp" ]; then 101 if [ "$proto" = "tcp" ]; then 112 for proto in tcp unix; do 115 check_disconnect "--$proto" "$event" "$when" 122 check_disconnect "--$proto" "$event" "$when" 127 check_disconnect "--$proto" "$event" "$when" 132 check_disconnect "--$proto" "$event" "$when" [all …]
|
| A D | 185 | 253 --blockdev file,node-name=source-proto,filename="$TEST_IMG" \ 254 --blockdev qcow2,node-name=source-fmt,file=source-proto \ 391 --blockdev file,node-name=source-proto,filename="$TEST_IMG" \ 392 --blockdev qcow2,node-name=source-fmt,file=source-proto,backing=target \
|
| /qemu/net/ |
| A D | eth.c | 74 uint16_t proto; in eth_get_l3_proto() local 77 size_t proto_offset = l2hdr_len - sizeof(proto); in eth_get_l3_proto() 84 &proto, sizeof(proto)); in eth_get_l3_proto() 86 return (copied == sizeof(proto)) ? be16_to_cpu(proto) : ETH_P_UNKNOWN; in eth_get_l3_proto() 138 int proto; in eth_get_protocols() local 146 l4hdr_info->proto = ETH_L4_HDR_PROTO_INVALID; in eth_get_protocols() 150 if (proto == ETH_P_IP) { in eth_get_protocols() 169 } else if (proto == ETH_P_IPV6) { in eth_get_protocols() 192 l4hdr_info->proto = ETH_L4_HDR_PROTO_TCP; in eth_get_protocols() 197 _eth_tcp_has_data(proto == ETH_P_IP, in eth_get_protocols() [all …]
|
| A D | checksum.c | 49 uint16_t net_checksum_tcpudp(uint16_t length, uint16_t proto, in net_checksum_tcpudp() argument 56 sum += proto + length; // protocol & length in net_checksum_tcpudp()
|
| /qemu/hw/net/ |
| A D | net_rx_pkt.c | 209 *l4hdr_proto = pkt->l4hdr_info.proto; in net_rx_pkt_get_protocols() 321 assert(pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP); in net_rx_pkt_calc_rss_hash() 328 assert(pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP); in net_rx_pkt_calc_rss_hash() 345 assert(pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP); in net_rx_pkt_calc_rss_hash() 352 assert(pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_UDP); in net_rx_pkt_calc_rss_hash() 398 if (pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP) { in net_rx_pkt_is_tcp_ack() 409 if (pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP) { in net_rx_pkt_has_tcp_data() 500 if (pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_UDP) { in _net_rx_pkt_calc_l4_csum() 513 if (pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_UDP) { in _net_rx_pkt_calc_l4_csum() 588 switch (pkt->l4hdr_info.proto) { in net_rx_pkt_validate_l4_csum() [all …]
|
| A D | virtio-net.c | 2129 if (chain->proto == ETH_P_IP) { in virtio_net_rsc_drain_seg() 2202 switch (chain->proto) { in virtio_net_rsc_cache_buf() 2400 if (chain->proto == ETH_P_IP) { in virtio_net_rsc_do_coalesce() 2613 if ((proto != (uint16_t)ETH_P_IP) && (proto != (uint16_t)ETH_P_IPV6)) { in virtio_net_rsc_lookup_chain() 2618 if (chain->proto == proto) { in virtio_net_rsc_lookup_chain() 2625 chain->proto = proto; in virtio_net_rsc_lookup_chain() 2626 if (proto == (uint16_t)ETH_P_IP) { in virtio_net_rsc_lookup_chain() 2647 uint16_t proto; in virtio_net_rsc_receive() local 2658 proto = htons(eth->h_proto); in virtio_net_rsc_receive() 2660 chain = virtio_net_rsc_lookup_chain(n, nc, proto); in virtio_net_rsc_receive() [all …]
|
| A D | ftgmac100.c | 260 static int ftgmac100_max_frame_size(FTGMAC100State *s, uint16_t proto) in ftgmac100_max_frame_size() argument 264 return max + (proto == ETH_P_VLAN ? 4 : 0); in ftgmac100_max_frame_size() 1039 uint16_t proto = be16_to_cpu(PKT_GET_ETH_HDR(buf)->h_proto); in ftgmac100_receive() local 1040 int max_frame_size = ftgmac100_max_frame_size(s, proto); in ftgmac100_receive() 1105 if (first && proto == ETH_P_VLAN && buf_len >= 18) { in ftgmac100_receive()
|
| A D | rtl8139.c | 2086 int proto = be16_to_cpu(*(uint16_t *)(saved_buffer + 12)); in rtl8139_cplus_transmit_one() local 2087 if (proto != ETH_P_IP) in rtl8139_cplus_transmit_one()
|
| A D | trace-events | 103 …ool is_vlan_pkt, uint16_t eth_proto, uint16_t vet) "Is VLAN packet: %d, ETH proto: 0x%X, VET: 0x%X"
|
| /qemu/include/net/ |
| A D | eth.h | 301 uint16_t proto = be16_to_cpu(PKT_GET_ETH_HDR(p)->h_proto); in eth_get_l2_hdr_length() local 303 switch (proto) { in eth_get_l2_hdr_length() 333 uint16_t proto = be16_to_cpu(PKT_GET_ETH_HDR(p)->h_proto); in eth_get_pkt_tci() local 335 switch (proto) { in eth_get_pkt_tci() 393 EthL4HdrProto proto; member
|
| A D | checksum.h | 31 uint16_t net_checksum_tcpudp(uint16_t length, uint16_t proto,
|
| /qemu/python/qemu/qmp/ |
| A D | protocol.py | 136 def _wrapper(proto: 'AsyncProtocol[Any]', 141 name = type(proto).__name__ 143 if proto.runstate != required_state: 144 if proto.runstate == Runstate.CONNECTING: 146 elif proto.runstate == Runstate.DISCONNECTING: 149 elif proto.runstate == Runstate.RUNNING: 151 elif proto.runstate == Runstate.IDLE: 155 raise StateError(emsg, proto.runstate, required_state) 157 return func(proto, *args, **kwargs)
|
| /qemu/hw/sd/ |
| A D | sd.c | 150 const SDProto *proto; member 195 return sd->proto == &sd_proto_spi; in sd_is_spi() 200 return sd->proto == &sd_proto_emmc; in sd_is_emmc() 280 const SDProto *sdp = sd->proto; in sd_cmd_name() 291 const SDProto *sdp = sd->proto; in sd_acmd_name() 637 switch (s->proto->cmd[req.cmd].type) { in sd_req_get_rca() 2191 if (!sd->proto->cmd[cmd].handler) { in cmd_valid_while_locked() 2726 sd->proto = sc->proto; in sd_instance_init() 2852 sc->proto = &sd_proto_sd; in sd_class_init() 2867 sc->proto = &sd_proto_spi; in sd_spi_class_init() [all …]
|
| A D | trace-events | 40 sdcard_normal_command(const char *proto, const char *cmd_desc, uint8_t cmd, uint32_t arg, const cha… 41 sdcard_app_command(const char *proto, const char *acmd_desc, uint8_t acmd, uint32_t arg, const char… 57 sdcard_write_data(const char *proto, const char *cmd_desc, uint8_t cmd, uint32_t offset, uint8_t va… 58 sdcard_read_data(const char *proto, const char *cmd_desc, uint8_t cmd, uint32_t offset, uint64_t si…
|
| /qemu/qapi/ |
| A D | rocker.json | 139 # @ip-proto: IP Header protocol field 154 '*ip-proto': 'uint8', '*ip-tos': 'uint8', '*ip-dst': 'str' } } 171 # @ip-proto: IP Header protocol field 183 '*ip-proto': 'uint8', '*ip-tos': 'uint8' } }
|
| /qemu/scripts/qapi/ |
| A D | events.py | 45 proto=build_event_send_proto(name, arg_type, boxed)) 101 proto=build_event_send_proto(name, arg_type, boxed))
|
| A D | commands.py | 177 proto=build_marshal_proto(name, coroutine)) 207 proto=build_marshal_proto(name, coroutine))
|
| /qemu/hw/net/rocker/ |
| A D | rocker_of_dpa.c | 273 if (key->ip.proto || (mask && mask->ip.proto)) { in of_dpa_flow_key_dump() 275 if (mask && mask->ip.proto != 0xff) { in of_dpa_flow_key_dump() 729 match->value.ip.proto = fc->fields.ipv4hdr->ip_p; in of_dpa_acl_build_match() 733 match->value.ip.proto = in of_dpa_acl_build_match() 1643 key->ip.proto = 0; in of_dpa_cmd_add_acl_ip() 1645 mask->ip.proto = 0; in of_dpa_cmd_add_acl_ip() 1649 key->ip.proto = in of_dpa_cmd_add_acl_ip() 1653 mask->ip.proto = in of_dpa_cmd_add_acl_ip() 2368 if (key->ip.proto || mask->ip.proto) { in of_dpa_flow_fill() 2370 nkey->ip_proto = key->ip.proto; in of_dpa_flow_fill() [all …]
|
| /qemu/tests/qtest/ |
| A D | virtio-net-test.c | 195 uint16_t *proto = (uint16_t *)&buffer[12]; in announce_self() local 213 g_assert_cmpint(*proto, ==, htons(ETH_P_RARP)); in announce_self()
|
| /qemu/include/hw/sd/ |
| A D | sd.h | 128 const struct SDProto *proto; member
|
| /qemu/include/hw/virtio/ |
| A D | virtio-net.h | 128 uint16_t proto; member
|
| /qemu/docs/interop/ |
| A D | nbd.rst | 10 https://github.com/NetworkBlockDevice/nbd/blob/master/doc/proto.md
|
| /qemu/hw/hyperv/ |
| A D | trace-events | 22 hv_balloon_incoming_version(uint16_t major, uint16_t minor) "incoming proto version %u.%u"
|
| /qemu/include/standard-headers/linux/ |
| A D | ethtool.h | 1281 uint8_t proto; member
|