| OLD | NEW |
| 1 /* Copyright (c) 2005-2010, Google Inc. | 1 /* Copyright (c) 2005-2010, Google Inc. |
| 2 * All rights reserved. | 2 * All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 3220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3231 LSS_INLINE int LSS_NAME(socketpair)(int d, int type, int protocol, | 3231 LSS_INLINE int LSS_NAME(socketpair)(int d, int type, int protocol, |
| 3232 int sv[2]) { | 3232 int sv[2]) { |
| 3233 LSS_SC_BODY(4, int, 8, d, type, protocol, sv); | 3233 LSS_SC_BODY(4, int, 8, d, type, protocol, sv); |
| 3234 } | 3234 } |
| 3235 #endif | 3235 #endif |
| 3236 #if defined(__ARM_EABI__) | 3236 #if defined(__ARM_EABI__) |
| 3237 LSS_INLINE _syscall3(ssize_t, recvmsg, int, s, struct kernel_msghdr*, msg, | 3237 LSS_INLINE _syscall3(ssize_t, recvmsg, int, s, struct kernel_msghdr*, msg, |
| 3238 int, flags) | 3238 int, flags) |
| 3239 LSS_INLINE _syscall3(ssize_t, sendmsg, int, s, const struct kernel_msghdr*, | 3239 LSS_INLINE _syscall3(ssize_t, sendmsg, int, s, const struct kernel_msghdr*, |
| 3240 msg, int, flags) | 3240 msg, int, flags) |
| 3241 LSS_INLINE _syscall6(ssize_t, sendto, int, s, const void*, buf, size_t, len, | |
| 3242 int, falgs, const struct kernel_sockaddr*, to, | |
| 3243 unsigned int, tolen) | |
| 3244 LSS_INLINE _syscall2(int, shutdown, int, s, int, how) | |
| 3245 LSS_INLINE _syscall3(int, socket, int, domain, int, type, int, protocol) | |
| 3246 LSS_INLINE _syscall4(int, socketpair, int, d, int, type, int, protocol, | |
| 3247 int*, sv) | |
| 3248 #endif | |
| 3249 #if defined(__ARM_EABI__) | |
| 3250 LSS_INLINE _syscall3(ssize_t, recvmsg, int, s, struct kernel_msghdr*, msg, | |
| 3251 int, flags) | |
| 3252 LSS_INLINE _syscall3(ssize_t, sendmsg, int, s, const struct kernel_msghdr*, | |
| 3253 msg, int, flags) | |
| 3254 LSS_INLINE _syscall6(ssize_t, sendto, int, s, const void*, buf, size_t,len, | 3241 LSS_INLINE _syscall6(ssize_t, sendto, int, s, const void*, buf, size_t,len, |
| 3255 int, flags, const struct kernel_sockaddr*, to, | 3242 int, flags, const struct kernel_sockaddr*, to, |
| 3256 unsigned int, tolen) | 3243 unsigned int, tolen) |
| 3257 LSS_INLINE _syscall2(int, shutdown, int, s, int, how) | 3244 LSS_INLINE _syscall2(int, shutdown, int, s, int, how) |
| 3258 LSS_INLINE _syscall3(int, socket, int, domain, int, type, int, protocol) | 3245 LSS_INLINE _syscall3(int, socket, int, domain, int, type, int, protocol) |
| 3259 LSS_INLINE _syscall4(int, socketpair, int, d, int, type, int, protocol, | 3246 LSS_INLINE _syscall4(int, socketpair, int, d, int, type, int, protocol, |
| 3260 int*, sv) | 3247 int*, sv) |
| 3261 #endif | 3248 #endif |
| 3262 #if defined(__i386__) || defined(__ARM_ARCH_3__) || \ | 3249 #if defined(__i386__) || defined(__ARM_ARCH_3__) || \ |
| 3263 (defined(__mips__) && _MIPS_SIM == _MIPS_SIM_ABI32) | 3250 (defined(__mips__) && _MIPS_SIM == _MIPS_SIM_ABI32) |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3477 } | 3464 } |
| 3478 #endif | 3465 #endif |
| 3479 #endif | 3466 #endif |
| 3480 | 3467 |
| 3481 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) | 3468 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) |
| 3482 } | 3469 } |
| 3483 #endif | 3470 #endif |
| 3484 | 3471 |
| 3485 #endif | 3472 #endif |
| 3486 #endif | 3473 #endif |
| OLD | NEW |