keysock.h (f4b3ec61) | keysock.h (bd670b35) |
---|---|
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 --- 5 unchanged lines hidden (view full) --- 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* | 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 --- 5 unchanged lines hidden (view full) --- 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* |
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. | 22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. 24 */ 25 26#ifndef _INET_KEYSOCK_H 27#define _INET_KEYSOCK_H 28 | 23 * Use is subject to license terms. 24 */ 25 26#ifndef _INET_KEYSOCK_H 27#define _INET_KEYSOCK_H 28 |
29#pragma ident "%Z%%M% %I% %E% SMI" 30 | |
31#ifdef __cplusplus 32extern "C" { 33#endif 34 35extern int keysock_opt_get(queue_t *, int, int, uchar_t *); 36extern int keysock_opt_set(queue_t *, uint_t, int, int, uint_t, | 29#ifdef __cplusplus 30extern "C" { 31#endif 32 33extern int keysock_opt_get(queue_t *, int, int, uchar_t *); 34extern int keysock_opt_set(queue_t *, uint_t, int, int, uint_t, |
37 uchar_t *, uint_t *, uchar_t *, void *, cred_t *cr, mblk_t *mblk); | 35 uchar_t *, uint_t *, uchar_t *, void *, cred_t *cr); |
38 39/* 40 * Object to represent database of options to search passed to 41 * {sock,tpi}optcom_req() interface routine to take care of option 42 * management and associated methods. 43 */ 44 45extern optdb_obj_t keysock_opt_obj; --- 117 unchanged lines hidden --- | 36 37/* 38 * Object to represent database of options to search passed to 39 * {sock,tpi}optcom_req() interface routine to take care of option 40 * management and associated methods. 41 */ 42 43extern optdb_obj_t keysock_opt_obj; --- 117 unchanged lines hidden --- |