Lines Matching refs:machine_name
62 const char *machine_name, in generate_mac() argument
72 l = strlen(machine_name); in generate_mac()
86 i = mempcpy(v + sizeof(sd_id128_t), machine_name, l); in generate_mac()
237 int setup_veth(const char *machine_name, in setup_veth() argument
248 assert(machine_name); in setup_veth()
254 n = strjoina(bridge ? "vb-" : "ve-", machine_name); in setup_veth()
257 a = strjoina(bridge ? "vb-" : "ve-", machine_name); in setup_veth()
259 r = generate_mac(machine_name, &mac_container, CONTAINER_HASH_KEY, 0); in setup_veth()
263 r = generate_mac(machine_name, &mac_host, HOST_HASH_KEY, 0); in setup_veth()
285 const char *machine_name, in setup_veth_extra() argument
293 assert(machine_name); in setup_veth_extra()
306 r = generate_mac(machine_name, &mac_container, VETH_EXTRA_CONTAINER_HASH_KEY, idx); in setup_veth_extra()
310 r = generate_mac(machine_name, &mac_host, VETH_EXTRA_HOST_HASH_KEY, idx); in setup_veth_extra()
530 int setup_macvlan(const char *machine_name, pid_t pid, char **ifaces) { in setup_macvlan() argument
552 r = generate_mac(machine_name, &mac, MACVLAN_HASH_KEY, idx++); in setup_macvlan()
617 int setup_ipvlan(const char *machine_name, pid_t pid, char **ifaces) { in setup_ipvlan() argument