Deleted Added
full compact
in_var.h (2112) in_var.h (2169)
1/*
2 * Copyright (c) 1985, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)in_var.h 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1985, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)in_var.h 8.1 (Berkeley) 6/10/93
34 * $Id: in_var.h,v 1.3 1994/08/02 07:48:28 davidg Exp $
34 * $Id: in_var.h,v 1.4 1994/08/18 22:35:29 wollman Exp $
35 */
36
35 */
36
37#ifndef _NETINET_IN_VAR_H_
38#define _NETINET_IN_VAR_H_
39
37/*
38 * Interface address, Internet version. One of these structures
39 * is allocated for each interface with an Internet address.
40 * The ifaddr structure contains the protocol-independent part
41 * of the structure and is assumed to be first.
42 */
43struct in_ifaddr {
44 struct ifaddr ia_ifa; /* protocol-independent info */

--- 146 unchanged lines hidden (view full) ---

191}
192
193int in_ifinit __P((struct ifnet *,
194 struct in_ifaddr *, struct sockaddr_in *, int));
195struct in_multi *in_addmulti __P((struct in_addr *, struct ifnet *));
196void in_delmulti __P((struct in_multi *));
197void in_ifscrub __P((struct ifnet *, struct in_ifaddr *));
198int in_control __P((struct socket *, int, caddr_t, struct ifnet *));
40/*
41 * Interface address, Internet version. One of these structures
42 * is allocated for each interface with an Internet address.
43 * The ifaddr structure contains the protocol-independent part
44 * of the structure and is assumed to be first.
45 */
46struct in_ifaddr {
47 struct ifaddr ia_ifa; /* protocol-independent info */

--- 146 unchanged lines hidden (view full) ---

194}
195
196int in_ifinit __P((struct ifnet *,
197 struct in_ifaddr *, struct sockaddr_in *, int));
198struct in_multi *in_addmulti __P((struct in_addr *, struct ifnet *));
199void in_delmulti __P((struct in_multi *));
200void in_ifscrub __P((struct ifnet *, struct in_ifaddr *));
201int in_control __P((struct socket *, int, caddr_t, struct ifnet *));
202
199#endif
203#endif
204#endif