Lines Matching defs:oh
254 ipfw_obj_header *oh;
259 if (sd->valsize != sizeof(*oh) + sizeof(*uc))
262 oh = (ipfw_obj_header *)ipfw_get_sopt_space(sd,
263 sizeof(*oh) + sizeof(*uc));
264 uc = (ipfw_nat64stl_cfg *)(oh + 1);
266 if (ipfw_check_object_name_generic(oh->ntlv.name) != 0 ||
267 oh->ntlv.set >= IPFW_MAX_SETS)
273 cfg = nat64stl_find(ni, oh->ntlv.name, oh->ntlv.set);
284 cfg = nat64stl_find(ni, oh->ntlv.name, oh->ntlv.set);
324 ipfw_obj_header *oh;
327 if (sd->valsize != sizeof(*oh))
330 oh = (ipfw_obj_header *)sd->kbuf;
331 if (ipfw_check_object_name_generic(oh->ntlv.name) != 0)
335 cfg = nat64stl_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);
428 ipfw_obj_header *oh;
437 oh = (ipfw_obj_header *)ipfw_get_sopt_header(sd, sz);
438 if (oh == NULL)
443 cfg = nat64stl_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);
451 ctlv = (ipfw_obj_ctlv *)(oh + 1);
474 ipfw_obj_header *oh;
476 if (sd->valsize != sizeof(*oh))
478 oh = (ipfw_obj_header *)sd->kbuf;
479 if (ipfw_check_object_name_generic(oh->ntlv.name) != 0 ||
480 oh->ntlv.set >= IPFW_MAX_SETS)
484 cfg = nat64stl_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set);