* Destroys nat64clat instance. * Request: [ ipfw_obj_header ] */
| 354 | * Request: [ ipfw_obj_header ] |
| 355 | */ |
| 356 | static void |
| 357 | nat64clat_destroy(const char *name, uint8_t set) |
| 358 | { |
| 359 | ipfw_obj_header oh; |
| 360 | |
| 361 | memset(&oh, 0, sizeof(oh)); |
| 362 | nat64clat_fill_ntlv(&oh.ntlv, name, set); |
| 363 | if (do_set3(IP_FW_NAT64CLAT_DESTROY, &oh.opheader, sizeof(oh)) != 0) |
| 364 | err(EX_OSERR, "failed to destroy nat instance %s", name); |
| 365 | } |
| 366 | |
| 367 | /* |
| 368 | * Get nat64clat instance statistics. |
no test coverage detected