natm.h (92745) | natm.h (111888) |
---|---|
1/* $NetBSD: natm.h,v 1.1 1996/07/04 03:20:12 chuck Exp $ */ | 1/* $NetBSD: natm.h,v 1.1 1996/07/04 03:20:12 chuck Exp $ */ |
2/* $FreeBSD: head/sys/netnatm/natm.h 92745 2002-03-20 02:39:27Z alfred $ */ | 2/* $FreeBSD: head/sys/netnatm/natm.h 111888 2003-03-04 23:19:55Z jlemon $ */ |
3 4/* 5 * 6 * Copyright (c) 1996 Charles D. Cranor and Washington University. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 95 unchanged lines hidden (view full) --- 106 107#define NPCB_RAWCC (1024*1024) /* 1MB */ 108 109LIST_HEAD(npcblist, natmpcb); 110 111/* global data structures */ 112 113extern struct npcblist natm_pcbs; /* global list of pcbs */ | 3 4/* 5 * 6 * Copyright (c) 1996 Charles D. Cranor and Washington University. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 95 unchanged lines hidden (view full) --- 106 107#define NPCB_RAWCC (1024*1024) /* 1MB */ 108 109LIST_HEAD(npcblist, natmpcb); 110 111/* global data structures */ 112 113extern struct npcblist natm_pcbs; /* global list of pcbs */ |
114extern struct ifqueue natmintrq; /* natm packet input queue */ | |
115#define NATM_STAT 116#ifdef NATM_STAT 117extern u_int natm_sodropcnt, 118 natm_sodropbytes; /* account of droppage */ 119extern u_int natm_sookcnt, 120 natm_sookbytes; /* account of ok */ 121#endif 122 --- 25 unchanged lines hidden (view full) --- 148extern struct pr_usrreqs natm_usrreqs; 149#else /* !( __FreeBSD__ > 2) */ 150int natm_usrreq(struct socket *, int, struct mbuf *, 151 struct mbuf *, struct mbuf *); 152#endif /* !( __FreeBSD__ > 2) */ 153#endif 154int natm0_sysctl(int *, u_int, void *, size_t *, void *, size_t); 155int natm5_sysctl(int *, u_int, void *, size_t *, void *, size_t); | 114#define NATM_STAT 115#ifdef NATM_STAT 116extern u_int natm_sodropcnt, 117 natm_sodropbytes; /* account of droppage */ 118extern u_int natm_sookcnt, 119 natm_sookbytes; /* account of ok */ 120#endif 121 --- 25 unchanged lines hidden (view full) --- 147extern struct pr_usrreqs natm_usrreqs; 148#else /* !( __FreeBSD__ > 2) */ 149int natm_usrreq(struct socket *, int, struct mbuf *, 150 struct mbuf *, struct mbuf *); 151#endif /* !( __FreeBSD__ > 2) */ 152#endif 153int natm0_sysctl(int *, u_int, void *, size_t *, void *, size_t); 154int natm5_sysctl(int *, u_int, void *, size_t *, void *, size_t); |
156void natmintr(void); | 155void natmintr(struct mbuf *); |
157 158#endif | 156 157#endif |