# ip Struct Reference

# ip

## Summary

| ### Public attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1a68892eac9dc7a7e27aef51358f93324f` | `struct https://fuchsia.dev/reference/cpp/struct/in-addr#structin__addr ip_src` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1ae50f0800a7b5ee6358ff2a5b5bb9ee2f` | `unsigned int` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1a2941784ed291ae6e463162df2c0d51a8` | `uint16_t` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1a29bcc180ef285b687d9319c0066ad921` | `uint16_t` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1a508be2f9d3f380d17feae9327412bbd2` | `uint16_t` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1afa09f9e77e130c0031c70a0263902bb7` | `uint8_t` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1a40c47178702516823f40eb74aa8b4b05` | `uint16_t` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1a83bc6993925c412fb53e5ffa79dcc177` | `uint8_t` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1a77adb86725e76d7dea12f952bb23a4a3` | `uint8_t` |
| `https://fuchsia.dev/reference/cpp/struct/ip#structip_1ad1c496afe8116f83d62e624e9ee3aadc` | `unsigned int` |

## Public attributes

### ip_dst

```c++
struct in_addr ip_src ip::ip_dst
```

### ip_hl

```c++
unsigned int ip::ip_hl
```

### ip_id

```c++
uint16_t ip::ip_id
```

### ip_len

```c++
uint16_t ip::ip_len
```

### ip_off

```c++
uint16_t ip::ip_off
```

### ip_p

```c++
uint8_t ip::ip_p
```

### ip_sum

```c++
uint16_t ip::ip_sum
```

### ip_tos

```c++
uint8_t ip::ip_tos
```

### ip_ttl

```c++
uint8_t ip::ip_ttl
```

### ip_v

```c++
unsigned int ip::ip_v
```