NetAddr :: Mac.

Çϵå¿þ¾î MAC ÁÖ¼Ò Ã³¸® (EUI-48 ¹× EUI-64)
Áö±Ý ´Ù¿î·Îµå

NetAddr :: Mac. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Dean Hamstead
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~djzort/

NetAddr :: Mac. ű×


NetAddr :: Mac. ¼³¸í

NetAddr :: MacÀº Media Access Control (¶Ç´Â Mac) ÁÖ¼Ò¸¦ ó¸®ÇÏ´Â ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. À̰͵éÀº ·¹À̾î 2 ³×Æ®¿öÅ©¿¡¼­ ÀåÄ¡¸¦ °íÀ¯ÇÏ°Ô ½Äº°ÇÏ´Â ÁÖ¼ÒÀÔ´Ï´Ù. ÀϹÝÀûÀÎ °æ¿ì´Â ÀÌ´õ³Ý ³×Æ®¿öÅ© Ä«µåÀÇ Çϵå¿þ¾î ÁÖ¼Ò°¡ ÀÖÁö¸¸ÀÌ ½Ã½ºÅÛÀ» »ç¿ëÇÏ´Â ´Ù¾çÇÑ ÀåÄ¡°¡ ÀÖ½À´Ï´Ù. ÀÌ ¸ðµâÀº EUI-48 ¹× EUI-64 ÁÖ¼Ò¸¦ ¸ðµÎ Áö¿øÇÏ°í OO ¹× ±â´ÉÀû ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÕ´Ï´Ù. EUI-48 (¶Ç´Â MAC-48) ÁÖ¼Ò¸¦ »ç¿ëÇÏ´Â ÀåÄ¡´Â ´ÙÀ½°ú °°½À´Ï´Ù. ÀÌ´õ³Ý 802.11 ¹«¼± ³×Æ®¿öÅ© ºí·çÅõ½º IEEE 802.5 ÅäÅ« ¸µ FDDI ATMSOME ÀåÄ¡ EUI-64 ÁÖ¼Ò »ç¿ëÀº ´ÙÀ½°ú °°½À´Ï´Ù. FireWire IPv6 ZigBee / 802.15.4 ¹«¼± °³ÀÎ ¿µ¿ª NetworksSynopsis »ç¿ë NetAddr :: Mac; MY $ MAC = NETADDR :: MAC-> NEW ('00 : 11 : 22 : AA : BB : CC '); MY $ MAC = NETADDR :: MAC-> NEW (MAC => '0011.22aa.bbcc'); Àμâ "°´Ã¼ »ý¼º¿¡ Á¦°øµÈ MAC :", $ MAC-> ¿øº»; $ Mac-> IS_EUI48 ÀÎ °æ¿ì "EUI48 \ N"Àμâ; $ Mac-> IS_EUI64 ÀÎ °æ¿ì "EUI64 \ N"Àμâ; $ mac-> is_unicast ÀÎ °æ¿ì "Unicast \ n"Àμâ; $ mac-> is_multicast ÀÎ °æ¿ì "multicast \ n"Àμâ; $ mac-> is_local ÀÎ °æ¿ì "·ÎÄà AdministerD \ N"Àμâ; $ Mac-> IS_universal ÀÎ °æ¿ì "º¸ÆíÀûÀ¸·Î °ü¸® \ N"Àμâ; '±âº» Çü½Ä :', $ mac-> as_basic, "\ n"; 'BPR Çü½Ä Àμâ :', $ mac-> as_bpr, "\ n"; 'Cisco Format :', $ mac-> as_cisco, "\ n"À» ÀμâÇϽʽÿÀ; 'IEEE Çü½Ä :', $ mac-> as_ieee, "\ n"; 'IPv6 ÁÖ¼Ò :', $ mac-> as_ipv6_suffix, "\ n"; 'Microsoft Format :', $ Mac-> AS_MICROSOFT, "\ N"À» ÀμâÇϽʽÿÀ. '´ÜÀÏ ´ë½Ã Çü½Ä :', $ mac-> as_singledash, "\ n"; 'Sun Format :', $ mac-> as_sun, "\ n"; 'ÅäÅ« ¸µ Çü½Ä Àμâ :', $ mac-> as_tokenring, "\ n"; NetAddr :: MAC QW (¸ðµÎ)¸¦ »ç¿ëÇϽʽÿÀ. MY $ MAC = Q / 00.11.22.33.44.55 /; Mac_IS_EUI48 ($ MAC) ÀÎ °æ¿ì "EUI48 \ N"Àμâ; Mac_IS_EUI64 ($ MAC) ÀÎ °æ¿ì "EUI64 \ N"Àμâ; mac_is_unicast ($ mac) ÀÎ °æ¿ì "À¯´Ï ij½ºÆ® \ n"Àμâ; Mac_is_multicast ($ Mac) ÀÎ °æ¿ì "¸ÖƼ ij½ºÆ® \ n"À» ÀμâÇϽʽÿÀ. mac_is_local ($ mac) ÀÎ °æ¿ì "·ÎÄà AdministerD \ N"Àμâ; Mac_is_universal ($ Mac) ÀÎ °æ¿ì "º¸ÆíÀûÀ¸·Î °ü¸® \ n"ÀμâÇϽʽÿÀ. '±âº» Çü½Ä :'Àμâ, "\ n"($ ¸Æ) mac_as_basicÀ»; 'BPR Çü½Ä :'Àμâ mac_as_bpr ($ ¸Æ), "\ n"; '½Ã½ºÄÚ Çü½Ä :'Àμâ mac_as_cisco ($ ¸Æ), "\ n"; 'IEEE Çü½Ä :'Àμâ mac_as_ieee ($ ¸Æ), "\ n"; 'IPv6 ÁÖ¼Ò¸¦'Àμâ mac_as_ipv6_suffix ($ ¸Æ), "\ n"; '¸¶ÀÌÅ©·Î ¼ÒÇÁÆ® Çü½Ä :'Àμâ mac_as_microsoft ($ ¸Æ), "\ n"; '´ÜÀÏ ´ë½Ã Çü½Ä :'Àμâ mac_as_singledash ($ ¸Æ), "\ n"; 'ÀÏ Çü½Ä :'Àμâ mac_as_sun ($ ¸Æ), "\ n"; 'ÅäÅ« ¸µ Çü½Ä :'Àμâ ($ MAC) mac_as_tokenring, "\ n"; Á¦Ç°ÀÇ È¨ÆäÀÌÁö


NetAddr :: Mac. °ü·Ã ¼ÒÇÁÆ®¿þ¾î