Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 12 of 12) sorted by relevance

/net/9p/
Derror.c221 int errno; in p9_errstr2errno() local
226 errno = 0; in p9_errstr2errno()
232 errno = c->val; in p9_errstr2errno()
237 if (errno == 0) { in p9_errstr2errno()
242 errno = 1; in p9_errstr2errno()
245 return -errno; in p9_errstr2errno()
/net/ipv4/
Dicmp.c119 .errno = ENETUNREACH, /* ICMP_NET_UNREACH */
123 .errno = EHOSTUNREACH, /* ICMP_HOST_UNREACH */
127 .errno = ENOPROTOOPT /* ICMP_PROT_UNREACH */,
131 .errno = ECONNREFUSED, /* ICMP_PORT_UNREACH */
135 .errno = EMSGSIZE, /* ICMP_FRAG_NEEDED */
139 .errno = EOPNOTSUPP, /* ICMP_SR_FAILED */
143 .errno = ENETUNREACH, /* ICMP_NET_UNKNOWN */
147 .errno = EHOSTDOWN, /* ICMP_HOST_UNKNOWN */
151 .errno = ENONET, /* ICMP_HOST_ISOLATED */
155 .errno = ENETUNREACH, /* ICMP_NET_ANO */
[all …]
Draw.c241 err = icmp_err_convert[code].errno; in raw_err()
Dudp.c429 err = icmp_err_convert[code].errno; in __udp4_lib_err()
Dtcp_ipv4.c395 err = icmp_err_convert[code].errno; in tcp_v4_err()
/net/irda/irnet/
Dirnet_irda.c180 self->errno = 0; in irnet_ias_to_tsap()
189 self->errno = -EADDRNOTAVAIL; in irnet_ias_to_tsap()
195 self->errno = -EHOSTUNREACH; in irnet_ias_to_tsap()
215 self->errno = -EADDRNOTAVAIL; in irnet_ias_to_tsap()
218 self->errno = -EADDRNOTAVAIL; in irnet_ias_to_tsap()
229 if(!(self->errno)) in irnet_ias_to_tsap()
233 self->errno = -EHOSTUNREACH; in irnet_ias_to_tsap()
267 self->errno = -EHOSTUNREACH; in irnet_find_lsap_sel()
1509 if(self->errno) in irnet_getvalue_confirm()
1512 DERROR(IRDA_OCB_ERROR, "IAS connect failed ! (0x%X)\n", self->errno); in irnet_getvalue_confirm()
[all …]
Dirnet.h452 int errno; /* status of the IAS query */ member
/net/sunrpc/auth_gss/
Dauth_gss.c328 rpc_wake_up_status(&gss_msg->rpc_waitqueue, gss_msg->msg.errno); in __gss_unhash_msg()
358 task->tk_status = gss_msg->msg.errno; in gss_upcall_callback()
360 rpc_wake_up_status(&gss_msg->rpc_waitqueue, gss_msg->msg.errno); in gss_upcall_callback()
507 rpc_wake_up_status(&gss_msg->rpc_waitqueue, gss_msg->msg.errno); in gss_refresh_upcall()
508 } else if (gss_msg->msg.errno >= 0) { in gss_refresh_upcall()
515 err = gss_msg->msg.errno; in gss_refresh_upcall()
553 if (gss_msg->ctx != NULL || gss_msg->msg.errno < 0) { in gss_create_upcall()
566 err = gss_msg->msg.errno; in gss_create_upcall()
587 msg->errno = -EFAULT; in gss_pipe_upcall()
593 msg->errno = 0; in gss_pipe_upcall()
[all …]
/net/irda/
Daf_irda.c388 self->errno = result; /* We really need it later */ in irda_getvalue_confirm()
398 self->errno = 0; in irda_getvalue_confirm()
453 self->errno = -ETIME; in irda_discovery_timeout()
557 self->errno = -EHOSTUNREACH; in irda_find_lsap_sel()
569 if (self->errno) in irda_find_lsap_sel()
572 if((self->errno == IAS_CLASS_UNKNOWN) || in irda_find_lsap_sel()
573 (self->errno == IAS_ATTRIB_UNKNOWN)) in irda_find_lsap_sel()
2329 self->errno = -EHOSTUNREACH; in irda_getsockopt()
2348 if (self->errno) in irda_getsockopt()
2352 if((self->errno == IAS_CLASS_UNKNOWN) || in irda_getsockopt()
[all …]
/net/sunrpc/
Drpc_pipe.c50 msg->errno = err; in rpc_purge_list()
208 msg->errno = -EAGAIN; in rpc_pipe_release()
/net/sctp/
Dinput.c592 err = icmp_err_convert[code].errno; in sctp_v4_err()
/net/dccp/
Dipv4.c264 err = icmp_err_convert[code].errno; in dccp_v4_err()