summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchctl
AgeCommit message (Expand)AuthorFilesLines
2018-10-24As per advice from claudio@, further restrict the pledge in switchctl(8).akoshibe1-1/+4
2018-10-21Add the ability to query a switch(4) instance via its control device. Alsoakoshibe4-9/+37
2018-10-15struct sockaddr_storage is guaranteed to be large enough, no need to checkflorian1-9/+1
2017-08-01#if 0 unused chunk for nowderaadt1-1/+5
2017-07-06/tmp/cvsa9y4jmespie1-2/+2
2017-01-31Use the sizeof operator on a struct not a pointer to one.jsg1-2/+2
2017-01-09log_verbose() -> log_setverbose()reyk1-3/+3
2016-12-22Don't convert endianess for flow-mod command field, it is a 8 bit field.rzalamena1-3/+3
2016-12-02Implement the connection state machine for OpenFlow 1.0 and 1.3 to detectrzalamena1-12/+42
2016-11-24Add simple client to add flows from switchctl. Not finished yet, butreyk4-52/+339
2016-11-18Unbreak the tree: OFP_GROUP_ANY was renamed to OFP_GROUP_ID_ANY.tb1-2/+3
2016-11-17Add ofp_validate() for all supported versions. Will be used by switchctl,reyk1-2/+2
2016-11-15- Ar arg Ar arg is better written as Ar arg argjmc1-7/+7
2016-11-15Add a socket_setport() util function, in addition to socket_getport(),reyk1-1/+6
2016-11-15Describe the 'dump' commandreyk1-3/+22
2016-11-15swap dump arguments to expect the address firstreyk1-6/+12
2016-11-15Add a simple openflow client to dump switch information. Thereyk5-38/+266
2016-10-20spread the Xr! as a bonus, typo fix in switchd.conf.5 too;jmc1-3/+4
2016-10-12Start reworking the "device" support in switchd: Once connected, areyk4-86/+126
2016-09-28Adjust the mac_port format string since it got upgraded to 32bitsreyk1-2/+2
2016-07-20pledge switchctlreyk1-1/+9
2016-07-19The -DNAME=switch flag is an artifact from the PoC when I couldn'treyk1-9/+6
2016-07-19Remove unused variablereyk1-7/+1
2016-07-19Import switchd(8), a basic WIP OpenFlow implementation for OpenBSD.reyk5-0/+808