diff options
Diffstat (limited to 'usr.sbin/tcpdump/ospf.h')
-rw-r--r-- | usr.sbin/tcpdump/ospf.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/usr.sbin/tcpdump/ospf.h b/usr.sbin/tcpdump/ospf.h index 017b9353e0c..67419f3d793 100644 --- a/usr.sbin/tcpdump/ospf.h +++ b/usr.sbin/tcpdump/ospf.h @@ -1,8 +1,7 @@ -/**//* $OpenBSD: ospf.h,v 1.3 1996/06/10 07:47:26 deraadt Exp $ */ -/* $NetBSD: ospf.h,v 1.2 1995/03/06 19:10:57 mycroft Exp $ */ +/* $OpenBSD: ospf.h,v 1.4 1996/07/13 11:01:14 mickey Exp $ */ /* - * Copyright (c) 1991, 1993, 1994 + * Copyright (c) 1991, 1993, 1994, 1995, 1996 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -96,7 +95,7 @@ struct lsa_hdr { u_char ls_type; struct in_addr ls_stateid; struct in_addr ls_router; - u_int32 ls_seq; + u_int32_t ls_seq; u_short ls_chksum; u_short ls_length; } ; @@ -130,14 +129,14 @@ struct lsa { /* Summary links advertisements */ struct { struct in_addr sla_mask; - u_int32 sla_tosmetric[1]; /* may repeat */ + u_int32_t sla_tosmetric[1]; /* may repeat */ } un_sla; /* AS external links advertisements */ struct { struct in_addr asla_mask; struct aslametric { - u_int32 asla_tosmetric; + u_int32_t asla_tosmetric; struct in_addr asla_forward; struct in_addr asla_tag; } asla_metric[1]; /* may repeat */ @@ -145,7 +144,7 @@ struct lsa { /* Multicast group membership */ struct mcla { - u_int32 mcla_vtype; + u_int32_t mcla_vtype; struct in_addr mcla_vid; } un_mcla[1]; } lsa_un; @@ -183,7 +182,7 @@ struct ospfhdr { u_short hello_helloint; u_char hello_options; u_char hello_priority; - u_int32 hello_deadint; + u_int32_t hello_deadint; struct in_addr hello_dr; struct in_addr hello_bdr; struct in_addr hello_neighbor[1]; /* may repeat */ @@ -194,24 +193,24 @@ struct ospfhdr { u_char db_zero[2]; u_char db_options; u_char db_flags; - u_int32 db_seq; + u_int32_t db_seq; struct lsa_hdr db_lshdr[1]; /* may repeat */ } un_db; /* Link State Request */ struct lsr { - u_int32 ls_type; + u_int32_t ls_type; struct in_addr ls_stateid; struct in_addr ls_router; } un_lsr[1]; /* may repeat */ /* Link State Update */ struct { - u_int32 lsu_count; + u_int32_t lsu_count; struct lsa lsu_lsa[1]; /* may repeat */ } un_lsu; - /* Link State Acknowledment */ + /* Link State Acknowledgement */ struct { struct lsa_hdr lsa_lshdr[1]; /* may repeat */ } un_lsa ; |