linux sk_buff resources


 
Thread Tools Search this Thread
Operating Systems Linux linux sk_buff resources
# 1  
Old 01-17-2008
linux sk_buff resources

Hi,

I'm trying to build linear sk_buffs, non linear sk_buffs with page frames (nr_frags) and non linear skbuffs with linked list (frag_list) for testing of a kernel module I wrote. Does anyone have any better resources than the API for doing this? Like a guide type thing. The best I've found so far is:

How SKBs work

but that doesn't really go deep enough. I'm not worried about filling the skbuff with any data, just building the actual memory object to a certain size with a certain number of frags attached.

Any help is greatly appreciated,
Best Regards,
Brendan
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How can I get data in the sk_buff?

Hi, all: In debugging, how can I get the data in a sk_buff? Can printk print them, or which function can get the data? li, kunlun (2 Replies)
Discussion started by: liklstar
2 Replies

2. News, Links, Events and Announcements

Linux online training resources

Dear all, I am preparing the RHCE Linux certification and I need to practise, practise and practise linux administration ...I wold be very pleasen if somebody lists here online training resources that can be used in order to prepare any kind of Linux Certification.. Actualy I am following the... (1 Reply)
Discussion started by: userlinx
1 Replies

3. AIX

The partition keeps the resources

Hello, On a PL1650, with AIX partitions (micropartitionning). When a partition is "Not Actived", the processor and memory resources are not free (display in the HMC) and I can't by DLPAR. The partition keeps the resources. An idea ? Thanks, Trunk. (5 Replies)
Discussion started by: Trunk
5 Replies

4. Programming

C - Freeing resources

I was wondering what is the function in C to free a resource(usually a variable) I know in C# there a Garbage collector, but in c and C++ there are none. I believe in c++ the function is free(); (8 Replies)
Discussion started by: james2432
8 Replies

5. UNIX for Dummies Questions & Answers

Who is using up all of my resources?!

For some reason, I'm having a bit of a brain fart here and cannot think of a simple solution to this problem... We have a samba server installed on one of our Darwin boxes. Someone is doing massive amounts of work through a samba share, and in turn in pegging samba and the box. I can see how... (1 Reply)
Discussion started by: fender177
1 Replies

6. UNIX for Dummies Questions & Answers

Unix Resources

Good morning all! Does any know of any good resources to read up on why people would use Unix, what the weaknesses are of the platform and how it is used! Many thanks: Note: This is for an assignment, I know you are not suppose to ask for help or post assignment questions but all I am... (2 Replies)
Discussion started by: Zeta_Acosta
2 Replies
Login or Register to Ask a Question
pdebuild-user-mode-linux(1)					     pbuilder					       pdebuild-user-mode-linux(1)

NAME
pdebuild-user-mode-linux - pbuilder-user-mode-linux way of doing debuild SYNOPSIS
pdebuild-user-mode-linux [pdebuild-user-mode-linux options] -- [pbuilder-user-mode-linux options] DESCRIPTION
A convenience program for pbuilder-user-mode-linux which invokes pbuilder after obtaining appropriate root privilege in a Debian source directory. One must be inside the source tree containing the debian directory, in order to make it work. PDEBUILD OPTIONS
--buildsourceroot [fakeroot] The command used to gain root privilege for invoking dpkg-buildpackage --auto-debsign Invoke debsign at the end of pdebuild process. --debsign-k [key-id] Pass -k option to debsign to specify which keyid to sign. --buildresult [Directory for build results] The place which build result is stored. --configfile [Extra config file to use] The configuration file is used, but not passed on to pbuilder-user-mode-linux. --debbuildopts [options to pass to dpkg-buildpackage] The space-delimited list of options are passed to dpkg-buildpackage. This option appends to pbuilder option --debbuildopts and may also be used to reset the list of options by passing the empty string. --use-pdebuild-internal Uses a different implementation of pdebuild, which calls clean and build inside the chroot, using bind-mounts. pdebuild-internal tries to run debian/rules clean inside the chroot. To achieve the goal, the working directory is passed on inside the chroot, in the form of bind-mounting and debuild is run. This option will not protect the working directory and its parent directories from the build scripts. -- [pbuilder options] After the -- symbol, an arbitrary number of pbuilder options can be specified. See pbuilder-user-mode-linux.1 for full list of options. There is an exception that --buildresult needs to be specified as pdebuild option before the -- to be effective. FILES
/etc/pbuilderrc The configuration file for pbuilder-user-mode-linux, used in pdebuild-user-mode-linux. /usr/share/pbuilder/pbuilderrc The default configuration file for pbuilder-user-mode-linux, used in pdebuild-user-mode-linux. ${HOME}/.pbuilderrc Configuration file for pbuilder-user-mode-linux, used in pdebuild-user-mode-linux, overrides what is written in /etc/pbuilderrc AUTHOR
Initial coding, and main maintenance is done by Junichi Uekawa <dancer@debian.org>. The homepage is available at http://pbuilder.alioth.debian.org SEE ALSO
/usr/share/doc/pbuilder/pbuilder-doc.html, pbuilder-user-mode-linux(1), pbuilderrc(5), pbuilder-uml.conf(5) Debian 2006 May 24 pdebuild-user-mode-linux(1)