Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netpfil/ipfw/ip_fw_sockopt.c
Show First 20 Lines • Show All 3,129 Lines • ▼ Show 20 Lines | find_op_rw(ipfw_insn *cmd, uint16_t *puidx, uint8_t *ptype) | ||||
} | } | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||
int | int | ||||
classify_opcode_kidx(ipfw_insn *cmd, uint16_t *puidx) | classify_opcode_kidx(ipfw_insn *cmd, uint16_t *puidx) | ||||
{ | { | ||||
if (find_op_rw(cmd, puidx, NULL) == 0) | if (find_op_rw(cmd, puidx, NULL) == NULL) | ||||
return (1); | return (1); | ||||
return (0); | return (0); | ||||
} | } | ||||
void | void | ||||
update_opcode_kidx(ipfw_insn *cmd, uint16_t idx) | update_opcode_kidx(ipfw_insn *cmd, uint16_t idx) | ||||
{ | { | ||||
struct opcode_obj_rewrite *rw; | struct opcode_obj_rewrite *rw; | ||||
▲ Show 20 Lines • Show All 1,467 Lines • Show Last 20 Lines |