00001 00008 /* (c) 2007 Technische Universitaet Dresden 00009 * This file is part of DROPS, which is distributed under the terms of the 00010 * GNU General Public License 2. Please see the COPYING file for details. 00011 */ 00012 #ifndef __L4VFS_INCLUDE_COMM_DEFS_H_ 00013 #define __L4VFS_INCLUDE_COMM_DEFS_H_ 00014 00015 #define L4VFS_WRITE_RCVBUF_SIZE 65536 00016 00017 //#include <sys/un.h> // for 'struct sockaddr_un' 00018 //#define L4VFS_SOCKET_MAX_ADDRLEN (sizeof(struct sockaddr_un)) 00019 // todo: DICE currently can not parse the above, so we hardcode the 00020 // number for now, bug is filed (#143) 00021 // The current number 120 leaves some room for compiler padding 00022 // in the struct 00023 #define L4VFS_SOCKET_MAX_ADDRLEN 120 00024 00025 #endif