]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/smux.h
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / lib / smux.h
index 0d76fc32bb4cecf6b9ad34d30916f012229eb764..9adfacb3e45d5e55377513635c5dac84008cb5ca 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with GNU Zebra; see the file COPYING.  If not, write to the Free
- * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef _ZEBRA_SNMP_H
@@ -60,11 +59,11 @@ struct trap_object {
 
 #define SNMP_INTEGER(V)                                                        \
        (*var_len = sizeof(snmp_int_val), snmp_int_val = V,                    \
-        (u_char *)&snmp_int_val)
+        (uint8_t *)&snmp_int_val)
 
 #define SNMP_IPADDRESS(V)                                                      \
        (*var_len = sizeof(struct in_addr), snmp_in_addr_val = V,              \
-        (u_char *)&snmp_in_addr_val)
+        (uint8_t *)&snmp_in_addr_val)
 
 extern void smux_init(struct thread_master *tm);
 extern void smux_register_mib(const char *, struct variable *, size_t, int,
@@ -97,7 +96,7 @@ extern int smux_header_table(struct variable *, oid *, size_t *, int, size_t *,
 */
 extern int smux_trap(struct variable *, size_t, const oid *, size_t,
                     const oid *, size_t, const oid *, size_t,
-                    const struct trap_object *, size_t, u_char);
+                    const struct trap_object *, size_t, uint8_t);
 
 extern int oid_compare(const oid *, int, const oid *, int);
 extern void oid2in_addr(oid[], int, struct in_addr *);