| 312 | } |
| 313 | |
| 314 | static void |
| 315 | nat64lsn_fill_ntlv(ipfw_obj_ntlv *ntlv, const char *name, uint8_t set) |
| 316 | { |
| 317 | |
| 318 | ntlv->head.type = IPFW_TLV_EACTION_NAME(1); /* it doesn't matter */ |
| 319 | ntlv->head.length = sizeof(ipfw_obj_ntlv); |
| 320 | ntlv->idx = 1; |
| 321 | ntlv->set = set; |
| 322 | strlcpy(ntlv->name, name, sizeof(ntlv->name)); |
| 323 | } |
| 324 | |
| 325 | static void |
| 326 | nat64lsn_apply_mask(int af, void *prefix, uint16_t plen) |
no test coverage detected