OpenSS7 SS7 for the Common Man |
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |
||||||||||||||||||||||||||
Home | Overview | Status | News | Documentation | Resources | About | |||||||||||||||||||||
File /code/strss7/drivers/sua/sua_lm.h#ifndef __SUA_LM_H__ #define __SUA_LM_H__ /* * ========================================================================= * * SUA --> LM Upstream Primitives * * ========================================================================= */ /* * LM_LINK_IND * ------------------------------------------------------------------------- * All of the local management function associated with lower multiplexor * streams are performed by SUA Layer Management. This relieves SUA from the * knowledge of the implementation details of various lower layer providers. * All local management primitives are passed to and from the SUA Layer * Manager in LM_LINK_IND and LM_EVENT_REQ primitives. This function * performs the details: */ static int m_link_ind(queue_t * q, mblk_t * dp) { mblk_t *mp; lm_link_ind_t *p; pp_t *pp = (pp_t *) q->q_ptr; if ((mp = allocb(sizeof(*p), BPRI_MED))) { mp->b_datap->db_type = dp->b_datap->db_type; p = (lm_link_ind_t *) mp->b_wptr; p->primitive = LM_LINK_IND; p->muxid = pp->muxid; p->type = pp->type; p->mode = pp->mode; p->class = pp->class; mp->b_wptr += sizeof(*p); mp->b_cont = dp; pullmsg(mp, -1); ua_u_rput(ua_lmq, mp); return (0); } return (-ENOBUFS); } #endif /* __SUA_LM_H__ */
|
|||||||||||||||||||||||||||
OpenSS7 SS7 for the Common Man |
Home | Overview | Status | News | Documentation | Resources | About | ||||||||||||||||||||
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |