summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2001-05-01 09:55:50 +0000
committerNiels Provos <provos@cvs.openbsd.org>2001-05-01 09:55:50 +0000
commitffefe90fb15030f2a48c97eae32d8ecab7c85f78 (patch)
tree234b9d673c548c9b5b39590b87a410e417e828c1 /sys/netinet/ip_var.h
parent2ccedf6b72c2476dc4e27ea9232b17a0296fcc46 (diff)
get rid of dtom(), okay itojun@ angelos@ mickey@ millert@
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 4d005563a2b..425b67efb9f 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_var.h,v 1.15 2001/03/03 01:00:19 itojun Exp $ */
+/* $OpenBSD: ip_var.h,v 1.16 2001/05/01 09:55:49 provos Exp $ */
/* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */
/*
@@ -67,15 +67,11 @@ struct ipqent {
struct ip *_ip;
struct tcphdr *_tcp;
} _ipqe_u1;
- union {
- u_int8_t _mff; /* for IP fragmentation */
- struct mbuf *_m; /* XXX for TCP; see above */
- } _ipqe_u2;
+ struct mbuf *ipqe_m; /* mbuf contains packet */
+ u_int8_t ipqe_mff; /* for IP fragmentation */
};
#define ipqe_ip _ipqe_u1._ip
#define ipqe_tcp _ipqe_u1._tcp
-#define ipqe_mff _ipqe_u2._mff
-#define ipqe_m _ipqe_u2._m
/*
* Ip reassembly queue structure. Each fragment
@@ -179,7 +175,7 @@ int ip_mforward __P((struct mbuf *, struct ifnet *));
int ip_optcopy __P((struct ip *, struct ip *));
int ip_output __P((struct mbuf *, ...));
int ip_pcbopts __P((struct mbuf **, struct mbuf *));
-struct ip *
+struct mbuf *
ip_reass __P((struct ipqent *, struct ipq *));
struct in_ifaddr *
in_iawithaddr __P((struct in_addr, struct mbuf *));