The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/netgraph/ng_sppp.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * ng_sppp.h Netgraph to Sppp module.
    3  *
    4  * Copyright (C) 2002-2004 Cronyx Engineering.
    5  * Copyright (C) 2002-2004 Roman Kurakin <rik@cronyx.ru>
    6  *
    7  * This software is distributed with NO WARRANTIES, not even the implied
    8  * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    9  *
   10  * Authors grant any other persons or organisations a permission to use,
   11  * modify and redistribute this software in source and binary forms,
   12  * as long as this message is kept with the software, all derivative
   13  * works or modified versions.
   14  *
   15  * $FreeBSD: releng/5.3/sys/netgraph/ng_sppp.h 136588 2004-10-16 08:43:07Z cvs2svn $
   16  * Cronyx Id: ng_sppp.h,v 1.1.2.6 2004/03/01 15:17:21 rik Exp $
   17  */
   18 
   19 #ifndef _NETGRAPH_SPPP_H_
   20 #define _NETGRAPH_SPPP_H_
   21 
   22 /* Node type name and magic cookie */
   23 #define NG_SPPP_NODE_TYPE               "sppp"
   24 #define NGM_SPPP_COOKIE                 1040804655
   25 
   26 /* Interface base name */
   27 #define NG_SPPP_IFACE_NAME              "sppp"
   28 #define NG_SPPP_IFACE_NAME_MAX          15
   29 
   30 /* My hook names */
   31 #define NG_SPPP_HOOK_DOWNSTREAM         "downstream"
   32 
   33 /* Netgraph commands */
   34 enum {
   35         NGM_SPPP_GET_IFNAME = 1,        /* returns struct ng_sppp_ifname */
   36 };
   37 
   38 struct ng_sppp_ifname {
   39         char    ngif_name[NG_SPPP_IFACE_NAME_MAX + 1];
   40 };
   41 
   42 #endif /* _NETGRAPH_SPPP_H_ */

Cache object: 65b5bab61c50da290b404c3063cf82b9


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.