Some cleanup

FossilOrigin-Name: 9b28a0854a32c2dd0a8639c68701b2902390cb74f51f0554f199c4a9d64a635c
This commit is contained in:
7u83@mail.ru 2014-07-20 14:00:51 +00:00
parent b80c5e305f
commit 7554855c0e

View File

@ -21,7 +21,6 @@
#include <errno.h> #include <errno.h>
#include "conn.h" #include "conn.h"
#include "capwap.h"
#include "sock.h" #include "sock.h"
#include "cw_log.h" #include "cw_log.h"
@ -74,9 +73,6 @@ struct conn * conn_create(int sock, struct sockaddr * addr, int qsize)
conn->recv_packet = conn_recv_packet; conn->recv_packet = conn_recv_packet;
// conn->process_message=process_message;
// conn->pmsgarg=pmsgarg;
conn->last_seqnum_received=-1; conn->last_seqnum_received=-1;
conn->mtu=1500; conn->mtu=1500;
@ -94,21 +90,3 @@ struct conn * conn_create(int sock, struct sockaddr * addr, int qsize)
} }
/*
void conn_destroy(struct conn * conn)
{
if (conn->fragman)
fragman_destroy(conn->fragman);
if (conn->q)
free (conn->q);
free(conn);
}
*/
/*
void connn_get_next_seqnum(struct conn * conn)
{
return (++conn->seqnum)&0xff;
}
*/