X-Git-Url: http://sjero.net/git/?p=dccp2tcp;a=blobdiff_plain;f=dccp2tcp.h;h=2a1dbfa18458f2f8c71a3db423b07e975fb88cd3;hp=4b556cfcc979eb9ca39dff29b42cc71f803094e6;hb=1bbfe6080ec64a1d292d863935dc18fec3c6373f;hpb=62022bc31bf0909a04349bd05aedc5546f6d0550 diff --git a/dccp2tcp.h b/dccp2tcp.h index 4b556cf..2a1dbfa 100644 --- a/dccp2tcp.h +++ b/dccp2tcp.h @@ -119,7 +119,7 @@ void dbgprintf(int level, const char *fmt, ...); int do_encap(int link, struct packet *new, const struct const_packet *old); /*Connection functions*/ -int get_host(uint32_t src_id, uint32_t dest_id, int src_port, int dest_port, struct host *fwd, struct host *rev); +int get_host(uint32_t src_id, uint32_t dest_id, int src_port, int dest_port, struct host **fwd, struct host **rev); struct connection *add_connection(uint32_t src_id, uint32_t dest_id, int src_port, int dest_port); int update_state(struct host* hst, enum con_state st);