const struct ip6_hbh *dp = (const struct ip6_hbh *)bp;
u_int hbhlen = 0;
+ ndo->ndo_protocol = "hbhopt";
ND_TCHECK_1(dp->ip6h_len);
hbhlen = (EXTRACT_U_1(dp->ip6h_len) + 1) << 3;
ND_TCHECK_LEN(dp, hbhlen);
const struct ip6_dest *dp = (const struct ip6_dest *)bp;
u_int dstoptlen = 0;
+ ndo->ndo_protocol = "dstopt";
ND_TCHECK_1(dp->ip6d_len);
dstoptlen = (EXTRACT_U_1(dp->ip6d_len) + 1) << 3;
ND_TCHECK_LEN(dp, dstoptlen);