Deleted Added
full compact
ng_ether.h (67506) ng_ether.h (123600)
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@freebsd.org>
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@freebsd.org>
38 *
39 * $FreeBSD: head/sys/netgraph/ng_ether.h 67506 2000-10-24 17:32:45Z julian $
39 * $FreeBSD: head/sys/netgraph/ng_ether.h 123600 2003-12-17 12:40:34Z ru $
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"

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

60 NGM_ETHER_GET_ENADDR, /* get Ethernet address */
61 NGM_ETHER_SET_ENADDR, /* set Ethernet address */
62 NGM_ETHER_GET_PROMISC, /* get node's promiscuous mode bit */
63 NGM_ETHER_SET_PROMISC, /* enable/disable promiscuous mode */
64 NGM_ETHER_GET_AUTOSRC, /* get source address override */
65 NGM_ETHER_SET_AUTOSRC, /* enable/disable src addr override */
66};
67
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"

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

60 NGM_ETHER_GET_ENADDR, /* get Ethernet address */
61 NGM_ETHER_SET_ENADDR, /* set Ethernet address */
62 NGM_ETHER_GET_PROMISC, /* get node's promiscuous mode bit */
63 NGM_ETHER_SET_PROMISC, /* enable/disable promiscuous mode */
64 NGM_ETHER_GET_AUTOSRC, /* get source address override */
65 NGM_ETHER_SET_AUTOSRC, /* enable/disable src addr override */
66};
67
68#ifdef _KERNEL
69/* Ethernet address parse type */
70extern const struct ng_parse_type ng_ether_enaddr_type;
71#endif /* _KERNEL */
72
73#endif /* _NETGRAPH_NG_ETHER_H_ */
74
68#endif /* _NETGRAPH_NG_ETHER_H_ */
69