How to do a route lookup in 2.2

From: B. James Phillippe (bryan@terran.org)
Date: Thu Jul 27 2000 - 21:17:34 EDT

  • Next message: Matthew Jacob: "Re: accessing kernel symbols"

    Hello,

    I would like to know of recommendations for the best way to do a device
    route lookup under 2.2, using the following criteria:

    I only have available an IP header (no skb, etc), and I would like to know
    which device would be used if I were to route a packet back to the source
    address in the header.

    Something like the old ip_rt_dev(addr). Can you still do this in 2.2?

    thanks,
    -bp

    --
    # bryan at terran dot org
    # http://www.terran.org/~bryan
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Thu Jul 27 2000 - 21:34:25 EDT