Popularity
4.9
Stable
Activity
0.0
Stable
4
4
3
Monthly Downloads: 2
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Network
haskell-openflow alternatives and similar packages
Based on the "Networking" category.
Alternatively, view haskell-openflow alternatives based on common mentions on social networks and blogs.
-
call-haskell-from-anything
Call Haskell functions from any programming language via serialization and dynamic libraries -
PortFusion
Haskell-powered cross-platform transport-layer distributed reverse / forward proxy & tunneling solution – currently available for all TCP protocols (RDP, VNC, HTTP(S), SSH, ...). -
ngx-export
A comprehensive web framework aimed at building custom Haskell handlers for the Nginx Web Server
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of haskell-openflow or a related project?
README
haskell-openflow
OpenFlow v1.0.0 protocol implementation in Haskell. https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.0.0.pdf
Example OpenFlow server:
handleSwitch :: Socket -> SockAddr -> IO ()
handleSwitch sock caddr =
forever $ do
frame <- readOfpFrame sock
case frame of
(OfpFrame (OfpHeader _ _ _ xid) (OfptEchoRequest dat)) -> do
let resp = (OfpFrame (OfpHeader 1 0 0 xid) (OfptEchoReply dat))
sendAll sock $ encode resp
(OfpFrame (OfpHeader _ _ _ xid) (OfptPacketIn (OfpPacketIn bid len inp reason dat))) -> do
let resp = (OfpFrame (OfpHeader 1 0 0 xid) (OfptPacketOut (OfpPacketOut bid inp [(OfpOutput ofppAll 0)] dat)))
sendAll sock $ encode resp
_ -> putStrLn "unhandled packet"
Quickstart:
$ cabal sandbox init
$ cabal install --only-dependencies --enable-tests
$ cabal build