Lines Matching full:pack

3  * 6pack.c	This module implements the 6pack protocol for kernel-based
43 #define SIXP_SEOF 0x40 /* start and end of a 6pack frame */
48 #define SIXP_CHKSUM 0xFF /* valid checksum of a 6pack frame */
77 /* 6pack configuration. */
78 #define SIXP_NRUNIT 31 /* MAX number of 6pack channels */
107 unsigned char mode; /* 6pack mode */
109 /* 6pack stuff */
161 /* ----> 6pack timer interrupt handler and friends. <---- */
274 /* Close the low-level part of the 6pack channel. */
431 * a block of 6pack data has been received, which can now be decapsulated
543 * Open the high-level part of the 6pack channel.
545 * 6pack line discipline is called for. Because we are
647 * Close down a 6pack channel.
649 * TTY line discipline to what it was before it got hooked to 6pack
681 /* Free all 6pack frame buffers after unreg. */
688 /* Perform I/O control on an active 6pack channel. */
754 .name = "6pack",
762 /* Initialize 6pack control device -- register 6pack line discipline */
765 "AX.25: 6pack driver, " SIXPACK_VERSION "\n";
767 "6pack: can't register line discipline (err = %d)\n";
783 "6pack: can't unregister line discipline (err = %d)\n";
793 /* encode an AX.25 packet into 6pack */
844 pr_err("6pack: cooked buffer overrun, data loss\n");
859 /* identify and execute a 6pack priority command byte */
877 printk(KERN_DEBUG "6pack: protocol violation\n");
909 /* identify and execute a standard 6pack command byte */
939 printk(KERN_DEBUG "6pack: bad checksum %2.2x\n", checksum);
947 case SIXP_TX_URUN: printk(KERN_DEBUG "6pack: TX underrun\n");
949 case SIXP_RX_ORUN: printk(KERN_DEBUG "6pack: RX overrun\n");
952 printk(KERN_DEBUG "6pack: RX buffer overflow\n");
956 /* decode a 6pack packet */
980 MODULE_DESCRIPTION("6pack driver for AX.25");