:orphan: .. index:: pair: struct; tapi_rt_entry .. _doxid-structtapi__rt__entry: struct tapi_rt_entry ==================== .. toctree:: :hidden: Overview ~~~~~~~~ Routing entry data structure :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct tapi_rt_entry { // fields struct sockaddr_storage :ref:`dst`; unsigned int :ref:`prefix`; struct sockaddr_storage :ref:`gw`; struct sockaddr_storage :ref:`src`; uint16_t :ref:`flags`; uint32_t :ref:`metric`; char :ref:`dev`[IF_NAMESIZE]; uint32_t :ref:`mtu`; uint32_t :ref:`win`; uint32_t :ref:`irtt`; uint32_t :ref:`hoplimit`; char :ref:`type`[TYPE_NAMESIZE]; uint32_t :ref:`table`; :ref:`cfg_handle` :ref:`hndl`; }; .. _details-structtapi__rt__entry: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Routing entry data structure Fields ------ .. index:: pair: variable; dst .. _doxid-structtapi__rt__entry_1a29650949d9dc8cbbe8df3fd4d81bc9fe: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct sockaddr_storage dst Route for this destination address .. index:: pair: variable; prefix .. _doxid-structtapi__rt__entry_1a42dcc71c999cff9315d5e0a016a2f7e1: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned int prefix Destination address prefix .. index:: pair: variable; gw .. _doxid-structtapi__rt__entry_1ad9ddabbacb41066b9378662216535048: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct sockaddr_storage gw Gateway address (in case RTF_GATEWAY flag is set) .. index:: pair: variable; src .. _doxid-structtapi__rt__entry_1a0b05616bd6f593cfee01853245b0c535: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct sockaddr_storage src Default source address .. index:: pair: variable; flags .. _doxid-structtapi__rt__entry_1a1699ee08c0a241cf8005f8720f8dddd2: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t flags Route flags .. index:: pair: variable; metric .. _doxid-structtapi__rt__entry_1a972be5d5eb2a980af83e42ea210a3bdc: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint32_t metric Route metric .. index:: pair: variable; dev .. _doxid-structtapi__rt__entry_1a58fc3cd3f7d28812ea0c489c04d3112d: .. ref-code-block:: cpp :class: doxyrest-title-code-block char dev[IF_NAMESIZE] Output interface name .. index:: pair: variable; mtu .. _doxid-structtapi__rt__entry_1a8da55a7fb58bda51ba77888d466c0b3d: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint32_t mtu Route MTU value (for TCP) .. index:: pair: variable; win .. _doxid-structtapi__rt__entry_1adc56167e823a164820c4b0b8aa569b5d: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint32_t win Route Window value (for TCP) .. index:: pair: variable; irtt .. _doxid-structtapi__rt__entry_1a08822858d716fc9911331d1b88158c16: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint32_t irtt Route IRTT value (for TCP) .. index:: pair: variable; hoplimit .. _doxid-structtapi__rt__entry_1a9909b7ab49fa3a7a342b02dc5a93afe2: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint32_t hoplimit Route Hop Limit value (influences IPv6 Hop Limit and IPv4 Time To Live) .. index:: pair: variable; type .. _doxid-structtapi__rt__entry_1a46dbad63ce5e1d44fa446a4cd2e949c8: .. ref-code-block:: cpp :class: doxyrest-title-code-block char type[TYPE_NAMESIZE] Route Type value (for TCP) .. index:: pair: variable; table .. _doxid-structtapi__rt__entry_1ac0e77123561eace044bfad4ac8975e15: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint32_t table Route Table ID value (for TCP) .. index:: pair: variable; hndl .. _doxid-structtapi__rt__entry_1ae044ac13b85f470605cd98959cd55439: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`cfg_handle` hndl Handle of the entry in configurator