首页 | 本学科首页   官方微博 | 高级检索  
     

利用PCAP技术获取网卡MAC地址
引用本文:何世明.利用PCAP技术获取网卡MAC地址[J].电脑开发与应用,2003,16(11):22-23,26.
作者姓名:何世明
作者单位:东南大学,南京,210096
摘    要:以 L inux为平台 ,利用 PCAP技术获取以太网范围内 IP地址所对应的网卡 MAC地址 ,使网管人员在网络管理中获得主动 ,同时为自主开发网络管理软件提供可能。还介绍了网卡的两种地址、ARP协议、PCAP及程序 getmac.c部分清单实现

关 键 词:地址解析协议  ARP协议  PCAP  以太网协议  ARP

Obtaining MAC Addresses of Network Cards with PCAP
Abstract:This paper presents obtaining MAC address of network adapter corresponding to IP address within the Ethernet scope by using PCAP technique and on the basis of Linux platform,making network administrator know IP address for convenient network management,and is probable to develop network management software autonomously.Two kinds of addresses,ARP protocol,PCAP are introduced and program getmac.c list is implemented.
Keywords:address analytic protocol  ARP protocol  PCAP  Ethernet protocol  ARP
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号