Used in BGPPathAttr to check if the extended-length flag is set.
(flags)
| 178 | |
| 179 | |
| 180 | def has_extended_length(flags): |
| 181 | """ |
| 182 | Used in BGPPathAttr to check if the extended-length flag is |
| 183 | set. |
| 184 | """ |
| 185 | |
| 186 | return flags & _BGP_PA_EXTENDED_LENGTH == _BGP_PA_EXTENDED_LENGTH |
| 187 | |
| 188 | |
| 189 | def detect_add_path_prefix46(s, max_bit_length): |
no outgoing calls
no test coverage detected
searching dependent graphs…