Definition of kvec

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Time
    New Member
    • Jan 2010
    • 77

    Definition of kvec

    I need to clarify kernel_sedmsg function which sends tcp packets over network, for that i need to know the definition of struct kvec...
    i searched it a lot on google..but just getting its use and not definition....
    i even wrote definition of struct kvec in google but invain..
    Can someone also give me some tricks to search the exact things on google and fast as well...
    Most of the times i end up wasting lot of time but still dont get the results on google ...u may also suggest me some other BETTER search engine....
    Thank you.
  • Time
    New Member
    • Jan 2010
    • 77

    #2
    Originally posted by Time
    I need to clarify kernel_sedmsg function which sends tcp packets over network, for that i need to know the definition of struct kvec...
    i searched it a lot on google..but just getting its use and not definition....
    i even wrote definition of struct kvec in google but invain..
    Can someone also give me some tricks to search the exact things on google and fast as well...
    Most of the times i end up wasting lot of time but still dont get the results on google ...u may also suggest me some other BETTER search engine....
    Thank you.
    Forgot to mention certain details as:
    My distro:UBUNTU 9.04
    Kernel :2.6.30

    Comment

    • Time
      New Member
      • Jan 2010
      • 77

      #3
      Hey,
      I finally got its definition in linux-2.6.30/include/linux/uio.h
      I used grep command to find it out.
      But i have another doubt regarding why to use __kernel_size_t ; as it is defined same as size_t ; in /usr/include/linux/types.h

      Comment

      Working...