My Project
Public Attributes | List of all members
sniff_ip Struct Reference

The sniff_ip struct defines the packet header of a tcp internet packet. Used to extract IP layer information from a packet. More...

#include <ip_hdr.h>

Public Attributes

u_char ip_vhl
 
u_char ip_tos
 
u_short ip_len
 
u_short ip_id
 
u_short ip_off
 
u_char ip_ttl
 
u_char ip_p
 
u_short ip_sum
 
struct in_addr ip_src ip_dst
 

Detailed Description

The sniff_ip struct defines the packet header of a tcp internet packet. Used to extract IP layer information from a packet.

Member Data Documentation

struct in_addr ip_src sniff_ip::ip_dst

source and dest address / direccion fuente y destino

u_short sniff_ip::ip_id

identification / identificacion

u_short sniff_ip::ip_len

total length / largo total

u_short sniff_ip::ip_off

fragment offset field / offset del campo de fragmento

u_char sniff_ip::ip_p

protocol / protocolo

u_short sniff_ip::ip_sum

checksum

u_char sniff_ip::ip_tos

type of service / tipo de servicio

u_char sniff_ip::ip_ttl

time to live / tiempo de vida

u_char sniff_ip::ip_vhl

version << 4 | header length >> 2


The documentation for this struct was generated from the following file: