Lines Matching refs:netdev
12 static int netdev_veth_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *m) { in netdev_veth_fill_message_create() argument
17 assert(netdev); in netdev_veth_fill_message_create()
21 v = VETH(netdev); in netdev_veth_fill_message_create()
35 r = netdev_generate_hw_addr(netdev, NULL, v->ifname_peer, &v->hw_addr_peer, &hw_addr); in netdev_veth_fill_message_create()
40 … log_netdev_debug(netdev, "Using MAC address for peer: %s", HW_ADDR_TO_STR(&hw_addr)); in netdev_veth_fill_message_create()
46 if (netdev->mtu != 0) { in netdev_veth_fill_message_create()
47 r = sd_netlink_message_append_u32(m, IFLA_MTU, netdev->mtu); in netdev_veth_fill_message_create()
59 static int netdev_veth_verify(NetDev *netdev, const char *filename) { in netdev_veth_verify() argument
62 assert(netdev); in netdev_veth_verify()
65 v = VETH(netdev); in netdev_veth_verify()
70 return log_netdev_warning_errno(netdev, SYNTHETIC_ERRNO(EINVAL), in netdev_veth_verify()