Package list golang-github-farsightsec-go-nmsg / 398d8460-a545-469a-b628-ab5cbdc296ac/main nmsg_base / linkpair.proto
398d8460-a545-469a-b628-ab5cbdc296ac/main

Tree @398d8460-a545-469a-b628-ab5cbdc296ac/main (Download .tar.gz)

linkpair.proto @398d8460-a545-469a-b628-ab5cbdc296ac/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;
}