def p_host_param_value(p):
    """ host_param_value : ALWAYS_REPLY_RFC1048 global_param_flag_value
                         | DDNS_HOSTNAME str_value
                         | DDNS_DOMAINNAME str_value
                         | FIXED_ADDRESS IPADDR
                         | FIXED_ADDRESS6 str_value
                         | FIXED_PREFIX6 str_value
                         | HARDWARE ETHERNET str_value
                         | HARDWARE TOKEN_RING str_value
    """
    len_p = len(p)
    if len_p == 5:
        p[0] = {p[1]: {p[2]: {p[3]: p[4]}}}
    elif len_p == 4:
        p[0] = {p[1]: {p[2]: p[3]}}
    elif len_p == 3:
        p[0] = {p[1]: p[2]}
    else:
        p[0] = {p[1]: None}
