blob: 8c4d597e211a0144aab68768dd8361d95240f18f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// SPDX-License-Identifier: EUPL-1.2+
// SPDX-FileCopyrightText: 2022-2023 Alyssa Ross <hi@alyssa.is>
#include <stdint.h>
#include <net/if.h>
struct vm_name;
struct net_config {
int fd;
char *id;
uint8_t mac[6];
};
int ch_add_net(struct vm_name *vm_name, const struct net_config *);
int ch_remove_device(struct vm_name *vm_name, const char[static IFNAMSIZ]);
|