patch-2.1.18 linux/include/linux/socket.h
Next file: linux/include/linux/symtab_begin.h
Previous file: linux/include/linux/netdevice.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Dec 22 20:57:49 1996
- Orig file:
v2.1.17/linux/include/linux/socket.h
- Orig date:
Sun Dec 22 16:37:41 1996
diff -u --recursive --new-file v2.1.17/linux/include/linux/socket.h linux/include/linux/socket.h
@@ -34,9 +34,9 @@
void * msg_name; /* Socket name */
int msg_namelen; /* Length of name */
struct iovec * msg_iov; /* Data blocks */
- size_t msg_iovlen; /* Number of blocks */
+ __kernel_size_t msg_iovlen; /* Number of blocks */
void * msg_control; /* Per protocol magic (eg BSD file descriptor passing) */
- size_t msg_controllen; /* Length of cmsg list */
+ __kernel_size_t msg_controllen; /* Length of cmsg list */
unsigned msg_flags;
};
@@ -47,7 +47,7 @@
*/
struct cmsghdr {
- size_t cmsg_len; /* data byte count, including hdr */
+ __kernel_size_t cmsg_len; /* data byte count, including hdr */
int cmsg_level; /* originating protocol */
int cmsg_type; /* protocol-specific type */
unsigned char cmsg_data[0];
@@ -105,7 +105,6 @@
struct ucred
{
- /* Should we be using __kernel_*_t here ?? */
__kernel_pid_t pid;
__kernel_uid_t uid;
__kernel_gid_t gid;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov