H A D | ipfw2.c | 1 /*- 2 * Copyright (c) 2002-2003 Luigi Rizzo 3 * Copyright (c) 1996 Alex Nash, Paul Traina, Poul-Henning Kamp 75 static int ipfw_socket = -1; 206 {"src-addr", DYN_SRC_ADDR}, 207 {"src-port", DYN_SRC_PORT}, 208 {"dst-addr", DYN_DST_ADDR}, 209 {"dst-port", DYN_DST_PORT}, 220 * Note, we cannot use "-:&/" in the names because they are field 222 * end-delimite 512 bprint_uint_arg(struct buf_pr * bp,const char * str,uint32_t arg) bprint_uint_arg() argument 919 print_port(struct buf_pr * bp,int proto,uint16_t port) print_port() argument 962 print_newports(struct buf_pr * bp,const ipfw_insn_u16 * cmd,int proto,int opcode) print_newports() argument 1219 print_reject_code(struct buf_pr * bp,uint16_t code) print_reject_code() argument 1259 print_flags(struct buf_pr * bp,char const * name,const ipfw_insn * cmd,struct _s_x * list) print_flags() argument 1292 print_ip(struct buf_pr * bp,const struct format_opts * fo,const ipfw_insn_ip * cmd) print_ip() argument 1394 format_mac(struct buf_pr * bp,const uint8_t * addr,const uint8_t * mask) format_mac() argument 1413 print_mac(struct buf_pr * bp,const ipfw_insn_mac * mac) print_mac() argument 1422 print_mac_lookup(struct buf_pr * bp,const struct format_opts * fo,const ipfw_insn * cmd) print_mac_lookup() argument 1462 print_icmptypes(struct buf_pr * bp,const ipfw_insn_u32 * cmd) print_icmptypes() argument 1477 print_dscp(struct buf_pr * bp,const ipfw_insn_u32 * cmd) print_dscp() argument 1551 print_limit_mask(struct buf_pr * bp,const ipfw_insn_limit * limit) print_limit_mask() argument 1568 print_instruction(struct buf_pr * bp,const struct format_opts * fo,struct show_state * state,const ipfw_insn * cmd) print_instruction() argument 1899 print_opcode(struct buf_pr * bp,struct format_opts * fo,struct show_state * state,int opcode) print_opcode() argument 1924 print_fwd(struct buf_pr * bp,const ipfw_insn * cmd) print_fwd() argument 1952 print_action_instruction(struct buf_pr * bp,const struct format_opts * fo,struct show_state * state,const ipfw_insn * cmd) print_action_instruction() argument 2143 print_action(struct buf_pr * bp,struct format_opts * fo,struct show_state * state,uint8_t opcode) print_action() argument 2162 print_proto(struct buf_pr * bp,struct format_opts * fo,struct show_state * state) print_proto() argument 2226 print_address(struct buf_pr * bp,struct format_opts * fo,struct show_state * state,const int opcodes[],size_t nops,int portop,int flag) print_address() argument 2297 show_static_rule(struct cmdline_opts * co,struct format_opts * fo,struct buf_pr * bp,struct ip_fw_rule * rule,struct ip_fw_bcounter * cntr) show_static_rule() argument 2415 show_dyn_state(struct cmdline_opts * co,struct format_opts * fo,struct buf_pr * bp,ipfw_dyn_rule * d) show_dyn_state() argument 2783 list_static_range(struct cmdline_opts * co,struct format_opts * fo,struct buf_pr * bp,ipfw_obj_tlv * rtlv,int rcnt) list_static_range() argument 2821 struct buf_pr *bp; list_dyn_state() local 2844 list_dyn_range(struct cmdline_opts * co,struct format_opts * fo,struct buf_pr * bp,caddr_t base,size_t sz) list_dyn_range() argument 2923 struct buf_pr bp; ipfw_show_config() local 5602 struct buf_pr bp; ipfw_add() local [all...] |