ng_etf.h (f0184ff8e3b84a1c7273492d8854cfaa012060b5) ng_etf.h (e20480bfb6869d99d93891ec878221122b4d3478)
1/*-
2 * ng_etf.h
3 *
4 * Copyright (c) 2001, FreeBSD Incorporated
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * Author: Julian Elischer <julian@freebsd.org>
30 *
31 * $FreeBSD$
32 */
33
1/*-
2 * ng_etf.h
3 *
4 * Copyright (c) 2001, FreeBSD Incorporated
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * Author: Julian Elischer <julian@freebsd.org>
30 *
31 * $FreeBSD$
32 */
33
34#ifndef _NETGRAPH_ETHERTYPE_FILTER_H_
35#define _NETGRAPH_ETHERTYPE_FILTER_H_
34#ifndef _NETGRAPH_NG_ETF_H_
35#define _NETGRAPH_NG_ETF_H_
36
37/* Node type name. This should be unique among all netgraph node types */
38#define NG_ETF_NODE_TYPE "etf"
39
40/* Node type cookie. Should also be unique. This value MUST change whenever
41 an incompatible change is made to this header file, to insure consistency.
42 The de facto method for generating cookies is to take the output of the
43 date command: date -u +'%s' */

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

80 * This needs to be kept in sync with the above structure definition
81 */
82#define NG_ETF_FILTER_TYPE_INFO { \
83 { "matchhook", &ng_parse_hookbuf_type }, \
84 { "ethertype", &ng_parse_uint16_type }, \
85 { NULL } \
86}
87
36
37/* Node type name. This should be unique among all netgraph node types */
38#define NG_ETF_NODE_TYPE "etf"
39
40/* Node type cookie. Should also be unique. This value MUST change whenever
41 an incompatible change is made to this header file, to insure consistency.
42 The de facto method for generating cookies is to take the output of the
43 date command: date -u +'%s' */

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

80 * This needs to be kept in sync with the above structure definition
81 */
82#define NG_ETF_FILTER_TYPE_INFO { \
83 { "matchhook", &ng_parse_hookbuf_type }, \
84 { "ethertype", &ng_parse_uint16_type }, \
85 { NULL } \
86}
87
88#endif /* _NETGRAPH_ETHERTYPE_FILTER_H_ */
88#endif /* _NETGRAPH_NG_ETF_H_ */