/linux-6.1.9/include/net/caif/ |
D | cfpkt.h | 11 struct cfpkt; 17 struct cfpkt *cfpkt_create(u16 len); 23 void cfpkt_destroy(struct cfpkt *pkt); 33 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len); 35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt) in cfpkt_extr_head_u8() 44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt) in cfpkt_extr_head_u16() 53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt) in cfpkt_extr_head_u32() 71 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len); 81 int cfpkt_extr_trail(struct cfpkt *pkt, void *data, u16 len); 92 int cfpkt_add_head(struct cfpkt *pkt, const void *data, u16 len); [all …]
|
D | caif_layer.h | 13 struct cfpkt; 179 int (*receive)(struct cflayer *layr, struct cfpkt *cfpkt); 206 int (*transmit) (struct cflayer *layr, struct cfpkt *cfpkt);
|
/linux-6.1.9/net/caif/ |
D | cfpkt_skbuff.c | 35 struct cfpkt { struct 45 static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv() argument 50 static inline bool is_erronous(struct cfpkt *pkt) in is_erronous() 55 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb() 60 static inline struct cfpkt *skb_to_pkt(struct sk_buff *skb) in skb_to_pkt() 62 return (struct cfpkt *) skb; in skb_to_pkt() 65 struct cfpkt *cfpkt_fromnative(enum caif_direction dir, void *nativepkt) in cfpkt_fromnative() 67 struct cfpkt *pkt = skb_to_pkt(nativepkt); in cfpkt_fromnative() 73 void *cfpkt_tonative(struct cfpkt *pkt) in cfpkt_tonative() 79 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; 71 static struct cfpkt *rfm_append(struct cfrfml *rfml, char *seghead, in rfm_append() 72 struct cfpkt *pkt, int *err) in rfm_append() 74 struct cfpkt *tmppkt; in rfm_append() 97 static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfrfml_receive() 104 struct cfpkt *tmppkt = NULL; in cfrfml_receive() 196 static int cfrfml_transmit_segment(struct cfrfml *rfml, struct cfpkt *pkt) in cfrfml_transmit_segment() 213 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); 54 static int cfserl_receive(struct cflayer *l, struct cfpkt *newpkt) in cfserl_receive() 58 struct cfpkt *pkt = NULL; in cfserl_receive() 59 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); 33 static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdbgl_receive() 38 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); 36 static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfvidl_receive() 47 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); 40 static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_receive() 81 static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfdgml_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); 39 static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt) in cfvei_receive() 75 static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfvei_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); 40 static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt) in cfutill_receive() 78 static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfutill_transmit()
|
D | cffrml.c | 28 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt); 29 static int cffrml_transmit(struct cflayer *layr, struct cfpkt *pkt); 82 static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt) in cffrml_receive() 137 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; in cfctrl_enum_req() 210 struct cfpkt *pkt; in cfctrl_linkup_request() 312 struct cfpkt *pkt; in cfctrl_linkdown_req() 354 static int cfctrl_recv(struct cflayer *layer, struct cfpkt *pkt) in cfctrl_recv() 590 static int handle_loop(struct cfctrl *ctrl, int cmd, struct cfpkt *pkt) in handle_loop()
|
D | cfmuxl.c | 42 static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt); 43 static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt); 174 static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfmuxl_receive() 211 static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfmuxl_transmit()
|
D | caif_usb.c | 38 static int cfusbl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfusbl_receive() 48 static int cfusbl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfusbl_transmit()
|
D | cfsrvl.c | 108 struct cfpkt *pkt; in cfservl_modemcmd() 129 struct cfpkt *pkt; in cfservl_modemcmd()
|
D | caif_dev.c | 167 static int transmit(struct cflayer *layer, struct cfpkt *pkt) in transmit() 249 struct cfpkt *pkt; in receive()
|
D | chnl_net.c | 56 static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt) in chnl_recv_cb() 199 struct cfpkt *pkt = NULL; in chnl_net_start_xmit()
|
D | caif_socket.c | 160 static int caif_sktrecv_cb(struct cflayer *layr, struct cfpkt *pkt) in caif_sktrecv_cb() 498 struct cfpkt *pkt; in transmit_skb()
|
/linux-6.1.9/Documentation/networking/caif/ |
D | linux_caif.rst | 85 - When receiving / transmitting CAIF Packets (cfpkt), ownership is passed
|