[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #6969] Review usage of conn->err in netconn layer
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [task #6969] Review usage of conn->err in netconn layer |
Date: |
Mon, 26 Nov 2007 16:35:45 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 |
Follow-up Comment #22, task #6969 (project lwip):
Define what could be "fatal" and what is not is not very easy. As you have
see in the IRC chat, we have spend time to try to define which error codes
should be. But, of course, it's mainly based on the lwIP core, and since each
developers can use any code like he wants in his driver. This is mainly before
the is no a "strict" definition of each code and when to return it. So, I
think that once the fatal code would be defined, there will be some port
breakages. But in fact, since any code different than ERR_OK already cause to
block send/recv operations, I'm not sure this is a real problem.
So, perhaps can you give your list about what is "fatal", and what is not?
About the bitmask, the problem could be with err_to_errno_table in sockets.c.
But we could mask it (bit 6) I think.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?6969>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Kieran Mansley, 2007/11/09
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Kieran Mansley, 2007/11/09
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Simon Goldschmidt, 2007/11/12
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Frédéric Bernon, 2007/11/12
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Jonathan Larmour, 2007/11/26
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer,
Frédéric Bernon <=
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Simon Goldschmidt, 2007/11/26
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Jonathan Larmour, 2007/11/26
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Simon Goldschmidt, 2007/11/26
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Frédéric Bernon, 2007/11/26
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Frédéric Bernon, 2007/11/26
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Jonathan Larmour, 2007/11/26
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Simon Goldschmidt, 2007/11/27
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Simon Goldschmidt, 2007/11/27
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Frédéric Bernon, 2007/11/27
- [lwip-devel] [task #6969] Review usage of conn->err in netconn layer, Simon Goldschmidt, 2007/11/28