blob: 8923e18aa12e7b32c1d17dd17dfc5e2c3ead1a84 (
plain)
ofs | hex dump | ascii |
---|
0000 | 52 56 be 03 81 e8 28 01 5e bf f8 81 66 8b 2d 83 7d 04 00 0f 84 ca 00 80 7c ff 00 74 3e 66 8b 1d | RV....(.^...f.-.}.......|..t>f.. |
0020 | 66 31 c0 b0 7f 39 45 04 7f 03 8b 45 04 29 45 04 66 01 05 c7 04 10 00 89 44 02 66 89 5c 08 c7 44 | f1...9E....E.)E.f.......D.f.\..D |
0040 | 06 00 70 50 66 31 c0 89 44 04 66 89 44 0c b4 42 cd 13 0f 82 9f 00 bb 00 70 eb 56 66 8b 05 66 31 | ..pPf1..D.f.D..B........p.Vf..f1 |
0060 | d2 66 f7 34 88 54 0a 66 31 d2 66 f7 74 04 88 54 0b 89 44 0c 3b 44 08 7d 74 8b 04 2a 44 0a 39 45 | .f.4.T.f1.f.t..#include <linux/net.h>
extern int socketcall(int callno,long* args);
int socket(int a, int b, int c) {
#ifdef __i386__
return socketcall(SYS_SOCKET, (long*)&a);
#else
unsigned long args[] = { a, b, c };
return socketcall(SYS_SOCKET, args);
#endif
}
|