Deleted Added
full compact
unix.c (132671) unix.c (160787)
1/*-
2 * Copyright (c) 1983, 1988, 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

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

33
34#if 0
35#ifndef lint
36static char sccsid[] = "@(#)unix.c 8.1 (Berkeley) 6/6/93";
37#endif /* not lint */
38#endif
39
40#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1983, 1988, 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

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

33
34#if 0
35#ifndef lint
36static char sccsid[] = "@(#)unix.c 8.1 (Berkeley) 6/6/93";
37#endif /* not lint */
38#endif
39
40#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: head/usr.bin/netstat/unix.c 132671 2004-07-26 20:18:11Z charnier $");
41__FBSDID("$FreeBSD: head/usr.bin/netstat/unix.c 160787 2006-07-28 16:09:19Z yar $");
42
43/*
44 * Display protocol blocks in the unix domain.
45 */
46#include <sys/param.h>
47#include <sys/queue.h>
48#include <sys/protosw.h>
49#include <sys/socket.h>
50#include <sys/socketvar.h>
51#include <sys/mbuf.h>
52#include <sys/sysctl.h>
53#include <sys/un.h>
54#include <sys/unpcb.h>
55
56#include <netinet/in.h>
57
58#include <errno.h>
59#include <err.h>
60#include <stddef.h>
42
43/*
44 * Display protocol blocks in the unix domain.
45 */
46#include <sys/param.h>
47#include <sys/queue.h>
48#include <sys/protosw.h>
49#include <sys/socket.h>
50#include <sys/socketvar.h>
51#include <sys/mbuf.h>
52#include <sys/sysctl.h>
53#include <sys/un.h>
54#include <sys/unpcb.h>
55
56#include <netinet/in.h>
57
58#include <errno.h>
59#include <err.h>
60#include <stddef.h>
61#include <stdint.h>
61#include <stdio.h>
62#include <stdlib.h>
63#include <kvm.h>
64#include "netstat.h"
65
66static void unixdomainpr (struct xunpcb *, struct xsocket *);
67
68static const char *const socktype[] =

--- 92 unchanged lines hidden ---
62#include <stdio.h>
63#include <stdlib.h>
64#include <kvm.h>
65#include "netstat.h"
66
67static void unixdomainpr (struct xunpcb *, struct xsocket *);
68
69static const char *const socktype[] =

--- 92 unchanged lines hidden ---