SysTutorials

Linux Manual Pages › Section 9

sk_for_each_entry_offset_rcu(9)

sk_for_each_entry_offset_rcu – iterate over a list at a given struct offset

Synopsis

sk_for_each_entry_offset_rcu(tpos, pos, head, offset);

Arguments

tpos

the type * to use as a loop cursor.

pos

the struct hlist_node to use as a loop cursor.

head

the head for your list.

offset

offset of hlist_node within the struct.

Copyright