mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@cogenit.fr>
To: livio@cyclades.com
Cc: khc@pm.waw.pl, linux-kernel@vger.kernel.org
Subject: Re: [Fwd: HDLC driver: Frame-relay Inverse ARP]
Date: Sun, 19 May 2002 17:17:35 +0200	[thread overview]
Message-ID: <20020519171735.A18735@fafner.intra.cogenit.fr> (raw)
In-Reply-To: <3CE40B22.199C4F07@cyclades.com.br>

Greetings,

Livio Ceci <livio@cyclades.com.br> :
[rfc2390 for linux fr]
> I attached a diff file with the changes I did, and also the sethdlc.
> Please analyse them and send me back your comments, and if possible,
> something that help me to "fill the blanks" I left as ??? in the code.

May be something like this:
net/ipv4/arp.c
/*
 *     Special case: We must set Frame Relay source Q.922 address
 */
        if (dev_type == ARPHRD_DLCI) {
                sha = dev->broadcast;
                if (arp->ar_op == __constant_htons(ARPOP_InREQUEST)) {
                        /*
                         * Use fib_lookup in order to comply with
                         * address selection in rfc2390 - 7.1 and
                         * set tip consequently
                         */
                        ...
                } else if (arp->ar_op == __constant_htons(ARPOP_InREPLY))
                        arp->ar_op = ARPOP_REPLY;
        }

Then one forces ARPOP_InREQUEST to follow the same path as ARPOP_REQUEST,
arp_send(ARPOP_InREPLY,...) being the sole difference.
               ^^
Remarks ?

-- 
Ueimor

      reply	other threads:[~2002-05-19 15:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 19:40 Livio Ceci
2002-05-19 15:17 ` Francois Romieu [this message]

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=20020519171735.A18735@fafner.intra.cogenit.fr \
    --to=romieu@cogenit.fr \
    --cc=khc@pm.waw.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=livio@cyclades.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®