Common Lisp utility functions for working with IPs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

24 lines
517 B

;;;; package.lisp
(defpackage #:ip-utils
(:use #:cl)
(:import-from #:cl-ppcre
#:regex-replace
#:split)
(:import-from #:split-sequence
#:split-sequence)
(:import-from #:trivia
#:match)
(:export #:ipv4
#:ipv6
#:ipv4-p
#:ipv6-p
#:v4-network
#:v6-network
#:network-min-ip
#:network-max-up
#:ip-on-network-p))