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/drivers/m2ua/m2ua_lm.c


File /code/strss7/drivers/m2ua/m2ua_lm.c



static char const ident[] = "$Name:  $($Revision: 0.8.2.1 $) $Date: 2002/10/18 03:28:38 $";

/*
 *  =========================================================================
 *
 *  LM --> M2UA Downstrem Primitives
 *
 *  =========================================================================
 *
 *  These primitives are sent downstream by layer management (configuration
 *  daemon on control stream).
 *
 *  There are several things that need being done here:
 *
 *  Bind a lower Signalling Link stream to an M2UA Interface Id.
 *  CRUD an IID, AS, ASP, SGP.
 *  Associate SL<->IID, IID<->AS, AS<->ASP, AS<->SGP, ASP<->TP, SGP<->TP.
 *
 */
/*
 *  M2UA ADD LINK
 *  ---------------------------------------
 */

static int (*m_prim[]) (const queue_t *, const mblk_t *) = {
}

static int m_u_w_data(q, mp)
	const queue_t *q;
	const mblk_t *mp {
		(void) q;
		(void) mp;
		return (-EOPNOTSUPP);
	} static int m_u_w_proto(q, mp)
	const queue_t *q;
	const mblk_t *mp {
		int prim = *((long *) mp->b_wptr);
		if (M2UA_DSTR_FIRST <= prim && prim <= M2UA_DSTR_LAST && m_prim[prim])
			return (*m_prim[prim]) (q, mp);
		return (-EOPNOTSUPP);
	}


Home Index Prev Next More Download Info FAQ Mail   Home -> Resources -> Browse Source -> strss7/drivers/m2ua/m2ua_lm.c

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

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