Searched refs:peek_buf (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/fs/smbfs/ |
D | sock.c | 113 unsigned char peek_buf[4]; in smb_data_callback() local 124 peek_buf[0] = 0; in smb_data_callback() 132 result = _recvfrom(socket, (void *) peek_buf, 1, in smb_data_callback() 136 if (peek_buf[0] != 0x85) in smb_data_callback() 140 result = _recvfrom(socket, (void *) peek_buf, 4, in smb_data_callback() 420 unsigned char peek_buf[4]; in smb_get_length() local 426 result = smb_receive_raw(server, peek_buf, 4); in smb_get_length() 434 switch (peek_buf[0]) in smb_get_length() 445 PARANOIA("Invalid NBT packet, code=%x\n", peek_buf[0]); in smb_get_length() 451 memcpy(header, peek_buf, 4); in smb_get_length() [all …]
|