/linux-2.6.39/include/net/caif/ |
D | cfpkt.h | 11 struct cfpkt; 17 struct cfpkt *cfpkt_create(u16 len); 24 struct cfpkt *cfpkt_create_uplink(const unsigned char *data, unsigned int len); 29 void cfpkt_destroy(struct cfpkt *pkt); 39 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len); 50 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len); 60 int cfpkt_extr_trail(struct cfpkt *pkt, void *data, u16 len); 71 int cfpkt_add_head(struct cfpkt *pkt, const void *data, u16 len); 82 int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len); 92 int cfpkt_pad_trail(struct cfpkt *pkt, u16 len); [all …]
|
D | caif_layer.h | 13 struct cfpkt; 176 int (*receive)(struct cflayer *layr, struct cfpkt *cfpkt); 202 int (*transmit) (struct cflayer *layr, struct cfpkt *cfpkt);
|
/linux-2.6.39/net/caif/ |
D | cfpkt_skbuff.c | 35 struct cfpkt { struct 45 inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv() argument 50 inline bool is_erronous(struct cfpkt *pkt) in is_erronous() 55 inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb() 60 inline struct cfpkt *skb_to_pkt(struct sk_buff *skb) in skb_to_pkt() 62 return (struct cfpkt *) skb; in skb_to_pkt() 66 struct cfpkt *cfpkt_fromnative(enum caif_direction dir, void *nativepkt) in cfpkt_fromnative() 68 struct cfpkt *pkt = skb_to_pkt(nativepkt); in cfpkt_fromnative() 74 void *cfpkt_tonative(struct cfpkt *pkt) in cfpkt_tonative() 80 static struct cfpkt *cfpkt_create_pfx(u16 len, u16 pfx) in cfpkt_create_pfx() [all …]
|
D | cfrfml.c | 21 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt); 22 static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt); 26 struct cfpkt *incomplete_frm; 74 static struct cfpkt *rfm_append(struct cfrfml *rfml, char *seghead, in rfm_append() 75 struct cfpkt *pkt, int *err) in rfm_append() 77 struct cfpkt *tmppkt; in rfm_append() 100 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_receive() 107 struct cfpkt *tmppkt = NULL; in cfrfml_receive() 194 static int cfrfml_transmit_segment(struct cfrfml *rfml, struct cfpkt *pkt) in cfrfml_transmit_segment() 211 static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_transmit() [all …]
|
D | cfserl.c | 23 struct cfpkt *incomplete_frm; 29 static int cfserl_receive(struct cflayer *layr, struct cfpkt *pkt); 30 static int cfserl_transmit(struct cflayer *layr, struct cfpkt *pkt); 53 static int cfserl_receive(struct cflayer *l, struct cfpkt *newpkt) in cfserl_receive() 57 struct cfpkt *pkt = NULL; in cfserl_receive() 58 struct cfpkt *tail_pkt = NULL; in cfserl_receive() 179 static int cfserl_transmit(struct cflayer *layer, struct cfpkt *newpkt) in cfserl_transmit()
|
D | cfdbgl.c | 17 static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt); 18 static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt); 36 static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdbgl_receive() 41 static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfdbgl_transmit()
|
D | cfvidl.c | 19 static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt); 20 static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt); 39 static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfvidl_receive() 50 static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfvidl_transmit()
|
D | cfdgml.c | 24 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt); 25 static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt); 44 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_receive() 85 static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_transmit()
|
D | cfutill.c | 24 static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt); 25 static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt); 43 static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt) in cfutill_receive() 81 static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfutill_transmit()
|
D | cfveil.c | 23 static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt); 24 static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt); 42 static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt) in cfvei_receive() 78 static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfvei_transmit()
|
D | cffrml.c | 26 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt); 27 static int cffrml_transmit(struct cflayer *layr, struct cfpkt *pkt); 70 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt) in cffrml_receive() 118 static int cffrml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cffrml_transmit()
|
D | cfctrl.c | 23 int cmd, struct cfpkt *pkt){ in handle_loop() 28 int cmd, struct cfpkt *pkt); 30 static int cfctrl_recv(struct cflayer *layr, struct cfpkt *pkt); 178 struct cfpkt *pkt = cfpkt_create(CFPKT_CTRL_PKT_LEN); in cfctrl_enum_req() 208 struct cfpkt *pkt = cfpkt_create(CFPKT_CTRL_PKT_LEN); in cfctrl_linkup_request() 290 struct cfpkt *pkt = cfpkt_create(CFPKT_CTRL_PKT_LEN); in cfctrl_linkdown_req() 311 struct cfpkt *pkt = cfpkt_create(CFPKT_CTRL_PKT_LEN); in cfctrl_sleep_req() 328 struct cfpkt *pkt = cfpkt_create(CFPKT_CTRL_PKT_LEN); in cfctrl_wake_req() 345 struct cfpkt *pkt = cfpkt_create(CFPKT_CTRL_PKT_LEN); in cfctrl_getstartreason_req() 376 static int cfctrl_recv(struct cflayer *layer, struct cfpkt *pkt) in cfctrl_recv() [all …]
|
D | cfmuxl.c | 41 static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt); 42 static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt); 189 static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfmuxl_receive() 220 static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfmuxl_transmit()
|
D | cfsrvl.c | 106 struct cfpkt *pkt; in cfservl_modemcmd() 128 struct cfpkt *pkt; in cfservl_modemcmd()
|
D | caif_dev.c | 119 static int transmit(struct cflayer *layer, struct cfpkt *pkt) in transmit() 171 struct cfpkt *pkt; in receive()
|
D | chnl_net.c | 73 static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt) in chnl_recv_cb() 206 struct cfpkt *pkt = NULL; in chnl_net_start_xmit()
|
D | caif_socket.c | 196 static int caif_sktrecv_cb(struct cflayer *layr, struct cfpkt *pkt) in caif_sktrecv_cb() 521 struct cfpkt *pkt; in transmit_skb()
|
/linux-2.6.39/Documentation/networking/caif/ |
D | Linux-CAIF.txt | 98 - When receiving / transmitting CAIF Packets (cfpkt), ownership is passed
|