Print this page
XXXX adding PID information to netstat output


 187 #if !defined(_STRICT_SYMBOLS)
 188 extern int flock(int, int);
 189 #endif
 190 
 191 #if defined(_KERNEL)
 192 
 193 /*
 194  * Routines dealing with user per-open file flags and
 195  * user open files.
 196  */
 197 struct proc;    /* forward reference for function prototype */
 198 struct vnodeops;
 199 struct vattr;
 200 
 201 extern file_t *getf(int);
 202 extern void releasef(int);
 203 extern void areleasef(int, uf_info_t *);
 204 #ifndef _BOOT
 205 extern void closeall(uf_info_t *);
 206 #endif
 207 extern void flist_fork(uf_info_t *, uf_info_t *);
 208 extern int closef(file_t *);
 209 extern int closeandsetf(int, file_t *);
 210 extern int ufalloc_file(int, file_t *);
 211 extern int ufalloc(int);
 212 extern int ufcanalloc(struct proc *, uint_t);
 213 extern int falloc(struct vnode *, int, file_t **, int *);
 214 extern void finit(void);
 215 extern void unfalloc(file_t *);
 216 extern void setf(int, file_t *);
 217 extern int f_getfd_error(int, int *);
 218 extern char f_getfd(int);
 219 extern int f_setfd_error(int, int);
 220 extern void f_setfd(int, char);
 221 extern int f_getfl(int, int *);
 222 extern int f_badfd(int, int *, int);
 223 extern int fassign(struct vnode **, int, int *);
 224 extern void fcnt_add(uf_info_t *, int);
 225 extern void close_exec(uf_info_t *);
 226 extern void clear_stale_fd(void);
 227 extern void clear_active_fd(int);




 187 #if !defined(_STRICT_SYMBOLS)
 188 extern int flock(int, int);
 189 #endif
 190 
 191 #if defined(_KERNEL)
 192 
 193 /*
 194  * Routines dealing with user per-open file flags and
 195  * user open files.
 196  */
 197 struct proc;    /* forward reference for function prototype */
 198 struct vnodeops;
 199 struct vattr;
 200 
 201 extern file_t *getf(int);
 202 extern void releasef(int);
 203 extern void areleasef(int, uf_info_t *);
 204 #ifndef _BOOT
 205 extern void closeall(uf_info_t *);
 206 #endif
 207 extern void flist_fork(proc_t *, proc_t *);
 208 extern int closef(file_t *);
 209 extern int closeandsetf(int, file_t *);
 210 extern int ufalloc_file(int, file_t *);
 211 extern int ufalloc(int);
 212 extern int ufcanalloc(struct proc *, uint_t);
 213 extern int falloc(struct vnode *, int, file_t **, int *);
 214 extern void finit(void);
 215 extern void unfalloc(file_t *);
 216 extern void setf(int, file_t *);
 217 extern int f_getfd_error(int, int *);
 218 extern char f_getfd(int);
 219 extern int f_setfd_error(int, int);
 220 extern void f_setfd(int, char);
 221 extern int f_getfl(int, int *);
 222 extern int f_badfd(int, int *, int);
 223 extern int fassign(struct vnode **, int, int *);
 224 extern void fcnt_add(uf_info_t *, int);
 225 extern void close_exec(uf_info_t *);
 226 extern void clear_stale_fd(void);
 227 extern void clear_active_fd(int);