Lines Matching full:pack

3  * 6pack.c	This module implements the 6pack protocol for kernel-based
41 #define SIXP_SEOF 0x40 /* start and end of a 6pack frame */
46 #define SIXP_CHKSUM 0xFF /* valid checksum of a 6pack frame */
75 /* 6pack configuration. */
76 #define SIXP_NRUNIT 31 /* MAX number of 6pack channels */
102 unsigned char mode; /* 6pack mode */
104 /* 6pack stuff */
156 /* ----> 6pack timer interrupt handler and friends. <---- */
264 /* Close the low-level part of the 6pack channel. */
421 * a block of 6pack data has been received, which can now be decapsulated
533 * Open the high-level part of the 6pack channel.
535 * 6pack line discipline is called for. Because we are
632 * Close down a 6pack channel.
634 * TTY line discipline to what it was before it got hooked to 6pack
666 /* Free all 6pack frame buffers after unreg. */ in sixpack_close()
672 /* Perform I/O control on an active 6pack channel. */
736 .name = "6pack",
744 /* Initialize 6pack control device -- register 6pack line discipline */
753 pr_err("6pack: can't register line discipline (err = %d)\n", status); in sixpack_init_driver()
763 /* encode an AX.25 packet into 6pack */
814 pr_err("6pack: cooked buffer overrun, data loss\n"); in decode_data()
829 /* identify and execute a 6pack priority command byte */
847 printk(KERN_DEBUG "6pack: protocol violation\n"); in decode_prio_command()
879 /* identify and execute a standard 6pack command byte */
910 printk(KERN_DEBUG "6pack: bad checksum %2.2x\n", checksum); in decode_std_command()
919 case SIXP_TX_URUN: printk(KERN_DEBUG "6pack: TX underrun\n"); in decode_std_command()
921 case SIXP_RX_ORUN: printk(KERN_DEBUG "6pack: RX overrun\n"); in decode_std_command()
924 printk(KERN_DEBUG "6pack: RX buffer overflow\n"); in decode_std_command()
928 /* decode a 6pack packet */
955 MODULE_DESCRIPTION("6pack driver for AX.25");