Lines Matching refs:nip
1234 struct icmp6_nodeinfo *nip;
1241 nip = (struct icmp6_nodeinfo *)outpack;
1250 nip->ni_qtype = htons(NI_QTYPE_FQDN);
1251 nip->ni_flags = htons(0);
1253 memcpy(nip->icmp6_ni_nonce, nonce,
1254 sizeof(nip->icmp6_ni_nonce));
1255 *(u_int16_t *)nip->icmp6_ni_nonce = ntohs(seq);
1265 nip->ni_qtype = htons(NI_QTYPE_FQDN);
1266 nip->ni_flags = htons(0);
1268 memcpy(nip->icmp6_ni_nonce, nonce,
1269 sizeof(nip->icmp6_ni_nonce));
1270 *(u_int16_t *)nip->icmp6_ni_nonce = ntohs(seq);
1277 nip->ni_qtype = htons(NI_QTYPE_NODEADDR);
1278 nip->ni_flags = naflags;
1280 memcpy(nip->icmp6_ni_nonce, nonce,
1281 sizeof(nip->icmp6_ni_nonce));
1282 *(u_int16_t *)nip->icmp6_ni_nonce = ntohs(seq);
1291 nip->ni_qtype = htons(NI_QTYPE_SUPTYPES);
1293 nip->ni_flags = NI_SUPTYPE_FLAG_COMPRESS;
1295 memcpy(nip->icmp6_ni_nonce, nonce,
1296 sizeof(nip->icmp6_ni_nonce));
1297 *(u_int16_t *)nip->icmp6_ni_nonce = ntohs(seq);
1353 mynireply(const struct icmp6_nodeinfo *nip)
1355 if (memcmp(nip->icmp6_ni_nonce + sizeof(u_int16_t),