forked from kohler/click
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
035e93b
commit 489f5ee
Showing
5 changed files
with
196 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
/* | ||
* ClickOS | ||
* | ||
* file: fromdevice.cc | ||
* | ||
* NEC Europe Ltd. PROPRIETARY INFORMATION | ||
* | ||
* This software is supplied under the terms of a license agreement | ||
* or nondisclosure agreement with NEC Europe Ltd. and may not be | ||
* copied or disclosed except in accordance with the terms of that | ||
* agreement. The software and its source code contain valuable trade | ||
* secrets and confidential information which have to be maintained in | ||
* confidence. | ||
* Any unauthorized publication, transfer to third parties or duplication | ||
* of the object or source code - either totally or in part – is | ||
* prohibited. | ||
* | ||
* Copyright (c) 2014 NEC Europe Ltd. All Rights Reserved. | ||
* | ||
* Authors: Joao Martins <[email protected]> | ||
* Filipe Manco <[email protected]> | ||
* | ||
* NEC Europe Ltd. DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, | ||
* INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY | ||
* AND FITNESS FOR A PARTICULAR PURPOSE AND THE WARRANTY AGAINST LATENT | ||
* DEFECTS, WITH RESPECT TO THE PROGRAM AND THE ACCOMPANYING | ||
* DOCUMENTATION. | ||
* | ||
* No Liability For Consequential Damages IN NO EVENT SHALL NEC Europe | ||
* Ltd., NEC Corporation OR ANY OF ITS SUBSIDIARIES BE LIABLE FOR ANY | ||
* DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS | ||
* OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF INFORMATION, OR | ||
* OTHER PECUNIARY LOSS AND INDIRECT, CONSEQUENTIAL, INCIDENTAL, | ||
* ECONOMIC OR PUNITIVE DAMAGES) ARISING OUT OF THE USE OF OR INABILITY | ||
* TO USE THIS PROGRAM, EVEN IF NEC Europe Ltd. HAS BEEN ADVISED OF THE | ||
* POSSIBILITY OF SUCH DAMAGES. | ||
* | ||
* THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. | ||
*/ | ||
#include "fromdevice.hh" | ||
|
||
#include <click/args.hh> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
/* | ||
* ClickOS | ||
* | ||
* file: fromdevice.hh | ||
* | ||
* NEC Europe Ltd. PROPRIETARY INFORMATION | ||
* | ||
* This software is supplied under the terms of a license agreement | ||
* or nondisclosure agreement with NEC Europe Ltd. and may not be | ||
* copied or disclosed except in accordance with the terms of that | ||
* agreement. The software and its source code contain valuable trade | ||
* secrets and confidential information which have to be maintained in | ||
* confidence. | ||
* Any unauthorized publication, transfer to third parties or duplication | ||
* of the object or source code - either totally or in part – is | ||
* prohibited. | ||
* | ||
* Copyright (c) 2014 NEC Europe Ltd. All Rights Reserved. | ||
* | ||
* Authors: Joao Martins <[email protected]> | ||
* Filipe Manco <[email protected]> | ||
* | ||
* NEC Europe Ltd. DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, | ||
* INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY | ||
* AND FITNESS FOR A PARTICULAR PURPOSE AND THE WARRANTY AGAINST LATENT | ||
* DEFECTS, WITH RESPECT TO THE PROGRAM AND THE ACCOMPANYING | ||
* DOCUMENTATION. | ||
* | ||
* No Liability For Consequential Damages IN NO EVENT SHALL NEC Europe | ||
* Ltd., NEC Corporation OR ANY OF ITS SUBSIDIARIES BE LIABLE FOR ANY | ||
* DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS | ||
* OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF INFORMATION, OR | ||
* OTHER PECUNIARY LOSS AND INDIRECT, CONSEQUENTIAL, INCIDENTAL, | ||
* ECONOMIC OR PUNITIVE DAMAGES) ARISING OUT OF THE USE OF OR INABILITY | ||
* TO USE THIS PROGRAM, EVEN IF NEC Europe Ltd. HAS BEEN ADVISED OF THE | ||
* POSSIBILITY OF SUCH DAMAGES. | ||
* | ||
* THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. | ||
*/ | ||
#ifndef CLICK_FROMDEVICE_HH | ||
#define CLICK_FROMDEVICE_HH | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
/* | ||
* ClickOS | ||
* | ||
* file: todevice.cc | ||
* | ||
* NEC Europe Ltd. PROPRIETARY INFORMATION | ||
* | ||
* This software is supplied under the terms of a license agreement | ||
* or nondisclosure agreement with NEC Europe Ltd. and may not be | ||
* copied or disclosed except in accordance with the terms of that | ||
* agreement. The software and its source code contain valuable trade | ||
* secrets and confidential information which have to be maintained in | ||
* confidence. | ||
* Any unauthorized publication, transfer to third parties or duplication | ||
* of the object or source code - either totally or in part – is | ||
* prohibited. | ||
* | ||
* Copyright (c) 2014 NEC Europe Ltd. All Rights Reserved. | ||
* | ||
* Authors: Joao Martins <[email protected]> | ||
* Filipe Manco <[email protected]> | ||
* | ||
* NEC Europe Ltd. DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, | ||
* INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY | ||
* AND FITNESS FOR A PARTICULAR PURPOSE AND THE WARRANTY AGAINST LATENT | ||
* DEFECTS, WITH RESPECT TO THE PROGRAM AND THE ACCOMPANYING | ||
* DOCUMENTATION. | ||
* | ||
* No Liability For Consequential Damages IN NO EVENT SHALL NEC Europe | ||
* Ltd., NEC Corporation OR ANY OF ITS SUBSIDIARIES BE LIABLE FOR ANY | ||
* DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS | ||
* OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF INFORMATION, OR | ||
* OTHER PECUNIARY LOSS AND INDIRECT, CONSEQUENTIAL, INCIDENTAL, | ||
* ECONOMIC OR PUNITIVE DAMAGES) ARISING OUT OF THE USE OF OR INABILITY | ||
* TO USE THIS PROGRAM, EVEN IF NEC Europe Ltd. HAS BEEN ADVISED OF THE | ||
* POSSIBILITY OF SUCH DAMAGES. | ||
* | ||
* THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. | ||
*/ | ||
#include "todevice.hh" | ||
|
||
#include <click/args.hh> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
/* | ||
* ClickOS | ||
* | ||
* file: todevice.hh | ||
* | ||
* NEC Europe Ltd. PROPRIETARY INFORMATION | ||
* | ||
* This software is supplied under the terms of a license agreement | ||
* or nondisclosure agreement with NEC Europe Ltd. and may not be | ||
* copied or disclosed except in accordance with the terms of that | ||
* agreement. The software and its source code contain valuable trade | ||
* secrets and confidential information which have to be maintained in | ||
* confidence. | ||
* Any unauthorized publication, transfer to third parties or duplication | ||
* of the object or source code - either totally or in part – is | ||
* prohibited. | ||
* | ||
* Copyright (c) 2014 NEC Europe Ltd. All Rights Reserved. | ||
* | ||
* Authors: Joao Martins <[email protected]> | ||
* Filipe Manco <[email protected]> | ||
* | ||
* NEC Europe Ltd. DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, | ||
* INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY | ||
* AND FITNESS FOR A PARTICULAR PURPOSE AND THE WARRANTY AGAINST LATENT | ||
* DEFECTS, WITH RESPECT TO THE PROGRAM AND THE ACCOMPANYING | ||
* DOCUMENTATION. | ||
* | ||
* No Liability For Consequential Damages IN NO EVENT SHALL NEC Europe | ||
* Ltd., NEC Corporation OR ANY OF ITS SUBSIDIARIES BE LIABLE FOR ANY | ||
* DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS | ||
* OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF INFORMATION, OR | ||
* OTHER PECUNIARY LOSS AND INDIRECT, CONSEQUENTIAL, INCIDENTAL, | ||
* ECONOMIC OR PUNITIVE DAMAGES) ARISING OUT OF THE USE OF OR INABILITY | ||
* TO USE THIS PROGRAM, EVEN IF NEC Europe Ltd. HAS BEEN ADVISED OF THE | ||
* POSSIBILITY OF SUCH DAMAGES. | ||
* | ||
* THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. | ||
*/ | ||
#ifndef CLICK_TODEVICE_HH | ||
#define CLICK_TODEVICE_HH | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,43 @@ | ||
/* | ||
* ClickOS | ||
* | ||
* file: click.cc | ||
* | ||
* NEC Europe Ltd. PROPRIETARY INFORMATION | ||
* | ||
* This software is supplied under the terms of a license agreement | ||
* or nondisclosure agreement with NEC Europe Ltd. and may not be | ||
* copied or disclosed except in accordance with the terms of that | ||
* agreement. The software and its source code contain valuable trade | ||
* secrets and confidential information which have to be maintained in | ||
* confidence. | ||
* Any unauthorized publication, transfer to third parties or duplication | ||
* of the object or source code - either totally or in part – is | ||
* prohibited. | ||
* | ||
* Copyright (c) 2014 NEC Europe Ltd. All Rights Reserved. | ||
* | ||
* Authors: Joao Martins <[email protected]> | ||
* Filipe Manco <[email protected]> | ||
* | ||
* NEC Europe Ltd. DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, | ||
* INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY | ||
* AND FITNESS FOR A PARTICULAR PURPOSE AND THE WARRANTY AGAINST LATENT | ||
* DEFECTS, WITH RESPECT TO THE PROGRAM AND THE ACCOMPANYING | ||
* DOCUMENTATION. | ||
* | ||
* No Liability For Consequential Damages IN NO EVENT SHALL NEC Europe | ||
* Ltd., NEC Corporation OR ANY OF ITS SUBSIDIARIES BE LIABLE FOR ANY | ||
* DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS | ||
* OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF INFORMATION, OR | ||
* OTHER PECUNIARY LOSS AND INDIRECT, CONSEQUENTIAL, INCIDENTAL, | ||
* ECONOMIC OR PUNITIVE DAMAGES) ARISING OUT OF THE USE OF OR INABILITY | ||
* TO USE THIS PROGRAM, EVEN IF NEC Europe Ltd. HAS BEEN ADVISED OF THE | ||
* POSSIBILITY OF SUCH DAMAGES. | ||
* | ||
* THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. | ||
*/ | ||
|
||
#include <click/config.h> | ||
#include <click/lexer.hh> | ||
#include <click/router.hh> | ||
|