#ifndef _BITS_SOCKADDR_H
#define _BITS_SOCKADDR_H	1

//orignal bits/sockaddr,h

/* POSIX.1g specifies this type name for the `sa_family' member.  */
typedef unsigned short int sa_family_t;

/* This macro is used to declare the initial common members
   of the data types used for socket addresses, `struct sockaddr',
   `struct sockaddr_in', `struct sockaddr_un', etc.  */

#define	__SOCKADDR_COMMON(sa_prefix) \
  sa_family_t sa_prefix##family;\
   __uint8_t sa_len;\
    unsigned char sun_len;\
    __uint8_t	sin_len;\
     __uint8_t	sin6_len;

#define __SOCKADDR_COMMON_SIZE	(sizeof (unsigned short int))

#endif	/* bits/sockaddr.h */
