help me to know when ethernet header added to packet by eth_header function

2005-01-28 Thread linux lover
Hello, Can anybody explain me how ethernet header is added to every packet outgoing? I check eth.c file and found eth_header that is used for adding ethernet header on skbuff packet. But does each packet calls this function? I think not as theres a cache header function used that cache

help me to know when ethernet header added to packet by eth_header function

2005-01-28 Thread linux lover
Hello, Can anybody explain me how ethernet header is added to every packet outgoing? I check eth.c file and found eth_header that is used for adding ethernet header on skbuff packet. But does each packet calls this function? I think not as theres a cache header function used that cache