In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "/dev/net/ip/top"

From WiiBrew
< /dev‎ | net
Jump to navigation Jump to search
m (Undo revision 7564 by Jbc (Talk))
Line 2: Line 2:
  
 
Fill me in!
 
Fill me in!
{| style="border-collapse: collapse; padding: 0.2em 0.2em 0.2em 0.2em;"
 
! style="border: 1px solid #ccc; padding: 0.2em; background-color: #cdc;" | Request Number
 
! style="border: 1px solid #ccc; padding: 0.2em; background-color: #ccd;" | Name
 
! style="border: 1px solid #ccc; padding: 0.2em; background-color: #ccc;" | Input
 
! style="border: 1px solid #ccc; padding: 0.2em; background-color: #dc7;" | Output
 
! style="border: 1px solid #ccc; padding: 0.2em; background-color: #dcc;" | Notes
 
{{ SocketRow | 0x1 | SOAccept | 4 bytes? | 0 | secret }}
 
|}
 
  
 
[[/Progress|Function Progress]]
 
[[/Progress|Function Progress]]

Revision as of 23:45, 9 April 2008

Socket Ioctls

Fill me in!

Function Progress

Request number Name input output notes
0x1 SOAccept 4 bytes? 0 secret
0x2 SOBind (int socket, struct sockaddr_in *address) 0
0x3 SOClose 4 bytes?
0x4 SOConnect (int socket, struct sockaddr_in *address) 0
0x5 SOFcntl
0x6 SOGetPeerName
0x7 SOGetSockName
0x8 SOGetSockOpt 0 0x18 bytes
0x9 SOSetSockOpt 0x24 bytes? 0
0xA SOListen (s32 socket, s32 backlog) secret
0xB SOPoll
0xC SORecvFrom (int socket, char * message, int msg_len, int flags)
0xD SOSendTo (int socket, char * message, int msg_len, int flags)
0xE SOShutdown 8 bytes?
0xF SOSocket 0xC bytes (int domain, int type, int protocol) 0
0x10 SOGetHostId none none returns 32-bit numeric IP
0x11 SOGetHostByName (char *hostname) hostent
0x12 SOGetHostByAddr
0x13 SOGetNameInfo (vector) ?
0x15 SOInetAtoN IPv4 address (string) IPv4 address (4 bytes) inet_aton()
0x16 SOInetPtoN
0x17 SOInetNtoP secret
0x18 SOGetAddrInfo (vector) ?
0x19 SOSockAtMark secret
0x1C SOGetInterfaceOpt (vector) ?
0x1D SOSetInterfaceOpt (vector) ?
0x1E SOSetInterface secret
0x1F SOStartup 0 0
0x30 ICMPSocket secret
0x31 ICMPPing secret
0x32 ICMPCancel secret
0x33 ICMPClose secret