Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

net_policy.h

Go to the documentation of this file.
00001 /*********************************************************************************/
00002 /* This file has been written by Sergio Perez Alcañiz <serpeal@disca.upv.es>     */
00003 /*            Departamento de Informática de Sistemas y Computadores             */
00004 /*            Universidad Politécnica de Valencia                                */
00005 /*            Valencia (Spain)                                                   */
00006 /*                                                                               */
00007 /* The RTL-lwIP project has been supported by the Spanish Government Research    */
00008 /* Office (CICYT) under grant TIC2002-04123-C03-03                               */
00009 /*                                                                               */
00010 /* Copyright (c) March, 2003 SISTEMAS DE TIEMPO REAL EMPOTRADOS, FIABLES Y       */
00011 /* DISTRIBUIDOS BASADOS EN COMPONENTES                                           */
00012 /*                                                                               */
00013 /*  This program is free software; you can redistribute it and/or modify         */
00014 /*  it under the terms of the GNU General Public License as published by         */
00015 /*  the Free Software Foundation; either version 2 of the License, or            */
00016 /*  (at your option) any later version.                                          */
00017 /*                                                                               */
00018 /*  This program is distributed in the hope that it will be useful,              */
00019 /*  but WITHOUT ANY WARRANTY; without even the implied warrabnty of              */
00020 /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                */
00021 /*  GNU General Public License for more details.                                 */
00022 /*                                                                               */
00023 /*  You should have received a copy of the GNU General Public License            */
00024 /*  along with this program; if not, write to the Free Software                  */
00025 /*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    */
00026 /*                                                                               */
00027 /*  Linking RTL-lwIP statically or dynamically with other modules is making a    */
00028 /*  combined work based on RTL-lwIP.  Thus, the terms and conditions of the GNU  */
00029 /*  General Public License cover the whole combination.                          */
00030 /*                                                                               */
00031 /*  As a special exception, the copyright holders of RTL-lwIP give you           */
00032 /*  permission to link RTL-lwIP with independent modules that communicate with   */
00033 /*  RTL-lwIP solely through the interfaces, regardless of the license terms of   */
00034 /*  these independent modules, and to copy and distribute the resulting combined */
00035 /*  work under terms of your choice, provided that every copy of the combined    */
00036 /*  work is accompanied by a complete copy of the source code of RTL-lwIP (the   */
00037 /*  version of RTL-lwIP used to produce the combined work), being distributed    */
00038 /*  under the terms of the GNU General Public License plus this exception.  An   */
00039 /*  independent module is a module which is not derived from or based on         */
00040 /*  RTL-lwIP.                                                                    */
00041 /*                                                                               */
00042 /*  Note that people who make modified versions of RTL-lwIP are not obligated to */
00043 /*  grant this special exception for their modified versions; it is their choice */
00044 /*  whether to do so.  The GNU General Public License gives permission to        */
00045 /*  release a modified version without this exception; this exception also makes */
00046 /*  it possible to release a modified version which carries forward this         */
00047 /*  exception.                                                                   */
00048 /*********************************************************************************/
00049 
00050 struct memory{
00051   void *mem;
00052 };
00053 
00054 struct net_policy_operations {
00055   int (*add_frame_to_buffer)(void *rx_buffer, unsigned char *data, int len);
00056   int (*extract_frame_of_buffer)(void *rx_buffer, void *data);
00057   void (*initialize_rx_buffer)(void *rx_buffer);
00058   void (*dealloc_rx_buffer)(void *rx_buffer);
00059 };
00060 

Generated on Wed Jan 14 12:58:56 2004 for RTL-lwIP-0.4 by doxygen 1.3.4