# File lib/nmap/parser.rb, line 696
        def udp_state(portnum)
                port = udp_port(portnum)
                return nil if port.nil?
                port.state
        end