Skip to content

Commit

Permalink
mess everything up
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Apr 20, 2024
1 parent 1ae769e commit 0f38763
Show file tree
Hide file tree
Showing 57 changed files with 1,143 additions and 1,154 deletions.
9 changes: 5 additions & 4 deletions tunnels/adapters/connector/connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#include "utils/sockutils.h"
#include "loggers/network_logger.h"




tunnel_t *newConnector(node_instance_context_t *instance_info)
{
connector_state_t *state = malloc(sizeof(connector_state_t));
Expand Down Expand Up @@ -58,10 +61,8 @@ tunnel_t *newConnector(node_instance_context_t *instance_info)
tunnel_t *t = newTunnel();
t->state = state;

t->upStream = &connectorUpStream;
t->packetUpStream = &connectorPacketUpStream;
t->downStream = &connectorDownStream;
t->packetDownStream = &connectorPacketDownStream;
t->upStream = &upStream;
t->downStream = &downStream;

atomic_thread_fence(memory_order_release);

Expand Down
6 changes: 3 additions & 3 deletions tunnels/adapters/connector/connector.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#include "api.h"


// con <-----\ /-----> Resolve=> TCP Connect || Udp Associate
// con <------> Connector <------> Resolve=> TCP Connect || Udp Associate
// con <-----/ \-----> Resolve=> TCP Connect || Udp Associate
// con <-----\ /-----> TCP Connect || Udp Associate
// con <------> Connector <------> TCP Connect || Udp Associate
// con <-----/ \-----> TCP Connect || Udp Associate
//


Expand Down
34 changes: 0 additions & 34 deletions tunnels/adapters/connector/resolve.c

This file was deleted.

Loading

0 comments on commit 0f38763

Please sign in to comment.