bpf.c (167035) | bpf.c (171465) |
---|---|
1/*- 2 * Copyright (c) 2005 Christian S.J. Peron 3 * 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2005 Christian S.J. Peron 3 * 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/usr.bin/netstat/bpf.c 167035 2007-02-26 22:24:14Z jkim $ | 26 * $FreeBSD: head/usr.bin/netstat/bpf.c 171465 2007-07-16 17:15:55Z jhb $ |
27 */ 28#include <sys/types.h> 29#include <sys/protosw.h> 30#include <sys/socket.h> | 27 */ 28#include <sys/types.h> 29#include <sys/protosw.h> 30#include <sys/socket.h> |
31#include <sys/socketvar.h> |
|
31#include <sys/sysctl.h> 32#include <sys/param.h> 33#include <sys/user.h> 34 35#include <net/if.h> 36#include <net/if_var.h> 37#include <net/bpf.h> 38#include <net/bpfdesc.h> --- 90 unchanged lines hidden --- | 32#include <sys/sysctl.h> 33#include <sys/param.h> 34#include <sys/user.h> 35 36#include <net/if.h> 37#include <net/if_var.h> 38#include <net/bpf.h> 39#include <net/bpfdesc.h> --- 90 unchanged lines hidden --- |