ns-3 Direct Code Execution
Home
Tutorials ▼
Docs ▼
Wiki
Manual
Develop ▼
API
Bugs
API
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
cmsg.h
Go to the documentation of this file.
1
#include <stdint.h>
2
#include <sys/socket.h>
3
4
namespace
ns3 {
5
6
class
Cmsg
7
{
8
public
:
9
Cmsg
(
struct
msghdr *msg);
10
void
Add
(
int
level,
int
type,
int
len,
const
uint8_t *buffer);
11
int
GetNext
(
int
*level,
int
*type,
int
*len, uint8_t **buffer);
12
void
Finish
(
void
);
13
private
:
14
struct
msghdr *
m_msg
;
15
uint8_t *
m_current
;
16
int
m_len
;
17
};
18
19
}
// namespace ns3
model
cmsg.h
Generated on Fri Aug 30 2013 13:57:55 for ns-3-dce by
1.8.1.2