#include <linux/skbuff.h>#include <linux/string.h>#include <asm/byteorder.h>#include <net/irda/irda.h>#include <net/irda/wrapper.h>#include <net/irda/irtty.h>#include <net/irda/crc.h>#include <net/irda/irlap.h>#include <net/irda/irlap_frame.h>#include <net/irda/irda_device.h>Include dependency graph for wrapper.c:

Go to the source code of this file.
Functions | |
| static int | stuff_byte (__u8 byte, __u8 *buf) |
| static void | state_outside_frame (struct device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) |
| static void | state_begin_frame (struct device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) |
| static void | state_link_escape (struct device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) |
| static void | state_inside_frame (struct device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) |
| int | async_wrap_skb (struct sk_buff *skb, __u8 *tx_buff, int buffsize) |
| void | async_bump (struct device *dev, struct net_device_stats *stats, __u8 *buf, int len) |
| void | async_unwrap_char (struct device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) |
Variables | |
| static void(* | state [])(struct device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) |
|
||||||||||||||||||||
|
Definition at line 172 of file wrapper.c. References ETH_P_IRDA, htons(), memcpy, netif_rx(), net_device_stats::rx_bytes, net_device_stats::rx_dropped, and net_device_stats::rx_packets. Referenced by state_inside_frame(). Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Definition at line 206 of file wrapper.c. References iobuff_t::state, and state. Referenced by irport_receive(), irtty_receive_buf(), nsc_ircc_pio_receive(), and w83977af_pio_receive(). |
|
||||||||||||||||
|
Definition at line 70 of file wrapper.c. References ASSERT, BOF, bytes, sk_buff::cb, sk_buff::data, EOF, i, INIT_FCS, IRDA_DEBUG, irda_fcs(), LAP_MAGIC, len, memset, n, stuff_byte(), value, and XBOF. Referenced by irport_hard_xmit(), irtty_hard_xmit(), nsc_ircc_hard_xmit_sir(), toshoboe_hard_xmit(), and w83977af_hard_xmit(). Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Definition at line 246 of file wrapper.c. References BOF, CE, iobuff_t::data, EOF, iobuff_t::fcs, iobuff_t::head, INIT_FCS, INSIDE_FRAME, IRDA_DEBUG, irda_fcs(), iobuff_t::len, LINK_ESCAPE, OUTSIDE_FRAME, net_device_stats::rx_errors, net_device_stats::rx_frame_errors, and iobuff_t::state. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Definition at line 323 of file wrapper.c. References async_bump(), BEGIN_FRAME, BOF, CE, iobuff_t::data, EOF, FALSE, iobuff_t::fcs, GOOD_FCS, iobuff_t::in_frame, IRDA_DEBUG, irda_device_set_media_busy(), irda_fcs(), iobuff_t::len, LINK_ESCAPE, OUTSIDE_FRAME, ret, net_device_stats::rx_crc_errors, net_device_stats::rx_errors, iobuff_t::state, TRUE, and iobuff_t::truesize. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Definition at line 284 of file wrapper.c. References BEGIN_FRAME, BOF, CE, iobuff_t::data, EOF, iobuff_t::fcs, INSIDE_FRAME, IRDA_DEBUG, irda_device_set_media_busy(), irda_fcs(), IRDA_TRANS, iobuff_t::len, OUTSIDE_FRAME, iobuff_t::state, TRUE, iobuff_t::truesize, and WARNING. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Definition at line 219 of file wrapper.c. References BEGIN_FRAME, BOF, EOF, iobuff_t::in_frame, irda_device_set_media_busy(), iobuff_t::state, TRUE, and XBOF. Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 147 of file wrapper.c. References BOF, CE, EOF, and IRDA_TRANS. Referenced by async_wrap_skb(). |
|
|
Initial value: |