Searched refs:tpkt (Results 1 – 4 of 4) sorted by relevance
68 struct sk_buff *tpkt; member290 kfree_skb(ap->tpkt); in ppp_sync_close()628 ap->tpkt = skb; in ppp_sync_send()651 if (!tty_stuffed && ap->tpkt) { in ppp_sync_push()653 sent = tty->ops->write(tty, ap->tpkt->data, ap->tpkt->len); in ppp_sync_push()656 if (sent < ap->tpkt->len) { in ppp_sync_push()659 kfree_skb(ap->tpkt); in ppp_sync_push()660 ap->tpkt = NULL; in ppp_sync_push()669 (!tty_stuffed && ap->tpkt))) in ppp_sync_push()677 if (ap->tpkt) { in ppp_sync_push()[all …]
59 struct sk_buff *tpkt; member244 kfree_skb(ap->tpkt); in ppp_asynctty_close()544 data = ap->tpkt->data; in ppp_async_encode()545 count = ap->tpkt->len; in ppp_async_encode()616 kfree_skb(ap->tpkt); in ppp_async_encode()617 ap->tpkt = NULL; in ppp_async_encode()640 ap->tpkt = skb; in ppp_async_send()683 if (ap->optr >= ap->olim && ap->tpkt) { in ppp_async_push()703 (!tty_stuffed && ap->tpkt))) in ppp_async_push()714 if (ap->tpkt) { in ppp_async_push()[all …]
123 unsigned char *tpkt; in get_tpkt_data() local142 tpkt = skb_header_pointer(skb, tcpdataoff, tcpdatalen, in get_tpkt_data()144 BUG_ON(tpkt == NULL); in get_tpkt_data()147 if (tcpdatalen < 4 || tpkt[0] != 0x03 || tpkt[1] != 0) { in get_tpkt_data()156 *data = tpkt; in get_tpkt_data()176 tpkt = *data + *datalen; in get_tpkt_data()179 if (tpkt[0] != 0x03 || tpkt[1] != 0) in get_tpkt_data()184 tpktlen = tpkt[2] * 256 + tpkt[3]; in get_tpkt_data()202 *data = tpkt + 4; in get_tpkt_data()
604 u32 tpkt; /* 0x.6e4 - Transmit Packet Counter */ member