MCPcopy
hub / github.com/osrg/gobgp / NewPathAttributeMultiExitDisc

Function NewPathAttributeMultiExitDisc

pkg/packet/bgp/bgp.go:12230–12240  ·  view source on GitHub ↗
(value uint32)

Source from the content-addressed store, hash-verified

12228}
12229
12230func NewPathAttributeMultiExitDisc(value uint32) *PathAttributeMultiExitDisc {
12231 t := BGP_ATTR_TYPE_MULTI_EXIT_DISC
12232 return &PathAttributeMultiExitDisc{
12233 PathAttribute: PathAttribute{
12234 Flags: PathAttrFlags[t],
12235 Type: t,
12236 Length: 4,
12237 },
12238 Value: value,
12239 }
12240}
12241
12242type PathAttributeLocalPref struct {
12243 PathAttribute

Callers 15

UnmarshalAttributeFunction · 0.92
TestMrtRibEntryFunction · 0.92
TestMrtRibFunction · 0.92
TestMrtRibWithAddPathFunction · 0.92
updateMsgT1Function · 0.92
updateMsgT2Function · 0.92
updateMsgT3Function · 0.92

Calls

no outgoing calls

Tested by 15

TestMrtRibEntryFunction · 0.74
TestMrtRibFunction · 0.74
TestMrtRibWithAddPathFunction · 0.74
updateMsgT1Function · 0.74
updateMsgT2Function · 0.74
updateMsgT3Function · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…