ng_l2tp.h (901fadf792b64dc16d56eb5c234152794b2cc584) | ng_l2tp.h (e20480bfb6869d99d93891ec878221122b4d3478) |
---|---|
1 2/* 3 * Copyright (c) 2001-2002 Packet Design, LLC. 4 * All rights reserved. 5 * 6 * Subject to the following obligations and disclaimer of warranty, 7 * use and redistribution of this software, in source or object code 8 * forms, with or without modifications are expressly permitted by --- 26 unchanged lines hidden (view full) --- 35 * THE USE OF THIS SOFTWARE, EVEN IF PACKET DESIGN IS ADVISED OF 36 * THE POSSIBILITY OF SUCH DAMAGE. 37 * 38 * Author: Archie Cobbs <archie@freebsd.org> 39 * 40 * $FreeBSD$ 41 */ 42 | 1 2/* 3 * Copyright (c) 2001-2002 Packet Design, LLC. 4 * All rights reserved. 5 * 6 * Subject to the following obligations and disclaimer of warranty, 7 * use and redistribution of this software, in source or object code 8 * forms, with or without modifications are expressly permitted by --- 26 unchanged lines hidden (view full) --- 35 * THE USE OF THIS SOFTWARE, EVEN IF PACKET DESIGN IS ADVISED OF 36 * THE POSSIBILITY OF SUCH DAMAGE. 37 * 38 * Author: Archie Cobbs <archie@freebsd.org> 39 * 40 * $FreeBSD$ 41 */ 42 |
43#ifndef _NETGRAPH_L2TP_H_ 44#define _NETGRAPH_L2TP_H_ | 43#ifndef _NETGRAPH_NG_L2TP_H_ 44#define _NETGRAPH_NG_L2TP_H_ |
45 46/* Node type name and magic cookie */ 47#define NG_L2TP_NODE_TYPE "l2tp" 48#define NGM_L2TP_COOKIE 1011392401 49 50/* Hook names */ 51#define NG_L2TP_HOOK_CTRL "ctrl" /* control channel hook */ 52#define NG_L2TP_HOOK_LOWER "lower" /* hook to lower layers */ --- 100 unchanged lines hidden (view full) --- 153 NGM_L2TP_SET_SESS_CONFIG, /* supply struct ng_l2tp_sess_config */ 154 NGM_L2TP_GET_SESS_CONFIG, /* supply a session id (u_int16_t) */ 155 NGM_L2TP_GET_STATS, /* returns struct ng_l2tp_stats */ 156 NGM_L2TP_CLR_STATS, /* clears stats */ 157 NGM_L2TP_GETCLR_STATS, /* returns & clears stats */ 158 NGM_L2TP_ACK_FAILURE, /* sent *from* node after ack timeout */ 159}; 160 | 45 46/* Node type name and magic cookie */ 47#define NG_L2TP_NODE_TYPE "l2tp" 48#define NGM_L2TP_COOKIE 1011392401 49 50/* Hook names */ 51#define NG_L2TP_HOOK_CTRL "ctrl" /* control channel hook */ 52#define NG_L2TP_HOOK_LOWER "lower" /* hook to lower layers */ --- 100 unchanged lines hidden (view full) --- 153 NGM_L2TP_SET_SESS_CONFIG, /* supply struct ng_l2tp_sess_config */ 154 NGM_L2TP_GET_SESS_CONFIG, /* supply a session id (u_int16_t) */ 155 NGM_L2TP_GET_STATS, /* returns struct ng_l2tp_stats */ 156 NGM_L2TP_CLR_STATS, /* clears stats */ 157 NGM_L2TP_GETCLR_STATS, /* returns & clears stats */ 158 NGM_L2TP_ACK_FAILURE, /* sent *from* node after ack timeout */ 159}; 160 |
161#endif /* _NETGRAPH_L2TP_H_ */ | 161#endif /* _NETGRAPH_NG_L2TP_H_ */ |