diff options
author | Guy Harris <gharris@sonic.net> | 2022-03-05 23:26:20 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2022-03-05 23:26:20 -0800 |
commit | fdb5e7c141d4d444cd920fa4889d17f2f921aff8 (patch) | |
tree | e236621b1b22880caf7663799fa2d78d1791f736 /pcap_inject.3pcap | |
parent | 33a33d23f51c43fabc7cdc110996df62a8b3e1c5 (diff) |
doc: document PCAP_ERROR_NOT_ACTIVATED for more routines.
Diffstat (limited to 'pcap_inject.3pcap')
-rw-r--r-- | pcap_inject.3pcap | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pcap_inject.3pcap b/pcap_inject.3pcap index 6b4554e7..83eae1c3 100644 --- a/pcap_inject.3pcap +++ b/pcap_inject.3pcap @@ -17,7 +17,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_INJECT 3PCAP "25 July 2018" +.TH PCAP_INJECT 3PCAP "5 March 2022" .SH NAME pcap_inject, pcap_sendpacket \- transmit a packet .SH SYNOPSIS @@ -74,16 +74,20 @@ comes from OpenBSD; comes from WinPcap/Npcap. Both are provided for compatibility.) .SH RETURN VALUE .BR pcap_inject () -returns the number of bytes written on success and +returns the number of bytes written on success, +.B PCAP_ERROR_NOT_ACTIVATED +if called on a capture handle that has been created but not activated, and .B PCAP_ERROR -on failure. +on other errors. .PP .BR pcap_sendpacket () returns .B 0 -on success and +on success, +.B PCAP_ERROR_NOT_ACTIVATED +if called on a capture handle that has been created but not activated, and .B PCAP_ERROR -on failure. +on other errors. .PP If .B PCAP_ERROR |