1 /* $NetBSD: at_extern.h,v 1.15 2007/03/04 06:03:19 christos Exp $ */
4 * Copyright (c) 1990,1994 Regents of The University of Michigan.
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.
17 * This product includes software developed by the University of
18 * California, Berkeley and its contributors.
20 * Research Systems Unix Group
21 * The University of Michigan
23 * 535 W. William Street
29 #ifndef _NETATALK_AT_EXTERN_H_
30 #define _NETATALK_AT_EXTERN_H_
41 extern struct mowner atalk_rx_mowner
;
42 extern struct mowner atalk_tx_mowner
;
45 void aarpprobe(void *);
46 int aarpresolve(struct ifnet
*, struct mbuf
*, const struct sockaddr_at
*,
48 void aarpinput(struct ifnet
*, struct mbuf
*);
49 int at_broadcast(const struct sockaddr_at
*);
50 void aarp_clean(void);
51 int at_control(u_long
, void *, struct ifnet
*, struct lwp
*);
52 int at_inithead(void **, int);
53 void at_purgeaddr(struct ifaddr
*);
54 void at_purgeif(struct ifnet
*);
56 at_cksum(struct mbuf
*, int);
57 int ddp_usrreq(struct socket
*, int, struct mbuf
*, struct mbuf
*,
58 struct mbuf
*, struct lwp
*);
61 at_ifawithnet(const struct sockaddr_at
*, struct ifnet
*);
62 int ddp_output(struct mbuf
*, ...);
64 ddp_search(struct sockaddr_at
*, struct sockaddr_at
*,
66 int ddp_route(struct mbuf
*, struct route
*);
67 char * prsockaddr(const void *);
70 #endif /* !_NETATALK_AT_EXTERN_H_ */