aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsup_router.h
blob: 7a5bd2500824c1ff62aded39fb617a68677b1a36 (plain)
1
2
3
4
5
6
7
8
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);