Re: Need source to TCP/IP 'connect()'

From: Wilkinson, Alex (alex.wilkinson_at_dsto.defence.gov.au)
Date: 11/30/04

  • Next message: Ken Smith: "Re: Need source to TCP/IP 'connect()'"
    Date: Tue, 30 Nov 2004 13:18:58 +1030
    To: freebsd-stable@freebsd.org
    
    

       0n Mon, Nov 29, 2004 at 09:35:42PM -0500, Ken Smith wrote:

    > When 'fishing' for stuff in the kernel source code I find the tags
    > files kind of useful. In a kernel build directory (e.g. I usually
    > use src/sys/i386/compile/GENERIC on a 5.X machine, after config-ing
    > GENERIC) after doing a 'make depend' you can do 'make tags'. It
    > will usually fail once it starts to process the modules because it
    > can't find 'gtags' but by then it's already built what is most useful.
    >
    > Once the tags file is built in the kernel build directory you can
    > do something like:
    >
    > vi -t connect
    >
    > and it will start up vi with the cursor at the beginning of that
    > function. It's not perfect (sometimes it can't find a function)
    > but for the most part it works OK.
    >
    > In this case it found connect() in /usr/src/sys/kern/uipc_syscalls.c
    > (I was using a RELENG_5 source tree).

    Ken,

    This looks useful, however, even after a buildkernel all I have
    is a CVS dir in /usr/src/sys/i386/compile/.

    Did u mean /usr/obj/usr/src/sys/GENERIC ?

    When u say "config-ing", do u mean running config(8) manually ?

     -aW
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Ken Smith: "Re: Need source to TCP/IP 'connect()'"

    Relevant Pages

    • Re: Need source to TCP/IP connect()
      ... In a kernel build directory (e.g. ... GENERIC) after doing a 'make depend' you can do 'make tags'. ... will usually fail once it starts to process the modules because it ... can't find 'gtags' but by then it's already built what is most useful. ...
      (freebsd-stable)
    • Re: Need source to TCP/IP connect()
      ... >> Once the tags file is built in the kernel build directory you can ... I haven't tried using the results of a 'make buildkernel' to do this, ...
      (freebsd-stable)
    • Re: Question for Gene Heskett about slow Firefox launch
      ... How NSA access was built into Windows" ... I believe you will have to build a generic kernel.org kernel ... as you go thru the xconfig screens item ... window, and it says "if you don't know what this option does, you ...
      (Fedora)
    • Re: Question for Gene Heskett about slow Firefox launch
      ... On Wednesday 17 January 2007 01:36, Ric Moore wrote: ... How NSA access was built into Windows" ... I believe you will have to build a generic kernel.org kernel ... hour to work in an xconfig window. ...
      (Fedora)
    • Re: loopback device + crypto = crash on 2.6.0-test7 ?
      ... due to the -test8 kernel wasn't available. ... The "good" machine built a -test9, ... >I disable highmem, getting rid of about 512 Megs, cryptoloop seems to work ... kernel has NO problems with cryptoloop. ...
      (Linux-Kernel)