/* *Thesenumbersareusedbyreliableprotocolsfordetermining *retransmissionbehaviorandareincludedintheroutingstructure.
*/ struct sctp_rt_metrics_lite {
uint32_t rmx_mtu; /* MTU for this path */ #if0
u_long rmx_expire; /* lifetime for route, e.g. redirect */
u_long rmx_pksent; /* packets sent using this route */ #endif
};
/* *Wedistinguishbetweenroutestohostsandroutestonetworks, *preferringtheformerifavailable.Foreachrouteweinfer *theinterfacetousefromthegatewayaddresssuppliedwhen *theroutewasentered.Routesthatforwardpacketsthrough *gatewaysaremarkedsothattheoutputroutinesknowtoaddressthe *gatewayratherthantheultimatedestination.
*/ struct sctp_rtentry { #if0 struct radix_node rt_nodes[2]; /* tree glue, and other values */ /* *XXXstructrtentrymustbeginwithastructradix_node(ortwo!) *becausethecodedoessomecastsofa'structradix_node*' *toa'structrtentry*'
*/ #define rt_key(r) (*((struct sockaddr **)(&(r)->rt_nodes->rn_key))) #define rt_mask(r) (*((struct sockaddr **)(&(r)->rt_nodes->rn_mask))) struct sockaddr *rt_gateway; /* value */
u_long rt_flags; /* up/down?, host/net */ #endif struct ifnet *rt_ifp; /* the answer: interface to use */ struct ifaddr *rt_ifa; /* the answer: interface address to use */ struct sctp_rt_metrics_lite rt_rmx; /* metrics used by rx'ing protocols */ long rt_refcnt; /* # held references */ #if0 struct sockaddr *rt_genmask; /* for generation of cloned routes */
caddr_t rt_llinfo; /* pointer to link level info cache */ struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */ struct rtentry *rt_parent; /* cloning parent of this route */ #endif struct mtx rt_mtx; /* mutex for routing entry */
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.