summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_dummynet.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_dummynet.h')
-rw-r--r--sys/netinet/ip_dummynet.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h
index c0bb0e3..98eae82 100644
--- a/sys/netinet/ip_dummynet.h
+++ b/sys/netinet/ip_dummynet.h
@@ -10,7 +10,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id: ip_dummynet.h,v 1.3 1999/01/23 23:59:50 archie Exp $
+ * $Id: ip_dummynet.h,v 1.4 1999/04/20 13:32:04 peter Exp $
*/
#ifndef _IP_DUMMYNET_H
@@ -39,7 +39,7 @@ struct dn_pkt {
struct m_hdr hdr ;
#define dn_next hdr.mh_nextpkt /* next element in queue */
#define dn_m hdr.mh_next /* packet to be forwarded */
-#define dn_hlen hdr.mh_len /* hlen, for ip_output */
+#define dn_dst hdr.mh_len /* dst, for ip_output */
#define dn_dir hdr.mh_flags /* IP_FW_F_IN or IP_FW_F_OUT */
int delay; /* stays queued until delay=0 */
struct ifnet *ifp; /* interface, for ip_output */
@@ -107,7 +107,8 @@ extern ip_dn_ctl_t *ip_dn_ctl_ptr;
void dn_rule_delete(void *r); /* used in ip_fw.c */
int dummynet_io(int pipe, int dir,
- struct mbuf *m, struct ifnet *ifp, struct route *ro, int hlen,
+ struct mbuf *m, struct ifnet *ifp, struct route *ro,
+ struct sockaddr_in * dst,
struct ip_fw_chain *rule);
#endif /* KERNEL */
OpenPOWER on IntegriCloud