diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-02-29 20:54:34 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-02-29 20:54:34 -0800 |
commit | 26a58a0d7fc48b9e609808593c830d74b15750b5 (patch) | |
tree | 9102f9c0b0175da784e62ee8cdadb56b7cf906a6 /lisplib.c | |
parent | d50725ab1a9055fd3f0c83c90c9fb71bfd16c205 (diff) | |
download | txr-26a58a0d7fc48b9e609808593c830d74b15750b5.tar.gz txr-26a58a0d7fc48b9e609808593c830d74b15750b5.tar.bz2 txr-26a58a0d7fc48b9e609808593c830d74b15750b5.zip |
Functions for address prefixes to slash notation.
* lisplib.c (sock_set_entries): Autload entries for
str-inaddr-net and str-in6addr-net.
* share/txr/stdlib/socket.tl (str-inaddr-net,
str-in6addr-net): New functions.
* txr.1: Documented str-inaddr, str-in6-addr,
str-inaddr-net and str-in6addr-net.
Diffstat (limited to 'lisplib.c')
-rw-r--r-- | lisplib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -291,6 +291,7 @@ static val sock_set_entries(val dlt, val fun) lit("ai-v4mapped"), lit("ai-all"), lit("ai-addrconfig"), lit("ai-numericserv"), lit("str-inaddr"), lit("str-in6addr"), + lit("str-inaddr-net"), lit("str-in6addr-net"), nil }; set_dlt_entries(dlt, name, fun); |