xref: /original-bsd/sys/sys/un.h (revision d0e3910b)
1 /*
2  * Copyright (c) 1982, 1986 Regents of the University of California.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms are permitted
6  * provided that this notice is preserved and that due credit is given
7  * to the University of California at Berkeley. The name of the University
8  * may not be used to endorse or promote products derived from this
9  * software without specific prior written permission. This software
10  * is provided ``as is'' without express or implied warranty.
11  *
12  *	@(#)un.h	7.2 (Berkeley) 12/30/87
13  */
14 
15 /*
16  * Definitions for UNIX IPC domain.
17  */
18 struct	sockaddr_un {
19 	short	sun_family;		/* AF_UNIX */
20 	char	sun_path[108];		/* path name (gag) */
21 };
22 
23 #ifdef KERNEL
24 int	unp_discard();
25 #endif
26