[pso] [tema5]struct sk_buff

Codrin Alexandru Grajdeanu grcodal at gmail.com
Sat Mar 29 17:22:46 EET 2008


In vers de kernel 2.6.22 s-a modificat struct sk_buff si laboratorul
de networking nu mai este actual.
Acum aveam in sk_buff urmatorii pointeri:
         sk_buff_data_t          transport_header;
         sk_buff_data_t          network_header;
Inainte in struct sk_buff aveam niste pointeri de tipul struct iphdr,
tcphdr si udphdr in nh->iph, h->th, h->uh.
Cum extrag struct iphdr, tcphdr si udphdr din transport_header si
network_headr sau ip, port sursa-dest de aici :D ?

Multumesc,
Codrin Grajdeanu


More information about the pso mailing list