Lines Matching defs:oh
234 ipfw_obj_header *oh;
236 if (sd->valsize != sizeof(*oh))
239 oh = (ipfw_obj_header *)op3;
242 cfg = nat64lsn_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);
404 ipfw_obj_header *oh;
409 if (sd->valsize != sizeof(*oh) + sizeof(*uc))
412 oh = (ipfw_obj_header *)ipfw_get_sopt_space(sd,
413 sizeof(*oh) + sizeof(*uc));
414 uc = (ipfw_nat64lsn_cfg *)(oh + 1);
416 if (ipfw_check_object_name_generic(oh->ntlv.name) != 0 ||
417 oh->ntlv.set >= IPFW_MAX_SETS)
423 cfg = nat64lsn_find(ni, oh->ntlv.name, oh->ntlv.set);
436 cfg = nat64lsn_find(ni, oh->ntlv.name, oh->ntlv.set);
479 ipfw_obj_header *oh;
488 oh = (ipfw_obj_header *)ipfw_get_sopt_header(sd, sz);
489 if (oh == NULL)
494 cfg = nat64lsn_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);
503 ctlv = (ipfw_obj_ctlv *)(oh + 1);
526 ipfw_obj_header *oh;
528 if (sd->valsize != sizeof(*oh))
530 oh = (ipfw_obj_header *)sd->kbuf;
531 if (ipfw_check_object_name_generic(oh->ntlv.name) != 0 ||
532 oh->ntlv.set >= IPFW_MAX_SETS)
536 cfg = nat64lsn_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);
700 ipfw_obj_header *oh;
716 oh = (ipfw_obj_header *)sd->kbuf;
717 od = (ipfw_obj_data *)(oh + 1);
730 cfg = nat64lsn_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);
751 oh = (ipfw_obj_header *)ipfw_get_sopt_space(sd, sz);
752 od = (ipfw_obj_data *)(oh + 1);