From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ozgur AKAN Subject: mask for interface Date: Thu, 25 Mar 2004 10:56:17 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <40629EB1.4080005@aiqa.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------020001030205090506000906" 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. --------------020001030205090506000906 Content-Type: text/plain; charset=ISO-8859-9; format=flowed Content-Transfer-Encoding: 7bit Hi, in the code of "struct ipt_ip" there is a mask value for the interface. I can understand mask for an ip address but can not understand mask value for an interface. For example what can be the mask for eth0? 36 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; 37 unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ]; Can anyone write me some about "iniface_mask[IFNAMSIZ]" ? thanks, Ozgur AKAN --------------020001030205090506000906 Content-Type: text/html; charset=ISO-8859-9 Content-Transfer-Encoding: 8bit Hi,

in the code of "struct ipt_ip" there is a mask value for the interface. I can understand mask for an ip address but can not understand mask value for an interface. For example what can be the mask for eth0?

36         char iniface[IFNAMSIZ], outiface[IFNAMSIZ];
37         unsigned char
iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];

Can anyone write me some about
"iniface_mask[IFNAMSIZ]" ?

thanks,
Ozgur AKAN
--------------020001030205090506000906--