OpenSS7
SS7 for the
Common Man

© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved.
Last modified:

Home Overview Status News Documentation Resources About
   
 Overview
 Status
 News
 Documentation
 Resources
 About

   
Home Index Prev Next More Download Info FAQ Mail   Home -> Resources -> Browse Source -> strss7/include/sockmod.h


File /code/strss7/include/sockmod.h



#ifndef __SOCKMOD_H__
#define __SOCKMOD_H__

#define SOCKMOD_IOC_MAGIC	'I'

struct o_si_udata {
	int tidusize;
	int addrsize;
	int optsize;
	int etsdusize;
	int servtype;
	int so_state;
	int so_options;
	int tsdusize;
};

#define O_SI_GETUDATA		_IORW(SOCKMOD_IOC_MAGIC, 101, struct o_si_udata)

#define SI_SHUTDOWN		_IORW(SOCKMOD_IOC_MAGIC, 102, void)

#define SI_LISTEN		_IORW(SOCKMOD_IOC_MAGIC, 103, void)

#define SI_SETMYNAME		_IORW(SOCKMOD_IOC_MAGIC, 104, void)

#define SI_SETPEERNAME		_IORW(SOCKMOD_IOC_MAGIC, 105, void)

#define SI_GETINTRANSIT		_IORW(SOCKMOD_IOC_MAGIC, 106, void)

#define SI_TCL_LINK		_IORW(SOCKMOD_IOC_MAGIC, 107, void)

#define SI_TCL_UNLINK		_IORW(SOCKMOD_IOC_MAGIC, 108, void)

struct si_sockparams {
	int sp_family;
	int sp_type;
	int sp_protocol;
};

#define SI_SOCKPARAMS		_IORW(SOCKMOD_IOC_MAGIC, 109, struct si_sockparams)

struct si_udata {
	int tidusize;
	int addrsize;
	int optsize;
	int etsdusize;
	int servtype;
	int so_state;
	int so_options;
	int tsdusize;
	struct si_sockparams sockparams;
};

#define SI_GETUDATA		_IORW(SOCKMOD_IOC_MAGIC, 110, struct si_udata)

#endif				/* __SOCKMOD_H__ */


Home Index Prev Next More Download Info FAQ Mail   Home -> Resources -> Browse Source -> strss7/include/sockmod.h

OpenSS7
SS7 for the
Common Man
Home Overview Status News Documentation Resources About

© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved.
Last modified: