Lines Matching defs:hp
103 struct hsrp *hp = (struct hsrp *) bp;
105 TCHECK(hp->hsrp_version);
106 printf("HSRPv%d", hp->hsrp_version);
107 if (hp->hsrp_version != 0)
109 TCHECK(hp->hsrp_op_code);
111 printf("%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code));
113 TCHECK(hp->hsrp_state);
114 printf("state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state));
115 TCHECK(hp->hsrp_group);
116 printf("group=%d ", hp->hsrp_group);
117 TCHECK(hp->hsrp_reserved);
118 if (hp->hsrp_reserved != 0) {
119 printf("[reserved=%d!] ", hp->hsrp_reserved);
121 TCHECK(hp->hsrp_virtaddr);
122 printf("addr=%s", ipaddr_string(&hp->hsrp_virtaddr));
125 relts_print(hp->hsrp_hellotime);
127 relts_print(hp->hsrp_holdtime);
128 printf(" priority=%d", hp->hsrp_priority);
130 if (fn_printn(hp->hsrp_authdata, sizeof(hp->hsrp_authdata),