1127376Srik/*
2127376Srik * ng_sppp.h Netgraph to Sppp module.
3139823Simp */
4139823Simp
5139823Simp/*-
6127376Srik * Copyright (C) 2002-2004 Cronyx Engineering.
7127376Srik * Copyright (C) 2002-2004 Roman Kurakin <rik@cronyx.ru>
8127376Srik *
9127376Srik * This software is distributed with NO WARRANTIES, not even the implied
10127376Srik * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11127376Srik *
12127376Srik * Authors grant any other persons or organisations a permission to use,
13127376Srik * modify and redistribute this software in source and binary forms,
14127376Srik * as long as this message is kept with the software, all derivative
15127376Srik * works or modified versions.
16127376Srik *
17127376Srik * $FreeBSD$
18127376Srik * Cronyx Id: ng_sppp.h,v 1.1.2.6 2004/03/01 15:17:21 rik Exp $
19127376Srik */
20127376Srik
21127376Srik#ifndef _NETGRAPH_SPPP_H_
22127376Srik#define _NETGRAPH_SPPP_H_
23127376Srik
24127376Srik/* Node type name and magic cookie */
25127376Srik#define NG_SPPP_NODE_TYPE		"sppp"
26127376Srik#define NGM_SPPP_COOKIE			1040804655
27127376Srik
28127376Srik/* Interface base name */
29127376Srik#define NG_SPPP_IFACE_NAME		"sppp"
30127376Srik
31127376Srik/* My hook names */
32127376Srik#define NG_SPPP_HOOK_DOWNSTREAM		"downstream"
33127376Srik
34127376Srik/* Netgraph commands */
35127376Srikenum {
36127376Srik	NGM_SPPP_GET_IFNAME = 1,	/* returns struct ng_sppp_ifname */
37127376Srik};
38127376Srik
39127376Srik#endif /* _NETGRAPH_SPPP_H_ */
40