# libc::if_msghdr - Rust
API documentation for the Rust `if_msghdr` struct in crate `libc`.
Keywords: rust, rustlang, rust-lang, if_msghdr

# Struct libc::if_msghdr [−] [src]

    #[repr(C)]
    pub struct if_msghdr {
        pub ifm_msglen: c_ushort,
        pub ifm_version: c_uchar,
        pub ifm_type: c_uchar,
        pub ifm_addrs: c_int,
        pub ifm_flags: c_int,
        pub ifm_index: c_ushort,
        pub ifm_data: if_data,
    }

## Fields

`ifm_msglen: c_ushort` `ifm_version: c_uchar` `ifm_type: c_uchar` `ifm_addrs: c_int` `ifm_flags: c_int` `ifm_index: c_ushort` `ifm_data: if_data`

## Trait Implementations

### `impl Copy for if_msghdr`
[src]

### `impl Clone for if_msghdr`
[src]

#### `fn clone(&self) -> if_msghdr`
[src]

Returns a copy of the value. Read more

#### `fn clone_from(&mut self, source: &Self)`
1.0.0
[src]

Performs copy-assignment from `source`. Read more

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)