tag | line | file | source code |
packet | 81 | drivers/char/n_tty.c | if (tty->link->packet) { |
packet | 812 | drivers/char/n_tty.c | if (tty->packet && tty->link->ctrl_status) { |
packet | 851 | drivers/char/n_tty.c | if (tty->packet && b == buf) { |
packet | 986 | drivers/char/n_tty.c | if (tty->packet && tty->link->ctrl_status) |
packet | 176 | drivers/char/pty.c | if (to->packet) { |
packet | 691 | drivers/char/tty_io.c | if (tty->link && tty->link->packet) { |
packet | 705 | 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 | 385 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int data_mode) |
packet | 393 | drivers/net/atp.c | write_byte_mode0(ioaddr, *packet++); |
packet | 397 | drivers/net/atp.c | unsigned char outbyte = *packet++; |
packet | 408 | drivers/net/atp.c | write_byte_mode1(ioaddr, *packet++); |
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 | 240 | fs/ncpfs/inode.c | server->packet = NULL; |
packet | 254 | fs/ncpfs/inode.c | server->packet = ncp_kmalloc(NCP_PACKET_SIZE, GFP_KERNEL); |
packet | 256 | fs/ncpfs/inode.c | if (server->packet == NULL) |
packet | 295 | fs/ncpfs/inode.c | ncp_kfree_s(server->packet, server->packet_size); |
packet | 328 | fs/ncpfs/inode.c | ncp_kfree_s(server->packet, server->packet_size); |
packet | 357 | fs/ncpfs/inode.c | ncp_kfree_s(server->packet, server->packet_size); |
packet | 84 | fs/ncpfs/ioctl.c | memcpy_fromfs(server->packet, request.data, request.size); |
packet | 90 | fs/ncpfs/ioctl.c | memcpy_tofs(request.data, server->packet, server->reply_size); |
packet | 32 | fs/ncpfs/ncplib_kernel.c | *(byte *)(&(server->packet[server->current_size])) = x; |
packet | 41 | fs/ncpfs/ncplib_kernel.c | *(word *)(&(server->packet[server->current_size])) = x; |
packet | 50 | fs/ncpfs/ncplib_kernel.c | *(dword *)(&(server->packet[server->current_size])) = x; |
packet | 59 | fs/ncpfs/ncplib_kernel.c | memcpy(&(server->packet[server->current_size]), source, size); |
packet | 68 | fs/ncpfs/ncplib_kernel.c | memcpy_fromfs(&(server->packet[server->current_size]), source, size); |
packet | 111 | fs/ncpfs/ncplib_kernel.c | return &(server->packet[sizeof(struct ncp_reply_header) + offset]); |
packet | 325 | fs/ncpfs/sock.c | char *start = server->packet; |
packet | 341 | fs/ncpfs/sock.c | *((struct ncp_request_header *)(server->packet)); |
packet | 591 | fs/ncpfs/sock.c | = (struct ncp_request_header *)(server->packet); |
packet | 593 | fs/ncpfs/sock.c | = (struct ncp_reply_header *)(server->packet); |
packet | 638 | fs/ncpfs/sock.c | = (struct ncp_request_header *)(server->packet); |
packet | 664 | fs/ncpfs/sock.c | = (struct ncp_request_header *)(server->packet); |
packet | 160 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 230 | fs/smbfs/inode.c | server->packet = NULL; |
packet | 271 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 278 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 293 | fs/smbfs/inode.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 20 | fs/smbfs/proc.c | #define SMB_VWV(packet) ((packet) + SMB_HEADER_LEN) |
packet | 21 | fs/smbfs/proc.c | #define SMB_CMD(packet) ((packet)[8]) |
packet | 22 | fs/smbfs/proc.c | #define SMB_WCT(packet) ((packet)[SMB_HEADER_LEN - 1]) |
packet | 23 | fs/smbfs/proc.c | #define SMB_BCC(packet) smb_bcc(packet) |
packet | 24 | fs/smbfs/proc.c | #define SMB_BUF(packet) ((packet) + SMB_HEADER_LEN + SMB_WCT(packet) * 2 + 2) |
packet | 232 | fs/smbfs/proc.c | smb_len(byte *packet) |
packet | 234 | fs/smbfs/proc.c | return ((packet[1] & 0x1) << 16L) | (packet[2] << 8L) | (packet[3]); |
packet | 238 | fs/smbfs/proc.c | smb_bcc(byte *packet) |
packet | 240 | fs/smbfs/proc.c | int pos = SMB_HEADER_LEN + SMB_WCT(packet) * sizeof(word); |
packet | 242 | fs/smbfs/proc.c | return *((word *)((byte *)packet + pos)); |
packet | 244 | fs/smbfs/proc.c | return packet[pos] | packet[pos+1] << 8; |
packet | 252 | fs/smbfs/proc.c | smb_valid_packet(byte *packet) |
packet | 255 | fs/smbfs/proc.c | smb_len(packet), SMB_WCT(packet), SMB_BCC(packet)); |
packet | 256 | fs/smbfs/proc.c | return ( packet[4] == 0xff |
packet | 257 | fs/smbfs/proc.c | && packet[5] == 'S' |
packet | 258 | fs/smbfs/proc.c | && packet[6] == 'M' |
packet | 259 | fs/smbfs/proc.c | && packet[7] == 'B' |
packet | 260 | fs/smbfs/proc.c | && (smb_len(packet) + 4 == SMB_HEADER_LEN |
packet | 261 | fs/smbfs/proc.c | + SMB_WCT(packet) * 2 + SMB_BCC(packet))); |
packet | 268 | fs/smbfs/proc.c | smb_verify(byte *packet, int command, int wct, int bcc) |
packet | 270 | fs/smbfs/proc.c | return (SMB_CMD(packet) == command && |
packet | 271 | fs/smbfs/proc.c | SMB_WCT(packet) >= wct && |
packet | 272 | fs/smbfs/proc.c | (bcc == -1 || SMB_BCC(packet) >= bcc)) ? 0 : -EIO; |
packet | 350 | fs/smbfs/proc.c | smb_dump_packet(byte *packet) { |
packet | 354 | fs/smbfs/proc.c | errcls = (int)packet[9]; |
packet | 355 | fs/smbfs/proc.c | error = (int)(int)(packet[11]|packet[12]<<8); |
packet | 358 | fs/smbfs/proc.c | len = smb_len(packet), smb_valid_packet(packet)); |
packet | 360 | fs/smbfs/proc.c | packet[8], SMB_WCT(packet), SMB_BCC(packet)); |
packet | 375 | fs/smbfs/proc.c | printk("%02x ", packet[j]); |
packet | 381 | fs/smbfs/proc.c | printk("%c", print_char(packet[j])); |
packet | 422 | fs/smbfs/proc.c | else if (smb_valid_packet(s->packet) != 0) { |
packet | 429 | fs/smbfs/proc.c | else if (smb_verify(s->packet, command, wct, bcc) != 0) { |
packet | 482 | fs/smbfs/proc.c | byte *p = server->packet; |
packet | 483 | fs/smbfs/proc.c | byte *buf = server->packet; |
packet | 539 | fs/smbfs/proc.c | char* buf = server->packet; |
packet | 598 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 618 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 635 | fs/smbfs/proc.c | smb_decode_data(SMB_BUF(server->packet), data, &data_len, fs); |
packet | 655 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 680 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 707 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 741 | fs/smbfs/proc.c | if (smb_valid_packet(server->packet) != 0) { |
packet | 746 | fs/smbfs/proc.c | } else if (smb_verify(server->packet, SMBwritec,1,0) != 0) { |
packet | 765 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 811 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 877 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 900 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 963 | fs/smbfs/proc.c | buf = server->packet; |
packet | 1006 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
packet | 1025 | fs/smbfs/proc.c | SMB_BUF(server->packet) + 3 + |
packet | 1196 | fs/smbfs/proc.c | unsigned char *outbuf = server->packet; |
packet | 1389 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 1421 | fs/smbfs/proc.c | char* buf = server->packet; |
packet | 1483 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 1510 | fs/smbfs/proc.c | char *buf = server->packet; |
packet | 1571 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
packet | 1629 | fs/smbfs/proc.c | if (server->packet != NULL) { |
packet | 1630 | fs/smbfs/proc.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 1633 | fs/smbfs/proc.c | server->packet = smb_kmalloc(max_xmit, GFP_KERNEL); |
packet | 1635 | fs/smbfs/proc.c | if (server->packet == NULL) { |
packet | 1646 | fs/smbfs/proc.c | p = server->packet + 4; |
packet | 1651 | fs/smbfs/proc.c | smb_encode_smb_length(server->packet, |
packet | 1652 | fs/smbfs/proc.c | (void *)p - (void *)(server->packet)); |
packet | 1654 | fs/smbfs/proc.c | server->packet[0] = 0x81; /* SESSION REQUEST */ |
packet | 1666 | fs/smbfs/proc.c | if (server->packet[0] != 0x82) { |
packet | 1669 | fs/smbfs/proc.c | server->packet[0]); |
packet | 1672 | fs/smbfs/proc.c | smb_dump_packet(server->packet); |
packet | 1681 | fs/smbfs/proc.c | memset(server->packet, 0, SMB_HEADER_LEN); |
packet | 1690 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
packet | 1706 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
packet | 1723 | fs/smbfs/proc.c | WVAL(server->packet, smb_vwv5)); |
packet | 1726 | fs/smbfs/proc.c | server->maxxmt = DVAL(server->packet,smb_vwv3+1); |
packet | 1727 | fs/smbfs/proc.c | server->maxmux = WVAL(server->packet, smb_vwv1+1); |
packet | 1728 | fs/smbfs/proc.c | server->maxvcs = WVAL(server->packet, smb_vwv2+1); |
packet | 1729 | fs/smbfs/proc.c | server->blkmode= DVAL(server->packet, smb_vwv9+1); |
packet | 1730 | fs/smbfs/proc.c | server->sesskey= DVAL(server->packet, smb_vwv7+1); |
packet | 1732 | fs/smbfs/proc.c | server->maxxmt = WVAL(server->packet, smb_vwv2); |
packet | 1733 | fs/smbfs/proc.c | server->maxmux = WVAL(server->packet, smb_vwv3); |
packet | 1734 | fs/smbfs/proc.c | server->maxvcs = WVAL(server->packet, smb_vwv4); |
packet | 1735 | fs/smbfs/proc.c | server->blkmode= WVAL(server->packet, smb_vwv5); |
packet | 1736 | fs/smbfs/proc.c | server->sesskey= DVAL(server->packet, smb_vwv6); |
packet | 1750 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv0, 0x00ff); |
packet | 1751 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv1, 0); |
packet | 1752 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv2, given_max_xmit); |
packet | 1753 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv3, 2); |
packet | 1754 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv4, server->pid); |
packet | 1755 | fs/smbfs/proc.c | DSET(server->packet, smb_vwv5, server->sesskey); |
packet | 1756 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv7, passlen + 1); |
packet | 1757 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv8, 0); |
packet | 1758 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv9, 0); |
packet | 1760 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
packet | 1774 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv0, 0x00ff); |
packet | 1775 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv1, 0); |
packet | 1776 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv2, given_max_xmit); |
packet | 1777 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv3, 2); |
packet | 1778 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv4, server->pid); |
packet | 1779 | fs/smbfs/proc.c | DSET(server->packet, smb_vwv5, server->sesskey); |
packet | 1780 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv7, passlen + 1); |
packet | 1781 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv8, 0); |
packet | 1782 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv9, 0); |
packet | 1784 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
packet | 1795 | fs/smbfs/proc.c | smb_decode_word(server->packet+32, &(server->server_uid)); |
packet | 1812 | fs/smbfs/proc.c | p = SMB_BUF(server->packet); |
packet | 1825 | fs/smbfs/proc.c | p = SMB_VWV(server->packet); |
packet | 1840 | fs/smbfs/proc.c | smb_kfree_s(server->packet, max_xmit); |
packet | 1842 | fs/smbfs/proc.c | server->packet = smb_kmalloc(server->max_xmit, GFP_KERNEL); |
packet | 1843 | fs/smbfs/proc.c | if (server->packet == NULL) { |
packet | 1866 | fs/smbfs/proc.c | if ((result < 0) && (server->packet != NULL)) { |
packet | 1867 | fs/smbfs/proc.c | smb_kfree_s(server->packet, server->max_xmit); |
packet | 1868 | fs/smbfs/proc.c | server->packet = NULL; |
packet | 298 | fs/smbfs/sock.c | result = smb_receive_raw(sock, server->packet, |
packet | 308 | fs/smbfs/sock.c | server->rcls = *((unsigned char *)(server->packet+9)); |
packet | 309 | fs/smbfs/sock.c | server->err = *((unsigned short *)(server->packet+11)); |
packet | 331 | fs/smbfs/sock.c | unsigned char *inbuf = server->packet; |
packet | 499 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
packet | 567 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
packet | 633 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
packet | 708 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
packet | 46 | include/linux/ncp_fs_sb.h | unsigned char *packet; /* Here we prepare requests and |
packet | 123 | include/linux/smb_fs.h | dword smb_len(unsigned char *packet); |
packet | 41 | include/linux/smb_fs_sb.h | unsigned char * packet; |
packet | 216 | include/linux/tty.h | unsigned char stopped:1, hw_stopped:1, packet:1; |
packet | 1186 | net/ipx/af_ipx.c | static __u16 ipx_set_checksum(ipx_packet *packet,int length) |
packet | 1200 | net/ipx/af_ipx.c | __u16 *p=(__u16 *)&packet->ipx_pktsize; |
packet | 1219 | net/ipx/af_ipx.c | if(packet->ipx_pktsize&htons(1)) |