Home
last modified time | relevance | path

Searched refs:ERROUT (Results 1 – 21 of 21) sorted by relevance

/NextBSD/sys/netgraph/
HDng_rfc1490.c83 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
230 ERROUT(EINVAL); in ng_rfc1490_rcvmsg()
251 ERROUT(ENOMEM); in ng_rfc1490_rcvmsg()
320 ERROUT(ENOBUFS); in ng_rfc1490_rcvdata()
328 ERROUT(0); in ng_rfc1490_rcvdata()
352 ERROUT(0); in ng_rfc1490_rcvdata()
358 ERROUT(0); /* unknown PID octet 0 */ in ng_rfc1490_rcvdata()
360 ERROUT(0); /* not FCS-less 802.3 */ in ng_rfc1490_rcvdata()
364 ERROUT(0); in ng_rfc1490_rcvdata()
378 ERROUT(0); in ng_rfc1490_rcvdata()
[all …]
HDng_tcpmss.c144 #define ERROUT(x) { error = (x); goto done; } macro
196 ERROUT(EINVAL); in ng_tcpmss_rcvmsg()
201 ERROUT(ENOENT); in ng_tcpmss_rcvmsg()
210 ERROUT(ENOMEM); in ng_tcpmss_rcvmsg()
229 ERROUT(EINVAL); in ng_tcpmss_rcvmsg()
235 ERROUT(ENOENT); in ng_tcpmss_rcvmsg()
297 ERROUT(ENOBUFS); \ in ng_tcpmss_rcvdata()
306 ERROUT(EINVAL); in ng_tcpmss_rcvdata()
311 ERROUT(EINVAL); in ng_tcpmss_rcvdata()
325 ERROUT(EINVAL); in ng_tcpmss_rcvdata()
HDng_tag.c77 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
367 ERROUT(EINVAL); in ng_tag_rcvmsg()
371 ERROUT(ENOENT); in ng_tag_rcvmsg()
375 ERROUT(error); in ng_tag_rcvmsg()
389 ERROUT(EINVAL); in ng_tag_rcvmsg()
393 ERROUT(ENOENT); in ng_tag_rcvmsg()
397 ERROUT(error); in ng_tag_rcvmsg()
408 ERROUT(EINVAL); in ng_tag_rcvmsg()
413 ERROUT(ENOENT); in ng_tag_rcvmsg()
432 ERROUT(EINVAL); in ng_tag_rcvmsg()
[all …]
HDng_ksocket.c502 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
684 ERROUT(EINVAL); in ng_ksocket_rcvmsg()
686 ERROUT(ENXIO); in ng_ksocket_rcvmsg()
696 ERROUT(EINVAL); in ng_ksocket_rcvmsg()
698 ERROUT(ENXIO); in ng_ksocket_rcvmsg()
709 ERROUT(EINVAL); in ng_ksocket_rcvmsg()
711 ERROUT(ENXIO); in ng_ksocket_rcvmsg()
715 ERROUT(EINVAL); in ng_ksocket_rcvmsg()
717 ERROUT(EALREADY); in ng_ksocket_rcvmsg()
721 ERROUT(error); in ng_ksocket_rcvmsg()
[all …]
HDng_l2tp.c348 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
766 ERROUT(ENXIO); in ng_l2tp_rcvdata_lower()
784 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower()
789 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower()
801 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower()
810 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower()
818 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower()
826 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower()
836 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower()
848 ERROUT(EADDRNOTAVAIL); in ng_l2tp_rcvdata_lower()
[all …]
HDng_pptpgre.c268 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
384 ERROUT(EINVAL); in ng_pptpgre_rcvmsg()
408 ERROUT(EINVAL); in ng_pptpgre_rcvmsg()
413 ERROUT(EINVAL); in ng_pptpgre_rcvmsg()
416 ERROUT(ENOMEM); in ng_pptpgre_rcvmsg()
428 ERROUT(ENOMEM); in ng_pptpgre_rcvmsg()
560 ERROUT(ENOBUFS); in ng_pptpgre_xmit()
567 ERROUT(EMSGSIZE); in ng_pptpgre_xmit()
604 ERROUT(ENOBUFS); in ng_pptpgre_xmit()
613 ERROUT(ENOBUFS); in ng_pptpgre_xmit()
[all …]
HDng_bpf.c84 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
325 ERROUT(EINVAL); in ng_bpf_rcvmsg()
329 ERROUT(ENOENT); in ng_bpf_rcvmsg()
333 ERROUT(error); in ng_bpf_rcvmsg()
344 ERROUT(EINVAL); in ng_bpf_rcvmsg()
349 ERROUT(ENOENT); in ng_bpf_rcvmsg()
356 ERROUT(ENOMEM); in ng_bpf_rcvmsg()
371 ERROUT(EINVAL); in ng_bpf_rcvmsg()
376 ERROUT(ENOENT); in ng_bpf_rcvmsg()
384 ERROUT(ENOMEM); in ng_bpf_rcvmsg()
HDng_async.c94 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
270 ERROUT(ENOMEM); in nga_rcvmsg()
283 ERROUT(EINVAL); in nga_rcvmsg()
288 ERROUT(EINVAL); in nga_rcvmsg()
294 ERROUT(ENOMEM); in nga_rcvmsg()
302 ERROUT(ENOMEM); in nga_rcvmsg()
318 ERROUT(ENOMEM); in nga_rcvmsg()
322 ERROUT(EINVAL); in nga_rcvmsg()
326 ERROUT(EINVAL); in nga_rcvmsg()
HDng_frame_relay.c151 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
341 ERROUT(ENETDOWN); in ngfrm_rcvdata()
355 ERROUT(ENETDOWN); in ngfrm_rcvdata()
363 ERROUT(ENOBUFS); in ngfrm_rcvdata()
422 ERROUT(ENOBUFS); in ngfrm_decode()
444 ERROUT(EINVAL); in ngfrm_decode()
448 ERROUT(EINVAL); in ngfrm_decode()
HDng_UI.c162 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
181 ERROUT(ENOBUFS); in ng_UI_rcvdata()
186 ERROUT(0); in ng_UI_rcvdata()
193 ERROUT(ENOBUFS); in ng_UI_rcvdata()
HDng_tty.c110 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
279 ERROUT(EINVAL); in ngt_rcvmsg()
282 ERROUT(EINVAL); in ngt_rcvmsg()
289 ERROUT(ENOMEM); in ngt_rcvmsg()
294 ERROUT(EINVAL); in ngt_rcvmsg()
298 ERROUT(EINVAL); in ngt_rcvmsg()
HDng_deflate.c164 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
225 ERROUT(EINVAL); in ng_deflate_rcvmsg()
235 ERROUT(EINVAL); in ng_deflate_rcvmsg()
238 ERROUT(EINVAL); in ng_deflate_rcvmsg()
268 ERROUT(ENOMEM); in ng_deflate_rcvmsg()
277 ERROUT(ENOMEM); in ng_deflate_rcvmsg()
302 ERROUT(ENOMEM); in ng_deflate_rcvmsg()
HDng_ppp.c478 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
600 ERROUT(EINVAL); in ng_ppp_rcvmsg()
602 ERROUT(EINVAL); in ng_ppp_rcvmsg()
618 ERROUT(ENOMEM); in ng_ppp_rcvmsg()
632 ERROUT(ENOMEM); in ng_ppp_rcvmsg()
654 ERROUT(EINVAL); in ng_ppp_rcvmsg()
658 ERROUT(EINVAL); in ng_ppp_rcvmsg()
668 ERROUT(ENOMEM); in ng_ppp_rcvmsg()
678 ERROUT(ENOMEM); in ng_ppp_rcvmsg()
1327 ERROUT(ENETDOWN); in ng_ppp_link_xmit()
[all …]
HDng_vjc.c89 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
309 ERROUT(EINVAL); in ng_vjc_rcvmsg()
312 ERROUT(EALREADY); in ng_vjc_rcvmsg()
316 ERROUT(EINVAL); in ng_vjc_rcvmsg()
332 ERROUT(ENOMEM); in ng_vjc_rcvmsg()
347 ERROUT(ENOMEM); in ng_vjc_rcvmsg()
HDng_mppc.c204 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
283 ERROUT(EINVAL); in ng_mppc_rcvmsg()
286 ERROUT(EINVAL); in ng_mppc_rcvmsg()
289 ERROUT(EPROTONOSUPPORT); in ng_mppc_rcvmsg()
293 ERROUT(EPROTONOSUPPORT); in ng_mppc_rcvmsg()
317 ERROUT(ENOMEM); in ng_mppc_rcvmsg()
HDng_pred1.c176 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
237 ERROUT(EINVAL); in ng_pred1_rcvmsg()
247 ERROUT(EINVAL); in ng_pred1_rcvmsg()
273 ERROUT(ENOMEM); in ng_pred1_rcvmsg()
HDng_device.c63 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
219 ERROUT(ENOMEM); in ng_device_rcvmsg()
HDng_base.c403 #define ERROUT(x) do { error = (x); goto done; } while (0) macro
1361 ERROUT(ENOENT); in ng_con_part3()
1367 ERROUT(error); in ng_con_part3()
1401 ERROUT(EEXIST); in ng_con_part2()
1414 ERROUT(error); in ng_con_part2()
1441 ERROUT(error); in ng_con_part2()
1454 ERROUT(ENOENT); in ng_con_part2()
2250 ERROUT(EINVAL); in ng_snd_item()
/NextBSD/sys/netgraph/netflow/
HDng_netflow.c400 ERROUT(EINVAL); in ng_netflow_rcvmsg()
404 ERROUT(EINVAL); in ng_netflow_rcvmsg()
408 ERROUT(EINVAL); in ng_netflow_rcvmsg()
425 ERROUT(EINVAL); in ng_netflow_rcvmsg()
429 ERROUT(EINVAL); in ng_netflow_rcvmsg()
434 ERROUT(EINVAL); in ng_netflow_rcvmsg()
444 ERROUT(EINVAL); in ng_netflow_rcvmsg()
455 ERROUT(EINVAL); in ng_netflow_rcvmsg()
459 ERROUT(EINVAL); in ng_netflow_rcvmsg()
464 ERROUT(EINVAL); in ng_netflow_rcvmsg()
[all …]
HDng_netflow.h495 #define ERROUT(x) { error = (x); goto done; } macro
/NextBSD/sys/netpfil/pf/
HDpf_ioctl.c1175 #define ERROUT(x) { error = (x); goto DIOCADDRULE_error; } in pfioctl() macro
1181 ERROUT(EINVAL); in pfioctl()
1184 ERROUT(EINVAL); in pfioctl()
1189 ERROUT(EBUSY); in pfioctl()
1195 ERROUT(EBUSY); in pfioctl()
1284 #undef ERROUT in pfioctl()
1432 #define ERROUT(x) { error = (x); goto DIOCCHANGERULE_error; } in pfioctl() macro
1438 ERROUT(EBUSY); in pfioctl()
1442 ERROUT(EINVAL); in pfioctl()
1446 ERROUT(EINVAL); in pfioctl()
[all …]