Clj-protocol 1.1.0
Declarative Protocols and Binary Formats in ClojureScript.
Installation
To install, add the following dependency to your project or build file:
[clj-protocol "1.1.0"]
Topics
Namespaces
dhcp.core
DHCP protocol definition.
Public variables and functions:
- default-response
- DHCP-DEFAULTS
- DHCP-FLAGS
- DHCP-HEADER
- HEADERS-FIXED
- MAX-BUF-SIZE
- MSG-TYPE-BCAST-LOOKUP
- MSG-TYPE-LIST
- MSG-TYPE-LOOKUP
- MSG-TYPE-RESP-LOOKUP
- OPTS-ETHERBOOT-LIST
- OPTS-ETHERBOOT-LOOKUP
- OPTS-LIST
- OPTS-LOOKUP
- OPTS-RELAY-AGENT-LIST
- OPTS-RELAY-AGENT-LOOKUP
- read-dhcp
- RECV-PORT
- SEND-PORT
- write-dhcp
dhcp.mac2ip-server
Multiprocess DHCP server that does direct mapping of MAC to IP addresses.
Public variables and functions:
dhcp.node-client
Framework for creating DHCP client implementations. Also includes a runnable DHCP client.
Public variables and functions:
protocol.platform
Protocol platform specific functions
Public variables and functions:
- arr-fill
- big-int
- bits->bytes
- buf->vec
- buf-alloc
- buf-cmp
- buf-fill
- buf-from
- buf-len
- buf-read-uint16-be
- buf-read-uint16-le
- buf-read-uint32-be
- buf-read-uint32-le
- buf-read-uint64-be
- buf-read-uint64-le
- buf-read-uint8
- buf-read-utf8
- buf-slice
- buf-slurp
- buf-write-uint16-be
- buf-write-uint16-le
- buf-write-uint32-be
- buf-write-uint32-le
- buf-write-uint64-be
- buf-write-uint64-le
- buf-write-uint8
- buf-write-utf8
- bytes->bits
- Err
- num->string
- pr-num
- remove-nulls
- string->num
protocol.tlvs
Read, write, and manipulate TLV (type-length-value) data.
Public variables and functions:
protocol.util
Protocol platform specific print and debug utilities