do_set_x
error = do_set_x(IP_FW_DEL, &rulenum, sizeof(int));
if (do_set_x(IP_FW_ADD, (void *)rule, i) == -1) {
if (do_set_x(IP_FW_ZERO, NULL, 0) < 0)
if (do_set_x(IP_FW_ZERO, &rulenum, sizeof rulenum)) {
if (do_set_x(cmd, NULL, 0) < 0 ) {
int do_set_x(int optname, void *rule, int optlen);
int do_set_x(int optname, void *rule, int optlen);
i = do_set_x(IP_DUMMYNET_CONFIGURE, &pipe, sizeof pipe);
if (do_set_x(cmd, NULL, 0) < 0 ) {
error = do_set_x(IP_FW_NAT_ADD, ioc, len);
if (do_set_x(IP_FW_NAT_DEL, &i, sizeof(i)) == -1)
if (do_set_x(cmd, NULL, 0) < 0 ) {
error = do_set_x(IP_FW_SET_SWAP, num, sizeof(num));
error = do_set_x(IP_FW_SET_MOVE_RULE, num, sizeof(num));
error = do_set_x(IP_FW_SET_MOVE_SET, num, sizeof(num));
error = do_set_x(IP_FW_SET_FLUSH, &num, sizeof num);
error = do_set_x(IP_FW_SET_TOGGLE, &num, sizeof num);
if (do_set_x(IP_FW_STATE_DEL, &rulenum, sizeof(int)) < 0 )
if (do_set_x(IP_FW_STATE_FLUSH, NULL, 0) < 0 )
if(do_set_x(IP_FW_SYNC_CENTRE_CONF, data, len) < 0) {
if(do_set_x(IP_FW_SYNC_EDGE_START, &i, sizeof(i)) < 0) {
if(do_set_x(IP_FW_SYNC_CENTRE_START, &i, sizeof(i)) < 0) {
if(do_set_x(IP_FW_SYNC_EDGE_STOP, &i, sizeof(i)) < 0) {
if(do_set_x(IP_FW_SYNC_CENTRE_STOP, &i, sizeof(i)) < 0) {
if(do_set_x(IP_FW_SYNC_EDGE_CLEAR, &i, sizeof(i)) < 0) {
if(do_set_x(IP_FW_SYNC_CENTRE_CLEAR, &i, sizeof(i)) < 0) {
if(do_set_x(IP_FW_SYNC_EDGE_TEST, &i, sizeof(i)) < 0) {
if(do_set_x(IP_FW_SYNC_CENTRE_TEST, &n, sizeof(n)) < 0) {
if(do_set_x(IP_FW_SYNC_EDGE_CONF,
if (do_set_x(IP_FW_TABLE_APPEND, &tbl, size) < 0 )
if (do_set_x(IP_FW_TABLE_REMOVE, &tbl, size) < 0 ) {
if (do_set_x(IP_FW_TABLE_FLUSH, t, sizeof(struct ipfw_ioc_table)) < 0 )
if (do_set_x(IP_FW_TABLE_CREATE, t, sizeof(struct ipfw_ioc_table)) < 0)
if (do_set_x(IP_FW_TABLE_DELETE, t, sizeof(struct ipfw_ioc_table)) < 0)
if (do_set_x(IP_FW_TABLE_TEST, &tbl, size) < 0 ) {
if (do_set_x(IP_FW_TABLE_RENAME, &tbl, size) < 0 )