/freebsd/sys/netgraph/ |
H A D | 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 …]
|
H A D | ng_tcpmss.c | 149 #define ERROUT(x) { error = (x); goto done; } macro 201 ERROUT(EINVAL); in ng_tcpmss_rcvmsg() 206 ERROUT(ENOENT); in ng_tcpmss_rcvmsg() 215 ERROUT(ENOMEM); in ng_tcpmss_rcvmsg() 234 ERROUT(EINVAL); in ng_tcpmss_rcvmsg() 240 ERROUT(ENOENT); in ng_tcpmss_rcvmsg() 302 ERROUT(ENOBUFS); \ in ng_tcpmss_rcvdata() 311 ERROUT(EINVAL); in ng_tcpmss_rcvdata() 316 ERROUT(EINVAL); in ng_tcpmss_rcvdata() 330 ERROUT(EINVAL); in ng_tcpmss_rcvdata()
|
H A D | 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 …]
|
H A D | 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 …]
|
H A D | ng_ksocket.c | 587 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 767 ERROUT(EINVAL); in ng_ksocket_rcvmsg() 769 ERROUT(ENXIO); in ng_ksocket_rcvmsg() 779 ERROUT(EINVAL); in ng_ksocket_rcvmsg() 781 ERROUT(ENXIO); in ng_ksocket_rcvmsg() 799 ERROUT(EINVAL); in ng_ksocket_rcvmsg() 801 ERROUT(ENXIO); in ng_ksocket_rcvmsg() 805 ERROUT(EINVAL); in ng_ksocket_rcvmsg() 807 ERROUT(EALREADY); in ng_ksocket_rcvmsg() 819 ERROUT(error); in ng_ksocket_rcvmsg() [all …]
|
H A D | 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()
|
H A D | ng_patch.c | 65 #define ERROUT(x) { error = (x); goto done; } macro 217 ERROUT(EINVAL); in ng_patch_rcvmsg() 223 ERROUT(0); in ng_patch_rcvmsg() 229 ERROUT(ENOMEM); in ng_patch_rcvmsg() 260 ERROUT(EINVAL); in ng_patch_rcvmsg() 277 ERROUT(EINVAL); in ng_patch_rcvmsg() 302 ERROUT(ENOMEM); in ng_patch_rcvmsg() 316 ERROUT(ENOMEM); in ng_patch_rcvmsg() 324 ERROUT(EINVAL); in ng_patch_rcvmsg() 334 ERROUT(EINVAL); in ng_patch_rcvmsg() [all …]
|
H A D | 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 …]
|
H A D | ng_pptpgre.c | 313 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 438 ERROUT(EINVAL); in ng_pptpgre_rcvmsg() 462 ERROUT(EINVAL); in ng_pptpgre_rcvmsg() 467 ERROUT(EINVAL); in ng_pptpgre_rcvmsg() 470 ERROUT(ENOMEM); in ng_pptpgre_rcvmsg() 482 ERROUT(ENOMEM); in ng_pptpgre_rcvmsg() 613 ERROUT(ENOBUFS); in ng_pptpgre_xmit() 620 ERROUT(EMSGSIZE); in ng_pptpgre_xmit() 657 ERROUT(ENOBUFS); in ng_pptpgre_xmit() 666 ERROUT(ENOBUFS); in ng_pptpgre_xmit() [all …]
|
H A D | 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()
|
H A D | 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()
|
H A D | 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()
|
H A D | 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()
|
H A D | 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()
|
H A D | 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 …]
|
H A D | 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()
|
H A D | 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()
|
H A D | 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()
|
H A D | ng_device.c | 68 #define ERROUT(x) do { error = (x); goto done; } while (0) macro 250 ERROUT(ENOMEM); in ng_device_rcvmsg()
|
H A D | 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/sys/netgraph/netflow/ |
H A D | 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 …]
|
H A D | ng_netflow.h | 493 #define ERROUT(x) { error = (x); goto done; } macro
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_ioctl.c | 2082 #define ERROUT(x) ERROUT_FUNCTION(errout, x) in pf_ioctl_addrule() macro 2113 ERROUT(EINVAL); in pf_ioctl_addrule() 2116 ERROUT(EINVAL); in pf_ioctl_addrule() 2121 ERROUT(EBUSY); in pf_ioctl_addrule() 2127 ERROUT(EBUSY); in pf_ioctl_addrule() 2137 ERROUT(EINVAL); in pf_ioctl_addrule() 2235 ERROUT(error); in pf_ioctl_addrule() 2253 ERROUT(EEXIST); in pf_ioctl_addrule() 2259 #undef ERROUT in pf_ioctl_addrule() 2941 #define ERROUT(x) ERROUT_IOCTL(DIOCGETETHRULES_error, x) in pfioctl() macro [all …]
|
H A D | pf_syncookies.c | 152 #define ERROUT(x) ERROUT_FUNCTION(errout, x) in pf_get_syncookies() macro 156 ERROUT(ENOMEM); in pf_get_syncookies() 169 ERROUT(ENOMEM); in pf_get_syncookies() 172 ERROUT(0); in pf_get_syncookies() 174 ERROUT(ENOSPC); in pf_get_syncookies() 179 #undef ERROUT in pf_get_syncookies() 197 #define ERROUT(x) ERROUT_FUNCTION(errout, x) in pf_set_syncookies() macro 205 ERROUT(error); in pf_set_syncookies() 209 ERROUT(EBADMSG); in pf_set_syncookies() 213 ERROUT(EBADMSG); in pf_set_syncookies() [all …]
|
H A D | 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 …]
|