socket buffer 관련 함수

프로그래밍 | 2008/09/01 23:14 | letsme
skb 관련 함수 중 헷갈리는 것이 몇 가지 있습니다. skb_put(), skb_push(), skb_pull(), skb_reserve() 인데요. 생각난 김에 정리해봅니다.


skb_alloc(size) 직후 skb 구조체 모양




(a)skb_put (b)skb_push (c)skb_pull (d)skb_reserve




출처: Understanding Linux Kernel Internal
이전 1 ... 5 6 7 8 9 10 11 12 13 ... 42 다음