Deleted Added
full compact
34c34
< * $FreeBSD: head/sys/net/netisr.h 100763 2002-07-27 19:53:02Z rwatson $
---
> * $FreeBSD: head/sys/net/netisr.h 111888 2003-03-04 23:19:55Z jlemon $
58c58,60
< #define NETISR_ATALK 16 /* same as AF_APPLETALK */
---
> #define NETISR_AARP 15 /* Appletalk ARP */
> #define NETISR_ATALK2 16 /* Appletalk phase 2 */
> #define NETISR_ATALK1 17 /* Appletalk phase 1 */
62,66c64,69
< #define NETISR_PPP 27 /* PPP soft interrupt */
< #define NETISR_IPV6 28 /* same as AF_INET6 */
< #define NETISR_NATM 29 /* same as AF_NATM */
< #define NETISR_ATM 30 /* same as AF_ATM */
< #define NETISR_NETGRAPH 31 /* same as AF_NETGRAPH */
---
> #define NETISR_PPP 26 /* PPP soft interrupt */
> #define NETISR_IPV6 27
> #define NETISR_NATM 28
> #define NETISR_ATM 29
> #define NETISR_NETGRAPH 30
> #define NETISR_POLLMORE 31 /* polling callback, must be last */
75d77
< extern void (*netisrs[32])(void);
79a82,86
> /* used to atomically schedule multiple netisrs */
> #define schednetisrbits(isrbits) do { \
> atomic_set_rel_int(&netisr, isrbits); \
> legacy_setsoftnet(); \
> } while (0)
81c88,89
< typedef void netisr_t(void);
---
> struct ifqueue;
> struct mbuf;
83,84c91,96
< int register_netisr(int, netisr_t *);
< int unregister_netisr(int);
---
> typedef void netisr_t (struct mbuf *);
>
> void netisr_dispatch(int, struct mbuf *);
> int netisr_queue(int, struct mbuf *);
> void netisr_register(int, netisr_t *, struct ifqueue *);
> void netisr_unregister(int);