> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sensor-bridge/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sensor-bridge/_mcp/server.

# hololink::emulation::send_rocev2_packet

> Wire-emit hook for RoCEv2 packets, called by common/rocev2_transmitter.cpp's send_packet after it has built the scatter/gather list.

```cpp showLineNumbers={false}
int16_t hololink::emulation::send_rocev2_packet(
    RoCEv2Ctxt *rocev2_ctxt,
    ETH_BufferTypeDef *tx_buffers
)
```

Wire-emit hook for RoCEv2 packets, called by `common/rocev2_transmitter.cpp`'s send\_packet after it has built the scatter/gather list.

Return bytes sent or \< 0 on failure.