- Main Page
- Data Structures
- Files

- File List
- Globals

# software/wrsw_rtud/rtud_exports.h

Go to the documentation of this file.

    00001 /*
    00002  * White Rabbit RTU (Routing Table Unit)
    00003  * Copyright (C) 2010, CERN.
    00004  *
    00005  * Version:     wrsw_rtud v1.0
    00006  *
    00007  * Authors:     Tomasz Wlostowski (tomasz.wlostowski@cern.ch)
    00008  *
    00009  * Description: Dump the filtering database.
    00010  *
    00011  * Fixes:
    00012  *
    00013  *
    00014  * This program is free software; you can redistribute it and/or
    00015  * modify it under the terms of the GNU General Public License
    00016  * as published by the Free Software Foundation; either version
    00017  * 2 of the License, or (at your option) any later version.
    00018  *
    00019  * This program is distributed in the hope that it will be useful,
    00020  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00022  * GNU General Public License for more details.
    00023  *
    00024  * You should have received a copy of the GNU General Public License
    00025  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    00026 */
    00027
    00028
    00029 #ifndef __RTUD_EXPORTS_H
    00030 #define __RTUD_EXPORTS_H
    00031
    00032 #include <stdint.h>
    00033
    00034 typedef struct
    00035 {
    00036                 uint8_t mac[8];
    00037                 uint32_t dpm;
    00038                 uint32_t spm;
    00039                 uint8_t priority;
    00040                 int dynamic;
    00041 } rtudexp_fd_entry_t;
    00042
    00043 typedef struct  {
    00044         rtudexp_fd_entry_t list[8];
    00045
    00046         int num_rules;
    00047         int next;
    00048 } rtudexp_fd_list_t;
    00049
    00050 void rtudexp_get_fd_list(rtudexp_fd_list_t *list, int start_from);
    00051
    00052 #endif

All Data Structures Files Functions Variables Defines