Hello people,
Lately I have been interested in FreeBSD and would like to explore the kernel. Hence on some tips, got myself a copy of The design and implementation of the FreeBSD kernel by McKusick and Neil.
Although I like the overall feel and I guess it is fairly detailed atleast for a FreeBSD noob like myself, I am a little suprised that they do not refer to the file in the source tree whenever they refer to a structure/entity. May be this is because of my linux background. I do not know honestly.
For instance, the struct mbuf, which is the FreeBSD equivalent of sk_buff or vice versa (I guess the BSDes are older so it must be the latter ) has been mentioned in chapter 11. But on searching it in fxr.watson.org I could not figure out which one to explore as I could not find a primary definition of it in the huge listing it produced. I guess you got my point, especially if any one of you have had come from the world of Linux, you know that sk_buff is defined in /include/linux/skbuff.h and almost all books mention it when they talk about sk_buff. I mean is this something that has been standardized or something.
I am keen on getting to understand the freebsd kernel and any help would be appreciated. Plus if any one has come from a Linux background, it would be great to understand from his/her experience on how to go about it.
Keen to hear frm you people.
Regards,
Aijaz
Lately I have been interested in FreeBSD and would like to explore the kernel. Hence on some tips, got myself a copy of The design and implementation of the FreeBSD kernel by McKusick and Neil.
Although I like the overall feel and I guess it is fairly detailed atleast for a FreeBSD noob like myself, I am a little suprised that they do not refer to the file in the source tree whenever they refer to a structure/entity. May be this is because of my linux background. I do not know honestly.
For instance, the struct mbuf, which is the FreeBSD equivalent of sk_buff or vice versa (I guess the BSDes are older so it must be the latter ) has been mentioned in chapter 11. But on searching it in fxr.watson.org I could not figure out which one to explore as I could not find a primary definition of it in the huge listing it produced. I guess you got my point, especially if any one of you have had come from the world of Linux, you know that sk_buff is defined in /include/linux/skbuff.h and almost all books mention it when they talk about sk_buff. I mean is this something that has been standardized or something.
I am keen on getting to understand the freebsd kernel and any help would be appreciated. Plus if any one has come from a Linux background, it would be great to understand from his/her experience on how to go about it.
Keen to hear frm you people.
Regards,
Aijaz