Lines Matching defs:error
82 #error "NOT SUPPORTED IPV6 DIVERT"
85 #error "NOT SUPPORTED IPV6 DIVERT"
163 int error;
165 error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req);
166 if (error || !req->newptr)
167 return (error);
171 return error;
1145 int error;
1206 error = zero_entry6(m);
1211 return (error);
1222 error = EINVAL;
1224 error = add_entry6(&ip6_fw_chain, frwl);
1229 return error;
1235 error = EINVAL;
1238 error = EINVAL;
1240 error = del_entry6(&ip6_fw_chain,
1246 return error;
1278 int error = 0;
1295 if ((error = sooptcopyin(sopt, &rule, sizeof(rule), sizeof(rule))))
1296 return error;
1314 if (!buf) error = ENOBUFS;
1330 error = sooptcopyout(sopt, buf, size);
1352 error = zero_entry6(&rule);
1357 error = add_entry6(&ip6_fw_chain, &rule);
1361 error = EINVAL;
1368 error = EINVAL;
1371 error = del_entry6(&ip6_fw_chain, rule.fw_number);
1379 error = EINVAL;
1382 return error;