summaryrefslogtreecommitdiff
path: root/usr.sbin/switchd
AgeCommit message (Expand)Author
2016-11-16Sync switchd(8) and vmd(8) with the latest proc.c changes. This syncRafael Zalamena
2016-11-15Add a socket_setport() util function, in addition to socket_getport(),Reyk Floeter
2016-11-11Move ofp_validate_header() into ofp_common.c. No functional change.Reyk Floeter
2016-11-11Remove "workarounds" for the read and write path that were needed toReyk Floeter
2016-11-07Implement support for flow-mod messages validation, this includes:Rafael Zalamena
2016-11-07Fix a small parsing error in packet-in: don't count ofp_match header bytesRafael Zalamena
2016-11-04Empty -> empty in log messagesReyk Floeter
2016-11-04Move ofp_output() into ofp_common.c and few function prototypes intoReyk Floeter
2016-10-20spread the Xr! as a bonus, typo fix in switchd.conf.5 too;Jason McIntyre
2016-10-13Implement simple feature request/reply support so we can get moreRafael Zalamena
2016-10-12Start reworking the "device" support in switchd: Once connected, aReyk Floeter
2016-10-12Teach switchd(8) how to send set_config to the switch so we can be ableRafael Zalamena
2016-10-12copy updated log.c from vmd: for correctness, save errno when doingReyk Floeter
2016-10-11Sync proc.c file vmd(8) and switchd(8).Rafael Zalamena
2016-10-07Move some shared code into a new file.Reyk Floeter
2016-10-07Add support for multipart replies and implement a simple ofp 1.3.5 errorRafael Zalamena
2016-10-06Switch switchd to the _switchd user.Reyk Floeter
2016-10-05Sync with httpd(8) proc file. Check for dup2() usage to avoid oldd == newdRafael Zalamena
2016-10-05Call setsid() to create a new session for the executed processes.Reyk Floeter
2016-10-05sync proc.c with vmd: add p_pw to specify a non-standard user for a process.Reyk Floeter
2016-10-05Remove ofp_validate_header() hereReyk Floeter
2016-10-05Move ofp_validate_header() to ofp10.c until we have a better placeReyk Floeter
2016-10-05I added a second buffer as fix for the fact that /dev/switch doesn'tReyk Floeter
2016-10-05More debuggingReyk Floeter
2016-09-30Remove local copy of ofp.h and use net/ofp.h insteadReyk Floeter
2016-09-30Disable write events if there is nothing to write.Reyk Floeter
2016-09-30Open next available tap(4) device instead of just tap0Reyk Floeter
2016-09-30Implement socket server code that properly handles async I/O, partialReyk Floeter
2016-09-29Add print_hex() for debugging of received packets (from iked)Reyk Floeter
2016-09-29Rename ofp_send to ofp_outputReyk Floeter
2016-09-29Teach switchd(8) how to request flow entries and how to validate theRafael Zalamena
2016-09-29handle AF_UNIX sockaddrsReyk Floeter
2016-09-29Replace memset in ibuf_zero with explicit_bzero as done in iked.Reyk Floeter
2016-09-29Use the macro OFP_ALIGN() to find alignment instead of rolling my own way.Rafael Zalamena
2016-09-29Teach switchd(8) how to ask for and debug equipment descriptionRafael Zalamena
2016-09-29Teach switchd(8) some multipart table properties request/parse code toRafael Zalamena
2016-09-28Use the packed attribute for every structure that is used in the wireRafael Zalamena
2016-09-28Always ask the switch to send the whole packet unbuffered so we canRafael Zalamena
2016-09-27Fix previous: don't attempt to write a NULL packet to the tap device.Reyk Floeter
2016-09-27OpenFlow PACKET_IN can send truncated packets; this only makes senseReyk Floeter
2016-09-26Teach switchd(8) how to create flows for new connections using OpenFlowRafael Zalamena
2016-09-26Set pkt_buf variable on incoming packet_in messages.Rafael Zalamena
2016-09-26Fix a memory leak and a loop in the ofp_read() that happens every time aRafael Zalamena
2016-09-26Enable more debug messages to help developing flow modification messages.Rafael Zalamena
2016-09-25Correct the flag listing for switchd(8) and add a files section for theJonathan Gray
2016-09-23It is ok to call free() on NULL pointers.Rafael Zalamena
2016-09-20Unbreak logging for children process in switchd(8). log_init/verbose()Rafael Zalamena
2016-09-19Fix 'const char *' qualifier removal warning by casting it out withRafael Zalamena
2016-09-18Kill p_env from proc.c. The p_env variable was not being used seriously andRafael Zalamena
2016-09-15Teach switchd(8) how to shutdown using close() instead of kill().Rafael Zalamena