Searched refs:file_descriptor_ (Results 1 – 2 of 2) sorted by relevance
38 NetlinkSocket::NetlinkSocket() : sequence_number_(0), file_descriptor_(-1) {} in NetlinkSocket()41 if (sockets_ && (file_descriptor_ >= 0)) { in ~NetlinkSocket()42 sockets_->Close(file_descriptor_); in ~NetlinkSocket()58 file_descriptor_ = sockets_->Socket(PF_NETLINK, SOCK_DGRAM, NETLINK_GENERIC); in Init()59 if (file_descriptor_ < 0) { in Init()64 if (sockets_->SetReceiveBuffer(file_descriptor_, kReceiveBufferSize)) { in Init()72 if (sockets_->Bind(file_descriptor_, in Init()75 sockets_->Close(file_descriptor_); in Init()76 file_descriptor_ = -1; in Init()96 file_descriptor_, in RecvMessage()[all …]
69 virtual int file_descriptor() const { return file_descriptor_; } in file_descriptor()98 int file_descriptor_; variable