* Destroys nat64lsn instance specified by @oh->ntlv. * Request: [ ipfw_obj_header ] */
| 669 | * Request: [ ipfw_obj_header ] |
| 670 | */ |
| 671 | static void |
| 672 | nat64lsn_destroy(const char *name, uint8_t set) |
| 673 | { |
| 674 | ipfw_obj_header oh; |
| 675 | |
| 676 | memset(&oh, 0, sizeof(oh)); |
| 677 | nat64lsn_fill_ntlv(&oh.ntlv, name, set); |
| 678 | if (do_set3(IP_FW_NAT64LSN_DESTROY, &oh.opheader, sizeof(oh)) != 0) |
| 679 | err(EX_OSERR, "failed to destroy nat instance %s", name); |
| 680 | } |
| 681 | |
| 682 | /* |
| 683 | * Get nat64lsn instance statistics. |
no test coverage detected