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_vrrp.c File Reference
#include "config.h"
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include "buf.h"
#include "decode.h"
Include dependency graph for decode_vrrp.c:

Go to the source code of this file.

Data Structures

struct  vrrp_header
 

Macros

#define VRRP_AUTH_NONE   0
 
#define VRRP_AUTH_SIMPLE   1
 
#define VRRP_AUTH_AH   2
 
#define VRRP_AUTH_DATA_LEN   8
 

Functions

int decode_vrrp (u_char *buf, int len, u_char *obuf, int olen)
 

Macro Definition Documentation

◆ VRRP_AUTH_AH

#define VRRP_AUTH_AH   2

Definition at line 34 of file decode_vrrp.c.

◆ VRRP_AUTH_DATA_LEN

#define VRRP_AUTH_DATA_LEN   8

Definition at line 36 of file decode_vrrp.c.

◆ VRRP_AUTH_NONE

#define VRRP_AUTH_NONE   0

Definition at line 32 of file decode_vrrp.c.

◆ VRRP_AUTH_SIMPLE

#define VRRP_AUTH_SIMPLE   1

Definition at line 33 of file decode_vrrp.c.

Function Documentation

◆ decode_vrrp()

int decode_vrrp ( u_char *  buf,
int  len,
u_char *  obuf,
int  olen 
)