Lines Matching defs:hp
97 struct hsrp *hp = (struct hsrp *) bp;
99 ND_TCHECK(hp->hsrp_version);
100 ND_PRINT((ndo, "HSRPv%d", hp->hsrp_version));
101 if (hp->hsrp_version != 0)
103 ND_TCHECK(hp->hsrp_op_code);
105 ND_PRINT((ndo, "%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code)));
107 ND_TCHECK(hp->hsrp_state);
108 ND_PRINT((ndo, "state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state)));
109 ND_TCHECK(hp->hsrp_group);
110 ND_PRINT((ndo, "group=%d ", hp->hsrp_group));
111 ND_TCHECK(hp->hsrp_reserved);
112 if (hp->hsrp_reserved != 0) {
113 ND_PRINT((ndo, "[reserved=%d!] ", hp->hsrp_reserved));
115 ND_TCHECK(hp->hsrp_virtaddr);
116 ND_PRINT((ndo, "addr=%s", ipaddr_string(ndo, &hp->hsrp_virtaddr)));
119 relts_print(ndo, hp->hsrp_hellotime);
121 relts_print(ndo, hp->hsrp_holdtime);
122 ND_PRINT((ndo, " priority=%d", hp->hsrp_priority));
124 if (fn_printn(ndo, hp->hsrp_authdata, sizeof(hp->hsrp_authdata),