tag | line | file | source code |
packet | 81 | drivers/char/n_tty.c | if (tty->link->packet) { |
packet | 803 | drivers/char/n_tty.c | if (tty->packet && tty->link->ctrl_status) { |
packet | 842 | drivers/char/n_tty.c | if (tty->packet && b == buf) { |
packet | 977 | drivers/char/n_tty.c | if (tty->packet && tty->link->ctrl_status) |
packet | 176 | drivers/char/pty.c | if (to->packet) { |
packet | 658 | drivers/char/tty_io.c | if (tty->link && tty->link->packet) { |
packet | 672 | drivers/char/tty_io.c | if (tty->link && tty->link->packet) { |
packet | 119 | drivers/char/tty_ioctl.c | if (tty->link && tty->link->packet) { |
packet | 528 | drivers/char/tty_ioctl.c | if (!tty->packet) { |
packet | 529 | drivers/char/tty_ioctl.c | tty->packet = 1; |
packet | 533 | drivers/char/tty_ioctl.c | tty->packet = 0; |
packet | 135 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int mode); |
packet | 383 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int data_mode) |
packet | 391 | drivers/net/atp.c | write_byte_mode0(ioaddr, *packet++); |
packet | 395 | drivers/net/atp.c | unsigned char outbyte = *packet++; |
packet | 406 | drivers/net/atp.c | write_byte_mode1(ioaddr, *packet++); |
packet | 1687 | drivers/net/ppp.c | if (tty->packet && tty->link->ctrl_status) |
packet | 568 | drivers/net/znet.c | unsigned int *packet = (unsigned int *) skb->data; |
packet | 569 | drivers/net/znet.c | printk(KERN_DEBUG "Packet data is %08x %08x %08x %08x.\n", packet[0], |
packet | 570 | drivers/net/znet.c | packet[1], packet[2], packet[3]); |
packet | 167 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 237 | fs/smbfs/inode.c | server->packet = NULL; |
packet | 278 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 285 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 300 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 27 | fs/smbfs/proc.c | #define SMB_VWV(packet) ((packet) + SMB_HEADER_LEN) |
packet | 28 | fs/smbfs/proc.c | #define SMB_CMD(packet) ((packet)[8]) |
packet | 29 | fs/smbfs/proc.c | #define SMB_WCT(packet) ((packet)[SMB_HEADER_LEN - 1]) |
packet | 30 | fs/smbfs/proc.c | #define SMB_BCC(packet) smb_bcc(packet) |
packet | 31 | fs/smbfs/proc.c | #define SMB_BUF(packet) ((packet) + SMB_HEADER_LEN + SMB_WCT(packet) * 2 + 2) |
packet | 234 | fs/smbfs/proc.c | smb_len(byte *packet) |
packet | 236 | fs/smbfs/proc.c | return ((packet[1] & 0x1) << 16L) | (packet[2] << 8L) | (packet[3]); |
packet | 240 | fs/smbfs/proc.c | smb_bcc(byte *packet) |
packet | 242 | fs/smbfs/proc.c | int pos = SMB_HEADER_LEN + SMB_WCT(packet) * sizeof(word); |
packet | 244 | fs/smbfs/proc.c | return *((word *)((byte *)packet + pos)); |
packet | 246 | fs/smbfs/proc.c | return packet[pos] | packet[pos+1] << 8; |
packet | 254 | fs/smbfs/proc.c | smb_valid_packet(byte *packet) |
packet | 257 | fs/smbfs/proc.c | smb_len(packet), SMB_WCT(packet), SMB_BCC(packet)); |
packet | 258 | fs/smbfs/proc.c | return ( packet[4] == 0xff |
packet | 259 | fs/smbfs/proc.c | && packet[5] == 'S' |
packet | 260 | fs/smbfs/proc.c | && packet[6] == 'M' |
packet | 261 | fs/smbfs/proc.c | && packet[7] == 'B' |
packet | 262 | fs/smbfs/proc.c | && (smb_len(packet) + 4 == SMB_HEADER_LEN |
packet | 263 | fs/smbfs/proc.c | + SMB_WCT(packet) * 2 + SMB_BCC(packet))); |
packet | 270 | fs/smbfs/proc.c | smb_verify(byte *packet, int command, int wct, int bcc) |
packet | 272 | fs/smbfs/proc.c | return (SMB_CMD(packet) == command && |
packet | 273 | fs/smbfs/proc.c | SMB_WCT(packet) >= wct && |
packet | 274 | fs/smbfs/proc.c | (bcc == -1 || SMB_BCC(packet) == bcc)) ? 0 : -EIO; |
packet | 352 | fs/smbfs/proc.c | smb_dump_packet(byte *packet) { |
packet | 356 | fs/smbfs/proc.c | errcls = (int)packet[9]; |
packet | 357 | fs/smbfs/proc.c | error = (int)(int)(packet[11]|packet[12]<<8); |
packet | 360 | fs/smbfs/proc.c | len = smb_len(packet), smb_valid_packet(packet)); |
packet | 362 | fs/smbfs/proc.c | packet[8], SMB_WCT(packet), SMB_BCC(packet)); |
packet | 377 | fs/smbfs/proc.c | printk("%02x ", packet[j]); |
packet | 383 | fs/smbfs/proc.c | printk("%c", print_char(packet[j])); |
packet | 424 | fs/smbfs/proc.c | else if (smb_valid_packet(s->packet) != 0) { |
packet | 431 | fs/smbfs/proc.c | else if (smb_verify(s->packet, command, wct, bcc) != 0) { |
packet | 484 | fs/smbfs/proc.c | byte *p = server->packet; |
packet | 485 | fs/smbfs/proc.c | byte *buf = server->packet; |
packet | 541 | fs/smbfs/proc.c | char* buf = server->packet; |
packet | 600 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 620 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 637 | fs/smbfs/proc.c | smb_decode_data(SMB_BUF(server->packet), data, &data_len, fs); |
packet | 657 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 682 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 709 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 743 | fs/smbfs/proc.c | if (smb_valid_packet(server->packet) != 0) { |
packet | 748 | fs/smbfs/proc.c | } else if (smb_verify(server->packet, SMBwritec,1,0) != 0) { |
packet | 767 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 813 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 879 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 902 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 965 | fs/smbfs/proc.c | buf = server->packet; |
packet | 1008 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
packet | 1027 | fs/smbfs/proc.c | SMB_BUF(server->packet) + 3 + |
packet | 1197 | fs/smbfs/proc.c | unsigned char *outbuf = server->packet; |
packet | 1390 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 1422 | fs/smbfs/proc.c | char* buf = server->packet; |
packet | 1484 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 1511 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 1572 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
packet | 1626 | fs/smbfs/proc.c | if (server->packet != NULL) { |
packet | 1627 | fs/smbfs/proc.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 1630 | fs/smbfs/proc.c | server->packet = smb_kmalloc(max_xmit, GFP_KERNEL); |
packet | 1632 | fs/smbfs/proc.c | if (server->packet == NULL) { |
packet | 1643 | fs/smbfs/proc.c | p = server->packet + 4; |
packet | 1648 | fs/smbfs/proc.c | smb_encode_smb_length(server->packet, |
packet | 1649 | fs/smbfs/proc.c | (void *)p - (void *)(server->packet)); |
packet | 1651 | fs/smbfs/proc.c | server->packet[0] = 0x81; /* SESSION REQUEST */ |
packet | 1663 | fs/smbfs/proc.c | if (server->packet[0] != 0x82) { |
packet | 1666 | fs/smbfs/proc.c | server->packet[0]); |
packet | 1669 | fs/smbfs/proc.c | smb_dump_packet(server->packet); |
packet | 1678 | fs/smbfs/proc.c | memset(server->packet, 0, SMB_HEADER_LEN); |
packet | 1687 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
packet | 1703 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
packet | 1720 | fs/smbfs/proc.c | WVAL(server->packet, smb_vwv5)); |
packet | 1722 | fs/smbfs/proc.c | server->maxxmt = WVAL(server->packet, smb_vwv2); |
packet | 1723 | fs/smbfs/proc.c | server->maxmux = WVAL(server->packet, smb_vwv3); |
packet | 1724 | fs/smbfs/proc.c | server->maxvcs = WVAL(server->packet, smb_vwv4); |
packet | 1725 | fs/smbfs/proc.c | server->blkmode= WVAL(server->packet, smb_vwv5); |
packet | 1726 | fs/smbfs/proc.c | server->sesskey= DVAL(server->packet, smb_vwv6); |
packet | 1731 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv0, 0x00ff); |
packet | 1732 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv1, 0); |
packet | 1733 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv2, given_max_xmit); |
packet | 1734 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv3, 2); |
packet | 1735 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv4, server->pid); |
packet | 1736 | fs/smbfs/proc.c | DSET(server->packet, smb_vwv5, server->sesskey); |
packet | 1737 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv7, passlen + 1); |
packet | 1738 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv8, 0); |
packet | 1739 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv9, 0); |
packet | 1741 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
packet | 1751 | fs/smbfs/proc.c | smb_decode_word(server->packet+32, &(server->server_uid)); |
packet | 1768 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
packet | 1781 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
packet | 1796 | fs/smbfs/proc.c | smb_kfree_s(server->packet, max_xmit); |
packet | 1798 | fs/smbfs/proc.c | server->packet = smb_kmalloc(server->max_xmit, GFP_KERNEL); |
packet | 1799 | fs/smbfs/proc.c | if (server->packet == NULL) { |
packet | 1822 | fs/smbfs/proc.c | if ((result < 0) && (server->packet != NULL)) { |
packet | 1823 | fs/smbfs/proc.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 1824 | fs/smbfs/proc.c | server->packet = NULL; |
packet | 269 | fs/smbfs/sock.c | result = smb_receive_raw(sock, server->packet, |
packet | 279 | fs/smbfs/sock.c | server->rcls = *((unsigned char *)(server->packet+9)); |
packet | 280 | fs/smbfs/sock.c | server->err = *((unsigned short *)(server->packet+11)); |
packet | 302 | fs/smbfs/sock.c | unsigned char *inbuf = server->packet; |
packet | 470 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
packet | 538 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
packet | 604 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
packet | 679 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
packet | 126 | include/linux/smb_fs.h | dword smb_len(unsigned char *packet); |
packet | 41 | include/linux/smb_fs_sb.h | unsigned char * packet; |
packet | 210 | include/linux/tty.h | unsigned char stopped:1, hw_stopped:1, packet:1; |