Searched refs:ndm (Results 1 – 1 of 1) sorted by relevance
41 struct ndmsg ndm; member308 if (hdr->hdr.nlmsg_len < NLMSG_LENGTH(sizeof(hdr->ndm))) { in DecodeNeighbor()313 interface_index_ = hdr->ndm.ndm_ifindex; in DecodeNeighbor()314 family_ = hdr->ndm.ndm_family; in DecodeNeighbor()320 set_neighbor_status(NeighborStatus(hdr->ndm.ndm_state, in DecodeNeighbor()321 hdr->ndm.ndm_flags, in DecodeNeighbor()322 hdr->ndm.ndm_type)); in DecodeNeighbor()503 hdr->hdr.nlmsg_len = NLMSG_LENGTH(sizeof(hdr->ndm)); in EncodeNeighbor()504 hdr->ndm.ndm_family = family_; in EncodeNeighbor()505 hdr->ndm.ndm_ifindex = interface_index_; in EncodeNeighbor()[all …]