Home | History | Annotate | Line # | Download | only in netatalk
at_extern.h revision 1.10
      1  1.10      elad /*	$NetBSD: at_extern.h,v 1.10 2005/12/10 23:29:05 elad Exp $	*/
      2   1.1  christos 
      3   1.1  christos /*
      4   1.1  christos  * Copyright (c) 1990,1994 Regents of The University of Michigan.
      5   1.1  christos  * All Rights Reserved.
      6   1.1  christos  *
      7   1.1  christos  * Permission to use, copy, modify, and distribute this software and
      8   1.1  christos  * its documentation for any purpose and without fee is hereby granted,
      9   1.1  christos  * provided that the above copyright notice appears in all copies and
     10   1.1  christos  * that both that copyright notice and this permission notice appear
     11   1.1  christos  * in supporting documentation, and that the name of The University
     12   1.1  christos  * of Michigan not be used in advertising or publicity pertaining to
     13   1.1  christos  * distribution of the software without specific, written prior
     14   1.1  christos  * permission. This software is supplied as is without expressed or
     15   1.1  christos  * implied warranties of any kind.
     16   1.1  christos  *
     17   1.1  christos  * This product includes software developed by the University of
     18   1.1  christos  * California, Berkeley and its contributors.
     19   1.1  christos  *
     20   1.1  christos  *	Research Systems Unix Group
     21   1.1  christos  *	The University of Michigan
     22   1.1  christos  *	c/o Wesley Craig
     23   1.1  christos  *	535 W. William Street
     24   1.1  christos  *	Ann Arbor, Michigan
     25   1.1  christos  *	+1-313-764-2278
     26   1.1  christos  *	netatalk (at) umich.edu
     27   1.1  christos  */
     28   1.1  christos 
     29   1.1  christos #ifndef _NETATALK_AT_EXTERN_H_
     30   1.1  christos #define _NETATALK_AT_EXTERN_H_
     31   1.1  christos 
     32   1.2  christos struct ifnet;
     33   1.2  christos struct mbuf;
     34   1.2  christos struct sockaddr_at;
     35   1.2  christos struct proc;
     36   1.4   thorpej struct ifaddr;
     37   1.2  christos struct at_ifaddr;
     38   1.2  christos struct route;
     39   1.2  christos struct socket;
     40   1.6      matt 
     41   1.6      matt extern struct mowner atalk_rx_mowner;
     42   1.6      matt extern struct mowner atalk_tx_mowner;
     43   1.2  christos 
     44   1.2  christos void	atintr		__P((void));
     45   1.1  christos void	aarpprobe	__P((void *));
     46   1.1  christos int	aarpresolve	__P((struct ifnet *, struct mbuf *,
     47   1.1  christos     struct sockaddr_at *, u_char *));
     48   1.1  christos void	aarpinput	__P((struct ifnet *, struct mbuf *));
     49   1.1  christos int	at_broadcast	__P((struct sockaddr_at  *));
     50   1.1  christos void	aarp_clean	__P((void));
     51   1.1  christos int	at_control	__P((u_long, caddr_t, struct ifnet *, struct proc *));
     52   1.4   thorpej void	at_purgeaddr	__P((struct ifaddr *, struct ifnet *));
     53   1.5   thorpej void	at_purgeif	__P((struct ifnet *));
     54   1.1  christos u_int16_t
     55   1.1  christos 	at_cksum	__P((struct mbuf *, int));
     56   1.1  christos int	ddp_usrreq	__P((struct socket *, int, struct mbuf *, struct mbuf *,
     57   1.8      fvdl     struct mbuf *, struct proc *));
     58   1.1  christos void	ddp_init	__P((void ));
     59   1.1  christos struct ifaddr *
     60   1.9  christos 	at_ifawithnet	__P((const struct sockaddr_at *, struct ifnet *));
     61   1.1  christos int	ddp_output	__P((struct mbuf *, ...));
     62   1.1  christos struct ddpcb  *
     63   1.1  christos 	ddp_search	__P((struct sockaddr_at *, struct sockaddr_at *,
     64   1.1  christos     struct at_ifaddr *));
     65   1.1  christos int     ddp_route	__P((struct mbuf *, struct route *));
     66   1.1  christos 
     67   1.1  christos 
     68  1.10      elad #endif /* !_NETATALK_AT_EXTERN_H_ */
     69