Linuxpops
3.01.04
Spectral Anaysis Package for Single Dish Data
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
sock.h
Go to the documentation of this file.
1
#ifndef SOCK_H
2
#define SOCK_H
3
4
5
/* define SOCK_DEF_BUFCT 4096 */
/* default buffer count */
6
/* define SOCK_SEL_STDIN 0 */
/* message came from standard input */
7
/* define SOCK_SEL_TIMEOUT -1 */
/* socket timeout occurred */
8
/* define SOCK_SEL_ERROR -2 */
/* socket error occurred */
9
/* define SOCK_SEL_SIGNAL -3 */
/* interrupted by a signal */
10
/* define SOCK_ONLY_OK 0 */
11
/* define SOCK_ONLY_TIMEOUT -1 */
12
/* define SOCK_ONLY_ERROR -2 */
13
/* define SOCK_ONLY_SIGNAL -3 */
14
/* define SOCK_INTR_RETRY 0 */
15
/* define SOCK_INTR_NO_RETRY 1 */
16
17
18
19
struct
BOUND
{
20
int
bind_fd
;
21
struct
DEST
*
dest
;
22
struct
SOCK
*
head
;
/* head of list */
23
struct
sockaddr_in
sin
;
24
unsigned
int
bufct
;
25
int
interrupt
;
26
int
isxview
;
/* true if xview */
27
int
isaio
;
/* true if aioread is turned on (Solaris2) */
28
};
29
30
struct
SOCK
{
31
struct
SOCK
*
next
;
32
struct
DEST
*
dest
;
33
int
fd
;
34
struct
sockaddr_in
sin
;
35
};
36
37
#endif
38
BOUND::isxview
int isxview
Definition:
sock.h:26
BOUND::isaio
int isaio
Definition:
sock.h:27
BOUND::sin
struct sockaddr_in sin
Definition:
sock.h:23
DEST
Definition:
mbdef.h:13
BOUND::head
struct SOCK * head
Definition:
sock.h:22
SOCK
Definition:
sock.h:30
BOUND::bind_fd
int bind_fd
Definition:
sock.h:20
SOCK::fd
int fd
Definition:
sock.h:33
SOCK::next
struct SOCK * next
Definition:
sock.h:31
BOUND
Definition:
sock.h:19
BOUND::dest
struct DEST * dest
Definition:
sock.h:21
SOCK::dest
struct DEST * dest
Definition:
sock.h:32
BOUND::bufct
unsigned int bufct
Definition:
sock.h:24
SOCK::sin
struct sockaddr_in sin
Definition:
sock.h:34
BOUND::interrupt
int interrupt
Definition:
sock.h:25
include
sock.h
Generated on Mon Feb 21 2022 20:37:01 for Linuxpops by
1.8.5