Android-cuttlefish cvd tool
Namespaces | Macros | Functions
cmsg.cpp File Reference
#include <android-base/cmsg.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/user.h>
#include <memory>
#include <android-base/logging.h>
Include dependency graph for cmsg.cpp:

Namespaces

namespace  android
 
namespace  android::base
 

Macros

#define CMSG_ASSERT   CHECK
 

Functions

ssize_t android::base::SendFileDescriptorVector (borrowed_fd sockfd, const void *data, size_t len, const std::vector< int > &fds)
 
ssize_t android::base::ReceiveFileDescriptorVector (borrowed_fd sockfd, void *data, size_t len, size_t max_fds, std::vector< unique_fd > *fds)
 

Macro Definition Documentation

◆ CMSG_ASSERT

#define CMSG_ASSERT   CHECK