Changeset dc28f16 in rtems
- Timestamp:
- Apr 20, 2004, 12:28:19 PM (17 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 48ea3df
- Parents:
- c2b59d5
- Location:
- cpukit/libnetworking
- Files:
-
- 49 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libnetworking/net/if.h
rc2b59d5 rdc28f16 269 269 } 270 270 271 #ifdef KERNEL271 #ifdef _KERNEL 272 272 #define IF_ENQ_DROP(ifq, m) if_enq_drop(ifq, m) 273 273 … … 296 296 297 297 #endif 298 #endif /* KERNEL */298 #endif /* _KERNEL */ 299 299 300 300 #define IFQ_MAXLEN 50 … … 423 423 #include <net/if_arp.h> 424 424 425 #ifdef KERNEL425 #ifdef _KERNEL 426 426 #define IFAFREE(ifa) \ 427 427 if ((ifa)->ifa_refcnt <= 0) \ … … 470 470 int looutput __P((struct ifnet *, 471 471 struct mbuf *, struct sockaddr *, struct rtentry *)); 472 #endif /* KERNEL */472 #endif /* _KERNEL */ 473 473 474 474 #endif /* !_NET_IF_H_ */ -
cpukit/libnetworking/net/if_dl.h
rc2b59d5 rdc28f16 73 73 #define LLADDR(s) ((caddr_t)((s)->sdl_data + (s)->sdl_nlen)) 74 74 75 #ifndef KERNEL75 #ifndef _KERNEL 76 76 77 77 #include <sys/cdefs.h> … … 82 82 __END_DECLS 83 83 84 #endif /* ! KERNEL */84 #endif /* !_KERNEL */ 85 85 86 86 #endif -
cpukit/libnetworking/net/if_ppp.h
rc2b59d5 rdc28f16 128 128 #endif 129 129 130 #if (defined(_KERNEL) || defined( KERNEL)) && !defined(NeXT)130 #if (defined(_KERNEL) || defined(_KERNEL)) && !defined(NeXT) 131 131 void pppattach __P((void)); 132 132 void pppintr __P((void)); -
cpukit/libnetworking/net/netisr.h
rc2b59d5 rdc28f16 71 71 72 72 #ifndef LOCORE 73 #ifdef KERNEL73 #ifdef _KERNEL 74 74 extern volatile unsigned int netisr; /* scheduling bits for network */ 75 75 -
cpukit/libnetworking/net/pppcompress.c
rc2b59d5 rdc28f16 66 66 #define BCMP(p1, p2, n) bcmp((char *)(p1), (char *)(p2), (int)(n)) 67 67 #define BCOPY(p1, p2, n) bcopy((char *)(p1), (char *)(p2), (int)(n)) 68 #ifndef KERNEL68 #ifndef _KERNEL 69 69 #define ovbcopy bcopy 70 70 #endif -
cpukit/libnetworking/net/radix.c
rc2b59d5 rdc28f16 40 40 #ifndef _RADIX_H_ 41 41 #include <sys/param.h> 42 #ifdef KERNEL42 #ifdef _KERNEL 43 43 #include <sys/systm.h> 44 44 #include <sys/malloc.h> … … 1007 1007 { 1008 1008 char *cp, *cplim; 1009 #ifdef KERNEL1009 #ifdef _KERNEL 1010 1010 struct domain *dom; 1011 1011 -
cpukit/libnetworking/net/radix.h
rc2b59d5 rdc28f16 137 137 }; 138 138 139 #ifndef KERNEL139 #ifndef _KERNEL 140 140 #define Bcmp(a, b, n) bcmp(((char *)(a)), ((char *)(b)), (n)) 141 141 #define Bcopy(a, b, n) bcopy(((char *)(a)), ((char *)(b)), (unsigned)(n)) … … 149 149 #define R_Malloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_DONTWAIT)) 150 150 #define Free(p) free((caddr_t)p, M_RTABLE); 151 #endif /* KERNEL*/151 #endif /*_KERNEL*/ 152 152 153 153 extern struct radix_node_head *mask_rnhead; -
cpukit/libnetworking/net/raw_cb.h
rc2b59d5 rdc28f16 59 59 #define RAWRCVQ 8192 60 60 61 #ifdef KERNEL61 #ifdef _KERNEL 62 62 extern struct rawcb rawcb; /* head of list */ 63 63 -
cpukit/libnetworking/net/route.h
rc2b59d5 rdc28f16 252 252 }; 253 253 254 #ifdef KERNEL254 #ifdef _KERNEL 255 255 #define RTFREE(rt) \ 256 256 do { \ -
cpukit/libnetworking/netinet/icmp_var.h
rc2b59d5 rdc28f16 72 72 } 73 73 74 #ifdef KERNEL74 #ifdef _KERNEL 75 75 SYSCTL_DECL(_net_inet_icmp); 76 76 extern struct icmpstat icmpstat; -
cpukit/libnetworking/netinet/if_ether.h
rc2b59d5 rdc28f16 57 57 #define ETHERMIN (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) 58 58 59 #ifdef KERNEL59 #ifdef _KERNEL 60 60 /* 61 61 * Macro to map an IP multicast address to an Ethernet multicast address. … … 128 128 #define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */ 129 129 130 #ifdef KERNEL130 #ifdef _KERNEL 131 131 extern u_char etherbroadcastaddr[ETHER_ADDR_LEN]; 132 132 extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN]; -
cpukit/libnetworking/netinet/igmp_var.h
rc2b59d5 rdc28f16 63 63 }; 64 64 65 #ifdef KERNEL65 #ifdef _KERNEL 66 66 extern struct igmpstat igmpstat; 67 67 -
cpukit/libnetworking/netinet/in.h
rc2b59d5 rdc28f16 253 253 #define INADDR_ANY (u_long)0x00000000 254 254 #define INADDR_BROADCAST (u_long)0xffffffff /* must be masked */ 255 #ifndef KERNEL255 #ifndef _KERNEL 256 256 #define INADDR_NONE 0xffffffff /* -1 return */ 257 257 #endif … … 415 415 416 416 417 #ifdef KERNEL417 #ifdef _KERNEL 418 418 struct ifnet; struct mbuf; /* forward declarations for Standard C */ 419 419 … … 439 439 #define IP_NAT_OUT 0x00000002 440 440 441 #endif /* KERNEL */441 #endif /* _KERNEL */ 442 442 443 443 #endif -
cpukit/libnetworking/netinet/in_pcb.h
rc2b59d5 rdc28f16 133 133 #define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb) 134 134 135 #ifdef KERNEL135 #ifdef _KERNEL 136 136 void in_losing __P((struct inpcb *)); 137 137 int in_pcballoc __P((struct socket *, struct inpcbinfo *)); -
cpukit/libnetworking/netinet/in_systm.h
rc2b59d5 rdc28f16 56 56 typedef u_long n_time; /* ms since 00:00 GMT, byte rev */ 57 57 58 #ifdef KERNEL58 #ifdef _KERNEL 59 59 n_time iptime __P((void)); 60 60 #endif -
cpukit/libnetworking/netinet/in_var.h
rc2b59d5 rdc28f16 83 83 84 84 85 #ifdef KERNEL85 #ifdef _KERNEL 86 86 extern struct in_ifaddr *in_ifaddr; 87 87 extern struct ifqueue ipintrq; /* ip packet input queue */ … … 161 161 }; 162 162 163 #ifdef KERNEL163 #ifdef _KERNEL 164 164 165 165 #ifdef SYSCTL_DECL … … 237 237 void ip_input __P((struct mbuf *)); 238 238 239 #endif /* KERNEL */239 #endif /* _KERNEL */ 240 240 241 241 #endif /* _NETINET_IN_VAR_H_ */ -
cpukit/libnetworking/netinet/ip_fw.h
rc2b59d5 rdc28f16 172 172 * Main firewall chains definitions and global var's definitions. 173 173 */ 174 #ifdef KERNEL174 #ifdef _KERNEL 175 175 176 176 /* … … 179 179 void ip_fw_init(void); 180 180 181 #endif /* KERNEL */181 #endif /* _KERNEL */ 182 182 183 183 #endif /* _IP_FW_H */ -
cpukit/libnetworking/netinet/ip_icmp.h
rc2b59d5 rdc28f16 183 183 (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY) 184 184 185 #ifdef KERNEL185 #ifdef _KERNEL 186 186 void icmp_error __P((struct mbuf *, int, int, n_long, struct ifnet *)); 187 187 void icmp_input __P((struct mbuf *, int)); -
cpukit/libnetworking/netinet/ip_mroute.h
rc2b59d5 rdc28f16 247 247 }; 248 248 249 #ifdef KERNEL249 #ifdef _KERNEL 250 250 251 251 extern int (*ip_mrouter_set) __P((int, struct socket *, struct mbuf *)); … … 258 258 #endif 259 259 260 #endif /* KERNEL */260 #endif /* _KERNEL */ 261 261 262 262 #endif /* _NETINET_IP_MROUTE_H_ */ -
cpukit/libnetworking/netinet/ip_var.h
rc2b59d5 rdc28f16 151 151 }; 152 152 153 #ifdef KERNEL153 #ifdef _KERNEL 154 154 /* flags passed to ip_output as last parameter */ 155 155 #define IP_FORWARDING 0x1 /* most of ip header exists */ … … 208 208 #endif /* IPDIVERT */ 209 209 210 #endif /* KERNEL */210 #endif /* _KERNEL */ 211 211 212 212 #endif /* _NETINET_IP_VAR_H_ */ -
cpukit/libnetworking/netinet/tcp_debug.h
rc2b59d5 rdc28f16 61 61 #define TCP_NDEBUG 100 62 62 63 #ifndef KERNEL63 #ifndef _KERNEL 64 64 /* XXX common variables for broken applications. */ 65 65 struct tcp_debug tcp_debug[TCP_NDEBUG]; -
cpukit/libnetworking/netinet/tcp_seq.h
rc2b59d5 rdc28f16 79 79 /* timestamp wrap-around time */ 80 80 81 #ifdef KERNEL81 #ifdef _KERNEL 82 82 extern tcp_cc tcp_ccgen; /* global connection count */ 83 83 … … 99 99 #else 100 100 #define TCP_ISSINCR (250*1024) /* increment for tcp_iss each second */ 101 #endif /* KERNEL */101 #endif /* _KERNEL */ 102 102 #endif /* _NETINET_TCP_SEQ_H_ */ -
cpukit/libnetworking/netinet/tcp_timer.h
rc2b59d5 rdc28f16 127 127 } 128 128 129 #ifdef KERNEL129 #ifdef _KERNEL 130 130 extern int tcp_keepinit; /* time to establish connection */ 131 131 extern int tcp_keepidle; /* time before keepalive probes begin */ -
cpukit/libnetworking/netinet/tcp_var.h
rc2b59d5 rdc28f16 354 354 } 355 355 356 #ifdef KERNEL356 #ifdef _KERNEL 357 357 #ifdef SYSCTL_DECL 358 358 SYSCTL_DECL(_net_inet_tcp); … … 401 401 extern u_long tcp_recvspace; 402 402 403 #endif /* KERNEL */403 #endif /* _KERNEL */ 404 404 405 405 #endif /* _NETINET_TCP_VAR_H_ */ -
cpukit/libnetworking/netinet/udp_var.h
rc2b59d5 rdc28f16 90 90 } 91 91 92 #ifdef KERNEL92 #ifdef _KERNEL 93 93 SYSCTL_DECL(_net_inet_udp); 94 94 -
cpukit/libnetworking/nfs/nfs.h
rc2b59d5 rdc28f16 270 270 * by them and break. 271 271 */ 272 #if defined( KERNEL) || defined(_KERNEL)272 #if defined(_KERNEL) || defined(_KERNEL) 273 273 274 274 struct uio; struct buf; struct vattr; struct nameidata; /* XXX */ … … 616 616 #endif 617 617 618 #endif /* KERNEL */619 620 #endif 618 #endif /* _KERNEL */ 619 620 #endif -
cpukit/libnetworking/rtems/rtems_bsdnet.h
rc2b59d5 rdc28f16 16 16 #if defined(__INSIDE_RTEMS_BSD_TCPIP_STACK__) 17 17 #undef _COMPILING_BSD_KERNEL_ 18 #undef KERNEL18 #undef _KERNEL 19 19 #undef INET 20 20 #undef NFS … … 23 23 24 24 #define _COMPILING_BSD_KERNEL_ 25 #define KERNEL25 #define _KERNEL 26 26 #define INET 27 27 #define NFS -
cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
rc2b59d5 rdc28f16 88 88 }; 89 89 90 #ifdef KERNEL90 #ifdef _KERNEL 91 91 typedef int boolean_t; 92 92 typedef struct vm_page *vm_page_t; -
cpukit/libnetworking/sys/buf.h
rc2b59d5 rdc28f16 187 187 #define B_SYNC 0x02 /* Do all allocations synchronously. */ 188 188 189 #ifdef KERNEL189 #ifdef _KERNEL 190 190 extern int nbuf; /* The number of buffer headers */ 191 191 extern struct buf *buf; /* The buffer headers. */ … … 244 244 vm_offset_t vm_bounce_kva_alloc __P((int)); 245 245 void vm_bounce_kva_alloc_free __P((vm_offset_t, int)); 246 #endif /* KERNEL */246 #endif /* _KERNEL */ 247 247 248 248 #endif /* !_SYS_BUF_H_ */ -
cpukit/libnetworking/sys/callout.h
rc2b59d5 rdc28f16 50 50 }; 51 51 52 #ifdef KERNEL52 #ifdef _KERNEL 53 53 extern struct callout *callfree, *callout, calltodo; 54 54 extern int ncallout; -
cpukit/libnetworking/sys/conf.h
rc2b59d5 rdc28f16 95 95 }; 96 96 97 #ifdef KERNEL97 #ifdef _KERNEL 98 98 extern struct bdevsw *bdevsw[]; 99 99 #endif … … 119 119 }; 120 120 121 #ifdef KERNEL121 #ifdef _KERNEL 122 122 extern struct cdevsw *cdevsw[]; 123 123 #endif … … 137 137 }; 138 138 139 #ifdef KERNEL139 #ifdef _KERNEL 140 140 extern struct linesw linesw[]; 141 141 extern int nlinesw; … … 159 159 #define sw_freed sw_flags /* XXX compat */ 160 160 161 #ifdef KERNEL161 #ifdef _KERNEL 162 162 d_open_t noopen; 163 163 d_close_t noclose; … … 222 222 int iszerodev __P((dev_t dev)); 223 223 void setconf __P((void)); 224 #endif /* KERNEL */224 #endif /* _KERNEL */ 225 225 226 226 #include <machine/conf.h> -
cpukit/libnetworking/sys/domain.h
rc2b59d5 rdc28f16 64 64 }; 65 65 66 #ifdef KERNEL66 #ifdef _KERNEL 67 67 extern struct domain *domains; 68 68 extern struct domain localdomain; -
cpukit/libnetworking/sys/malloc.h
rc2b59d5 rdc28f16 259 259 }; 260 260 261 #ifdef KERNEL261 #ifdef _KERNEL 262 262 #define MINALLOCSIZE (1 << MINBUCKET) 263 263 #define BUCKETINDX(size) \ … … 351 351 void free __P((void *addr, int type)); 352 352 void *malloc __P((unsigned long size, int type, int flags)); 353 #endif /* KERNEL */353 #endif /* _KERNEL */ 354 354 355 355 #endif /* !_SYS_MALLOC_H_ */ -
cpukit/libnetworking/sys/mbuf.h
rc2b59d5 rdc28f16 377 377 }; 378 378 379 #ifdef KERNEL379 #ifdef _KERNEL 380 380 extern struct mbuf *mbutl; /* virtual address of mclusters */ 381 381 extern char *mclrefcnt; /* cluster reference counts */ -
cpukit/libnetworking/sys/mount.h
rc2b59d5 rdc28f16 38 38 #define _SYS_MOUNT_H_ 39 39 40 #ifndef KERNEL40 #ifndef _KERNEL 41 41 #include <sys/ucred.h> 42 42 #endif … … 234 234 * Operations supported on mounted file system. 235 235 */ 236 #ifdef KERNEL236 #ifdef _KERNEL 237 237 238 238 extern int doforce; /* Flag to permit forcible unmounting. */ … … 313 313 #endif /* VFS_LKM */ 314 314 315 #endif /* KERNEL */315 #endif /* _KERNEL */ 316 316 317 317 /* … … 332 332 typedef struct fhandle fhandle_t; 333 333 334 #ifdef KERNEL334 #ifdef _KERNEL 335 335 #include <net/radix.h> 336 336 #include <sys/socket.h> /* XXX for AF_MAX */ … … 352 352 struct radix_node_head *ne_rtable[AF_MAX+1]; /* Individual exports */ 353 353 }; 354 #endif /* KERNEL */354 #endif /* _KERNEL */ 355 355 356 356 /* … … 478 478 #endif /* NFS */ 479 479 480 #ifdef KERNEL480 #ifdef _KERNEL 481 481 extern int (*mountroot) __P((void *)); 482 482 extern struct vfsops *mountrootvfsops; … … 504 504 extern struct vfsops *vfssw[]; /* filesystem type table */ 505 505 506 #else /* KERNEL */506 #else /* _KERNEL */ 507 507 508 508 #include <sys/cdefs.h> … … 527 527 __END_DECLS 528 528 529 #endif /* KERNEL */529 #endif /* _KERNEL */ 530 530 531 531 #endif /* !_SYS_MOUNT_H_ */ -
cpukit/libnetworking/sys/protosw.h
rc2b59d5 rdc28f16 167 167 #endif 168 168 169 #ifdef KERNEL /* users shouldn't see this decl */169 #ifdef _KERNEL /* users shouldn't see this decl */ 170 170 struct stat; 171 171 struct ifnet; … … 224 224 #endif /* PRU_OLDSTYLE */ 225 225 226 #endif /* KERNEL */226 #endif /* _KERNEL */ 227 227 228 228 /* … … 293 293 #endif 294 294 295 #ifdef KERNEL295 #ifdef _KERNEL 296 296 struct protosw *pffindproto __P((int family, int protocol, int type)); 297 297 struct protosw *pffindtype __P((int family, int type)); -
cpukit/libnetworking/sys/queue.h
rc2b59d5 rdc28f16 558 558 } 559 559 560 #ifdef KERNEL560 #ifdef _KERNEL 561 561 562 562 /* -
cpukit/libnetworking/sys/rtprio.h
rc2b59d5 rdc28f16 61 61 #endif 62 62 63 #ifndef KERNEL63 #ifndef _KERNEL 64 64 #include <sys/cdefs.h> 65 65 … … 67 67 int rtprio __P((int, pid_t, struct rtprio *)); 68 68 __END_DECLS 69 #endif /* ! KERNEL */69 #endif /* !_KERNEL */ 70 70 #endif /* !_SYS_RTPRIO_H_ */ -
cpukit/libnetworking/sys/select.h
rc2b59d5 rdc28f16 52 52 #define SI_COLL 0x0001 /* collision occurred */ 53 53 54 #ifdef KERNEL54 #ifdef _KERNEL 55 55 struct proc; 56 56 -
cpukit/libnetworking/sys/signalvar.h
rc2b59d5 rdc28f16 148 148 #define sigcantmask (sigmask(SIGKILL) | sigmask(SIGSTOP)) 149 149 150 #ifdef KERNEL150 #ifdef _KERNEL 151 151 /* 152 152 * Machine-independent functions: … … 168 168 */ 169 169 void sendsig __P((sig_t action, int sig, int returnmask, u_long code)); 170 #endif /* KERNEL */170 #endif /* _KERNEL */ 171 171 #endif /* !_SYS_SIGNALVAR_H_ */ -
cpukit/libnetworking/sys/socket.h
rc2b59d5 rdc28f16 343 343 }; 344 344 345 #ifndef KERNEL345 #ifndef _KERNEL 346 346 347 347 __BEGIN_DECLS … … 366 366 __END_DECLS 367 367 368 #else /* KERNEL */368 #else /* _KERNEL */ 369 369 void pfctlinput __P((int, struct sockaddr *)); 370 #endif /* ! KERNEL */370 #endif /* !_KERNEL */ 371 371 #endif /* !_SYS_SOCKET_H_ */ -
cpukit/libnetworking/sys/socketvar.h
rc2b59d5 rdc28f16 201 201 #define sowwakeup(so) sowakeup((so), &(so)->so_snd) 202 202 203 #ifdef KERNEL203 #ifdef _KERNEL 204 204 extern u_long sb_max; 205 205 … … 277 277 int soshutdown __P((struct socket *so, int how)); 278 278 void sowakeup __P((struct socket *so, struct sockbuf *sb)); 279 #endif /* KERNEL */279 #endif /* _KERNEL */ 280 280 281 281 #endif /* !_SYS_SOCKETVAR_H_ */ -
cpukit/libnetworking/sys/sysctl.h
rc2b59d5 rdc28f16 103 103 #define CTL_AUTO_START 0x100 104 104 105 #ifdef KERNEL105 #ifdef _KERNEL 106 106 #define SYSCTL_HANDLER_ARGS struct sysctl_oid *oidp, void *arg1, int arg2, \ 107 107 struct sysctl_req *req … … 278 278 ptr, arg, handler, fmt, descr) 279 279 280 #endif /* KERNEL */280 #endif /* _KERNEL */ 281 281 282 282 /* … … 552 552 } 553 553 554 #ifdef KERNEL554 #ifdef _KERNEL 555 555 556 556 /* … … 603 603 void sysctl_wire_old_buffer(struct sysctl_req *req, size_t len); 604 604 605 #else /* ! KERNEL */605 #else /* !_KERNEL */ 606 606 #include <sys/cdefs.h> 607 607 … … 611 611 int sysctlnametomib(const char *, int *, size_t *); 612 612 __END_DECLS 613 #endif /* KERNEL */613 #endif /* _KERNEL */ 614 614 615 615 #endif /* !_SYS_SYSCTL_H_ */ -
cpukit/libnetworking/sys/syslog.h
rc2b59d5 rdc28f16 152 152 #endif 153 153 154 #ifdef KERNEL154 #ifdef _KERNEL 155 155 #define LOG_PRINTF -1 /* pseudo-priority to indicate use of printf */ 156 156 #endif … … 176 176 177 177 /* 178 #ifdef KERNEL178 #ifdef _KERNEL 179 179 180 #else not KERNEL */180 #else not _KERNEL */ 181 181 182 182 #include <sys/cdefs.h> … … 191 191 __END_DECLS 192 192 193 /* #endif ! KERNEL */193 /* #endif !_KERNEL */ 194 194 195 195 #endif -
cpukit/libnetworking/sys/ucred.h
rc2b59d5 rdc28f16 51 51 #define FSCRED ((struct ucred *)-1) /* filesystem credential */ 52 52 53 #ifdef KERNEL53 #ifdef _KERNEL 54 54 #define crhold(cr) (cr)->cr_ref++ 55 55 … … 60 60 int suser __P((struct ucred *cred, u_short *acflag)); 61 61 int groupmember __P((gid_t gid, struct ucred *cred)); 62 #endif /* KERNEL */62 #endif /* _KERNEL */ 63 63 64 64 #endif /* !_SYS_UCRED_H_ */ -
cpukit/libnetworking/sys/uio.h
rc2b59d5 rdc28f16 57 57 }; 58 58 59 #ifdef KERNEL59 #ifdef _KERNEL 60 60 struct uio { 61 61 struct iovec *uio_iov; … … 73 73 #define UIO_MAXIOV 1024 /* max 1K of iov's */ 74 74 #define UIO_SMALLIOV 8 /* 8 on stack, else malloc */ 75 #endif /* KERNEL */75 #endif /* _KERNEL */ 76 76 77 #ifdef KERNEL77 #ifdef _KERNEL 78 78 79 79 int uiomove __P((caddr_t, int, struct uio *)); 80 80 81 #else /* ! KERNEL */81 #else /* !_KERNEL */ 82 82 83 83 #include <sys/cdefs.h> … … 88 88 __END_DECLS 89 89 90 #endif /* KERNEL */90 #endif /* _KERNEL */ 91 91 92 92 #endif /* !_SYS_UIO_H_ */ -
cpukit/libnetworking/vm/vm.h
rc2b59d5 rdc28f16 53 53 typedef struct vm_object *vm_object_t; 54 54 55 #ifndef KERNEL55 #ifndef _KERNEL 56 56 /* 57 57 * This is defined in <sys/types.h> for the kernel so that non-vm kernel -
cpukit/libnetworking/vm/vm_extern.h
rc2b59d5 rdc28f16 45 45 struct vnode; 46 46 47 #ifdef KERNEL47 #ifdef _KERNEL 48 48 49 49 #ifdef TYPEDEF_FOR_UAP … … 99 99 void vm_fault_quick __P((caddr_t v, int prot)); 100 100 101 #endif /* KERNEL */101 #endif /* _KERNEL */ 102 102 103 103 #endif /* !_VM_EXTERN_H_ */ -
cpukit/libnetworking/vm/vm_param.h
rc2b59d5 rdc28f16 99 99 #endif 100 100 101 #ifdef KERNEL101 #ifdef _KERNEL 102 102 extern vm_size_t page_mask; 103 103 extern int page_shift; … … 154 154 * No rounding is used. 155 155 */ 156 #ifdef KERNEL156 #ifdef _KERNEL 157 157 #define num_pages(x) \ 158 158 ((vm_offset_t)((((vm_offset_t)(x)) + PAGE_MASK) >> PAGE_SHIFT)) … … 161 161 extern vm_offset_t first_addr; /* first physical page */ 162 162 extern vm_offset_t last_addr; /* last physical page */ 163 #endif /* KERNEL */163 #endif /* _KERNEL */ 164 164 #endif /* ASSEMBLER */ 165 165 #endif /* _VM_PARAM_ */
Note: See TracChangeset
for help on using the changeset viewer.