Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7922057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:49:21+00:00 2026-06-03T16:49:21+00:00

The sk_buff has two places where it can store the next fragmentation data: skb_shinfo(head)->frag_list

  • 0

The sk_buff has two places where it can store the next fragmentation data:

skb_shinfo(head)->frag_list 
skb_shinfo(head)->frags[]

What are the differences between these two ways to handle fragmentation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:49:23+00:00Added an answer on June 3, 2026 at 4:49 pm

    Both are used for different cases.

    frags[]

    When your device supports scatter-gather I/O, and you want it to do the combining of data, etc., you can populate the frags[] structure starting with the second fragment till the nth fragment. The first fragment is always specified by the data and tail pointers. The rest of the fragments are filled in the frags[] structure. If you don’t use scatter gather, this variable is empty.

    frag_list

    This is the list of IP fragments. This will be filled during ip_push_pending_frames.

    Say your sk_buffs are in this arrangement,

    sk_buff0->next = sk_buff1
    sk_buff1->next = sk_buff2
    ...
    sk_buffn-1->next = sk_buffn
    

    After ip_push_pending_frames is called

    sk_buff0->frag_list = sk_buff1
    sk_buff1->next = sk_buff2
    ...
    sk_buffn-1->next = sk_buffn
    

    Simply put

    • frags[] are for scatter-gather I/O buffers
    • frag_list is for IP fragments
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDIT: And package for not geographical distance between two lan-long points, but distance by
I have this scenario in my local network: [picture] http://fekt.datagrid.sk/DATA/stackoverflow/scenario.PNG Windows 2012: Only IIS
can you please tell me how we can extend more then one package in
First, a little background. I have two ASP.NET web applications that use SQLServer session
I'm making the switch from mysql_connect to pdo and can't get it going. here's
arif@khost:~/src/linux$ global -x ip_rcv_finish ip_rcv_finish 319 net/ipv4/ip_input.c static int ip_rcv_finish(struct sk_buff *skb) Now if
Is there any information in the struct skbuff to distinguish between the forwarding traffic
I'm trying to use netlink sockets to exchange messages between user-space and kernel space...i
I am trying to append some data on a packet from kernel space. I
Stack<String> sk = new Stack<String>(); sk.push(Hello); sk.push(Hello1); sk.push(Hello2); There are two ways i am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.