From: Ozgur AKAN Subject: parse_interface and argv[optind-1] argument? Date: Fri, 02 Apr 2004 11:41:52 +0300 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <406D2750.5050705@aiqa.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010405070504020704040107" Return-path: To: netfilter-devel@lists.netfilter.org Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. --------------010405070504020704040107 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, I could not find the value of first argument of the funciton below which is in iptables.c file. static void parse_interface(const char *arg, char *vianame, unsigned char *mask) "const char *arg" takes value of "argv[optind-1]". Is "argv[optind-1] " releated with modules/names? thanks for help, Ozgur AKAN --------------010405070504020704040107 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,
I could not find the value of first argument of the funciton below which is in iptables.c file.

static void parse_interface(const char *arg, char *vianame, unsigned char *mask)

"const char *arg" takes value of "argv[optind-1]". Is "argv[optind-1] " releated with modules/names?

thanks for help,
Ozgur AKAN




--------------010405070504020704040107--