Re: _IOR/W with if_tun

From: Jordan Abel (jmabel_at_purdue.edu)
Date: 10/29/05

  • Next message: Rob Warnock: "Re: _IOR/W with if_tun"
    Date: Sat, 29 Oct 2005 09:57:46 +0000 (UTC)
    
    

    On 2005-10-29, bsder <snort_sam@yahoo.com> wrote:
    > Hi,
    >
    > Can anyone tell me what does the following codes do:
    >
    > /* ioctl's for get/set debug */
    > #define TUNSDEBUG _IOW('t', 90, int)
    > #define TUNGDEBUG _IOR('t', 89, int)
    > #define TUNSIFINFO _IOW('t', 91, struct tuninfo)
    > #define TUNGIFINFO _IOR('t', 92, struct tuninfo)
    > #define TUNSLMODE _IOW('t', 93, int)
    >
    > I tried to find out the implementation of the _IOR/W functions, but I
    > found nothing in the src directory.
    >
    > Can anyone please tell me where can I allocate the implemetation of
    > these _IOR/W functions?
    >
    > Thanks
    > Sam

    It probably does some bit-shifting and stuff. It is most definitely
    a macro, rather than a function.

    Here it is - /usr/include/sys/ioccom.h


  • Next message: Rob Warnock: "Re: _IOR/W with if_tun"

    Relevant Pages

    • Re: Man, I am in DESPERATE need of a macro
      ... as it stood as Ras hadn't said what else was in the document. ... I just opened a new macro and pasted it in and expected it to run. ... T100 all of a sudden I need to make T102 but, to ensure the codes stay ... I need to manually go down the column and bump ALL codes by 2 ...
      (microsoft.public.word.vba.general)
    • AutoText entry with merge codes stripped of those codes when inserted via vba
      ... Those merge codes, themselves, include an IF field to test for a middle ... If I insert the AutoText entry manually, the codes show up and work with no ... If I run a macro to insert the AT ... individual macro inserting the AT entry. ...
      (microsoft.public.word.mailmerge.fields)
    • Re: Index & links within a Word doc
      ... At this rate, looks as though I might have to just delete all bookmarks, ... MACROBUTTON means that clicking the field actually ... runs a macro... ... If I right-click on one of the items, and toggle field codes, it shows ...
      (microsoft.public.word.docmanagement)
    • Re: Man, I am in DESPERATE need of a macro
      ... If pTmp>= pNum Then 'pNum is the starting number ... I just opened a new macro and pasted it in and expected it to run. ... T100 all of a sudden I need to make T102 but, to ensure the codes ... I need to manually go down the column and bump ALL codes by ...
      (microsoft.public.word.vba.general)
    • AutoText entry with merge codes stripped of those codes when inserted via vba
      ... Those merge codes, themselves, include an IF field to test for a middle ... If I insert the AutoText entry manually, the codes show up and work with no ... If I run a macro to insert the AT ... individual macro inserting the AT entry. ...
      (microsoft.public.word.vba.userforms)