Blame include/ifaddrlist.h

Packit 03b34a
/*
Packit 03b34a
 * Copyright (c) 1997
Packit 03b34a
 *      The Regents of the University of California.  All rights reserved.
Packit 03b34a
 *
Packit 03b34a
 * Redistribution and use in source and binary forms, with or without
Packit 03b34a
 * modification, are permitted provided that: (1) source code distributions
Packit 03b34a
 * retain the above copyright notice and this paragraph in its entirety, (2)
Packit 03b34a
 * distributions including binary code include the above copyright notice and
Packit 03b34a
 * this paragraph in its entirety in the documentation or other materials
Packit 03b34a
 * provided with the distribution, and (3) all advertising materials mentioning
Packit 03b34a
 * features or use of this software display the following acknowledgement:
Packit 03b34a
 * ``This product includes software developed by the University of California,
Packit 03b34a
 * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
Packit 03b34a
 * the University nor the names of its contributors may be used to endorse
Packit 03b34a
 * or promote products derived from this software without specific prior
Packit 03b34a
 * written permission.
Packit 03b34a
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
Packit 03b34a
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
Packit 03b34a
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Packit 03b34a
 *
Packit 03b34a
 */
Packit 03b34a
Packit 03b34a
struct ifaddrlist
Packit 03b34a
{
Packit 03b34a
#if (HAVE_SOLARIS || HAVE_HPUX11)
Packit 03b34a
    uint addr;
Packit 03b34a
#else
Packit 03b34a
    uint32_t addr;              
Packit 03b34a
#endif
Packit 03b34a
    char *device;
Packit 03b34a
};
Packit 03b34a
Packit 03b34a
struct libnet_ifaddr_list
Packit 03b34a
{
Packit 03b34a
    uint32_t addr;
Packit 03b34a
    char *device;
Packit 03b34a
};
Packit 03b34a
Packit 03b34a
int
Packit 03b34a
ifaddrlist(
Packit 03b34a
    struct ifaddrlist **,
Packit 03b34a
    int8_t *
Packit 03b34a
    );
Packit 03b34a
Packit 03b34a
Packit 03b34a
int
Packit 03b34a
set_up_interface(
Packit 03b34a
    struct sockaddr_in **,
Packit 03b34a
    uint8_t **
Packit 03b34a
    );
Packit 03b34a
Packit 03b34a
/* EOF */