netgraph.c (e9370a2e59648a97d70bd008b7d8ad1124cc5f56) netgraph.c (f964d60dd3287932055bfdaadf3cba4a7ff2d648)
1/*
2 * Copyright (c) 1996-1999 Whistle Communications, Inc.
3 * All rights reserved.
4 *
5 * Subject to the following obligations and disclaimer of warranty, use and
6 * redistribution of this software, in source or object code forms, with or
7 * without modifications are expressly permitted by Whistle Communications;
8 * provided, however, that:

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

60#include <unistd.h>
61#include <err.h>
62#include "netstat.h"
63
64static int first = 1;
65static int csock = -1;
66
67void
1/*
2 * Copyright (c) 1996-1999 Whistle Communications, Inc.
3 * All rights reserved.
4 *
5 * Subject to the following obligations and disclaimer of warranty, use and
6 * redistribution of this software, in source or object code forms, with or
7 * without modifications are expressly permitted by Whistle Communications;
8 * provided, however, that:

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

60#include <unistd.h>
61#include <err.h>
62#include "netstat.h"
63
64static int first = 1;
65static int csock = -1;
66
67void
68netgraphprotopr(u_long off, char *name)
68netgraphprotopr(u_long off, char *name, int af __unused)
69{
70 struct ngpcb *this, *next;
71 struct ngpcb ngpcb;
72 struct ngsock info;
73 struct socket sockb;
74 int debug = 1;
75
76 /* If symbol not found, try looking in the KLD module */

--- 112 unchanged lines hidden ---
69{
70 struct ngpcb *this, *next;
71 struct ngpcb ngpcb;
72 struct ngsock info;
73 struct socket sockb;
74 int debug = 1;
75
76 /* If symbol not found, try looking in the KLD module */

--- 112 unchanged lines hidden ---