| 2264 | } |
| 2265 | |
| 2266 | static void |
| 2267 | pfsync_send_plus(void *plus, size_t pluslen) |
| 2268 | { |
| 2269 | struct pfsync_softc *sc = V_pfsyncif; |
| 2270 | struct pfsync_bucket *b = &sc->sc_buckets[0]; |
| 2271 | |
| 2272 | PFSYNC_BUCKET_LOCK(b); |
| 2273 | |
| 2274 | if (b->b_len + pluslen > sc->sc_ifp->if_mtu) |
| 2275 | pfsync_sendout(1, b->b_id); |
| 2276 | |
| 2277 | b->b_plus = plus; |
| 2278 | b->b_len += (b->b_pluslen = pluslen); |
| 2279 | |
| 2280 | pfsync_sendout(1, b->b_id); |
| 2281 | PFSYNC_BUCKET_UNLOCK(b); |
| 2282 | } |
| 2283 | |
| 2284 | static void |
| 2285 | pfsync_timeout(void *arg) |
no test coverage detected