# 2.11BSD#431 - /usr/src/sys/h/un.h

##### struct's

    sockaddr_un       X

       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 SUPERVISOR
      24: int unp_discard();
      25: #endif

#### Defined struct's

sockaddr_un defined in line 18; used 20 times

- in /usr/src/games/hunt/hunt.h line 189(2)
- in /usr/src/sys/sys/uipc_usrreq.c line 333(4), 354(4)
- in /usr/src/ucb/netstat/unix.c line 99(2), 113(2)
- in /usr/src/usr.sbin/lpr/lpd.c line 58(2)
- in /usr/src/usr.sbin/lpr/startdaemon.c line 26(2)
- in /usr/src/usr.sbin/syslogd/syslogd.c line 153(2)

#### Usage of this include

un.h used 7 times

- in /usr/src/games/hunt/hunt.h line 32
- in /usr/src/new/crash/dispnet.c line 41
- in /usr/src/sys/sys/uipc_usrreq.c line 17
- in /usr/src/ucb/netstat/unix.c line 25
- in /usr/src/usr.sbin/lpr/lp.h line 19
- in /usr/src/usr.sbin/lpr/startdaemon.c line 20
- in /usr/src/usr.sbin/syslogd/syslogd.c line 61

Last modified: 1988-04-27 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 624 |