iPXE
Data Fields
icmpv6_handler Struct Reference

An ICMPv6 handler. More...

#include <icmpv6.h>

Data Fields

unsigned int type
 Type.
int(* rx )(struct io_buffer *iobuf, struct net_device *netdev, struct sockaddr_in6 *sin6_src, struct sockaddr_in6 *sin6_dest)
 Process received packet.

Detailed Description

An ICMPv6 handler.

Definition at line 19 of file icmpv6.h.


Field Documentation

unsigned int icmpv6_handler::type

Type.

Definition at line 21 of file icmpv6.h.

Referenced by icmpv6_handler().

int( * icmpv6_handler::rx)(struct io_buffer *iobuf, struct net_device *netdev, struct sockaddr_in6 *sin6_src, struct sockaddr_in6 *sin6_dest)

Process received packet.

Parameters:
iobufI/O buffer
netdevNetwork device
sin6_srcSource socket address
sin6_destDestination socket address
Return values:
rcReturn status code

This function takes ownership of the I/O buffer.

Definition at line 32 of file icmpv6.h.

Referenced by icmpv6_rx().


The documentation for this struct was generated from the following file: