| 1269 | } |
| 1270 | |
| 1271 | static int |
| 1272 | bridge_ioctl_del(struct bridge_softc *sc, void *arg) |
| 1273 | { |
| 1274 | struct ifbreq *req = arg; |
| 1275 | struct bridge_iflist *bif; |
| 1276 | |
| 1277 | bif = bridge_lookup_member(sc, req->ifbr_ifsname); |
| 1278 | if (bif == NULL) |
| 1279 | return (ENOENT); |
| 1280 | |
| 1281 | bridge_delete_member(sc, bif, 0); |
| 1282 | |
| 1283 | return (0); |
| 1284 | } |
| 1285 | |
| 1286 | static int |
| 1287 | bridge_ioctl_gifflags(struct bridge_softc *sc, void *arg) |
nothing calls this directly
no test coverage detected