summaryrefslogtreecommitdiff
path: root/sys/net/switchofp.c
AgeCommit message (Expand)Author
2018-12-28Fix mbuf releated crashes in switch(4). They have been found byAlexander Bluhm
2018-08-21Fix alignment fault in switchd(8) on sparc64. Use memcpy to set oxm_value,akoshibe
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2017-08-11Fix out-of-bounds read when looking up the flow-mod handler.Reyk Floeter
2017-08-11Set free'd tables to NULL in swofp_flow_entry_instruction_free().Reyk Floeter
2017-08-11Priority is stored in the vlan_pcp field not in the vlan_vid field.Reyk Floeter
2017-08-11Fix copy-paste error: first check is on "target", second check is on "key".Reyk Floeter
2017-08-11Instead of repeating the same return statement in both cases of aReyk Floeter
2017-08-11Fix out-of-bounds read when looking up the multipart message handler.Reyk Floeter
2017-08-11Fix out-of-bounds read when looking up the message handler.Reyk Floeter
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