All of lore.kernel.org
 help / color / mirror / Atom feed
From: "ISLERO77@telefonica.net" <ISLERO77@telefonica.net>
To: Markus Schaber <markus.schaber@student.uni-ulm.de>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Easy question, how to use stdio.h
Date: Tue, 22 Apr 2003 19:27:28 +0200	[thread overview]
Message-ID: <ead0eeb154.eb154ead0e@teleline.es> (raw)


Ok, I'm just trying to understand how netfilter works, because after I would 
like to make my own match (it's an University task) 
So I'm making some changes in an existent match, ipt_multiport.c 
concretely. And now I was trying to load in a file the source and the dest 
ports of the packets. 
 
If you could tell me how can I do that (in the kernel space or in the user 
space, it's the same) 
 
Thank you very much. 
 
	Juan. 
 
  
----- Mensaje Original -----  
De: Markus Schaber <markus.schaber@student.uni-ulm.de>  
Fecha: Martes, Abril 22, 2003 7:05 pm  
Asunto: Re: Easy question, how to use stdio.h  
  
> Hallo,  
>   
> "ISLERO77@telefonica.net" <ISLERO77@telefonica.net> schrieb:  
>   
> > Maybe my question is very easy, but I'm new developing in Linux.    
> > I'm trying to use fopen, fprintf and fclose in a match, so I'm  
> > writting   #include <stdio.h>    
> > but when I compile the kernel and I do     
> > make modules    
> > the system doesn't recognize any of these functions    
> > How can I use them???    
>   
> Basically, you can't.  
>   
> As matches are kernel modules, they run in kernel space. They don't   
> havethe usual application infrastructure (as it is the kernel's   
> task to  
> provide the fundament of this infrastructure, and the libc's task to  
> provide the rest.)  
>   
> Maybe you could tell us what you want to achieve, so we can possibly  
> tell you how to do it.  
>   
>   
> Gruß,  
> Markus  
>   
> --   
> Schabi's Flohmarkt: http://schabi.de/flohmarkt/  
>   
> Der Dienstweg ist die Verbindung der Sackgasse mit dem Holzweg!  
> [DoLi in unibwm.studium]  
>

             reply	other threads:[~2003-04-22 17:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-22 17:27 ISLERO77 [this message]
2003-04-22 18:26 ` Easy question, how to use stdio.h Patrick Schaaf
2003-04-22 22:33 ` Markus Schaber
  -- strict thread matches above, loose matches on Subject: below --
2003-04-22 17:14 ISLERO77
2003-04-22 16:15 ISLERO77
2003-04-22 17:05 ` Markus Schaber
2003-04-22 17:14 ` Patrick Schaaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ead0eeb154.eb154ead0e@teleline.es \
    --to=islero77@telefonica.net \
    --cc=markus.schaber@student.uni-ulm.de \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.