Find the answer to your Linux question:
Results 1 to 2 of 2
Hello! I am writing a module for Linux 2.6.35. I need replace structure sk_buff in the queue which I get from struct packet_type (field .func). So, I need the head ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    2

    Unhappy sk_buff->list


    Hello!

    I am writing a module for Linux 2.6.35. I need replace structure sk_buff in the queue which I get from struct packet_type (field .func). So, I need the head of a list (sk_buff_head). How can it be obtained? There was the field list in the sk_buf earlier. Now - no

    I'm trying to use the skb_insert, skb_unlink functions.

    Thank you!

  2. #2
    Just Joined!
    Join Date
    May 2011
    Posts
    2

    sk_buff

    I have already found. Struct sk_buff has a field pkt_type and a field sk. Struct sock has a field sk_write_queue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •