Deleted Added
full compact
in.h (45869) in.h (46155)
1/*
2 * Copyright (c) 1982, 1986, 1990, 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.h 8.3 (Berkeley) 1/3/94
1/*
2 * Copyright (c) 1982, 1986, 1990, 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.h 8.3 (Berkeley) 1/3/94
34 * $Id: in.h,v 1.38 1998/12/14 18:09:13 luigi Exp $
34 * $Id: in.h,v 1.39 1999/04/20 13:32:04 peter Exp $
35 */
36
37#ifndef _NETINET_IN_H_
38#define _NETINET_IN_H_
39
40/*
41 * Constants and structures defined by the internet system,
42 * Per RFC 790, September 1981, and numerous additions.

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

428struct ifnet; struct mbuf; /* forward declarations for Standard C */
429
430int in_broadcast __P((struct in_addr, struct ifnet *));
431int in_canforward __P((struct in_addr));
432int in_cksum __P((struct mbuf *, int));
433int in_localaddr __P((struct in_addr));
434char *inet_ntoa __P((struct in_addr)); /* in libkern */
435
35 */
36
37#ifndef _NETINET_IN_H_
38#define _NETINET_IN_H_
39
40/*
41 * Constants and structures defined by the internet system,
42 * Per RFC 790, September 1981, and numerous additions.

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

428struct ifnet; struct mbuf; /* forward declarations for Standard C */
429
430int in_broadcast __P((struct in_addr, struct ifnet *));
431int in_canforward __P((struct in_addr));
432int in_cksum __P((struct mbuf *, int));
433int in_localaddr __P((struct in_addr));
434char *inet_ntoa __P((struct in_addr)); /* in libkern */
435
436int prison_ip __P((struct proc *p, int flag, u_int32_t *ip));
437void prison_remote_ip __P((struct proc *p, int flag, u_int32_t *ip));
438
436#endif /* KERNEL */
437
438#endif
439#endif /* KERNEL */
440
441#endif