Lines Matching defs:packet
126 /* packet flags */
292 /* caller's per packet specific context */
317 /* endpoint that this packet was sent/recv'd from */
332 * optimization for network-oriented data, the HTC packet
333 * can pass the network buffer corresponding to the HTC packet
412 * the number of credits that the current pending TX packet needs
541 struct htc_packet packet;
551 HTC_SEND_QUEUE_OK = 0, /* packet was queued */
552 HTC_SEND_QUEUE_DROP = 1, /* this packet should be dropped */
562 int (*tx)(struct htc_target *target, struct htc_packet *packet);
642 static inline void set_htc_pkt_info(struct htc_packet *packet, void *context,
646 packet->pkt_cntxt = context;
647 packet->buf = buf;
648 packet->act_len = len;
649 packet->endpoint = eid;
650 packet->info.tx.tag = tag;
653 static inline void htc_rxpkt_reset(struct htc_packet *packet)
655 packet->buf = packet->buf_start;
656 packet->act_len = 0;
659 static inline void set_htc_rxpkt_info(struct htc_packet *packet, void *context,
663 packet->pkt_cntxt = context;
664 packet->buf = buf;
665 packet->buf_start = buf;
666 packet->buf_len = len;
667 packet->endpoint = eid;