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/tcap/tcap_xlat.c


File /code/strss7/drivers/tcap/tcap_xlat.c



#ident "@(#) $RCSfile: tcap_xlat.c,v $ $Name:  $($Revision: 0.8.2.2 $) $Date: 2003/04/03 19:51:40 $"

static char const ident[] =
    "$RCSfile: tcap_xlat.c,v $ $Name:  $($Revision: 0.8.2.2 $) $Date: 2003/04/03 19:51:40 $";

#define __NO_VERSION__

#include <linux/config.h>
#include <linux/version.h>
#ifdef MODVERSIONS
#include <linux/modversions.h>
#endif
#include <linux/module.h>

#include <sys/stream.h>
#include <sys/stropts.h>
#include <sys/cmn_err.h>

#include "../debug.h"
#include "../bufq.h"

#include "tcap.h"
#include "tcap_data.h"

static int tcap_x_w_proto(queue_t * q, mblk_t * mp)
{
	(void) q;
	(void) mp;
	fixme(("Write this function\n"));
	return (-EFAULT);
}
static int tcap_x_r_proto(queue_t * q, mblk_t * mp)
{
	(void) q;
	(void) mp;
	fixme(("Write this function\n"));
	return (-EFAULT);
}

int tcap_x_w_prim(queue_t * q, mblk_t * mp)
{
	switch (mp->b_datap->db_type) {
	case M_PROTO:
	case M_PCPROTO:
		return tcap_x_w_proto(q, mp);
	case M_FLUSH:
		return tcap_w_flush(q, mp);
	}
	return (5);
}

int tcap_x_r_prim(queue_t * q, mblk_t * mp)
{
	switch (mp->b_datap->db_type) {
	case M_PROTO:
	case M_PCPROTO:
		return tcap_x_r_proto(q, mp);
	case M_FLUSH:
		return tcap_r_flush(q, mp);
	}
	return (5);
}


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

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

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