# msghdr Struct Reference

# msghdr

## Summary

| ### Public attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/struct/msghdr#structmsghdr_1a76f934d813f4d250a4e686927d1588ed` | `void *` |
| `https://fuchsia.dev/reference/cpp/struct/msghdr#structmsghdr_1ac23c08657b5f48364c658ee1c548936c` | `socklen_t` |
| `https://fuchsia.dev/reference/cpp/struct/msghdr#structmsghdr_1a9e8ff97d402c99551cbfd564e9e10a74` | `int` |
| `https://fuchsia.dev/reference/cpp/struct/msghdr#structmsghdr_1a10fcdab05a1eaaa283e8d7fe0518cc5e` | `struct iovec *` |
| `https://fuchsia.dev/reference/cpp/struct/msghdr#structmsghdr_1a6c0c0a845c40b73811b0ae0da028b783` | `int` |
| `https://fuchsia.dev/reference/cpp/struct/msghdr#structmsghdr_1aa7d108bffe50b61a2079e10c984c1c10` | `void *` |
| `https://fuchsia.dev/reference/cpp/struct/msghdr#structmsghdr_1a47762b69eee1c9ba5736d64516ea0960` | `socklen_t` |

## Public attributes

### msg_control

```c++
void * msghdr::msg_control
```

### msg_controllen

```c++
socklen_t msghdr::msg_controllen
```

### msg_flags

```c++
int msghdr::msg_flags
```

### msg_iov

```c++
struct iovec * msghdr::msg_iov
```

### msg_iovlen

```c++
int msghdr::msg_iovlen
```

### msg_name

```c++
void * msghdr::msg_name
```

### msg_namelen

```c++
socklen_t msghdr::msg_namelen
```