Lines Matching refs:hdr
2424 ipfw_cfg_lheader *hdr;
2430 hdr = (ipfw_cfg_lheader *)ipfw_get_sopt_header(sd, sizeof(*hdr));
2431 if (hdr == NULL)
2441 if (hdr->flags & (IPFW_CFG_GET_STATIC | IPFW_CFG_GET_STATES))
2454 if (hdr->end_rule != 0) {
2456 if ((rnum = hdr->start_rule) > IPFW_DEFAULT_RULE)
2459 rnum = (hdr->end_rule < IPFW_DEFAULT_RULE) ?
2460 hdr->end_rule + 1: IPFW_DEFAULT_RULE;
2464 if (hdr->flags & IPFW_CFG_GET_STATIC) {
2473 if (hdr->flags & IPFW_CFG_GET_COUNTERS) {
2480 if (hdr->flags & IPFW_CFG_GET_STATES) {
2495 hdr->size = sz;
2496 hdr->set_mask = ~V_set_disable;
2497 hdr_flags = hdr->flags;
2498 hdr = NULL;
3376 ipfw_obj_lheader *hdr;
3379 hdr = (ipfw_obj_lheader *)ipfw_get_sopt_header(sd, sizeof(*hdr));
3380 if (hdr == NULL)
3385 hdr->size = sizeof(ipfw_obj_lheader) + count * sizeof(ipfw_obj_ntlv);
3386 if (sd->valsize < hdr->size) {
3390 hdr->count = count;
3391 hdr->objsize = sizeof(ipfw_obj_ntlv);