dsniff  2.4b2
About: A collection of tools for network auditing
  Fossies Dox: dsniff-2.4b2.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

decode_tds.c File Reference
#include "config.h"
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include "decode.h"
Include dependency graph for decode_tds.c:

Go to the source code of this file.

Data Structures

struct  tds_hdr
 
struct  tds_login
 
struct  tds7_login
 

Functions

static void deunicode (u_char *buf, int len)
 
static void tds7_decrypt (u_char *buf, int len)
 
int decode_tds (u_char *buf, int len, u_char *obuf, int olen)
 

Variables

u_char tds7_magic1 []
 

Function Documentation

◆ decode_tds()

◆ deunicode()

static void deunicode ( u_char *  buf,
int  len 
)
static

Definition at line 107 of file decode_tds.c.

Referenced by decode_tds().

◆ tds7_decrypt()

static void tds7_decrypt ( u_char *  buf,
int  len 
)
static

Definition at line 119 of file decode_tds.c.

Referenced by decode_tds().

Variable Documentation

◆ tds7_magic1

u_char tds7_magic1[]
Initial value:
= {
0x6, 0x83, 0xf2, 0xf8, 0xff, 0x0, 0x0, 0x0, 0x0, 0xe0, 0x03, 0x0,
0x0, 0x88, 0xff, 0xff, 0xff, 0x36, 0x04, 0x00, 0x00
}

Definition at line 70 of file decode_tds.c.