Lines Matching defs:oh
578 ipfw_obj_header *oh;
585 if (sd->valsize < (sizeof(*oh) + sizeof(*ucfg)))
588 oh = (ipfw_obj_header *)sd->kbuf;
591 if (oh->ntlv.head.length != sizeof(oh->ntlv))
594 ucfg = (struct nat44_cfg_nat *)(oh + 1);
603 read = sizeof(*oh) + sizeof(*ucfg);
623 ipfw_obj_header *oh;
628 if (sd->valsize < sizeof(*oh))
631 oh = (ipfw_obj_header *)sd->kbuf;
634 if (oh->ntlv.head.length != sizeof(oh->ntlv))
637 ntlv = &oh->ntlv;
683 ipfw_obj_header *oh;
692 sz = sizeof(*oh) + sizeof(*ucfg);
697 oh = (struct _ipfw_obj_header *)ipfw_get_sopt_header(sd, sz);
700 if (oh->ntlv.head.length != sizeof(oh->ntlv))
703 ucfg = (struct nat44_cfg_nat *)(oh + 1);
827 ipfw_obj_header *oh;
833 sz = sizeof(*oh) + sizeof(*ucfg);
838 oh = (struct _ipfw_obj_header *)ipfw_get_sopt_header(sd, sz);
841 if (oh->ntlv.head.length != sizeof(oh->ntlv))
844 ucfg = (struct nat44_cfg_nat *)(oh + 1);
866 if (sd->valsize < sz + sizeof(*oh)) {