Name
netbuf_fromaddr() — Obtain the sender's IPv4 address for a netbuf
Synopsis
struct ip_addr *netbuf_fromaddr
(
struct netbuf *buf
)
;
Description
Returns the IPv4 address of the host the netbuf buf
was
received from. If the netbuf has not been received from the network, the
return value of this function is undefined. The function
netbuf_fromport()
can be used to obtain the port number of the remote host.
2024-03-18 | LWIP Documentation Notices |