Added Strict capwap option.
FossilOrigin-Name: 0262491e787e76a1c11b2ffde0c5fbb0c63a716221c9d9fdf3345481654a589b
This commit is contained in:
parent
5ab147e01e
commit
a444856e32
@ -48,12 +48,18 @@ struct conn{
|
||||
int last_seqnum_received;
|
||||
int last_message_id_received;
|
||||
|
||||
struct cwmsg * last_response;
|
||||
struct cwmsg swm;
|
||||
int last_response_seqnum;
|
||||
int last_response_rid;
|
||||
// struct cwmsg * last_response;
|
||||
// struct cwmsg swm;
|
||||
// int last_response_seqnum;
|
||||
// int last_response_rid;
|
||||
|
||||
|
||||
struct cwmsg req_msg;
|
||||
struct cwmsg resp_msg;
|
||||
uint8_t req_buffer[65536];
|
||||
uint8_t resp_buffer[65536];
|
||||
|
||||
|
||||
uint8_t buffer[65536];
|
||||
int mtu;
|
||||
|
||||
/* receive and send methods */
|
||||
@ -95,10 +101,16 @@ struct conn{
|
||||
|
||||
/* used to link the conn obj with other objects */
|
||||
void * data;
|
||||
|
||||
int strict_capwap;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#define conn_is_strict_capwap(conn) (conn->strict_capwap)
|
||||
|
||||
|
||||
|
||||
struct conn * conn_create(int sock, struct sockaddr * addr, int qsize);
|
||||
struct conn * conn_create_noq(int sock, struct sockaddr * addr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user