ããã°ã©ã ã®æ¹ã§æè¿ãL2ã§ãã±ããããã£ããã£ããDST_MACã¢ãã¬ã¹ã®å¤ãå¤æ´ãéä¿¡ãããã®ãä½æãã¦ããã ã¾ããARPã¹ãã¼ãã£ã³ã°é¢ä¿ã®ãã¼ã«ã§ããªã»ã»ã» ã§ãåé¡çºçã L2ã§ãã±ããã®éåä¿¡ããããããã«ã¼ãããã¯ã®ãã±ãããåä¿¡ãã¦ãã¾ãåé¡ã«ç´é¢ããã æ®éãªããDST_MACã¢ãã¬ã¹ãèªåãªãè½ã¨ãã°åé¡ãªãã®ã ããDST_MACã¢ãã¬ã¹ãæ¸ãæãã¦ããã®ã§ããã¯ã§ããªãã ã¨è¨ãããã§ãããã試è¡é¯èª¤ããçµæããç¶ããè¦ããã®ãããªããã°ã©ã ã§ä½ã¨ããªããã¨ã解ã£ãã 話ã¨ãã¦ã¯ Socket_Handle = socket( PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); ã§ãL2ã®ã½ã±ãããä½æãã RecvBufferLen = recvfrom(Socket_Handle, (char *)RecvBuffer, sizeof
{{#tags}}- {{label}}
{{/tags}}