:orphan: .. index:: pair: struct; netconf_net_addr .. _doxid-structnetconf__net__addr: struct netconf_net_addr ======================= .. toctree:: :hidden: Overview ~~~~~~~~ Network address (IPv4 or IPv6) on a device :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct netconf_net_addr { // fields unsigned char :ref:`family`; unsigned char :ref:`prefix`; unsigned char :ref:`flags`; int :ref:`ifindex`; uint8_t* :ref:`address`; uint8_t* :ref:`broadcast`; }; .. _details-structnetconf__net__addr: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Network address (IPv4 or IPv6) on a device Fields ------ .. index:: pair: variable; family .. _doxid-structnetconf__net__addr_1ade26881b4ac88c0ad6bb66adad5b7143: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned char family Address family .. index:: pair: variable; prefix .. _doxid-structnetconf__net__addr_1a17fe5b9d8daa828ef7b565a59c2fd638: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned char prefix Prefix length of address .. index:: pair: variable; flags .. _doxid-structnetconf__net__addr_1a700a39b492209628e44287893e965ea1: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned char flags Address flags .. index:: pair: variable; ifindex .. _doxid-structnetconf__net__addr_1a4c2df81570c4ced8ce7bb22e7c4ba2fd: .. ref-code-block:: cpp :class: doxyrest-title-code-block int ifindex Interface index .. index:: pair: variable; address .. _doxid-structnetconf__net__addr_1a9b70cd7586a57b8e3591904041e0784f: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint8_t* address Address in network byte order .. index:: pair: variable; broadcast .. _doxid-structnetconf__net__addr_1a10a3d125a8f85a48930587d07a250de9: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint8_t* broadcast Broadcast address or NULL if not available