Re: AltQ + ng_iface

From: Daniel O'Connor (doconnor_at_gsoft.com.au)
Date: 08/29/05

  • Next message: Donatas: "Re: routing problem (with corrected scheme)"
    To: Julian Elischer <julian@elischer.org>
    Date: Mon, 29 Aug 2005 14:49:14 +0930
    
    
    

    On Sunday 31 July 2005 22:53, Daniel O'Connor wrote:
    > > The calling code must always have a reference on the node to ensure that
    > > it is not removed while it is running in it. This is sometimes
    > > done automatically. This is why there is an ng_callout facility to ensure
    > > that the locking andreferences are done automatically and correctly.
    >
    > OK, I'll look into that.

    I see ng_eiface uses ng_send_fn to defer processing until netgraph locking
    allows - should I use it?
    (I'll try it later but a definitive answer would be nice :)

    -- 
    Daniel O'Connor software and network engineer
    for Genesis Software - http://www.gsoft.com.au
    "The nice thing about standards is that there
    are so many of them to choose from."
      -- Andrew Tanenbaum
    GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
    
    



  • Next message: Donatas: "Re: routing problem (with corrected scheme)"

    Relevant Pages

    • Re: AltQ + ng_iface
      ... D> On Sunday 31 July 2005 22:53, Daniel O'Connor wrote: ... D>>> The calling code must always have a reference on the node to ensure that ... D>>> that the locking andreferences are done automatically and correctly. ...
      (freebsd-net)
    • Re: Reference Types and Value Types
      ... "daniel" wrote in message ... thank you Lateralus for the quick reply. ... > If a reference type is always passed by reference, ... > void func2 ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Newbie frustration
      ... But SHIFTp and TMPOUT are entirely generated inside the always statement so ... If I do a post-PAR simulation it gives me the result I expect, ... Daniel O'Connor software and network engineer ... for Genesis Software - http://www.gsoft.com.au ...
      (comp.arch.fpga)
    • Re: Aggregation vs composition
      ... Daniel T. schrieb in im Newsbeitrag: ... In Java, an object has an internal reference count which tells you how many ... C++ programmers are therefore facing a problem that Java programmers are ...
      (comp.object)
    • Re: xfce4 desktop broken, complaining about libmd5.so.1
      ... though I'm sure it was just me being thick! ... just delete ports without making a careful list... ... Daniel O'Connor software and network engineer ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-stable)