rtentry Struct Reference

This structure gets passed by the SIOCADDRT and SIOCDELRT calls. More...

#include <route.h>


Data Fields

unsigned long rt_hash
 hash key for lookups
sockaddr rt_dst
 target address
sockaddr rt_gateway
 gateway addr (RTF_GATEWAY)
sockaddr rt_genmask
 target network mask (IP)
short rt_flags
short rt_refcnt
unsigned long rt_use
ifnetrt_ifp
short rt_metric
 +1 for binary compatibility!
char * rt_dev
 forcing the device at add


Detailed Description

This structure gets passed by the SIOCADDRT and SIOCDELRT calls.

Definition at line 40 of file route.h.


Field Documentation

char* rtentry::rt_dev

forcing the device at add

Definition at line 50 of file route.h.

struct sockaddr rtentry::rt_dst

target address

Definition at line 42 of file route.h.

short rtentry::rt_flags

Definition at line 45 of file route.h.

struct sockaddr rtentry::rt_gateway

gateway addr (RTF_GATEWAY)

Definition at line 43 of file route.h.

struct sockaddr rtentry::rt_genmask

target network mask (IP)

Definition at line 44 of file route.h.

unsigned long rtentry::rt_hash

hash key for lookups

Definition at line 41 of file route.h.

struct ifnet* rtentry::rt_ifp

Definition at line 48 of file route.h.

short rtentry::rt_metric

+1 for binary compatibility!

Definition at line 49 of file route.h.

short rtentry::rt_refcnt

Definition at line 46 of file route.h.

unsigned long rtentry::rt_use

Definition at line 47 of file route.h.


The documentation for this struct was generated from the following file:
Generated on Mon May 1 21:47:04 2006 for KernelAPI by  doxygen 1.4.6-5