|
|
| version 1.8, 2004/03/06 01:58:54 | version 1.9, 2004/03/06 19:40:30 |
|---|---|
| Line 79 | Line 79 |
| struct netmsg; | struct netmsg; |
| typedef void (*netisr_fn_t)(struct netmsg *); | typedef int (*netisr_fn_t)(struct netmsg *); |
| /* | /* |
| * Base class. All net messages must start with the same fields. | * Base class. All net messages must start with the same fields. |
| Line 113 struct netmsg_pr_timeout { | Line 113 struct netmsg_pr_timeout { |
| * for dispatching pr_ functions, | * for dispatching pr_ functions, |
| * until they can be converted to message-passing | * until they can be converted to message-passing |
| */ | */ |
| void netmsg_pr_dispatcher(struct netmsg *); | int netmsg_pr_dispatcher(struct netmsg *); |
| #define CMD_NETMSG_NEWPKT (MSG_CMD_NETMSG | 0x0001) | #define CMD_NETMSG_NEWPKT (MSG_CMD_NETMSG | 0x0001) |
| #define CMD_NETMSG_POLL (MSG_CMD_NETMSG | 0x0002) | #define CMD_NETMSG_POLL (MSG_CMD_NETMSG | 0x0002) |