The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/netatalk/at_extern.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * Copyright (c) 1990,1994 Regents of The University of Michigan.
    3  * All Rights Reserved.
    4  *
    5  * Permission to use, copy, modify, and distribute this software and
    6  * its documentation for any purpose and without fee is hereby granted,
    7  * provided that the above copyright notice appears in all copies and
    8  * that both that copyright notice and this permission notice appear
    9  * in supporting documentation, and that the name of The University
   10  * of Michigan not be used in advertising or publicity pertaining to
   11  * distribution of the software without specific, written prior
   12  * permission. This software is supplied as is without expressed or
   13  * implied warranties of any kind.
   14  *
   15  * This product includes software developed by the University of
   16  * California, Berkeley and its contributors.
   17  *
   18  *      Research Systems Unix Group
   19  *      The University of Michigan
   20  *      c/o Wesley Craig
   21  *      535 W. William Street
   22  *      Ann Arbor, Michigan
   23  *      +1-313-764-2278
   24  *      netatalk@umich.edu
   25  *
   26  * $FreeBSD: releng/10.1/sys/netatalk/at_extern.h 249925 2013-04-26 12:50:32Z glebius $
   27  */
   28 
   29 #ifndef _NETATALK_AT_EXTERN_H_
   30 #define _NETATALK_AT_EXTERN_H_
   31 
   32 extern struct mtx       aarptab_mtx;
   33 
   34 #define AARPTAB_LOCK()          mtx_lock(&aarptab_mtx)
   35 #define AARPTAB_UNLOCK()        mtx_unlock(&aarptab_mtx)
   36 #define AARPTAB_LOCK_ASSERT()   mtx_assert(&aarptab_mtx, MA_OWNED)
   37 #define AARPTAB_UNLOCK_ASSERT() mtx_assert(&aarptab_mtx, MA_NOTOWNED)
   38 
   39 struct at_ifaddr;
   40 struct ifnet;
   41 struct mbuf;
   42 struct route;
   43 struct thread;
   44 struct sockaddr_at;
   45 struct socket;
   46 void             aarpintr(struct mbuf *);
   47 void             aarpprobe(void *arg);
   48 int              aarpresolve(struct ifnet *, struct mbuf *,
   49                     const struct sockaddr_at *, u_char *);
   50 void             aarp_clean(void);
   51 void             at1intr(struct mbuf *);
   52 void             at2intr(struct mbuf *);
   53 int              at_broadcast(const struct sockaddr_at  *);
   54 u_short          at_cksum(struct mbuf *m, int skip);
   55 int              at_control(struct socket *so, u_long cmd, caddr_t data,
   56                     struct ifnet *ifp, struct thread *td);
   57 struct at_ifaddr        *at_ifawithnet(const struct sockaddr_at *);
   58 struct at_ifaddr        *at_ifawithnet_locked(const struct sockaddr_at  *sat);
   59 
   60 int              at_inithead(void**, int);
   61 void             ddp_init(void);
   62 int              ddp_output(struct mbuf *m, struct socket *so); 
   63 int              ddp_route(struct mbuf *m, struct route *ro);
   64 struct ddpcb    *ddp_search(struct sockaddr_at *, struct sockaddr_at *,
   65                     struct at_ifaddr *);
   66 
   67 #endif /* !_NETATALK_AT_EXTERN_H_ */

Cache object: 4e7a9b4ba646124dcc00608c742cfc9b


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.