blob: 6c511393da11928b7c45dd9705426ccd501d0539 [file] [log] [blame]
// Copyright 2016 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package arc_networkd;
// Best practice is to use optional fields, but since the client and server
// are always in sync, these messages use required fields to save on
// validation.
message SetArcIp {
required bytes prefix = 1;
required int32 prefix_len = 2;
required bytes router = 3;
required string lan_ifname = 4;
}
message IpHelperMessage {
oneof message_type {
SetArcIp set_arc_ip = 1; // argument: IPv6 parameters
bool clear_arc_ip = 2; // argument is ignored
string enable_inbound = 3; // argument: lan_ifname
bool disable_inbound = 4; // argument is ignored
}
}