Diff for /src/usr.sbin/IPXrouted/sap_output.c between versions 1.2 and 1.3

version 1.2, 2003/06/17 04:29:52 version 1.3, 2004/03/11 09:38:59
Line 29 Line 29
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  * $FreeBSD: src/usr.sbin/IPXrouted/sap_output.c,v 1.9 1999/08/28 01:15:04 peter Exp $   * $FreeBSD: src/usr.sbin/IPXrouted/sap_output.c,v 1.9 1999/08/28 01:15:04 peter Exp $
 * $DragonFly: src/usr.sbin/IPXrouted/sap_output.c,v 1.1 2003/06/16 07:16:21 dillon Exp $ * $DragonFly$
  */   */
   
 /*  /*
Line 45 Line 45
  * the output to the known router.   * the output to the known router.
  */   */
 void  void
sap_supply_toall(changesonly)sap_supply_toall(int changesonly)
        int changesonly; 
 {  {
        register struct interface *ifp;        struct interface *ifp;
         struct sockaddr dst;          struct sockaddr dst;
        register struct sockaddr_ipx *ipx_dst;        struct sockaddr_ipx *ipx_dst;
        register int flags;        int flags;
         extern struct interface *ifnet;          extern struct interface *ifnet;
   
         ipx_dst = (struct sockaddr_ipx *)&dst;          ipx_dst = (struct sockaddr_ipx *)&dst;
Line 72  sap_supply_toall(changesonly) Line 71  sap_supply_toall(changesonly)
 }  }
   
 void   void 
sapsndmsg(dst, flags, ifp, changesonly)sapsndmsg(struct sockaddr *dst, int flags, struct interface *ifp,
        struct sockaddr *dst;          int changesonly)
        int flags; 
        struct interface *ifp; 
        int changesonly; 
 {  {
         struct sockaddr t_dst;          struct sockaddr t_dst;
         struct sockaddr_ipx *ipx_dst;          struct sockaddr_ipx *ipx_dst;
Line 107  sapsndmsg(dst, flags, ifp, changesonly) Line 103  sapsndmsg(dst, flags, ifp, changesonly)
  *    clones.   *    clones.
  */   */
 void  void
sap_supply(dst, flags, ifp, ServType, changesonly)sap_supply(struct sockaddr *dst, int flags, struct interface *ifp,
        struct sockaddr *dst;           int ServType, int changesonly)
        int flags; 
        struct interface *ifp; 
        int ServType; 
        int changesonly; 
 {  {
        register struct sap_entry *sap;        struct sap_entry *sap;
        register struct sap_entry *csap; /* Clone route */        struct sap_entry *csap; /* Clone route */
        register struct sap_hash *sh;        struct sap_hash *sh;
        register struct sap_info *n = sap_msg->sap;        struct sap_info *n = sap_msg->sap;
         struct sap_hash *base = sap_head;          struct sap_hash *base = sap_head;
         struct sockaddr_ipx *sipx =  (struct sockaddr_ipx *) dst;          struct sockaddr_ipx *sipx =  (struct sockaddr_ipx *) dst;
         af_output_t *output = afswitch[dst->sa_family].af_output;          af_output_t *output = afswitch[dst->sa_family].af_output;

Removed from v.1.2  
changed lines
  Added in v.1.3