How do you do?
What functions are required to insert new header into sk_buff as the following?
i.e.,
original IP datagram:
+--------+---------------------+------+
| IP hdr | Transport Layer hdr | data |
+--------+---------------------+------+
modified IP datagram (after insertion of new header):
+--------+---------+---------------------+------+
| IP hdr | new hdr | Transport Layer hdr | data |
+--------+---------+---------------------+------+
I think, some sk_buff data handling pointer manipulation functions are needed for this work, right?
Such as skb_push(), skb_reserve()...
But I don't know how to use these sk_buff handling functions exactly, and in what fashion...
Do you teach me?
Thank you for all your being...
-- | blusjune@nirva | ^_^ | stoneroses | Blusjune Jung Email: blusjune@yahoo.com- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:34 EST