Difference between revisions of "/dev/net/ip/top"
Jump to navigation
Jump to search
(added new column) |
(you're welcome, crediar) |
||
Line 2: | Line 2: | ||
Fill me in! | Fill me in! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| border=1 | {| border=1 | ||
Line 30: | Line 7: | ||
|Request number || Name || input || output || notes | |Request number || Name || input || output || notes | ||
|- | |- | ||
− | | 0x1 | + | | 0x1 || SOAccept || 4 bytes? || 0 || secret |
|- | |- | ||
− | | 0x2 || SOBind || ? || | + | | 0x2 || SOBind || 0x24 bytes? || 0 || ? |
|- | |- | ||
− | | 0x3 || SOClose || ? || ? || ? | + | | 0x3 || SOClose || 4 bytes? || ? || ? |
|- | |- | ||
− | | 0x4 || SOConnect || ? || | + | | 0x4 || SOConnect || 0x24 bytes? || 0 || ? |
|- | |- | ||
| 0x5 || SOFcntl || ? || ? || ? | | 0x5 || SOFcntl || ? || ? || ? | ||
Line 42: | Line 19: | ||
| 0x7 || SOGetSockName || ? || ? || ? | | 0x7 || SOGetSockName || ? || ? || ? | ||
|- | |- | ||
− | | 0x8 || SOGetSockOpt || | + | | 0x8 || SOGetSockOpt || 0 || 0x18 bytes || ? |
|- | |- | ||
− | | 0x9 || SOSetSockOpt || | + | | 0x9 || SOSetSockOpt || 0x24 bytes || 0 || ? |
|- | |- | ||
− | | 0xA | + | | 0xA || SOListen || 8 bytes? || ? || secret |
|- | |- | ||
| 0xB || SOPoll || ? || ? || ? | | 0xB || SOPoll || ? || ? || ? | ||
Line 54: | Line 31: | ||
| 0xD || SOSend / SOSendTo || (vector) ? || ? || ? | | 0xD || SOSend / SOSendTo || (vector) ? || ? || ? | ||
|- | |- | ||
− | | 0xE || SOShutdown || ? || | + | | 0xE || SOShutdown || 8 bytes? || 0 || ? |
|- | |- | ||
− | | 0xF || __SOCreateSocket || ? || | + | | 0xF || __SOCreateSocket || 0xC bytes? || 0 || ? |
|- | |- | ||
− | | 0x10 || SOGetHostId || none || | + | | 0x10 || SOGetHostId || none || none || probably returns 32-bit numeric IP |
|- | |- | ||
| 0x11 || SOGetHostByName || ? || ? || ? | | 0x11 || SOGetHostByName || ? || ? || ? | ||
|- | |- | ||
− | | 0x15 || SOInetAtoN || | + | | 0x15 || SOInetAtoN || hostname (null-terminated string)|| 4 bytes || does DNS lookup |
|- | |- | ||
| 0x16 || SOInetPtoN || ? || ? || ? | | 0x16 || SOInetPtoN || ? || ? || ? |
Revision as of 18:14, 1 March 2008
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? | 0 | ? |
0xF | __SOCreateSocket | 0xC bytes? | 0 | ? |
0x10 | SOGetHostId | none | none | probably returns 32-bit numeric IP |
0x11 | SOGetHostByName | ? | ? | ? |
0x15 | SOInetAtoN | hostname (null-terminated string) | 4 bytes | does DNS lookup |
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 |