|
|
| version 1.12, 2004/04/11 07:22:31 | version 1.13, 2004/04/21 18:13:54 |
|---|---|
| Line 87 static int ng_generic_msg(node_p here, s | Line 87 static int ng_generic_msg(node_p here, s |
| const char *retaddr, struct ng_mesg ** resp); | const char *retaddr, struct ng_mesg ** resp); |
| static ng_ID_t ng_decodeidname(const char *name); | static ng_ID_t ng_decodeidname(const char *name); |
| static int ngb_mod_event(module_t mod, int event, void *data); | static int ngb_mod_event(module_t mod, int event, void *data); |
| static void ngintr(struct netmsg *); | static int ngintr(struct netmsg *); |
| /* Our own netgraph malloc type */ | /* Our own netgraph malloc type */ |
| MALLOC_DEFINE(M_NETGRAPH, "netgraph", "netgraph structures and ctrl messages"); | MALLOC_DEFINE(M_NETGRAPH, "netgraph", "netgraph structures and ctrl messages"); |
| Line 1985 ng_queue_msg(node_p here, struct ng_mesg | Line 1985 ng_queue_msg(node_p here, struct ng_mesg |
| * Pick an item off the queue, process it, and dispose of the queue entry. | * Pick an item off the queue, process it, and dispose of the queue entry. |
| * Should be running at splnet. | * Should be running at splnet. |
| */ | */ |
| static void | static int |
| ngintr(struct netmsg *pmsg) | ngintr(struct netmsg *pmsg) |
| { | { |
| struct mbuf *m = ((struct netmsg_packet *)pmsg)->nm_packet; | struct mbuf *m = ((struct netmsg_packet *)pmsg)->nm_packet; |
| Line 2037 ngintr(struct netmsg *pmsg) | Line 2037 ngintr(struct netmsg *pmsg) |
| } | } |
| out: | out: |
| lwkt_replymsg(&pmsg->nm_lmsg, 0); | lwkt_replymsg(&pmsg->nm_lmsg, 0); |
| return(EASYNC); | |
| } | } |