| 428 | } |
| 429 | |
| 430 | static void |
| 431 | setbridge_flush(const char *val, int d, int s, const struct afswtch *afp) |
| 432 | { |
| 433 | struct ifbreq req; |
| 434 | |
| 435 | memset(&req, 0, sizeof(req)); |
| 436 | req.ifbr_ifsflags = IFBF_FLUSHDYN; |
| 437 | if (do_cmd(s, BRDGFLUSH, &req, sizeof(req), 1) < 0) |
| 438 | err(1, "BRDGFLUSH"); |
| 439 | } |
| 440 | |
| 441 | static void |
| 442 | setbridge_flushall(const char *val, int d, int s, const struct afswtch *afp) |