* We've waited as long as we're willing to wait before sending an * acknowledgement to the peer for received frames. We had hoped to * be able to piggy back our acknowledgement on an outgoing data frame, * but apparently there haven't been any since. So send the ack now. */
| 1135 | * but apparently there haven't been any since. So send the ack now. |
| 1136 | */ |
| 1137 | static void |
| 1138 | ng_pptpgre_send_ack_timeout(node_p node, hook_p hook, void *arg1, int arg2) |
| 1139 | { |
| 1140 | const hpriv_p hpriv = arg1; |
| 1141 | |
| 1142 | mtx_lock(&hpriv->mtx); |
| 1143 | /* Send a frame with an ack but no payload */ |
| 1144 | ng_pptpgre_xmit(hpriv, NULL); |
| 1145 | mtx_assert(&hpriv->mtx, MA_NOTOWNED); |
| 1146 | } |
| 1147 | |
| 1148 | /* |
| 1149 | * Start a timer for the reorder queue. This assumes the timer is not |
nothing calls this directly
no test coverage detected