|
|
| version 1.15, 2004/04/09 22:34:10 | version 1.16, 2004/04/21 18:14:03 |
|---|---|
| Line 726 int natm5_sysctl(int *name, u_int namele | Line 726 int natm5_sysctl(int *name, u_int namele |
| return (ENOPROTOOPT); | return (ENOPROTOOPT); |
| } | } |
| static void natmintr(struct netmsg *); | static int natmintr(struct netmsg *); |
| #if defined(__DragonFly__) | #if defined(__DragonFly__) |
| static void | static void |
| Line 753 natm_init() | Line 753 natm_init() |
| * pointer. we can get the interface pointer from the so's PCB if | * pointer. we can get the interface pointer from the so's PCB if |
| * we really need it. | * we really need it. |
| */ | */ |
| static void | static int |
| natmintr(struct netmsg *msg) | natmintr(struct netmsg *msg) |
| { | { |
| struct mbuf *m = ((struct netmsg_packet *)msg)->nm_packet; | struct mbuf *m = ((struct netmsg_packet *)msg)->nm_packet; |
| Line 810 m->m_pkthdr.rcvif = NULL; /* null it out | Line 810 m->m_pkthdr.rcvif = NULL; /* null it out |
| } | } |
| out: | out: |
| lwkt_replymsg(&msg->nm_lmsg, 0); | lwkt_replymsg(&msg->nm_lmsg, 0); |
| return(EASYNC); | |
| } | } |