Lines Matching refs:token

415 int parse_nic_config(libxl_device_nic *nic, XLU_Config **config, char *token)  in parse_nic_config()  argument
421 if (MATCH_OPTION("type", token, oparg)) { in parse_nic_config()
430 } else if (MATCH_OPTION("mac", token, oparg)) { in parse_nic_config()
440 } else if (MATCH_OPTION("bridge", token, oparg)) { in parse_nic_config()
442 } else if (MATCH_OPTION("netdev", token, oparg)) { in parse_nic_config()
446 } else if (MATCH_OPTION("gatewaydev", token, oparg)) { in parse_nic_config()
448 } else if (MATCH_OPTION("ip", token, oparg)) { in parse_nic_config()
450 } else if (MATCH_OPTION("script", token, oparg)) { in parse_nic_config()
452 } else if (MATCH_OPTION("backend", token, oparg)) { in parse_nic_config()
454 } else if (MATCH_OPTION("vifname", token, oparg)) { in parse_nic_config()
456 } else if (MATCH_OPTION("model", token, oparg)) { in parse_nic_config()
458 } else if (MATCH_OPTION("rate", token, oparg)) { in parse_nic_config()
460 } else if (MATCH_OPTION("forwarddev", token, oparg)) { in parse_nic_config()
462 } else if (MATCH_OPTION("colo_sock_mirror_id", token, oparg)) { in parse_nic_config()
464 } else if (MATCH_OPTION("colo_sock_mirror_ip", token, oparg)) { in parse_nic_config()
466 } else if (MATCH_OPTION("colo_sock_mirror_port", token, oparg)) { in parse_nic_config()
468 } else if (MATCH_OPTION("colo_sock_compare_sec_in_id", token, oparg)) { in parse_nic_config()
470 } else if (MATCH_OPTION("colo_sock_compare_sec_in_ip", token, oparg)) { in parse_nic_config()
472 } else if (MATCH_OPTION("colo_sock_compare_sec_in_port", token, oparg)) { in parse_nic_config()
474 } else if (MATCH_OPTION("colo_sock_redirector0_id", token, oparg)) { in parse_nic_config()
476 } else if (MATCH_OPTION("colo_sock_redirector0_ip", token, oparg)) { in parse_nic_config()
478 } else if (MATCH_OPTION("colo_sock_redirector0_port", token, oparg)) { in parse_nic_config()
480 } else if (MATCH_OPTION("colo_sock_redirector1_id", token, oparg)) { in parse_nic_config()
482 } else if (MATCH_OPTION("colo_sock_redirector1_ip", token, oparg)) { in parse_nic_config()
484 } else if (MATCH_OPTION("colo_sock_redirector1_port", token, oparg)) { in parse_nic_config()
486 } else if (MATCH_OPTION("colo_sock_redirector2_id", token, oparg)) { in parse_nic_config()
488 } else if (MATCH_OPTION("colo_sock_redirector2_ip", token, oparg)) { in parse_nic_config()
490 } else if (MATCH_OPTION("colo_sock_redirector2_port", token, oparg)) { in parse_nic_config()
492 } else if (MATCH_OPTION("colo_sock_compare_pri_in_id", token, oparg)) { in parse_nic_config()
494 } else if (MATCH_OPTION("colo_sock_compare_pri_in_ip", token, oparg)) { in parse_nic_config()
496 } else if (MATCH_OPTION("colo_sock_compare_pri_in_port", token, oparg)) { in parse_nic_config()
498 } else if (MATCH_OPTION("colo_sock_compare_notify_id", token, oparg)) { in parse_nic_config()
500 } else if (MATCH_OPTION("colo_sock_compare_notify_ip", token, oparg)) { in parse_nic_config()
502 } else if (MATCH_OPTION("colo_sock_compare_notify_port", token, oparg)) { in parse_nic_config()
504 } else if (MATCH_OPTION("colo_filter_mirror_queue", token, oparg)) { in parse_nic_config()
506 } else if (MATCH_OPTION("colo_filter_mirror_outdev", token, oparg)) { in parse_nic_config()
508 } else if (MATCH_OPTION("colo_filter_redirector0_queue", token, oparg)) { in parse_nic_config()
510 } else if (MATCH_OPTION("colo_filter_redirector0_indev", token, oparg)) { in parse_nic_config()
512 } else if (MATCH_OPTION("colo_filter_redirector0_outdev", token, oparg)) { in parse_nic_config()
514 } else if (MATCH_OPTION("colo_filter_redirector1_queue", token, oparg)) { in parse_nic_config()
516 } else if (MATCH_OPTION("colo_filter_redirector1_indev", token, oparg)) { in parse_nic_config()
518 } else if (MATCH_OPTION("colo_filter_redirector1_outdev", token, oparg)) { in parse_nic_config()
520 } else if (MATCH_OPTION("colo_compare_pri_in", token, oparg)) { in parse_nic_config()
522 } else if (MATCH_OPTION("colo_compare_sec_in", token, oparg)) { in parse_nic_config()
524 } else if (MATCH_OPTION("colo_compare_out", token, oparg)) { in parse_nic_config()
526 } else if (MATCH_OPTION("colo_compare_notify_dev", token, oparg)) { in parse_nic_config()
528 } else if (MATCH_OPTION("colo_sock_sec_redirector0_id", token, oparg)) { in parse_nic_config()
530 } else if (MATCH_OPTION("colo_sock_sec_redirector0_ip", token, oparg)) { in parse_nic_config()
532 } else if (MATCH_OPTION("colo_sock_sec_redirector0_port", token, oparg)) { in parse_nic_config()
534 } else if (MATCH_OPTION("colo_sock_sec_redirector1_id", token, oparg)) { in parse_nic_config()
536 } else if (MATCH_OPTION("colo_sock_sec_redirector1_ip", token, oparg)) { in parse_nic_config()
538 } else if (MATCH_OPTION("colo_sock_sec_redirector1_port", token, oparg)) { in parse_nic_config()
540 } else if (MATCH_OPTION("colo_filter_sec_redirector0_queue", token, oparg)) { in parse_nic_config()
542 } else if (MATCH_OPTION("colo_filter_sec_redirector0_indev", token, oparg)) { in parse_nic_config()
544 } else if (MATCH_OPTION("colo_filter_sec_redirector0_outdev", token, oparg)) { in parse_nic_config()
546 } else if (MATCH_OPTION("colo_filter_sec_redirector1_queue", token, oparg)) { in parse_nic_config()
548 } else if (MATCH_OPTION("colo_filter_sec_redirector1_indev", token, oparg)) { in parse_nic_config()
550 } else if (MATCH_OPTION("colo_filter_sec_redirector1_outdev", token, oparg)) { in parse_nic_config()
552 } else if (MATCH_OPTION("colo_filter_sec_rewriter0_queue", token, oparg)) { in parse_nic_config()
554 } else if (MATCH_OPTION("colo_checkpoint_host", token, oparg)) { in parse_nic_config()
556 } else if (MATCH_OPTION("colo_checkpoint_port", token, oparg)) { in parse_nic_config()
558 } else if (MATCH_OPTION("accel", token, oparg)) { in parse_nic_config()
560 } else if (MATCH_OPTION("devid", token, oparg)) { in parse_nic_config()
563 fprintf(stderr, "unrecognized argument `%s'\n", token); in parse_nic_config()
758 int parse_usbctrl_config(libxl_device_usbctrl *usbctrl, char *token) in parse_usbctrl_config() argument
762 if (MATCH_OPTION("type", token, oparg)) { in parse_usbctrl_config()
767 } else if (MATCH_OPTION("version", token, oparg)) { in parse_usbctrl_config()
769 } else if (MATCH_OPTION("ports", token, oparg)) { in parse_usbctrl_config()
772 fprintf(stderr, "Unknown string `%s' in usbctrl spec\n", token); in parse_usbctrl_config()
782 int parse_usbdev_config(libxl_device_usbdev *usbdev, char *token) in parse_usbdev_config() argument
786 if (MATCH_OPTION("type", token, oparg)) { in parse_usbdev_config()
791 } else if (MATCH_OPTION("hostbus", token, oparg)) { in parse_usbdev_config()
793 } else if (MATCH_OPTION("hostaddr", token, oparg)) { in parse_usbdev_config()
795 } else if (MATCH_OPTION("controller", token, oparg)) { in parse_usbdev_config()
797 } else if (MATCH_OPTION("port", token, oparg)) { in parse_usbdev_config()
800 fprintf(stderr, "Unknown string `%s' in usbdev spec\n", token); in parse_usbdev_config()
807 int parse_vdispl_config(libxl_device_vdispl *vdispl, char *token) in parse_vdispl_config() argument
814 if (MATCH_OPTION("backend", token, oparg)) { in parse_vdispl_config()
816 } else if (MATCH_OPTION("be-alloc", token, oparg)) { in parse_vdispl_config()
818 } else if (MATCH_OPTION("connectors", token, oparg)) { in parse_vdispl_config()
843 fprintf(stderr, "Unknown string \"%s\" in vdispl spec\n", token); in parse_vdispl_config()