Deleted Added
full compact
ng_ether.h (62143) ng_ether.h (64358)
1
2/*
3 * ng_ether.h
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Archie Cobbs <archie@whistle.com>
38 *
1
2/*
3 * ng_ether.h
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Archie Cobbs <archie@whistle.com>
38 *
39 * $FreeBSD: head/sys/netgraph/ng_ether.h 62143 2000-06-26 23:34:54Z archie $
39 * $FreeBSD: head/sys/netgraph/ng_ether.h 64358 2000-08-07 18:52:26Z archie $
40 * $Whistle: ng_ether.h,v 1.1 1999/02/02 03:17:22 julian Exp $
41 */
42
43#ifndef _NETGRAPH_NG_ETHER_H_
44#define _NETGRAPH_NG_ETHER_H_
45
46/* Node type name and magic cookie */
47#define NG_ETHER_NODE_TYPE "ether"

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

52#define NG_ETHER_HOOK_UPPER "upper" /* connection to upper layers */
53#define NG_ETHER_HOOK_DIVERT "divert" /* alias for lower */
54#define NG_ETHER_HOOK_ORPHAN "orphans" /* like lower, unknowns only */
55
56/* Netgraph control messages */
57enum {
58 NGM_ETHER_GET_IFNAME = 1, /* get the interface name */
59 NGM_ETHER_GET_IFINDEX, /* get the interface global index # */
40 * $Whistle: ng_ether.h,v 1.1 1999/02/02 03:17:22 julian Exp $
41 */
42
43#ifndef _NETGRAPH_NG_ETHER_H_
44#define _NETGRAPH_NG_ETHER_H_
45
46/* Node type name and magic cookie */
47#define NG_ETHER_NODE_TYPE "ether"

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

52#define NG_ETHER_HOOK_UPPER "upper" /* connection to upper layers */
53#define NG_ETHER_HOOK_DIVERT "divert" /* alias for lower */
54#define NG_ETHER_HOOK_ORPHAN "orphans" /* like lower, unknowns only */
55
56/* Netgraph control messages */
57enum {
58 NGM_ETHER_GET_IFNAME = 1, /* get the interface name */
59 NGM_ETHER_GET_IFINDEX, /* get the interface global index # */
60 NGM_ETHER_GET_ENADDR, /* get Ethernet address */
61 NGM_ETHER_SET_PROMISC, /* enable/disable promiscuous mode */
62 NGM_ETHER_SET_AUTOSRC, /* enable/disable src addr override */
60};
61
62#endif /* _NETGRAPH_NG_ETHER_H_ */
63
63};
64
65#endif /* _NETGRAPH_NG_ETHER_H_ */
66