| /freebsd-14-stable/sys/netgraph/ |
| HD | ng_rfc1490.c | 81 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 228 ERROUT(EINVAL); in ng_rfc1490_rcvmsg() 249 ERROUT(ENOMEM); in ng_rfc1490_rcvmsg() 318 ERROUT(ENOBUFS); in ng_rfc1490_rcvdata() 326 ERROUT(0); in ng_rfc1490_rcvdata() 350 ERROUT(0); in ng_rfc1490_rcvdata() 356 ERROUT(0); /* unknown PID octet 0 */ in ng_rfc1490_rcvdata() 358 ERROUT(0); /* not FCS-less 802.3 */ in ng_rfc1490_rcvdata() 362 ERROUT(0); in ng_rfc1490_rcvdata() 376 ERROUT(0); in ng_rfc1490_rcvdata() [all …]
|
| HD | ng_tcpmss.c | 143 #define ERROUT(x) { error = (x); goto done; } macro 195 ERROUT(EINVAL); in ng_tcpmss_rcvmsg() 200 ERROUT(ENOENT); in ng_tcpmss_rcvmsg() 209 ERROUT(ENOMEM); in ng_tcpmss_rcvmsg() 228 ERROUT(EINVAL); in ng_tcpmss_rcvmsg() 234 ERROUT(ENOENT); in ng_tcpmss_rcvmsg() 296 ERROUT(ENOBUFS); \ in ng_tcpmss_rcvdata() 305 ERROUT(EINVAL); in ng_tcpmss_rcvdata() 310 ERROUT(EINVAL); in ng_tcpmss_rcvdata() 324 ERROUT(EINVAL); in ng_tcpmss_rcvdata()
|
| HD | ng_tag.c | 77 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 366 ERROUT(EINVAL); in ng_tag_rcvmsg() 370 ERROUT(ENOENT); in ng_tag_rcvmsg() 374 ERROUT(error); in ng_tag_rcvmsg() 387 ERROUT(EINVAL); in ng_tag_rcvmsg() 391 ERROUT(ENOENT); in ng_tag_rcvmsg() 395 ERROUT(error); in ng_tag_rcvmsg() 406 ERROUT(EINVAL); in ng_tag_rcvmsg() 411 ERROUT(ENOENT); in ng_tag_rcvmsg() 430 ERROUT(EINVAL); in ng_tag_rcvmsg() [all …]
|
| HD | ng_l2tp.c | 353 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 767 ERROUT(ENXIO); in ng_l2tp_rcvdata_lower() 785 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower() 790 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower() 802 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower() 811 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower() 819 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower() 827 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower() 837 ERROUT(EINVAL); in ng_l2tp_rcvdata_lower() 849 ERROUT(EADDRNOTAVAIL); in ng_l2tp_rcvdata_lower() [all …]
|
| HD | ng_ksocket.c | 503 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 683 ERROUT(EINVAL); in ng_ksocket_rcvmsg() 685 ERROUT(ENXIO); in ng_ksocket_rcvmsg() 695 ERROUT(EINVAL); in ng_ksocket_rcvmsg() 697 ERROUT(ENXIO); in ng_ksocket_rcvmsg() 715 ERROUT(EINVAL); in ng_ksocket_rcvmsg() 717 ERROUT(ENXIO); in ng_ksocket_rcvmsg() 721 ERROUT(EINVAL); in ng_ksocket_rcvmsg() 723 ERROUT(EALREADY); in ng_ksocket_rcvmsg() 735 ERROUT(error); in ng_ksocket_rcvmsg() [all …]
|
| HD | ng_bpf.c | 82 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 322 ERROUT(EINVAL); in ng_bpf_rcvmsg() 326 ERROUT(ENOENT); in ng_bpf_rcvmsg() 330 ERROUT(error); in ng_bpf_rcvmsg() 341 ERROUT(EINVAL); in ng_bpf_rcvmsg() 346 ERROUT(ENOENT); in ng_bpf_rcvmsg() 353 ERROUT(ENOMEM); in ng_bpf_rcvmsg() 368 ERROUT(EINVAL); in ng_bpf_rcvmsg() 373 ERROUT(ENOENT); in ng_bpf_rcvmsg() 381 ERROUT(ENOMEM); in ng_bpf_rcvmsg()
|
| HD | ng_patch.c | 66 #define ERROUT(x) { error = (x); goto done; } macro 218 ERROUT(EINVAL); in ng_patch_rcvmsg() 224 ERROUT(0); in ng_patch_rcvmsg() 230 ERROUT(ENOMEM); in ng_patch_rcvmsg() 261 ERROUT(EINVAL); in ng_patch_rcvmsg() 278 ERROUT(EINVAL); in ng_patch_rcvmsg() 303 ERROUT(ENOMEM); in ng_patch_rcvmsg() 317 ERROUT(ENOMEM); in ng_patch_rcvmsg() 325 ERROUT(EINVAL); in ng_patch_rcvmsg() 335 ERROUT(EINVAL); in ng_patch_rcvmsg() [all …]
|
| HD | ng_checksum.c | 76 #define ERROUT(x) { error = (x); goto done; } macro 199 ERROUT(EINVAL); in ng_checksum_rcvmsg() 207 ERROUT(ENOMEM); in ng_checksum_rcvmsg() 215 ERROUT(EINVAL); in ng_checksum_rcvmsg() 225 ERROUT(EINVAL); in ng_checksum_rcvmsg() 232 ERROUT(0); in ng_checksum_rcvmsg() 237 ERROUT(ENOMEM); in ng_checksum_rcvmsg() 247 ERROUT(EINVAL); in ng_checksum_rcvmsg() 270 ERROUT(ENOMEM); in ng_checksum_rcvmsg() 281 ERROUT(EINVAL); in ng_checksum_rcvmsg() [all …]
|
| HD | ng_pptpgre.c | 307 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 432 ERROUT(EINVAL); in ng_pptpgre_rcvmsg() 456 ERROUT(EINVAL); in ng_pptpgre_rcvmsg() 461 ERROUT(EINVAL); in ng_pptpgre_rcvmsg() 464 ERROUT(ENOMEM); in ng_pptpgre_rcvmsg() 476 ERROUT(ENOMEM); in ng_pptpgre_rcvmsg() 607 ERROUT(ENOBUFS); in ng_pptpgre_xmit() 614 ERROUT(EMSGSIZE); in ng_pptpgre_xmit() 651 ERROUT(ENOBUFS); in ng_pptpgre_xmit() 660 ERROUT(ENOBUFS); in ng_pptpgre_xmit() [all …]
|
| HD | ng_async.c | 91 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 267 ERROUT(ENOMEM); in nga_rcvmsg() 280 ERROUT(EINVAL); in nga_rcvmsg() 285 ERROUT(EINVAL); in nga_rcvmsg() 291 ERROUT(ENOMEM); in nga_rcvmsg() 299 ERROUT(ENOMEM); in nga_rcvmsg() 315 ERROUT(ENOMEM); in nga_rcvmsg() 319 ERROUT(EINVAL); in nga_rcvmsg() 323 ERROUT(EINVAL); in nga_rcvmsg()
|
| HD | ng_frame_relay.c | 149 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 338 ERROUT(ENETDOWN); in ngfrm_rcvdata() 352 ERROUT(ENETDOWN); in ngfrm_rcvdata() 360 ERROUT(ENOBUFS); in ngfrm_rcvdata() 419 ERROUT(ENOBUFS); in ngfrm_decode() 441 ERROUT(EINVAL); in ngfrm_decode() 445 ERROUT(EINVAL); in ngfrm_decode()
|
| HD | ng_UI.c | 159 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 178 ERROUT(ENOBUFS); in ng_UI_rcvdata() 183 ERROUT(0); in ng_UI_rcvdata() 190 ERROUT(ENOBUFS); in ng_UI_rcvdata()
|
| HD | ng_tty.c | 108 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 277 ERROUT(EINVAL); in ngt_rcvmsg() 280 ERROUT(EINVAL); in ngt_rcvmsg() 287 ERROUT(ENOMEM); in ngt_rcvmsg() 292 ERROUT(EINVAL); in ngt_rcvmsg() 296 ERROUT(EINVAL); in ngt_rcvmsg()
|
| HD | ng_deflate.c | 160 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 221 ERROUT(EINVAL); in ng_deflate_rcvmsg() 231 ERROUT(EINVAL); in ng_deflate_rcvmsg() 234 ERROUT(EINVAL); in ng_deflate_rcvmsg() 262 ERROUT(ENOMEM); in ng_deflate_rcvmsg() 271 ERROUT(ENOMEM); in ng_deflate_rcvmsg() 296 ERROUT(ENOMEM); in ng_deflate_rcvmsg()
|
| HD | ng_ppp.c | 478 #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 …]
|
| HD | ng_vjc.c | 87 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 307 ERROUT(EINVAL); in ng_vjc_rcvmsg() 310 ERROUT(EALREADY); in ng_vjc_rcvmsg() 314 ERROUT(EINVAL); in ng_vjc_rcvmsg() 330 ERROUT(ENOMEM); in ng_vjc_rcvmsg() 345 ERROUT(ENOMEM); in ng_vjc_rcvmsg()
|
| HD | ng_mppc.c | 203 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 282 ERROUT(EINVAL); in ng_mppc_rcvmsg() 285 ERROUT(EINVAL); in ng_mppc_rcvmsg() 288 ERROUT(EPROTONOSUPPORT); in ng_mppc_rcvmsg() 292 ERROUT(EPROTONOSUPPORT); in ng_mppc_rcvmsg() 316 ERROUT(ENOMEM); in ng_mppc_rcvmsg()
|
| HD | ng_pred1.c | 176 #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()
|
| HD | ng_device.c | 68 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 250 ERROUT(ENOMEM); in ng_device_rcvmsg()
|
| HD | ng_base.c | 405 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 1367 ERROUT(ENOENT); in ng_con_part3() 1373 ERROUT(error); in ng_con_part3() 1407 ERROUT(EEXIST); in ng_con_part2() 1420 ERROUT(error); in ng_con_part2() 1447 ERROUT(error); in ng_con_part2() 1460 ERROUT(ENOENT); in ng_con_part2() 2255 ERROUT(EINVAL); in ng_snd_item()
|
| /freebsd-14-stable/sys/netgraph/netflow/ |
| HD | ng_netflow.c | 401 ERROUT(EINVAL); in ng_netflow_rcvmsg() 405 ERROUT(EINVAL); in ng_netflow_rcvmsg() 409 ERROUT(EINVAL); in ng_netflow_rcvmsg() 426 ERROUT(EINVAL); in ng_netflow_rcvmsg() 430 ERROUT(EINVAL); in ng_netflow_rcvmsg() 435 ERROUT(EINVAL); in ng_netflow_rcvmsg() 445 ERROUT(EINVAL); in ng_netflow_rcvmsg() 456 ERROUT(EINVAL); in ng_netflow_rcvmsg() 460 ERROUT(EINVAL); in ng_netflow_rcvmsg() 465 ERROUT(EINVAL); in ng_netflow_rcvmsg() [all …]
|
| HD | ng_netflow.h | 493 #define ERROUT(x) { error = (x); goto done; } macro
|
| /freebsd-14-stable/sys/netpfil/pf/ |
| HD | pf_ioctl.c | 2160 #define ERROUT(x) ERROUT_FUNCTION(errout, x) in pf_ioctl_addrule() macro 2186 ERROUT(EINVAL); in pf_ioctl_addrule() 2189 ERROUT(EINVAL); in pf_ioctl_addrule() 2194 ERROUT(EBUSY); in pf_ioctl_addrule() 2200 ERROUT(EBUSY); in pf_ioctl_addrule() 2210 ERROUT(EINVAL); in pf_ioctl_addrule() 2293 ERROUT(error); in pf_ioctl_addrule() 2309 ERROUT(EEXIST); in pf_ioctl_addrule() 2315 #undef ERROUT in pf_ioctl_addrule() 2651 #define ERROUT(x) ERROUT_IOCTL(DIOCGETETHRULES_error, x) in pfioctl() macro [all …]
|
| HD | pf_syncookies.c | 153 #define ERROUT(x) ERROUT_FUNCTION(errout, x) in pf_get_syncookies() macro 157 ERROUT(ENOMEM); in pf_get_syncookies() 170 ERROUT(ENOMEM); in pf_get_syncookies() 173 ERROUT(0); in pf_get_syncookies() 175 ERROUT(ENOSPC); in pf_get_syncookies() 180 #undef ERROUT in pf_get_syncookies() 198 #define ERROUT(x) ERROUT_FUNCTION(errout, x) in pf_set_syncookies() macro 206 ERROUT(error); in pf_set_syncookies() 210 ERROUT(EBADMSG); in pf_set_syncookies() 214 ERROUT(EBADMSG); in pf_set_syncookies() [all …]
|
| HD | pf_nv.c | 509 #define ERROUT(x) ERROUT_FUNCTION(errout, x) in pf_nvrule_to_krule() macro 514 ERROUT(EINVAL); in pf_nvrule_to_krule() 519 ERROUT(error); in pf_nvrule_to_krule() 522 ERROUT(EINVAL); in pf_nvrule_to_krule() 537 ERROUT(E2BIG); in pf_nvrule_to_krule() 543 ERROUT(E2BIG); in pf_nvrule_to_krule() 564 ERROUT(EINVAL); in pf_nvrule_to_krule() 591 ERROUT(EINVAL); in pf_nvrule_to_krule() 596 ERROUT(EINVAL); in pf_nvrule_to_krule() 633 ERROUT(EINVAL); in pf_nvrule_to_krule() [all …]
|