Searched refs:olh (Results 1 - 8 of 8) sorted by relevance
/freebsd-11.0-release/sys/netpfil/ipfw/ |
H A D | ip_fw_iface.c | 501 struct _ipfw_obj_lheader *olh; local 505 olh = (struct _ipfw_obj_lheader *)ipfw_get_sopt_header(sd,sizeof(*olh)); 506 if (olh == NULL) 508 if (sd->valsize < olh->size) 520 olh->count = count; 521 olh->objsize = sizeof(ipfw_iface_info); 523 if (size > olh->size) { 524 olh->size = size; 528 olh [all...] |
H A D | ip_fw_table_value.c | 730 struct _ipfw_obj_lheader *olh; local 735 olh = (struct _ipfw_obj_lheader *)ipfw_get_sopt_header(sd,sizeof(*olh)); 736 if (olh == NULL) 738 if (sd->valsize < olh->size) 748 olh->count = count; 749 olh->objsize = sizeof(ipfw_table_value); 751 if (size > olh->size) { 752 olh->size = size; 756 olh [all...] |
H A D | ip_fw_table.c | 108 static int export_tables(struct ip_fw_chain *ch, ipfw_obj_lheader *olh, 1659 struct _ipfw_obj_lheader *olh; local 1662 olh = (struct _ipfw_obj_lheader *)ipfw_get_sopt_header(sd,sizeof(*olh)); 1663 if (olh == NULL) 1665 if (sd->valsize < olh->size) 1669 error = export_tables(ch, olh, sd); 2089 export_tables(struct ip_fw_chain *ch, ipfw_obj_lheader *olh, argument 2100 olh->count = count; 2101 olh 2661 struct _ipfw_obj_lheader *olh; local [all...] |
H A D | ip_fw_nat.c | 770 ipfw_obj_lheader *olh; local 779 olh = (ipfw_obj_lheader *)ipfw_get_sopt_header(sd, sizeof(*olh)); 785 olh->count = nat_count; 786 olh->objsize = sizeof(struct nat44_cfg_nat); 787 olh->size = sizeof(*olh) + olh->count * olh->objsize; 789 if (sd->valsize < olh [all...] |
H A D | ip_fw_sockopt.c | 2997 struct _ipfw_obj_lheader *olh; local 3002 olh = (struct _ipfw_obj_lheader *)ipfw_get_sopt_header(sd,sizeof(*olh)); 3003 if (olh == NULL) 3005 if (sd->valsize < olh->size) 3013 olh->count = count; 3014 olh->objsize = sizeof(ipfw_sopt_info); 3016 if (size > olh->size) { 3017 olh->size = size; 3021 olh [all...] |
/freebsd-11.0-release/sbin/ipfw/ |
H A D | tables.c | 1611 ipfw_obj_lheader *olh; local 1617 sz = sizeof(*olh) + 16 * sizeof(ipfw_xtable_info); 1620 if ((olh = calloc(1, sz)) == NULL) 1623 olh->size = sz; 1624 if (do_get3(IP_FW_TABLES_XLIST, &olh->opheader, &sz) != 0) { 1625 sz = olh->size; 1626 free(olh); 1633 qsort(olh + 1, olh->count, olh 1867 ipfw_obj_lheader req, *olh; local 1908 ipfw_obj_lheader *olh; local 1970 ipfw_obj_lheader *olh; local [all...] |
H A D | nat.c | 995 ipfw_obj_lheader *olh; local 1001 sz = sizeof(*olh) + 16 * sizeof(struct nat44_cfg_nat); 1004 if ((olh = calloc(1, sz)) == NULL) 1007 olh->size = sz; 1008 if (do_get3(IP_FW_NAT44_LIST_NAT, &olh->opheader, &sz) != 0) { 1009 sz = olh->size; 1010 free(olh); 1017 qsort(olh + 1, olh->count, olh [all...] |
H A D | ipfw2.c | 5167 ipfw_obj_lheader req, *olh; local 5180 if ((olh = calloc(1, sz)) == NULL) 5183 olh->size = sz; 5184 if (do_get3(IP_FW_DUMP_SRVOBJECTS, &olh->opheader, &sz) != 0) { 5185 free(olh); 5189 if (olh->count > 0) 5193 ntlv = (ipfw_obj_ntlv *)(olh + 1); 5194 for (i = 0; i < olh->count; i++) { 5198 (ipfw_obj_ntlv *)(olh + 1), olh 5241 ipfw_obj_lheader req, *olh; local 5285 ipfw_obj_lheader *olh; local [all...] |
Completed in 132 milliseconds