mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-25 02:09:36 +03:00
Updated network.inc for applications.
git-svn-id: svn://kolibrios.org@3272 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b4d539ba9c
commit
82934c24f2
@ -3,6 +3,9 @@ SOCK_STREAM = 1
|
||||
SOCK_DGRAM = 2
|
||||
SOCK_RAW = 3
|
||||
|
||||
; Socket options
|
||||
SO_NONBLOCK = 1 shl 31
|
||||
|
||||
; IP protocols
|
||||
IPPROTO_IP = 0
|
||||
IPPROTO_ICMP = 1
|
||||
@ -13,12 +16,12 @@ IPPROTO_UDP = 17
|
||||
AF_UNSPEC = 0
|
||||
AF_LOCAL = 1
|
||||
AF_INET4 = 2 ; IPv4
|
||||
;AF_INET6 = 28 ; IPv6 (not supported yet)
|
||||
AF_INET6 = 28 ; IPv6 (not supported yet)
|
||||
|
||||
PF_UNSPEC = AF_UNSPEC
|
||||
PF_LOCAL = AF_LOCAL
|
||||
PF_INET4 = AF_INET4
|
||||
;PF_INET6 = AF_INET6
|
||||
PF_INET6 = AF_INET6
|
||||
|
||||
; Flags for addrinfo
|
||||
AI_PASSIVE = 1
|
||||
@ -80,7 +83,7 @@ send fix 75, 6
|
||||
recv fix 75, 7
|
||||
setsockopt fix 75, 8
|
||||
getsockopt fix 75, 9
|
||||
|
||||
socketpair fix 75, 10
|
||||
|
||||
|
||||
struct ARP_entry
|
||||
|
Loading…
Reference in New Issue
Block a user