:py:mod:`pywebui.tcpip.interfaces` ================================== .. py:module:: pywebui.tcpip.interfaces Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: pywebui.tcpip.interfaces.Interface pywebui.tcpip.interfaces.InterfaceMethods .. py:class:: Interface(attrs) Interface object. .. attribute:: address the IP address of interface. :type: str .. attribute:: intf the name of interface. :type: str .. attribute:: mask the network mask. :type: str .. attribute:: mtu the maximum transmission unit (MTU) size. :type: int .. attribute:: pkt_recv the received packets. :type: int .. attribute:: pkt_sent the sent packets. :type: int .. py:class:: InterfaceMethods Encapsulates methods for manage interfaces. .. py:method:: get_interfaces(self) -> List[Interface] Returns the list of all interfaces. .. py:method:: get_interface(self, name) -> Interface Returns details for selected interface.