diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-02-22 13:29:52 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-02-22 15:19:08 +0900 |
commit | 89f40dfa4a015d000489a1ffa70824722e7eafed (patch) | |
tree | 347c403a2b4020c926fc162d009dfab42452d00a /server/sockopt_linux.go | |
parent | 07275fba28e3c33530d0a4c96dab61e66c3df46f (diff) |
packet/bgp: Flatten structure of OpaqueExtended
Currently, to instantiate sub types of the Opaque Extended Community,
it is required to instantiate "OpaqueExtended" and its value type (e.g.,
"ValidationExtended" or "EncapExtended") and also specify its sub type.
This can cause the confusion of the outer and inner (value) structures
and the unmatch of the value structure and its sub type.
This patch makes the "OpaqueExtended" into more flat structure and
introduces "NewXxxExtended()" function to improve usability.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'server/sockopt_linux.go')
0 files changed, 0 insertions, 0 deletions