Line 183:
Line 183:
| 0x30
| 0x30
| ICMPSocket
| ICMPSocket
+
| int domain
|
|
−
|
+
| returns new socket
−
| secret
|-
|-
| 0x31
| 0x31
−
| ICMPPing
+
| ICMPEcho
+
| (vector 2 in 0 out) struct {int socket, u32 has_addr, u64 timeout, struct sockaddr_in addr}, u8 echodata[]
|
|
−
|
+
| echodata is optional/[http://en.wikipedia.org/wiki/Ping#ICMP_packet size limited by MTU]
−
| secret
|-
|-
| 0x32
| 0x32
| ICMPCancel
| ICMPCancel
+
| int socket
|
|
−
|
+
| Cancels an outstanding echo request
−
| secret
|-
|-
| 0x33
| 0x33
| ICMPClose
| ICMPClose
+
| int socket
|
|
|
|
−
| secret
|}
|}