From b0fdd1d7d5a2808b489a2219f4c9a7c7f63aba22 Mon Sep 17 00:00:00 2001 From: fyodor Date: Wed, 20 Feb 2008 02:43:30 +0000 Subject: [PATCH] fix some dnet API names -- thanks to Jah for the patch --- docs/scripting.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/scripting.xml b/docs/scripting.xml index 88997a0bf..89e8da2a0 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -2414,8 +2414,8 @@ error_message describes the occurred error. - - open_ethernet + + ethernet_open Opens the interface defined by the provided interface_name for sending ethernet frames @@ -2426,25 +2426,25 @@ error_message describes the occurred error. - - send_ethernet + + ethernet_send Sends the provided data as ethernet frame across the previously opened interface. Note that you have to provide the packet including IP header and ethernet header. If there was no - previous valid call to open_ethernet() an + previous valid call to ethernet_open() an error is thrown (dnet is not valid opened ethernet interface). - - close_ethernet + + ethernet_close Closes the interface. The only error which may be thrown - is the same as for the send_ethernet() + is the same as for the ethernet_send() operation.