iPXE
Data Fields
ndp_option_handler Struct Reference

An NDP option handler. More...

Data Fields

uint8_t icmp_type
 ICMPv6 type.
uint8_t option_type
 Option type.
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.

Detailed Description

An NDP option handler.

Definition at line 365 of file ndp.c.


Field Documentation

ICMPv6 type.

Definition at line 367 of file ndp.c.

Referenced by ndp_rx_option().

Option type.

Definition at line 369 of file ndp.c.

Referenced by ndp_rx_option().

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 379 of file ndp.c.

Referenced by ndp_rx_option().


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