CVSROOT: /cvs Module name: src Changes by: r...@cvs.openbsd.org 2016/09/30 05:57:57
Modified files: usr.sbin/switchd: Makefile imsg_util.c ofcconn.c ofp.c ofp10.c ofp13.c parse.y switchd.c switchd.h types.h util.c Added files: usr.sbin/switchd: ofrelay.c Log message: Implement socket server code that properly handles async I/O, partial messages, multiple messages per buffer and important things like connection limits and file descriptor accounting. It works with TCP connections as well as switch(4). The ofrelay.c part replaces networking that was in ofp.c and will soon handle all socket connections of switchd. It is called "ofrelay" because it will be used as client, server, and forwarder. OK rzalamena@