[데이타 통신]WinPcap 에 있는 pcap.h, packet32.h, packet.h 함수 분석 && Switch, Bridge, Hub, Repeater 에 대한 조사
- 최초 등록일
- 2005.11.16
- 최종 저작일
- 2005.05
- 18페이지/ MS 워드
- 가격 2,000원
소개글
데이터 통신 시간에 제출한 과제 입니다
목차
l WinPcap 에 있는 pcap.h, packet32.h, packet.h 함수 분석
1. pcap.h 함수 분석
2. packet32.h 함수 분석
3. packet.h 함수 분석
l Switch, Bridge, Hub, Repeater 에 대한 조사
1. Switch
2. Bridge
3. Hub
4. Repeater
본문내용
WinPcap 에 있는 pcap.h, packet32.h, packet.h 함수 분석
1. pcap.h 함수 분석
- void pcap_close(pcap_t* p)
p와 할당되지 않은 데이터에 연계된 파일을 닫는 함수
- int pcap_datalink(pcap_t* p)
어댑터의 link layer 값을 반환하는 함수
pcap_datalink() 여러 타입의 link layer 값을 반환한다.
DLT_NULL BSD loopback encapsulation
DLT_EN10MB Ethernet (10Mb, 100Mb, 1000Mb, and up)
DLT_IEEE802 IEEE 802.5 Token Ring
DLT_ARCNET ARCNET SLIP
DLT_PPP PPP
DLT_FDDI FDDI
DLT_ATM_RFC1483 RFC 1483 LLC/SNAP-encapsulated ATM
DLT_RAW raw IP
DLT_PPP_SERIAL PPP in HDLC-like framing
DLT_PPP_ETHER PPPoE
DLT_C_HDLC Cisco PPP with HDLC framing
DLT_IEEE802_11 IEEE 802.11 wireless LAN
DLT_LOOP OpenBSD loopback encapsulation
DLT_LINUX_SLL Linux "cooked" capture encapsulation
DLT_LTALK Apple LocalTalk
참고 자료
없음