1 /* Cisco IGRP definitions */
7 u_char ig_v:4; /* protocol version number */
8 u_char ig_op:4; /* opcode */
10 u_char ig_op:4; /* opcode */
11 u_char ig_v:4; /* protocol version number */
13 u_char ig_ed; /* edition number */
14 u_short ig_as; /* autonomous system number */
15 u_short ig_ni; /* number of subnet in local net */
16 u_short ig_ns; /* number of networks in AS */
17 u_short ig_nx; /* number of networks ouside AS */
18 u_short ig_sum; /* checksum of IGRP header & data */
22 #define IGRP_REQUEST 2
24 /* IGRP routing entry */
27 u_char igr_net[3]; /* 3 significant octets of IP address */
28 u_char igr_dly[3]; /* delay in tens of microseconds */
29 u_char igr_bw[3]; /* bandwidth in units of 1 kb/s */
30 u_char igr_mtu[2]; /* MTU in octets */
31 u_char igr_rel; /* percent packets successfully tx/rx */
32 u_char igr_ld; /* percent of channel occupied */
33 u_char igr_hct; /* hop count */
36 #define IGRP_RTE_SIZE 14 /* don't believe sizeof ! */