| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | reset the io event when data is queued. | 2016-11-24 | 3 | -33/+17 | |
| | | | | | | | remove all calls to io_reload() which are now unnecessary. ok gilles@ sunil@ | ||||
| * | Don't attempt to call vm_remove() with a NULL vm: some functions like | 2016-11-22 | 1 | -6/+7 | |
| | | | | | | | config_getvm() already removed the vm on failure! Found by mlarkin@ | ||||
| * | Add "features request" support and reply validation. | 2016-11-22 | 1 | -13/+66 | |
| | | | | | ok reyk@ | ||||
| * | Fix error path of config_setvm() and its callers. This unbreaks | 2016-11-22 | 2 | -52/+31 | |
| | | | | | | | | loading of invalid kernel files. Reported by mlarkin@ OK mlarkin@ | ||||
| * | Restore previous errno after log_warn*() to make sure that it never | 2016-11-22 | 1 | -1/+3 | |
| | | | | | | | alters it. OK mlarkin@ | ||||
| * | Implement support for version negotiation using hello messages. This | 2016-11-22 | 5 | -19/+200 | |
| | | | | | | | | also prevents connections from switching the version in the middle of the operation. tweak from and ok reyk@ | ||||
| * | Fix printf of NULL for the FILTERERR case when the tempfile is empty | 2016-11-22 | 1 | -2/+2 | |
| | | | | | or missing. From Sebastien Marie. | ||||
| * | Make sure /var/syspatch/$OSREV is not on a read-only mount-point when doing | 2016-11-22 | 1 | -2/+2 | |
| | | | | | a rollback. | ||||
| * | Fix OFP spelling for version bitmap define in ofp header and tcpdump, also | 2016-11-22 | 1 | -3/+3 | |
| | | | | | | | change the truncation message in hello with the standard one. ok reyk@ | ||||
| * | There is no need for res when there is already ret. | 2016-11-22 | 1 | -5/+4 | |
| | | |||||
| * | Insert disabled VMs into vmd(8)'s queues and allow vmctl(8) to display them. | 2016-11-22 | 4 | -15/+66 | |
| | | | | | | | | | Tested by Jon Bernard and reyk@. OK reyk@, no objections mlarkin@. Thanks | ||||
| * | Allow passing an explicit return code to sp_err() in case we don't want to exit | 2016-11-22 | 1 | -21/+24 | |
| | | | | | | | right away. Factorise some common stuff. Be consistent in variables subtitution. | ||||
| * | Normalize the io input buffer internally when reinstalling the io event, so | 2016-11-22 | 5 | -19/+11 | |
| | | | | | | | the caller doesn't have to bother with this. ok gilles@ sunil@ | ||||
| * | Do more strict checks of OXM by looking at mask restrictions and add | 2016-11-21 | 1 | -7/+48 | |
| | | | | | | | missing OXM type (IP_PROTO). ok reyk@ | ||||
| * | Add truncation validation for packet-out and reuse the action validation | 2016-11-21 | 1 | -31/+36 | |
| | | | | | | | function instead of manually rolling the code again. ok reyk@ | ||||
| * | Fix jumbo regress test for ofp10.c and use htonl() with OFP_PKTOUT_NO_BUFFER | 2016-11-21 | 2 | -8/+8 | |
| | | | | | | | for consistency. ok reyk@ | ||||
| * | Implement better table features validation. With this we get free switchctl | 2016-11-21 | 1 | -18/+161 | |
| | | | | | | | display of table features. ok reyk@ | ||||
| * | Check return value of tls_config_set_protocols(3) and log if it fails | 2016-11-21 | 1 | -3/+9 | |
| | | | | | OK bluhm@ | ||||
| * | Use the same basename for the rollback tarball as the original patch.sig. | 2016-11-21 | 1 | -15/+21 | |
| | | |||||
| * | Tweak comment. Reverse cmp logic while here. | 2016-11-21 | 1 | -3/+3 | |
| | | |||||
| * | replace calls to iobuf_*() functions with the corresponding io_*() wrappers. | 2016-11-21 | 5 | -77/+67 | |
| | | | | | ok sunil@ gilles@ | ||||
| * | Parse flow-status instructions in multipart replies, so we can see what | 2016-11-21 | 1 | -3/+25 | |
| | | | | | instructions are used by the flow. | ||||
| * | Remove some old code that isn't needed anymore. | 2016-11-20 | 1 | -11/+2 | |
| | | |||||
| * | Extend the DLT_OPENFLOW header to include the switch datapath id. | 2016-11-20 | 1 | -8/+9 | |
| | | | | | OK rzalamena@ | ||||
| * | add dedicated functions to set fd and callback on a struct io. | 2016-11-20 | 7 | -27/+47 | |
| | | | | | | | simplify io_init() prototype. ok sunil@ gilles@ | ||||
| * | Make tcpdump indicate basic rates listed in beacons with an asterisk. | 2016-11-19 | 1 | -3/+5 | |
| | | | | | ok tb@ | ||||
| * | Print metric and type for "redistribute" in ospfd -v. | 2016-11-19 | 1 | -6/+9 | |
| | | | | | From Remi Locherer, ok claudio | ||||
| * | Unbreak the tree: OFP_GROUP_ANY was renamed to OFP_GROUP_ID_ANY. | 2016-11-18 | 1 | -2/+3 | |
| | | | | | fix found joint with rpe, ok reyk | ||||
| * | The special LOCAL and CONTROLLER ports are valid source ports that | 2016-11-18 | 2 | -10/+12 | |
| | | | | | | | should be learned by the cache. Fixes "addlocal" ports on switch(4). OK rzalamena@ | ||||
| * | Make switchd(8) use more strings just like tcpdump(8). While here remove | 2016-11-18 | 1 | -73/+67 | |
| | | | | | action field display from features request. | ||||
| * | Add support for printing the missing OpenFlow set-queue action. | 2016-11-18 | 1 | -2/+17 | |
| | | |||||
| * | Don't print the field 'actions' on features reply, because in the new | 2016-11-18 | 1 | -3/+3 | |
| | | | | | OpenFlow 1.3.5 it is a reserved field that is not being used. | ||||
| * | miss_send_len can also be a CONTROLLER_MAXLEN string not just a number. | 2016-11-18 | 1 | -3/+5 | |
| | | | | | Requested by rzalamena@ | ||||
| * | Updates tcpdump's OpenFlow printer to use the string maps from switchd | 2016-11-18 | 4 | -88/+586 | |
| | | | | | | | (manually synced). Also make the output a bit more like other printers. OK rzalamena@ | ||||
| * | Define a group_id map and rename the defines accordingly. | 2016-11-18 | 2 | -3/+4 | |
| | | | | | Requested by rzalamena@ | ||||
| * | Define constmap in ofp_map.h to be shared along with ofp_map.c | 2016-11-18 | 4 | -16/+12 | |
| | | |||||
| * | Remove leading _ from include guards as this violates the reserved space. | 2016-11-18 | 3 | -12/+12 | |
| | | |||||
| * | Add support for multiple listening sockets | 2016-11-18 | 5 | -51/+87 | |
| | | | | | | | One can now specify multiple "listen on" statements. The default is to listen on 0.0.0.0 and ::, which means better handling of dual-stack setups. ok sthen@ on a previous version, input and ok reyk@. | ||||
| * | Add more maps to print. As discussed with rzalamena@ | 2016-11-18 | 1 | -1/+6 | |
| | | |||||
| * | Exclude the description field from the generated maps by default. | 2016-11-18 | 1 | -5/+18 | |
| | | |||||
| * | Small code improvements: | 2016-11-18 | 1 | -35/+47 | |
| | | | | | | | | - Free ibufs on validation failures; - Don't use htons() for flow-mod command; ok reyk@ | ||||
| * | Fix the flowmod header to send the correct command and buffer id. | 2016-11-18 | 1 | -1/+7 | |
| | | | | | OK rzalamena@ | ||||
| * | Define the struct constmap in each generated C file. | 2016-11-18 | 1 | -3/+7 | |
| | | |||||
| * | Fix file reference in generated comment OK rzalamena@ | 2016-11-18 | 1 | -3/+3 | |
| | | |||||
| * | fix regression introduced in previous commit | 2016-11-18 | 2 | -41/+58 | |
| | | | | | | | spotted by Heiko Zimmermann ok gilles@ | ||||
| * | Add io api functions for dealing with buffered data, as wrapper around | 2016-11-17 | 4 | -10/+133 | |
| | | | | | | | their iobuf counterparts. ok gilles@ sunil@ | ||||
| * | Fix some styles issues: break big lines and remove some useless spaces. | 2016-11-17 | 3 | -8/+11 | |
| | | |||||
| * | Re-add the root user checks in the quirks; that part is to be removed soon. | 2016-11-17 | 1 | -1/+5 | |
| | | |||||
| * | Check the return value of tls_config_set_protocols(), now that it returns | 2016-11-17 | 1 | -4/+7 | |
| | | | | | an int. | ||||
| * | Move OCSP loading into a separate function - it is not part of the keypair | 2016-11-17 | 3 | -22/+42 | |
| | | | | | | | and this way we can give a separate specific error message. ok beck@ reyk@ | ||||
