Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3271 → Rev 3272

/kernel/branches/net/applications/network.inc
3,6 → 3,9
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
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,9 → 83,9
recv fix 75, 7
setsockopt fix 75, 8
getsockopt fix 75, 9
socketpair fix 75, 10
 
 
 
struct ARP_entry
IP dd ?
MAC dp ?