From owner-cvs-sys Wed Aug 27 18:22:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA25179 for cvs-sys-outgoing; Wed, 27 Aug 1997 18:22:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA24900; Wed, 27 Aug 1997 18:18:13 -0700 (PDT) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA24464; Wed, 27 Aug 1997 18:17:13 -0700 (PDT) Date: Wed, 27 Aug 1997 18:17:13 -0700 (PDT) Message-Id: <199708280117.SAA24464@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/net if.c if_var.h src/sys/netatalk at_control.c ddp_output.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 1997/08/27 18:17:13 PDT Modified files: sys/net if.c if_var.h sys/netatalk at_control.c ddp_output.c Log: Add a per-interface-address pointer to a function that can be supplied by a protocol, to detirmine if an address matches the net this address is part of. This is needed by protocols for which netmasks "just don't work", for example appletalk. Also add the code in appletalk to make use of this new feature. Thsi fixes one of the longest standing bugs in appletalk. The inability to talk to machines to which the path is via a router which is on a different net, but the same netrange, as your interface. Protocols that do not supply this function (e.g. IP) should not be affected. Revision Changes Path 1.51 +14 -2 src/sys/net/if.c 1.6 +4 -1 src/sys/net/if_var.h 1.16 +43 -1 src/sys/netatalk/at_control.c 1.5 +19 -3 src/sys/netatalk/ddp_output.c