Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/SOCKETCALLS.def

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File size: 955 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 /* -*- c -*-
2 *
3 * These are calls that are invoked via the socketcall mechanism
4 * Note that on most architectures this is simply #included into
5 * SYSCALLS.def.
6 */
7 <?> int socket(int, int, int);
8 <?> int bind(int, struct sockaddr *, int);
9 <?> int connect(int, struct sockaddr *, socklen_t);
10 <?> int listen(int, int);
11 <?> int accept(int, struct sockaddr *, socklen_t *);
12 <?> int getsockname(int, struct sockaddr *, socklen_t *);
13 <?> int getpeername(int, struct sockaddr *, socklen_t *);
14 <?> int socketpair(int, int, int, int *);
15 <?> int sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t);
16 <?> int recvfrom(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *);
17 <?> int shutdown(int, int);
18 <?> int setsockopt(int, int, int, const void *, socklen_t);
19 <?> int getsockopt(int, int, int, void *, socklen_t *);
20 <?> int sendmsg(int, const struct msghdr *, unsigned int);
21 <?> int recvmsg(int, struct msghdr *, unsigned int);