1 1.21 thorpej /* $NetBSD: at_extern.h,v 1.21 2022/09/03 01:48:22 thorpej 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.19 riastrad struct ddpcb; 41 1.6 matt 42 1.6 matt extern struct mowner atalk_rx_mowner; 43 1.6 matt extern struct mowner atalk_tx_mowner; 44 1.2 christos 45 1.17 rmind extern const struct pr_usrreqs ddp_usrreqs; 46 1.17 rmind 47 1.21 thorpej void atintr1(void *); 48 1.21 thorpej void atintr2(void *); 49 1.14 dyoung void aarpprobe(void *); 50 1.14 dyoung int aarpresolve(struct ifnet *, struct mbuf *, const struct sockaddr_at *, 51 1.14 dyoung u_char *); 52 1.14 dyoung void aarpinput(struct ifnet *, struct mbuf *); 53 1.14 dyoung int at_broadcast(const struct sockaddr_at *); 54 1.18 rtr int at_control(u_long, void *, struct ifnet *); 55 1.14 dyoung int at_inithead(void **, int); 56 1.16 dyoung void at_purgeaddr(struct ifaddr *); 57 1.14 dyoung void at_purgeif(struct ifnet *); 58 1.1 christos u_int16_t 59 1.14 dyoung at_cksum(struct mbuf *, int); 60 1.14 dyoung void ddp_init(void); 61 1.1 christos struct ifaddr * 62 1.14 dyoung at_ifawithnet(const struct sockaddr_at *, struct ifnet *); 63 1.19 riastrad int ddp_output(struct mbuf *, struct ddpcb *); 64 1.1 christos struct ddpcb * 65 1.14 dyoung ddp_search(struct sockaddr_at *, struct sockaddr_at *, 66 1.14 dyoung struct at_ifaddr *); 67 1.14 dyoung int ddp_route(struct mbuf *, struct route *); 68 1.14 dyoung char * prsockaddr(const void *); 69 1.1 christos 70 1.10 elad #endif /* !_NETATALK_AT_EXTERN_H_ */ 71