Package list golang-github-farsightsec-go-nmsg / b42ffe10-85cc-4b60-bb2b-1564e215832c/main nmsg_base / linkpair.proto
b42ffe10-85cc-4b60-bb2b-1564e215832c/main

Tree @b42ffe10-85cc-4b60-bb2b-1564e215832c/main (Download .tar.gz)

linkpair.proto @b42ffe10-85cc-4b60-bb2b-1564e215832c/mainraw · history · blame

syntax = "proto2";
package nmsg.base;

enum Linktype {
    anchor = 0;
    redirect = 1;
}

message Linkpair {
    required Linktype   type = 1;
    required bytes      src = 2;
    required bytes      dst = 3;
    optional bytes      headers = 5;
}