summaryrefslogtreecommitdiff
path: root/sys/net/switchofp.c
AgeCommit message (Expand)Author
2017-07-19The proper way to check for successful allocation of an mbuf cluster isClaudio Jeker
2017-05-12Make a kernel with switch(4) but without INET6 compile again.Alexander Bluhm
2017-03-01Remove a misleading comment asking if a timeout needs a LOCK, it doesn't.Martin Pieuchot
2017-01-24Kill some unused variables found by clang.Rafael Zalamena
2017-01-17Make switch(4) compile with debug again.Rafael Zalamena
2017-01-17Initialize swas_actions for set-field with the expected pointer to theRafael Zalamena
2017-01-17Fix a panic when set-field with VLAN is set, but no VLANs wereRafael Zalamena
2017-01-17Clean-up switch(4) device by removing excess prototypes, verbose debugsRafael Zalamena
2017-01-17Add more action specific validations, unbreak instructions validationRafael Zalamena
2017-01-16spacingReyk Floeter
2017-01-16Add missing declarations found with -Wmissing-declarationsReyk Floeter
2017-01-16The term "pipline" is used in many places, rename it to pipeline.Reyk Floeter
2017-01-16Removed unused function that is a leftover from the old debug code.Reyk Floeter
2017-01-12Don't write configuration request replies outside of the packetRafael Zalamena
2017-01-11Remove m_pullup() from packet-out since it is not doing anything anymoreRafael Zalamena
2016-12-22Validate the OFP header to make sure it always have a sane size, alsoRafael Zalamena
2016-12-05Propagate error type in validation functions that callRafael Zalamena
2016-12-05Remove the flow id from the flow entry struct and the global variable,Rafael Zalamena
2016-12-05Add missing prototypes for all functions declared in the file.Rafael Zalamena
2016-12-02Limit the amount of flows that can be installed on flow tables.Rafael Zalamena
2016-12-02Use the right variable for storing the maximum group table size and useRafael Zalamena
2016-12-02Fix flow-removed OFP header xid value: use htonl() instead of htons() forRafael Zalamena
2016-11-30Fix another free() with wrong size panic when handling group-mod bucketsRafael Zalamena
2016-11-29Remove debugging code that was always enabled and printed parsedReyk Floeter
2016-11-28Implement more validations for switch(4) groups handling: check for invalidRafael Zalamena
2016-11-28Rename "flowmax" to "maxflow" and give each switch(4) ioctl aReyk Floeter
2016-11-21Simplify pad calculation for flow match on swofp_put_flow().Rafael Zalamena
2016-11-21Include the OFP header of the message that caused the error on errorRafael Zalamena
2016-11-20Extend the DLT_OPENFLOW header to include the switch datapath id.Reyk Floeter
2016-11-18Define a group_id map and rename the defines accordingly.Reyk Floeter
2016-11-18Fix a panic introduced with the memory leak correction. Use the savedRafael Zalamena
2016-11-16Add new DLT_OPENFLOW link-type to allow using tcpdump to debug switch(4),Reyk Floeter
2016-11-10Add support for partial writes in switchwrite so we can use multipleRafael Zalamena
2016-11-10Fix swofp_send_error mbuf handling so it doesn't leak mbufs and set theRafael Zalamena
2016-11-07Add validation for input data that we use as switch configuration, like:Rafael Zalamena
2016-11-07Remove duplicated call for splnet() inside the swofp_mp_recv_port_stats()Rafael Zalamena
2016-11-07Change swofp_flow_entry_put_instructions() parameters to be like the otherRafael Zalamena
2016-11-03Fix debug message to print the presence of more flag correctly.Rafael Zalamena
2016-11-03Always call if_put() during the interface iteration on port status multipartRafael Zalamena
2016-10-31Improve ofp_error message accurateness: use parameterized error typeRafael Zalamena
2016-10-31Change validation functions prototypes: use the parameter variable toRafael Zalamena
2016-10-28The function swofp_flow_entry_put_instructions() doesn't need to receiveRafael Zalamena
2016-10-28Change swofp_flow_table_add() malloc() behaviour to be non-blocking likeRafael Zalamena
2016-10-28Simplify the OFP_FLOW_MOD_MSG_INSTRUCTION_OFFSET() by using another macroRafael Zalamena
2016-10-28When doing pktout we must run the classifier again, because some action(s)Rafael Zalamena
2016-10-27Avoid a use after free in swofp_flow_timeout(). TheJonathan Gray
2016-10-23Don't free mbuf on error during swofp_flow_entry_put_instructions() parse,Rafael Zalamena
2016-10-21tag large constants as ULL to fix the build of switch(4) on ILP32 archsJonathan Gray
2016-10-19Lets just be safe and check M_PREPEND return values for functions thatRafael Zalamena
2016-10-12When sending a action_output for a table-miss to the controller theRafael Zalamena