SMbuf
int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
SMbuf *db ;
SMbuf *mb ;
SMbuf *mb ;
static void ess_send_frame(struct s_smc *smc, SMbuf *mb)
static void ess_send_frame(struct s_smc *smc, SMbuf *mb);
int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
SMbuf *smt_build_frame(struct s_smc *smc, int class, int type,
SMbuf *smt_get_mbuf(struct s_smc *smc); /* drvsr.c */
void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs);
void smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc);
void smt_free_mbuf(struct s_smc *smc, SMbuf *mb);
void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local);
void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local);
int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
SMbuf *llc_rx_pipe ; /* points to the first queued llc fr */
SMbuf *llc_rx_tail ; /* points to the last queued llc fr */
SMbuf *txd_tx_pipe ; /* points to first mb in the txd ring */
SMbuf *txd_tx_tail ; /* points to last mb in the txd ring */
SMbuf *tx_mb ; /* SMT tx MBuf pointer */
SMbuf mb[MAX_MBUF] ; /* mbuf pool */
SMbuf *mb_start ; /* points to the first mb */
SMbuf *mb_free ; /* free queue */
SMbuf *sba_reply_pend ; /* local reply for the sba is pending */
SMbuf *mb ;
void smt_free_mbuf(struct s_smc *smc, SMbuf *mb);
static void smt_to_llc(struct s_smc *smc, SMbuf *mb)
SMbuf* smt_get_mbuf(struct s_smc *smc);
static void queue_llc_rx(struct s_smc *smc, SMbuf *mb)
mb->sm_next = (SMbuf *)NULL ;
static SMbuf *get_llc_rx(struct s_smc *smc)
SMbuf *mb ;
static void queue_txd_mb(struct s_smc *smc, SMbuf *mb)
mb->sm_next = (SMbuf *)NULL ;
static SMbuf *get_txd_mb(struct s_smc *smc)
SMbuf *mb ;
void smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc)
MAX_MBUF*sizeof(SMbuf))
SMbuf *mb ;
smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ;
if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc,
MAX_MBUF*sizeof(SMbuf)))) {
if (!(mb_start = (SMbuf *) mac_drv_get_space(smc,
MAX_MBUF*sizeof(SMbuf)))) {
static SMbuf *mb_start;
SMbuf *mb ;
static SMbuf *mb_free;
smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ;
smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ;
SMbuf *smt_get_mbuf(struct s_smc *smc)
register SMbuf *mb ;
void smt_free_mbuf(struct s_smc *smc, SMbuf *mb)
static void queue_llc_rx(struct s_smc *smc, SMbuf *mb);
SMbuf *mb ;
static void smt_to_llc(struct s_smc *smc, SMbuf *mb);
static void queue_txd_mb(struct s_smc *smc, SMbuf *mb);
static SMbuf* get_llc_rx(struct s_smc *smc);
static SMbuf* get_txd_mb(struct s_smc *smc);
void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local)
SMbuf *reply ;
static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req,
SMbuf *mb ;
static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req,
SMbuf *mb ;
SMbuf *mb ;
SMbuf *smt_build_frame(struct s_smc *smc, int class, int type,
SMbuf *mb ;
static void smt_add_frame_len(SMbuf *mb, int len)
SMbuf *mb ;
void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs)
static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason,
static void smt_add_frame_len(SMbuf *mb, int len);
void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local)
static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason,
SMbuf *mb ;
SMbuf *mb ;
SMbuf *mb ;
SMbuf *mb ;