#include <frsh.h>
#include <frsh_core_types.h>
+frsh_vres_id_t last_rtp_vres;
+frsh_contract_t last_rtp_contract;
+
+
typedef struct {
int frsh_fd;
int ttl;
//fwp_endpoint_get_params(s->sepoint->protocol_info.body, &node,
// &port, &attr, &fd);
+ /* Hack to export network contract to application */
+ if (strcmp(s->label, "RTP") == 0) {
+ last_rtp_contract = s->contract;
+ last_rtp_vres = s->vres;
+ }
+
return frsh_fd;
}