Lines Matching defs:layer
17 #define container_obj(layr) container_of(layr, struct cfrfml, serv.layer)
34 static void cfrfml_release(struct cflayer *layer)
36 struct cfsrvl *srvl = container_of(layer, struct cfsrvl, layer);
37 struct cfrfml *rfml = container_obj(&srvl->layer);
56 this->serv.layer.receive = cfrfml_receive;
57 this->serv.layer.transmit = cfrfml_transmit;
65 snprintf(this->serv.layer.name, CAIF_LAYER_NAME_SZ,
68 return &this->serv.layer;
167 err = rfml->serv.layer.up->receive(rfml->serv.layer.up, pkt);
200 /* Add info for MUX-layer to route the packet out. */
201 cfpkt_info(pkt)->channel_id = rfml->serv.layer.id;
210 return rfml->serv.layer.dn->transmit(rfml->serv.layer.dn, pkt);