/dev/net/ip/top

< /dev‎ | net

Socket Ioctls

Fill me in!

Request number Name input output notes
0x1 SOAccept 4 bytes? 0 secret
0x2 SOBind 0x24 bytes? 0 ?
0x3 SOClose 4 bytes? ? ?
0x4 SOConnect 0x24 bytes? 0 ?
0x5 SOFcntl ? ? ?
0x7 SOGetSockName ? ? ?
0x8 SOGetSockOpt 0 0x18 bytes ?
0x9 SOSetSockOpt 0x24 bytes? 0 ?
0xA SOListen 8 bytes? ? secret
0xB SOPoll ? ? ?
0xC SORead / SORecvFrom / SORecv (vector) ? ? ?
0xD SOSend / SOSendTo (vector) ? ? ?
0xE SOShutdown 8 bytes? ? ?
0xF __SOCreateSocket 0xC bytes? 0 ?
0x10 SOGetHostId none none probably returns 32-bit numeric IP
0x11 SOGetHostByName ? ? ?
0x15 SOInetAtoN IPv4 address (string) 4 bytes, IPv4 address inet_aton()
0x16 SOInetPtoN ? ? ?
0x17? SOInetNtoP ? ? secret
0x18 SOGetAddrInfo (vector) ? ? ?
0x1C SOGetInterfaceOpt (vector) ? ? ?
0x1D SOSetInterfaceOpt (vector) ? ? ?
? SOSockAtMark ? ? secret
? SOSetInterface ? ? secret
? ICMPSocket ? ? secret
? ICMPPing ? ? secret
? ICMPCancel ? ? secret
? ICMPClose ? ? secret