mirror of
https://github.com/nmap/nmap.git
synced 2026-06-25 02:27:59 +00:00
Document dnet:ip_send to take a destination address.
This commit is contained in:
parent
7527202d8b
commit
78cf2dfb06
1 changed files with 6 additions and 2 deletions
|
|
@ -779,9 +779,13 @@ function ip_open()
|
|||
-- packet must begin with an IP header. If there was no previous valid call
|
||||
-- to <code>ip_open</code> an error is thrown.
|
||||
-- @param packet An IP packet to send.
|
||||
-- @param dst A destination address, as a host table or string. If omitted, the
|
||||
-- destination address is read from the packet; however this is deprecated, because
|
||||
-- the packet does not contain the scope ID required to send to certain IPv6
|
||||
-- addresses.
|
||||
-- @see new_dnet
|
||||
-- @usage dnet:ip_send(packet)
|
||||
function ip_send(packet)
|
||||
-- @usage dnet:ip_send(packet, dst)
|
||||
function ip_send(packet, dst)
|
||||
|
||||
--- Closes a raw IPv4 socket.
|
||||
-- @see new_dnet, ip_open
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue