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

Version Path
trema-0.4.7 src/switch_manager/xid_table.h
trema-0.4.6 src/switch_manager/xid_table.h
trema-0.4.5 src/switch_manager/xid_table.h
trema-0.4.4 src/switch_manager/xid_table.h
trema-0.4.3 src/switch_manager/xid_table.h
trema-0.4.2 src/switch_manager/xid_table.h
trema-0.4.1 src/switch_manager/xid_table.h
trema-0.4.0 src/switch_manager/xid_table.h
trema-0.3.21 src/switch_manager/xid_table.h
trema-0.3.20 src/switch_manager/xid_table.h
trema-0.3.19 src/switch_manager/xid_table.h
trema-0.3.18 src/switch_manager/xid_table.h
trema-0.3.17 src/switch_manager/xid_table.h
trema-0.3.16 src/switch_manager/xid_table.h
trema-0.3.15 src/switch_manager/xid_table.h
trema-0.3.14 src/switch_manager/xid_table.h
trema-0.3.13 src/switch_manager/xid_table.h
trema-0.3.12 src/switch_manager/xid_table.h
trema-0.3.11 src/switch_manager/xid_table.h
trema-0.3.10 src/switch_manager/xid_table.h