[Click] VLANs (802.1q)
Frederic Van Quickenborne
frederic.vanquickenborne at intec.ugent.be
Fri Aug 8 15:30:22 EDT 2003
Hi,
in the attached files, you can find the implementation of the Extended
Ethernet Switch. More details are included in de README-file.
Spanning Tree is not yet supported. This will be ready next week.
To compile it, make sure that you have installed the newer ether.h file in
the /click/include directory.
Regards,
Frederic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: README
Type: application/octet-stream
Size: 1447 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20030808/7878c512/README.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extetherswitch.hh
Type: application/octet-stream
Size: 1521 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20030808/7878c512/extetherswitch.obj
-------------- next part --------------
/*
* kernelversion.c -- make sure we get a Linux module kernel version variable
* Robert Morris
*
* Copyright (c) 1999 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, subject to the conditions
* listed in the Click LICENSE file. These conditions include: you must
* preserve this copyright notice, and you cannot mention the copyright
* holders in advertising related to the Software without their permission.
* The Software is provided WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED. This
* notice is a summary of the Click LICENSE file; the license in that file is
* legally binding.
*/
/*
* Use C, because g++ seems to ignore the version declaration, which
* ends up looking like
* const char __module_kernel_version[] __attribute__((section(".modinfo"))) =
* "kernel_version=" "2.2.6" ;
*/
#ifndef __KERNEL__
# define __KERNEL__
#endif
#define MODULE
#include <linux/module.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 4567 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20030808/7878c512/Makefile.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extetherswitch.cc
Type: application/octet-stream
Size: 9453 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20030808/7878c512/extetherswitch-0001.obj
More information about the click
mailing list