if successfull otherwise negative value.
Signed-off-by: Martin <molnam1@fel.cvut.cz>
port = (unsigned int) endpoint->stream_id;
attr = (fwp_endpoint_attr_t*) endpoint->endpoint_protocol_info.send.body;
rv = fwp_send_endpoint_create(node, port, attr, &fwp_epoint);
port = (unsigned int) endpoint->stream_id;
attr = (fwp_endpoint_attr_t*) endpoint->endpoint_protocol_info.send.body;
rv = fwp_send_endpoint_create(node, port, attr, &fwp_epoint);
endpoint->protocol_info.body = fwp_epoint;
endpoint->protocol_info.body = fwp_epoint;
}
int fwp_fna_receive_endpoint_created(fna_endpoint_data_t *endpoint)
}
int fwp_fna_receive_endpoint_created(fna_endpoint_data_t *endpoint)
#endif
*epointd = fwp_epoint;
#endif
*epointd = fwp_epoint;
+ return fwp_epoint->sockd;
err:
fwp_endpoint_destroy(fwp_epoint);
return -1;
err:
fwp_endpoint_destroy(fwp_epoint);
return -1;