On Tue, Jul 23, 2013 at 7:21 AM, PV Juliet wrote:
> Hi,
> Thanks for the reply . Can you tell me how i can subscribe to notifier
> chains when IP address changes in a system ? What are all the steps to
> make it work??
>
> Thanks and Regards
> Juliet
>
Hey Juliet,
Well, let me start by just r
you want to achieve with it ? what is wrong with
> how things are now- first calling the other hooks and then the NF_STOLEN?
>
> Best,
> Rami Rosen
> http://ramirose.wix.com/ramirosen
>
> On Tue, Jul 2, 2013 at 8:30 PM, Adel Qodmani wrote:
> > Hello everyone,
>
Hello everyone,
In any Netfilter hook, we return NF_STOLEN to mark that we're handling the
packet and we'd be responsible for its fate.
My question is, my hook calls several functions on the SKB before knowing
if I want to steal it or not so is there a way to just mark the SKB itself
as stolen in
On Tue, Jun 25, 2013 at 6:19 AM, Peter Teoh wrote:
> c. if your hardware is not capable to do TCP offloading, then the LONG
> way is to start from beginning of packet to end of packet, and calculate
> checksum.
>
I've tested that, my hardware apparently doesn't support TCP offloading.
> d.
Hello everyone,
I am trying to send an ICMP message in a kernel module; typically I'd build
the skb, set up the net_device, the ethernet header and then use
dev_queue_xmit.
But right now I want my packet to follow the IP routing rules set in the
system, so I thought I'll use ip_local_out functio
Hello everyone,
I'm trying to force the kernel into using a source-based routing in my
kernel module.
What I mean by this is that I want packets with IP: X to go through the
interface that has the IP: X.
So far, I found out how to do that using IPTABLES, but I want to force this
policy programmat
On Fri, Feb 22, 2013 at 5:40 PM, wrote:
> In that case, you *really* want to go look at how TCP and SCTP and other
> protocols handle ICMP integration. You want an API that integrates your
> ICMP
> handling with the rest of the protocol stack, because otherwise you'll
> end up with an unmaintain
On Fri, Feb 22, 2013 at 4:54 PM, wrote:
> On Fri, 22 Feb 2013 14:36:17 +0200, Adel Qodmani said:
>
>
> Others have given some details on "how". A better question is "why".
>
Well, the why is the following:
I am trying to implement a new protocol that we
dp_sendmsg().
>
> Good luck!
>
> Rami Rosen
> http://ramirose.wix.com/ramirosen
>
> On Fri, Feb 22, 2013 at 2:36 PM, Adel Qodmani wrote:
> > Hey,
> >
> > My question is quite simple, I have an sk_buff that I want to transmit,
> the
> > sk_buff is a
Hey,
My question is quite simple, I have an sk_buff that I want to transmit, the
sk_buff is an ICMP message and so far, I've built the headers and set up
everything.
The problem is, when I want to do such a thing, I typically use a function
called:
dev_queue_xmit which takes the skb and transmits
On Tue, Jan 29, 2013 at 9:52 AM, Mulyadi Santosa
wrote:
> On Tue, Jan 29, 2013 at 3:13 AM, horseriver wrote:
> > hi:)
> >
> >In kernel code ,what is the use of EXPORT_SYMBOL()?
> >Does it export a function to user application ,
> >so this function can be used in user application ?
>
>
On Thu, Dec 13, 2012 at 10:55 AM, Shraddha Kamat wrote:
> I notice
>
> do {
>// do something 1 ;
>// do something 2 ;
>...
> } while (0);
>
> being used everywhere in the kernel code
> I just can't guess of any use of this other
> than executing couple of C statements together ?
>
> I
12 matches
Mail list logo