1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2024-07-22 01:58:46 -03:00

26 lines
698 B
C
Executable File

/*
* Database handling functions
*
* $Id: //BBN_Linux/Branch/Branch_for_Rel_TP_ASEAN_20161216/tclinux_phoenix/apps/public/linux-atm/lane/db.h#1 $
*
*/
#include <sys/types.h>
#include "lane.h"
#include "connect.h"
/* Protos */
void regdb_add(AtmAddr_t aaddr, LaneDestination_t maddr);
int regdb_remove(AtmAddr_t to_remove);
Reg_t *regdb_find_mac(LaneDestination_t maddr);
void proxydb_add(const Conn_t *conn, int fd);
int proxydb_remove(const Conn_t *conn);
Proxy_t *proxydb_find(LecId_t to_find);
Lecdb_t *leciddb_find(LecId_t to_find);
Lecdb_t *leciddb_find_atm(AtmAddr_t to_find);
void leciddb_add(LecId_t lecid, AtmAddr_t address, const int fd);
int leciddb_remove(LecId_t to_remove);