|
From: | Jason Wang |
Subject: | Re: [Qemu-devel] Unified Datagram Socket Transport |
Date: | Mon, 24 Jul 2017 11:17:25 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 2017年07月21日 12:25, Anton Ivanov wrote:
On 21/07/17 04:55, Jason Wang wrote:On 2017年07月21日 03:12, address@hidden wrote:Hi all, This addresses comments so far except Eric's suggestion to use InetSocketAddressBase. If I understand correctly its intended use, it will not be of help for protocols which have no port (raw sockets - GRE, L2TPv3, etc). It also includes a port of the original socket.c transport to the new UDST backend. The relevant code is ifdef-ed so there should be no effect on other systems.This looks sub-optimal. If you want to do this, I would rather suggest you just extend the socket dgram backend like what udst did now.Apologies, do you mean extend it further to handle the tcp form?
Not that far, since you try to convert net_dgram_socket_info, I'm thinking just do the all udst in net_dgram_socket. For recvmmsg you can have transport specific callback for this.
Thanks
[Prev in Thread] | Current Thread | [Next in Thread] |