diff options
author | Martin Mares <mj@ucw.cz> | 2004-06-05 09:27:17 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2004-06-05 09:27:17 +0000 |
commit | e21423bab8a7cfc1cf5d13ab77ebebfae8ce156e (patch) | |
tree | 2fbb18b811552df6d4e4b69ff8498fcc67485ec4 /proto/bgp/attrs.c | |
parent | fab37e81971a08b550c6d63ff11f0bf34f0a9aa2 (diff) |
... in BGP.
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r-- | proto/bgp/attrs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index 7fb817a4..3cb99e00 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -39,7 +39,7 @@ struct attr_desc { }; static int -bgp_check_origin(struct bgp_proto *p, byte *a, int len) +bgp_check_origin(struct bgp_proto *p UNUSED, byte *a UNUSED, int len) { if (len > 2) return 6; @@ -55,7 +55,7 @@ bgp_format_origin(eattr *a, byte *buf) } static int -bgp_check_path(struct bgp_proto *p, byte *a, int len) +bgp_check_path(struct bgp_proto *p UNUSED, byte *a, int len) { while (len) { @@ -71,7 +71,7 @@ bgp_check_path(struct bgp_proto *p, byte *a, int len) } static int -bgp_check_next_hop(struct bgp_proto *p, byte *a, int len) +bgp_check_next_hop(struct bgp_proto *p UNUSED, byte *a, int len) { #ifdef IPV6 return -1; @@ -88,7 +88,7 @@ bgp_check_next_hop(struct bgp_proto *p, byte *a, int len) } static int -bgp_check_reach_nlri(struct bgp_proto *p, byte *a, int len) +bgp_check_reach_nlri(struct bgp_proto *p UNUSED, byte *a UNUSED, int len UNUSED) { #ifdef IPV6 p->mp_reach_start = a; @@ -98,7 +98,7 @@ bgp_check_reach_nlri(struct bgp_proto *p, byte *a, int len) } static int -bgp_check_unreach_nlri(struct bgp_proto *p, byte *a, int len) +bgp_check_unreach_nlri(struct bgp_proto *p UNUSED, byte *a UNUSED, int len UNUSED) { #ifdef IPV6 p->mp_unreach_start = a; @@ -415,7 +415,7 @@ bgp_export_check(struct bgp_proto *p, ea_list *new) static struct bgp_bucket * bgp_get_bucket(struct bgp_proto *p, ea_list *attrs, int originate) { - ea_list *t, *new; + ea_list *new; unsigned i, cnt, hash, code; eattr *a, *d; u32 seen = 0; @@ -515,7 +515,7 @@ bgp_free_bucket(struct bgp_proto *p, struct bgp_bucket *buck) } void -bgp_rt_notify(struct proto *P, net *n, rte *new, rte *old, ea_list *attrs) +bgp_rt_notify(struct proto *P, net *n, rte *new, rte *old UNUSED, ea_list *attrs) { struct bgp_proto *p = (struct bgp_proto *) P; struct bgp_bucket *buck; |