X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstp.h;h=524b9dcf159ab3472b501a8281a2b85e7678d52f;hb=5cc2c261d33f091ea45ff3de22737cf4deb724a2;hp=f321dec9cd3bb2ce760ebf5f7f7fd2eed492303c;hpb=6ae507231be01f14c37dd7f52783de36a70d9d09;p=openvswitch diff --git a/lib/stp.h b/lib/stp.h index f321dec9..524b9dcf 100644 --- a/lib/stp.h +++ b/lib/stp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2011 Nicira Networks. + * Copyright (c) 2008, 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,6 +55,7 @@ typedef uint64_t stp_identifier; /* Basic STP functionality. */ #define STP_MAX_PORTS 255 +void stp_init(void); struct stp *stp_create(const char *name, stp_identifier bridge_id, void (*send_bpdu)(struct ofpbuf *bpdu, int port_no, void *aux),