pcap 라이브러리



pacp_open_live() : 네트워크 디바이스 열기

pcap_t *pcap_open_live(char *device, int snaplen, int promisc, int to_ms, char *ebuf)

  • device : 디바이스 이름 (eth0, hme0)
  • snplen : 한번에 캡쳐할 크기 지정
  • promisc : 캡쳐할 대상
    • 0 : 목적지가 자신, 브로드 캐스트, 자신포함한 멀티 캐스트
    • 1 : 모든 패킷
  • to_ms : 버퍼링 시간, 패킷 도착후 OS가 처리 대기 시간
    • 0 : 충분히 패킷 도착 할
2007/10/06 07:36 2007/10/06 07:36
TAG
Trackback address :: http://4ellene.net/tt/trackback/1199

Comments List

  1. porn russian 2008/05/23 07:06

  2. gadget guy 2008/05/23 07:18

  3. cock and ball torture tabs 2008/05/24 01:26

  4. naked soldiers 2008/05/24 01:27

    嫄몄

Write a comment.

[로그인][오픈아이디란?]