packets.py
def __get_gateway_route(self):
        """Gets a usable route that points to a gateway from the
        routing table. The value 0x0003 is defined at route.h in the
        Linux Kernel userspace API."""
        for route in self.__net_tables.routing_table:
            if int(route['flags']) == 0x0003:
                return route
        raise SystemExit('[!] Unable to find a usable route to the default '
                         'gateway. Check network settings and try again or '
                         'manually set an interface name from which ARP '
                         'packets will be sent with the -i argument.')
Gets a usable route that points to a gateway from the
        routing table. The value 0x0003 is defined at route.h in the
        Linux Kernel userspace API.
Gets a usable route that points to a gateway from the
routing table. The value 0x0003 is defined at route.h in the
Linux Kernel userspace API.
Gets a usable route that points to a gateway from the routing table . The value 0x0003 is defined at route . h in the Linux Kernel userspace API .
def __get_gateway_route(self):
        for route in self.__net_tables.routing_table:
            if int(route['flags']) == 0x0003:
                return route
        raise SystemExit('[!] Unable to find a usable route to the default '
                         'gateway. Check network settings and try again or '
                         'manually set an interface name from which ARP '
                         'packets will be sent with the -i argument.')
def __get_gateway_route ( self ) : for route in self . __net_tables . routing_table : if int ( route [ 'flags' ] ) == 0x0003 : return route raise SystemExit ( '[!] Unable to find a usable route to the default ' 'gateway. Check network settings and try again or ' 'manually set an interface name from which ARP ' 'packets will be sent with the -i argument.' )
Gets a usable route that points to a gateway from the
routing table.
Gets a usable route that points to a gateway from the routing table .
"""Gets a usable route that points to a gateway from the
        routing table. The value 0x0003 is defined at route.h in the
        Linux Kernel userspace API."""
self