summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2001-02-18 07:10:03 +0000
committerluigi <luigi@FreeBSD.org>2001-02-18 07:10:03 +0000
commite8bf28f429e33f5f3e07e0a95e89aa3764976e08 (patch)
tree96faac40b295c43231cc0ff220eae68b775384f6 /sys/netinet
parent8d41a8fd84e5f9fccd62dab1477ed15cf101f78a (diff)
downloadFreeBSD-src-e8bf28f429e33f5f3e07e0a95e89aa3764976e08.zip
FreeBSD-src-e8bf28f429e33f5f3e07e0a95e89aa3764976e08.tar.gz
remove unused data structure definition, and corresponding macro into*()
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/udp_var.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h
index db28920..b0b2667 100644
--- a/sys/netinet/udp_var.h
+++ b/sys/netinet/udp_var.h
@@ -54,16 +54,6 @@ struct udpiphdr {
#define ui_ulen ui_u.uh_ulen
#define ui_sum ui_u.uh_sum
-struct udpcb {
- /* XXX - these should be by reference so we can do options quickly */
- struct ip udb_ip;
- struct udphdr udb_uh;
- struct sockaddr_in udb_conn;
- struct in_hostcache *udb_hc;
- struct mbuf *udb_queue;
-};
-#define inptoudpcb(inp) ((struct udpdb *)(inp)->inp_ppcb)
-
struct udpstat {
/* input statistics: */
u_long udps_ipackets; /* total input packets */
OpenPOWER on IntegriCloud