IP_MsgRawData

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_MsgRawData`

`IP_MsgRawData` -- gives a pointer to `IP_RAW` message data.

## Syntax

``IP_MsgRawData`(msg);`

## Arguments

`msg`

  A pointer to an `IP_Msg` structure.

## Returns

A void pointer to the raw message data, defined as:

        ((void*)((msg)->msg))

## Description

This is a macro that finds and returns the correct pointer to message data--if and only if the message type (as returned by IP_Receive) is `IP_RAW`.

## See Also

Messages

Prev | Home | Next
`IP_MsgRaw` | Up | `IP_MsgResize`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.