Sha256: 851f5cf712f1539fa48b1b88a112fab0157acb2ca3780cc6039e1134f76e1ff3
Contents?: true
Size: 1.28 KB
Versions: 20
Compression:
Stored size: 1.28 KB
Contents
/* * OpenFlow Switch Manager * * Copyright (C) 2008-2013 NEC Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef XID_TABLE_H #define XID_TABLE_H #include "trema.h" typedef struct xid_entry { uint32_t xid; uint32_t original_xid; char *service_name; int index; } xid_entry_t; uint32_t generate_xid( void ); void init_xid_table( void ); void finalize_xid_table( void ); uint32_t insert_xid_entry( uint32_t original_xid, char *service_name ); void delete_xid_entry( xid_entry_t *entry ); xid_entry_t *lookup_xid_entry( uint32_t xid ); void dump_xid_table( void ); #endif // XID_TABLE_H /* * Local variables: * c-basic-offset: 2 * indent-tabs-mode: nil * End: */
Version data entries
20 entries across 20 versions & 1 rubygems