Changeset 059ad88b in rtems


Ignore:
Timestamp:
May 9, 2005, 1:32:24 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0ff08b1
Parents:
e5d519a6
Message:

2005-05-09 Ralf Corsepius <ralf.corsepius@…>

  • libnetworking/sys/un.h: Partial update from FreeBSD. Remove non-implemented functions/variables.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    re5d519a6 r059ad88b  
     12005-05-09      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * libnetworking/sys/un.h: Partial update from FreeBSD.
     4        Remove non-implemented functions/variables.
     5
    162005-05-09      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • cpukit/libnetworking/sys/un.h

    re5d519a6 r059ad88b  
    3838#define _SYS_UN_H_
    3939
     40#include <sys/cdefs.h>
     41#include <rtems/bsdnet/_types.h>
     42
     43#ifndef _SA_FAMILY_T_DECLARED
     44typedef __sa_family_t   sa_family_t;
     45#define _SA_FAMILY_T_DECLARED
     46#endif
     47
    4048/*
    4149 * Definitions for UNIX IPC domain.
    4250 */
    4351struct  sockaddr_un {
    44         u_char  sun_len;                /* sockaddr len including null */
    45         u_char  sun_family;             /* AF_UNIX */
     52        unsigned char   sun_len;                /* sockaddr len including null */
     53        sa_family_t     sun_family;             /* AF_UNIX */
    4654        char    sun_path[104];          /* path name (gag) */
    4755};
     56
     57#if __BSD_VISIBLE
     58
     59/* Socket options. */
     60#define LOCAL_PEERCRED          0x001   /* retrieve peer credentials */
     61#define LOCAL_CREDS             0x002   /* pass credentials to receiver */
     62#define LOCAL_CONNWAIT          0x004   /* connects block until accepted */
    4863
    4964#ifdef _KERNEL
    5065struct mbuf;
    5166struct socket;
     67struct sockopt;
    5268
    53 int     uipc_usrreq __P((struct socket *so, int req, struct mbuf *m,
    54                 struct mbuf *nam, struct mbuf *control));
    55 int     unp_connect2 __P((struct socket *so, struct socket *so2));
    56 void    unp_dispose __P((struct mbuf *m));
    57 int     unp_externalize __P((struct mbuf *rights));
    58 void    unp_init __P((void));
    59 extern  struct pr_usrreqs uipc_usrreqs;
    6069#else /* !_KERNEL */
    6170
     
    6675#endif /* _KERNEL */
    6776
     77#endif /* __BSD_VISIBLE */
     78
    6879#endif /* !_SYS_UN_H_ */
Note: See TracChangeset for help on using the changeset viewer.