mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-22 07:09:18 +02:00
Adding ICMP protocol constant.
This commit is contained in:
parent
f759076d2b
commit
60ca91f19a
2 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
address-family/unix address-family/inet address-family/inet6
|
address-family/unix address-family/inet address-family/inet6
|
||||||
address-family/unspecified
|
address-family/unspecified
|
||||||
socket-type/stream socket-type/datagram socket-type/raw
|
socket-type/stream socket-type/datagram socket-type/raw
|
||||||
ip-proto/ip ip-proto/tcp ip-proto/udp
|
ip-proto/ip ip-proto/icmp ip-proto/tcp ip-proto/udp
|
||||||
ai/passive ai/canonname ai/numeric-host
|
ai/passive ai/canonname ai/numeric-host
|
||||||
get-socket-option set-socket-option! level/socket
|
get-socket-option set-socket-option! level/socket
|
||||||
socket-opt/debug socket-opt/broadcast socket-opt/reuseaddr
|
socket-opt/debug socket-opt/broadcast socket-opt/reuseaddr
|
||||||
|
|
|
@ -87,6 +87,7 @@
|
||||||
(define-c-const int (socket-type/datagram "SOCK_DGRAM"))
|
(define-c-const int (socket-type/datagram "SOCK_DGRAM"))
|
||||||
(define-c-const int (socket-type/raw "SOCK_RAW"))
|
(define-c-const int (socket-type/raw "SOCK_RAW"))
|
||||||
(define-c-const int (ip-proto/ip "IPPROTO_IP"))
|
(define-c-const int (ip-proto/ip "IPPROTO_IP"))
|
||||||
|
(define-c-const int (ip-proto/icmp "IPPROTO_ICMP"))
|
||||||
(define-c-const int (ip-proto/tcp "IPPROTO_TCP"))
|
(define-c-const int (ip-proto/tcp "IPPROTO_TCP"))
|
||||||
(define-c-const int (ip-proto/udp "IPPROTO_UDP"))
|
(define-c-const int (ip-proto/udp "IPPROTO_UDP"))
|
||||||
(define-c-const int (ai/passive "AI_PASSIVE"))
|
(define-c-const int (ai/passive "AI_PASSIVE"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue