stream.h (8aa5c309) | stream.h (da14cebe) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 16 unchanged lines hidden (view full) --- 25 26/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 27/* All Rights Reserved */ 28 29 30#ifndef _SYS_STREAM_H 31#define _SYS_STREAM_H 32 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 16 unchanged lines hidden (view full) --- 25 26/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 27/* All Rights Reserved */ 28 29 30#ifndef _SYS_STREAM_H 31#define _SYS_STREAM_H 32 |
33#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 11.44 */ 34 | |
35/* 36 * For source compatibility 37 */ 38#include <sys/isa_defs.h> 39#ifdef _KERNEL 40#include <sys/vnode.h> 41#endif 42#include <sys/poll.h> --- 366 unchanged lines hidden (view full) --- 409 */ 410#define STRUIO_SPEC 0x01 /* struio{get,put}() special mblk */ 411#define STRUIO_DONE 0x02 /* struio done (could be partial) */ 412#define STRUIO_IP 0x04 /* IP checksum stored in db_struioun */ 413#define STRUIO_ZC 0x08 /* mblk eligible for zero-copy */ 414#define STRUIO_ZCNOTIFY 0x10 /* notify stream head when mblk acked */ 415#define STRUIO_EAGER 0x20 /* new eager; db_cksumstart has squeue to use */ 416#define STRUIO_POLICY 0x40 /* new eager when IPsec is enabled */ | 33/* 34 * For source compatibility 35 */ 36#include <sys/isa_defs.h> 37#ifdef _KERNEL 38#include <sys/vnode.h> 39#endif 40#include <sys/poll.h> --- 366 unchanged lines hidden (view full) --- 407 */ 408#define STRUIO_SPEC 0x01 /* struio{get,put}() special mblk */ 409#define STRUIO_DONE 0x02 /* struio done (could be partial) */ 410#define STRUIO_IP 0x04 /* IP checksum stored in db_struioun */ 411#define STRUIO_ZC 0x08 /* mblk eligible for zero-copy */ 412#define STRUIO_ZCNOTIFY 0x10 /* notify stream head when mblk acked */ 413#define STRUIO_EAGER 0x20 /* new eager; db_cksumstart has squeue to use */ 414#define STRUIO_POLICY 0x40 /* new eager when IPsec is enabled */ |
415#define STRUIO_CONNECT 0x80 /* conn did a connect */ |
|
417 418/* 419 * Message flags. These are interpreted by the stream head. 420 */ 421#define MSGMARK 0x01 /* last byte of message is "marked" */ 422#define MSGNOLOOP 0x02 /* don't loop message around to */ 423 /* write side of stream */ 424#define MSGDELIM 0x04 /* message is delimited */ --- 435 unchanged lines hidden --- | 416 417/* 418 * Message flags. These are interpreted by the stream head. 419 */ 420#define MSGMARK 0x01 /* last byte of message is "marked" */ 421#define MSGNOLOOP 0x02 /* don't loop message around to */ 422 /* write side of stream */ 423#define MSGDELIM 0x04 /* message is delimited */ --- 435 unchanged lines hidden --- |