Socket module

in_pktinfo

structSource

The ancillary data IP_PKTINFO reports for a received datagram: the interface it arrived on, the local address it was sent to and the header's destination address.

Fields

ipi_ifindex: s32
ipi_spec_dst: in_addr
ipi_addr: in_addr

See also