2018-06-24 09:27:40 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "gsup_server.h"
|
|
|
|
|
2016-05-03 16:49:27 +00:00
|
|
|
struct osmo_gsup_conn *gsup_route_find(struct osmo_gsup_server *gs,
|
|
|
|
const uint8_t *addr, size_t addrlen);
|
|
|
|
|
|
|
|
/* add a new route for the given address to the given conn */
|
|
|
|
int gsup_route_add(struct osmo_gsup_conn *conn, const uint8_t *addr, size_t addrlen);
|
|
|
|
|
|
|
|
/* delete all routes for the given connection */
|
|
|
|
int gsup_route_del_conn(struct osmo_gsup_conn *conn);
|
2018-06-24 09:26:43 +00:00
|
|
|
|
|
|
|
int osmo_gsup_addr_send(struct osmo_gsup_server *gs,
|
|
|
|
const uint8_t *addr, size_t addrlen,
|
|
|
|
struct msgb *msg);
|