diff options
author | Paul Jakma <paul@quagga.net> | 2012-01-17 13:31:33 +0000 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-02-28 18:35:45 +0000 |
commit | 3ecab4c8549574d09f8d8366098939a8ad3da6c4 (patch) | |
tree | 7b8281980887ef0c57485be0ca6f382c054762cd /doc/draft-zebra-00.ms | |
parent | b5043aabb03567b46a16463d88a8afce2acda35e (diff) |
bgpd: consolidate attribute flag checks
* bgpd/bgp_attr.c: (attr_flags_values []) array of required flags for
attributes, EXTLEN & PARTIAL masked off as "dont care" as appropriate.
(bgp_attr_flag_invalid) check if flags may be invalid, according to
the above table & RFC rules.
(bgp_attr_*) Use bgp_attr_flag_invalid.
(bgp_attr_as4_aggregator) ditto, also take startp argument for the
NOTIFY data.
(bgp_attr_parse) pass startp to bgp_attr_as4_aggregator
Diffstat (limited to 'doc/draft-zebra-00.ms')
0 files changed, 0 insertions, 0 deletions