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