mtu_discovery flag added.
FossilOrigin-Name: bfed0199b79b1eea06252b7f98113991dfc4c5f35404d52662b025650b1f1bcd
This commit is contained in:
parent
1ea86149ab
commit
195aa8ce4e
@ -33,6 +33,7 @@ void conn_init(struct conn * conn)
|
||||
conn->max_retransmit=CAPWAP_MAX_RETRANSMIT;
|
||||
conn->wait_dtls=CAPWAP_WAIT_DTLS;
|
||||
conn->wait_join=CAPWAP_WAIT_JOIN;
|
||||
conn->mtu_discovery=1;
|
||||
}
|
||||
|
||||
|
||||
|
@ -62,8 +62,9 @@ struct conn{
|
||||
uint8_t req_buffer[65536];
|
||||
uint8_t resp_buffer[65536];
|
||||
|
||||
|
||||
int mtu;
|
||||
|
||||
int mtu; /* max mtu, could be changed during discovery */
|
||||
int mtu_discovery; /* 0 mtu discovery turned off, 1 discovery tuned on */
|
||||
|
||||
/* receive and send methods */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user