Some cleanup
FossilOrigin-Name: 9b28a0854a32c2dd0a8639c68701b2902390cb74f51f0554f199c4a9d64a635c
This commit is contained in:
parent
b80c5e305f
commit
7554855c0e
@ -21,7 +21,6 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include "conn.h"
|
||||
#include "capwap.h"
|
||||
#include "sock.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->process_message=process_message;
|
||||
// conn->pmsgarg=pmsgarg;
|
||||
|
||||
conn->last_seqnum_received=-1;
|
||||
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;
|
||||
}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user