Lines Matching refs:strdup
122 cfg->dpdk.proc_mask = strdup(buf); in parse_lcore_mask()
165 newconf->name = strdup(name); in freebsd_conf_handler()
166 newconf->str = strdup(value); in freebsd_conf_handler()
489 cur->name = strdup(section); in port_cfg_handler()
494 cur->ifname = strdup(value); in port_cfg_handler()
496 cur->addr = strdup(value); in port_cfg_handler()
498 cur->netmask = strdup(value); in port_cfg_handler()
500 cur->broadcast = strdup(value); in port_cfg_handler()
502 cur->gateway = strdup(value); in port_cfg_handler()
508 cur->vip_addr_str = strdup(value); in port_cfg_handler()
513 cur->vip_ifname = strdup(value); in port_cfg_handler()
518 cur->addr6_str = strdup(value); in port_cfg_handler()
522 cur->gateway6_str = strdup(value); in port_cfg_handler()
524 cur->vip_addr6_str = strdup(value); in port_cfg_handler()
569 cur->name = strdup(section); in vdev_cfg_handler()
574 cur->iface = strdup(value); in vdev_cfg_handler()
576 cur->path = strdup(value); in vdev_cfg_handler()
582 cur->mac = strdup(value); in vdev_cfg_handler()
623 cur->name = strdup(section); in bond_cfg_handler()
630 cur->slave = strdup(value); in bond_cfg_handler()
632 cur->primary = strdup(value); in bond_cfg_handler()
636 cur->bond_mac = strdup(value); in bond_cfg_handler()
638 cur->xmit_policy = strdup(value); in bond_cfg_handler()
666 pconfig->dpdk.lcore_mask = strdup(value); in ini_parse_handler()
669 pconfig->dpdk.base_virtaddr= strdup(value); in ini_parse_handler()
671 pconfig->dpdk.file_prefix = strdup(value); in ini_parse_handler()
673 pconfig->dpdk.pci_whitelist = strdup(value); in ini_parse_handler()
699 pconfig->kni.kni_action= strdup(value); in ini_parse_handler()
701 pconfig->kni.method= strdup(value); in ini_parse_handler()
703 pconfig->kni.tcp_port = strdup(value); in ini_parse_handler()
705 pconfig->kni.udp_port= strdup(value); in ini_parse_handler()
734 pconfig->pcap.save_path = strdup(value); in ini_parse_handler()
745 dpdk_argv[n++] = strdup("f-stack"); in dpdk_args_setup()
749 dpdk_argv[n++] = strdup("--no-huge"); in dpdk_args_setup()
753 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
757 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
761 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
765 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
769 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
773 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
781 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
811 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
814 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
817 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
824 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
871 dpdk_argv[n++] = strdup(temp); in dpdk_args_setup()
892 cfg->filename = strdup(optarg); in ff_parse_args()
898 cfg->dpdk.proc_type = strdup(optarg); in ff_parse_args()
906 cfg->dpdk.proc_type = strdup("auto"); in ff_parse_args()
956 cfg->pcap.save_path = strdup("."); in ff_check_config()