summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_input.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-12-30 17:54:53 +0000
committerrwatson <rwatson@FreeBSD.org>2004-12-30 17:54:53 +0000
commita163a92e00dddb1f523138f73886e451ae06b29e (patch)
treef1dbc2ee53a82695fe514cdabda594b6a61b04ab /sys/netipx/ipx_input.c
parent767b9c0b3efe618078d08c4cf137ab912f502ca2 (diff)
downloadFreeBSD-src-a163a92e00dddb1f523138f73886e451ae06b29e.zip
FreeBSD-src-a163a92e00dddb1f523138f73886e451ae06b29e.tar.gz
Use a global variable, ipxpcb_lport_cache, to cache the most recently
used IPX port number, rather than using the global ipxpcb list head.
Diffstat (limited to 'sys/netipx/ipx_input.c')
-rw-r--r--sys/netipx/ipx_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c
index e7036e2..1d1697d 100644
--- a/sys/netipx/ipx_input.c
+++ b/sys/netipx/ipx_input.c
@@ -88,6 +88,7 @@ struct sockaddr_ipx ipx_netmask, ipx_hostmask;
/*
* IPX protocol control block (pcb) lists.
*/
+u_short ipxpcb_lport_cache;
struct ipxpcbhead ipxpcb_list;
struct ipxpcbhead ipxrawpcb_list;
OpenPOWER on IntegriCloud