iPXE
Data Fields
ndp_option_handler Struct Reference

An NDP option handler. More...

Data Fields

uint8_t icmp_type
 ICMPv6 type. More...
 
uint8_t option_type
 Option type. More...
 
int(* rx )(struct net_device *netdev, struct sockaddr_in6 *sin6_src, union ndp_header *ndp, union ndp_option *option, size_t len)
 Handle received option. More...
 

Detailed Description

An NDP option handler.

Definition at line 378 of file ndp.c.

Field Documentation

◆ icmp_type

uint8_t ndp_option_handler::icmp_type

ICMPv6 type.

Definition at line 380 of file ndp.c.

Referenced by ndp_rx_option().

◆ option_type

uint8_t ndp_option_handler::option_type

Option type.

Definition at line 382 of file ndp.c.

Referenced by ndp_rx_option().

◆ rx

int( * ndp_option_handler::rx) (struct net_device *netdev, struct sockaddr_in6 *sin6_src, union ndp_header *ndp, union ndp_option *option, size_t len)

Handle received option.

Parameters
netdevNetwork device
sin6_srcSource socket address
ndpNDP packet
optionNDP option
Return values
rcReturn status code

Definition at line 392 of file ndp.c.

Referenced by ndp_rx_option().


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