TCP/IP Programming Manual

rt_dst
is the destination of the route.
rt_gateway
is the gateway to the destination.
rt_flags
contains a combination of one or more of the following flags:
Indicates the route is up and can be used.RTF_UP
Indicates the destination is a gateway.RTF_GATEWAY
Indicates the route is a host entry in a point-to-point table. (Otherwise, the route is
an entry in a network table.)
RTF_HOST
Indicates the route has been temporarily marked down.RTF_MDOWN
Indicates the route was created dynamically; that is, by redirection of an Internet
Control Message Protocol (ICMP) route.
RTF_DYNAMIC
rt_refcnt
is not used.
rt_use
is not used.
rt_ifp
is not used.
rt_resettime
is not used.
rt_name
is not used.
context_val
is not used.
send_nw_str
This structure is used by the send_nw routine. It is defined in the netdb.h header file.
C Declaration
#include <netdb.h>
struct send_nw_str {
int nb_sent;
char nb_data[1];
};
TAL Declaration
?NOLIST, SOURCE SOCKDEFT
STRUCT send_nw_str(*);
BEGIN
INT(32) nb_sent;
STRING nb_data [0:1];
END;
nb_sent
is the number of bytes sent by the send operation.
nb_data[1]
is the first character of the data to be sent.
Data Structures 75