[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/3] Introduce xensock socket and implement sockback and sockfront drivers



Next series of the patches adds new socket support: xensock.
Those sockets will be used for the xen-sock frontend/backend
drivers. Those drivers will allow to connect via xensock
sockets (in this case dom0/domD sockets can be used for the
server application and domU sockets can be used for the
client application). Those sockets are similar to the TCP sockets.
But there are some limitations. Xensock sockets
ignore an address and can act only as the stream
sockets. Only one xensock socket can be opened in the frontend
side and it will be connected with the single xensock socket
in the backend side (this link is created automatically by
frontend and backend driver).

Oleksandr Dmytryshyn (3):
  net: introduce new socket support: xensock
  xen-sockback: add support of the xen-sockback driver
  xen-sockfront: add support of the xen-sockfront driver

 drivers/net/Kconfig                  |   38 +
 drivers/net/Makefile                 |    4 +
 drivers/net/xen-sockback/Makefile    |    3 +
 drivers/net/xen-sockback/common.h    |  150 ++++
 drivers/net/xen-sockback/interface.c |  245 ++++++
 drivers/net/xen-sockback/sockback.c  | 1527 ++++++++++++++++++++++++++++++++++
 drivers/net/xen-sockback/xenbus.c    |  348 ++++++++
 drivers/net/xen-sockfront.c          | 1364 ++++++++++++++++++++++++++++++
 drivers/net/xensock/Makefile         |    5 +
 drivers/net/xensock/xensock-dev.c    |  269 ++++++
 drivers/net/xensock/xensock-proto.c  |  767 +++++++++++++++++
 include/linux/socket.h               |    4 +-
 include/net/af_xensock.h             |   46 +
 include/net/xensock.h                |  130 +++
 include/xen/interface/io/sockif.h    |   74 ++
 net/core/sock.c                      |    9 +-
 16 files changed, 4979 insertions(+), 4 deletions(-)
 create mode 100644 drivers/net/xen-sockback/Makefile
 create mode 100644 drivers/net/xen-sockback/common.h
 create mode 100644 drivers/net/xen-sockback/interface.c
 create mode 100644 drivers/net/xen-sockback/sockback.c
 create mode 100644 drivers/net/xen-sockback/xenbus.c
 create mode 100644 drivers/net/xen-sockfront.c
 create mode 100644 drivers/net/xensock/Makefile
 create mode 100644 drivers/net/xensock/xensock-dev.c
 create mode 100644 drivers/net/xensock/xensock-proto.c
 create mode 100644 include/net/af_xensock.h
 create mode 100644 include/net/xensock.h
 create mode 100644 include/xen/interface/io/sockif.h

-- 
1.8.2.rc2


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.