[mpls-linux-general] Unique index for in_labels
Status: Beta
Brought to you by:
jleu
|
From: Stefan W. <ma...@st...> - 2003-06-19 09:51:32
|
Hello, according to the new draft for MPLS-LSR-STD-MIB, InSegment Labels require a unique index that is not a composite of label and labelspace anymore. Instead, a single index is used. Now, when I look into /proc/net/mpls_in, I can see a hexadecimal index in the first row for InSegments that would fulfill these needs. Problem is, that when adding the new InSegment, I cannot retrieve that index (as I can when creating new OutSegments). In OutSegments, I get the index from mol_req.mol_label.u.ml_key. But in InSegments, mil_req.mil_label.u.ml_key would only return the _label_, which is not a unique identifier. Is there any way to read the unique index from somewhere within mil_req after a successful add? Greetings, Stefan Winter |