Lines Matching refs:ndo
106 vrrp_print(netdissect_options *ndo,
117 ND_PRINT((ndo, "VRRPv%u, %s", version, type_s));
119 ND_PRINT((ndo, ", (ttl %u)", ttl));
123 ND_PRINT((ndo, ", vrid %u, prio %u", bp[1], bp[2]));
128 ND_PRINT((ndo, ", authtype %s", tok2str(auth2str, NULL, auth_type)));
129 ND_PRINT((ndo, ", intvl %us, length %u", bp[5], len));
132 ND_PRINT((ndo, ", intvl %ucs, length %u", intvl, len));
135 if (ndo->ndo_vflag) {
147 ND_PRINT((ndo, ", (bad vrrp cksum %x)",
153 uint16_t cksum = nextproto4_cksum(ndo, (const struct ip *)bp2, bp,
157 ND_PRINT((ndo, ", (bad vrrp cksum %x)",
162 ND_PRINT((ndo, ", addrs"));
164 ND_PRINT((ndo, "(%d)", naddrs));
165 ND_PRINT((ndo, ":"));
170 ND_PRINT((ndo, "%c%s", c, ipaddr_string(ndo, bp)));
176 ND_PRINT((ndo, " auth \""));
177 if (fn_printn(ndo, bp, 8, ndo->ndo_snapend)) {
178 ND_PRINT((ndo, "\""));
181 ND_PRINT((ndo, "\""));
186 ND_PRINT((ndo, "[|vrrp]"));