iPXE
Data Fields
icmpv6_handler Struct Reference

An ICMPv6 handler. More...

#include <icmpv6.h>

Data Fields

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

Detailed Description

An ICMPv6 handler.

Definition at line 19 of file icmpv6.h.

Field Documentation

◆ type

unsigned int icmpv6_handler::type

Type.

Definition at line 21 of file icmpv6.h.

Referenced by icmpv6_handler().

◆ rx

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: