Lines Matching refs:ipfw_obj_header
48 static void table_modify_record(ipfw_obj_header *oh, int ac, char *av[],
50 static int table_flush(ipfw_obj_header *oh);
51 static int table_destroy(ipfw_obj_header *oh);
52 static int table_do_create(ipfw_obj_header *oh, ipfw_xtable_info *i);
53 static int table_do_modify(ipfw_obj_header *oh, ipfw_xtable_info *i);
54 static int table_do_swap(ipfw_obj_header *oh, char *second);
55 static void table_create(ipfw_obj_header *oh, int ac, char *av[]);
56 static void table_modify(ipfw_obj_header *oh, int ac, char *av[]);
57 static void table_lookup(ipfw_obj_header *oh, int ac, char *av[]);
58 static void table_lock(ipfw_obj_header *oh, int lock);
59 static int table_swap(ipfw_obj_header *oh, char *second);
60 static int table_get_info(ipfw_obj_header *oh, ipfw_xtable_info *i);
66 static int table_do_get_list(ipfw_xtable_info *i, ipfw_obj_header **poh);
67 static void table_show_list(ipfw_obj_header *oh, int need_header);
70 static void tentry_fill_key(ipfw_obj_header *oh, ipfw_obj_tentry *tent,
72 static void tentry_fill_value(ipfw_obj_header *oh, ipfw_obj_tentry *tent,
165 ipfw_obj_header oh; in ipfw_table_handler()
326 table_fill_objheader(ipfw_obj_header *oh, ipfw_xtable_info *i) in table_fill_objheader()
406 table_create(ipfw_obj_header *oh, int ac, char *av[]) in table_create()
518 table_do_create(ipfw_obj_header *oh, ipfw_xtable_info *i) in table_do_create()
520 char tbuf[sizeof(ipfw_obj_header) + sizeof(ipfw_xtable_info)]; in table_do_create()
525 oh = (ipfw_obj_header *)tbuf; in table_do_create()
538 table_modify(ipfw_obj_header *oh, int ac, char *av[]) in table_modify()
573 table_do_modify(ipfw_obj_header *oh, ipfw_xtable_info *i) in table_do_modify()
575 char tbuf[sizeof(ipfw_obj_header) + sizeof(ipfw_xtable_info)]; in table_do_modify()
580 oh = (ipfw_obj_header *)tbuf; in table_do_modify()
591 table_lock(ipfw_obj_header *oh, int lock) in table_lock()
609 table_destroy(ipfw_obj_header *oh) in table_destroy()
621 ipfw_obj_header *oh; in table_destroy_one()
623 oh = (ipfw_obj_header *)arg; in table_destroy_one()
639 table_flush(ipfw_obj_header *oh) in table_flush()
649 table_do_swap(ipfw_obj_header *oh, char *second) in table_do_swap()
651 char tbuf[sizeof(ipfw_obj_header) + sizeof(ipfw_obj_ntlv)]; in table_do_swap()
656 oh = (ipfw_obj_header *)tbuf; in table_do_swap()
668 table_swap(ipfw_obj_header *oh, char *second) in table_swap()
694 table_get_info(ipfw_obj_header *oh, ipfw_xtable_info *i) in table_get_info()
696 char tbuf[sizeof(ipfw_obj_header) + sizeof(ipfw_xtable_info)]; in table_get_info()
702 oh = (ipfw_obj_header *)tbuf; in table_get_info()
860 ipfw_obj_header *oh = NULL; in table_show_one()
880 ipfw_obj_header *oh; in table_flush_one()
882 oh = (ipfw_obj_header *)arg; in table_flush_one()
890 table_do_modify_record(int cmd, ipfw_obj_header *oh, in table_do_modify_record()
910 oh = (ipfw_obj_header *)pbuf; in table_do_modify_record()
942 table_modify_record(ipfw_obj_header *oh, int ac, char *av[], int add, in table_modify_record()
1113 table_do_lookup(ipfw_obj_header *oh, char *key, ipfw_xtable_info *xi, in table_do_lookup()
1116 char xbuf[sizeof(ipfw_obj_header) + sizeof(ipfw_obj_tentry)]; in table_do_lookup()
1123 oh = (ipfw_obj_header *)xbuf; in table_do_lookup()
1146 table_lookup(ipfw_obj_header *oh, int ac, char *av[]) in table_lookup()
1429 tentry_fill_key(ipfw_obj_header *oh, ipfw_obj_tentry *tent, char *key, in tentry_fill_key()
1506 tentry_fill_value(ipfw_obj_header *oh __unused, ipfw_obj_tentry *tent, in tentry_fill_value()
1727 table_do_get_list(ipfw_xtable_info *i, ipfw_obj_header **poh) in table_do_get_list()
1729 ipfw_obj_header *oh; in table_do_get_list()
1761 table_show_list(ipfw_obj_header *oh, int need_header) in table_show_list()