Deleted Added
full compact
server.h (124758) server.h (153176)
1/*
2 * server.h
3 *
4 * Copyright (c) 2004 Maksim Yevmenkin <m_evmenkin@yahoo.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 12 unchanged lines hidden (view full) ---

21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $Id: server.h,v 1.5 2004/01/13 01:54:39 max Exp $
1/*
2 * server.h
3 *
4 * Copyright (c) 2004 Maksim Yevmenkin <m_evmenkin@yahoo.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 12 unchanged lines hidden (view full) ---

21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $Id: server.h,v 1.5 2004/01/13 01:54:39 max Exp $
29 * $FreeBSD: head/usr.sbin/bluetooth/sdpd/server.h 124758 2004-01-20 20:48:26Z emax $
29 * $FreeBSD: head/usr.sbin/bluetooth/sdpd/server.h 153176 2005-12-06 17:56:36Z emax $
30 */
31
32#ifndef _SERVER_H_
33#define _SERVER_H_
34
35/*
36 * File descriptor index entry
37 */
38
39struct fd_idx
40{
41 unsigned valid : 1; /* descriptor is valid */
42 unsigned server : 1; /* descriptor is listening */
43 unsigned control : 1; /* descriptor is a control socket */
30 */
31
32#ifndef _SERVER_H_
33#define _SERVER_H_
34
35/*
36 * File descriptor index entry
37 */
38
39struct fd_idx
40{
41 unsigned valid : 1; /* descriptor is valid */
42 unsigned server : 1; /* descriptor is listening */
43 unsigned control : 1; /* descriptor is a control socket */
44 unsigned reserved : 2;
44 unsigned priv : 1; /* descriptor is privileged */
45 unsigned reserved : 1;
45 unsigned rsp_cs : 11; /* response continuation state */
46 uint16_t rsp_size; /* response size */
47 uint16_t rsp_limit; /* response limit */
48 uint16_t omtu; /* outgoing MTU */
49 uint8_t *rsp; /* outgoing buffer */
50};
51
52typedef struct fd_idx fd_idx_t;

--- 49 unchanged lines hidden ---
46 unsigned rsp_cs : 11; /* response continuation state */
47 uint16_t rsp_size; /* response size */
48 uint16_t rsp_limit; /* response limit */
49 uint16_t omtu; /* outgoing MTU */
50 uint8_t *rsp; /* outgoing buffer */
51};
52
53typedef struct fd_idx fd_idx_t;

--- 49 unchanged lines hidden ---