Lines Matching defs:oh
218 ipfw_obj_header *oh;
224 if (sd->valsize != sizeof(*oh) + sizeof(*uc))
227 oh = (ipfw_obj_header *)ipfw_get_sopt_space(sd,
228 sizeof(*oh) + sizeof(*uc));
229 uc = (ipfw_nat64clat_cfg *)(oh + 1);
231 if (ipfw_check_object_name_generic(oh->ntlv.name) != 0 ||
232 oh->ntlv.set >= IPFW_MAX_SETS)
238 cfg = nat64clat_find(ni, oh->ntlv.name, oh->ntlv.set);
249 cfg = nat64clat_find(ni, oh->ntlv.name, oh->ntlv.set);
319 ipfw_obj_header *oh;
322 if (sd->valsize != sizeof(*oh))
325 oh = (ipfw_obj_header *)sd->kbuf;
326 if (ipfw_check_object_name_generic(oh->ntlv.name) != 0)
330 cfg = nat64clat_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);
423 ipfw_obj_header *oh;
432 oh = (ipfw_obj_header *)ipfw_get_sopt_header(sd, sz);
433 if (oh == NULL)
438 cfg = nat64clat_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);
446 ctlv = (ipfw_obj_ctlv *)(oh + 1);
469 ipfw_obj_header *oh;
471 if (sd->valsize != sizeof(*oh))
473 oh = (ipfw_obj_header *)sd->kbuf;
474 if (ipfw_check_object_name_generic(oh->ntlv.name) != 0 ||
475 oh->ntlv.set >= IPFW_MAX_SETS)
479 cfg = nat64clat_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);