159412Smsmith/*
265577Sdes * Copyright (C) 1999 WIDE Project.
365577Sdes * All rights reserved.
459412Smsmith *
559412Smsmith * Redistribution and use in source and binary forms, with or without
659412Smsmith * modification, are permitted provided that the following conditions
759412Smsmith * are met:
859412Smsmith * 1. Redistributions of source code must retain the above copyright
959412Smsmith *    notice, this list of conditions and the following disclaimer.
1059412Smsmith * 2. Redistributions in binary form must reproduce the above copyright
1159412Smsmith *    notice, this list of conditions and the following disclaimer in the
1259412Smsmith *    documentation and/or other materials provided with the distribution.
1359412Smsmith * 3. Neither the name of the project nor the names of its contributors
1459412Smsmith *    may be used to endorse or promote products derived from this software
1559412Smsmith *    without specific prior written permission.
1659412Smsmith *
1759412Smsmith * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
1859412Smsmith * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1959412Smsmith * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2059412Smsmith * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
2159412Smsmith * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2259412Smsmith * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2359412Smsmith * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2459412Smsmith * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2559412Smsmith * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2659412Smsmith * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2759412Smsmith * SUCH DAMAGE.
2859412Smsmith */
2959412Smsmithstruct sockaddr_storage {
3059412Smsmith#ifdef HAVE_SOCKADDR_SA_LEN
3159412Smsmith	u_int8_t __ss_len;
3259412Smsmith	u_int8_t __ss_family;
3359412Smsmith	u_int8_t fill[126];
3459412Smsmith#else
3559412Smsmith	u_int8_t __ss_family;
3659412Smsmith	u_int8_t fill[127];
3759412Smsmith#endif /* HAVE_SOCKADDR_SA_LEN */
3859412Smsmith};
3959412Smsmith