freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

最新計(jì)算機(jī)網(wǎng)絡(luò)課程設(shè)計(jì)實(shí)驗(yàn)報(bào)告(存儲(chǔ)版)

2025-08-19 02:48上一頁面

下一頁面
  

【正文】 return(str)。 struct addrinfo hints, *res。res)) != 0) return(NULL)。 if (errnoflag) snprintf(buf+n, sizeof(buf)n, : %s, strerror(errno_save))。 va_start(ap, fmt)。 exit(1)。比如ping不同目的端,可能是目的端不存在,但若與目的機(jī)聯(lián)通狀態(tài)ping不通,則可能是權(quán)限不夠,即要通過root身份才可以成功執(zhí)行程序。上一級(jí)協(xié)議類型為0x0800IP協(xié)議。IP報(bào)文分析VERSIONIHLTOSTOTAL LENGTNIDENTIFICATIONFLAGSFRAGMENT OFFSETTTLPROTOWTHEADER CHECLCSUMSOWRCE ADDRESSDRSTINWTION ADDRESSOPTIONSPADDINGINFO VERSION表示版本號(hào),如ipv4,ipv6,4bit字段。SOWRCE DRSTINWTION ADDRESS,表示源目的ip地址32bit。源端IP地址為:,。窗口大小為17280。源端口號(hào)16bit目的端口號(hào)16bit總長度 16bit校驗(yàn)和(16bit) 6.Icmp報(bào)文。頭部長度20字節(jié)。分片偏移為0,生存時(shí)間為64跳,協(xié)議為tcp協(xié)議。PROTOWT表示8bit的協(xié)議。源端Mac地址為00:0a:8a:3e:94:90。其中目的端MAC地址為94:0c:6d:3e:7d:c4。更掌握了如何使用信號(hào)量進(jìn)行通信。 err_doit(1, LOG_ERR, fmt, ap)。 } return。 /* this is safe */else vsprintf(buf, fmt, ap)。 /* 0, SOCK_STREAM, SOCK_DGRAM, etc. */ if ( (n = getaddrinfo(host, serv, amp。 /* inet_ntop() sets errno */ return(ptr)。sdlsdl_data[0])。sinsin_addr, str, sizeof(str)) == NULL) return(NULL)。 close(sockfd)。 tv_sub(amp。 }}void sig_alrm(int signo){ (*prfsend)()。 n = recvfrom(sockfd, recvbuf, sizeof(recvbuf), 0, prsarecv, amp。 if (ttl_flag) setsockopt(sockfd, IPPROTO_IP, IP_TTL, amp。 ssize_t n。 icmp6icmp6_id = pid。 /* checksum ICMP header and data */ icmpicmp_cksum = 0。 struct icmp *icmp。answer) = *(unsigned char *)w 。 } else if (verbose 1) { printf( %d bytes from %s: type = %d, code = %d\n, icmp6len, Sock_ntop_host(prsarecv, prsalen), icmp6icmp6_type, icmp6icmp6_code)。 tv_sub(tvrecv, tvsend)。 ip6 = (struct ip6_hdr *) ptr。 recv_count++。 /* not a response to our ECHO_REQUEST */ if (icmplen 16) err_quit(icmplen (%d) 16, icmplen)。 struct ip *ip。 prsarecv = calloc(1, aiai_addrlen)。 /* 4initialize according to protocol */ if (aiai_family == AF_INET) { pr = amp。: err_quit(unrecognized option: %c, c, usage)。 ttl 256。 break。 break。const char *usage = usage: ping [v] [h] [b] [t ttl] [q] hostname\n \tv\tNormal mode\n \tb\tBroadcast\n \tt ttl\tSet TTL(0255)\n \tq\tQuiet mode。endif /* PING_H_ */include struct proto proto_v4 = { proc_v4, send_v4, NULL, NULL, 0, IPPROTO_ICMP }。void err_sys(const char *fmt, ...)。void send_v6(void)。int nsent。五、程序源代碼(核心部分)實(shí)驗(yàn)二ifndef PING_H_define PING_H_include netinet/include netinet/include netinet/include netinet/include netinet/include sys/ /* basic system data types */include sys/ /* basic socket definitions */include sys/ /* timeval{} for select() */include /* timespec{} for pselect() */include netinet/ /* sockaddr_in{} and other Internet defns */include arpa/ /* inet(3) functions */include include include include include include include include include sys/ /* for Unix domain sockets */include sys/include net/include include ifdef HAVE_SOCKADDR_DL_STRUCT include net/endifdefine BUFSIZE 1500define MAXLINE 4096/* globals */char recvbuf[BUFSIZE]。 //IP包數(shù)據(jù)}。 //IP包標(biāo)示,用于輔助IP包的拆裝,本實(shí)驗(yàn)不用,置零 WORD Flg_offset。Echo 或 Echo Reply 消息格式如下: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +++++++++++++++++++++++++++++++++ | Type | Code | Checksum | +++++++++++++++++++++++++++++++++ | Identifier | Sequence Number | +++++++++++++++++++++++++++++++++ | Data ... +++++Typeecho消息的類型為8 echo reply 的消息類型為0。 詳細(xì)設(shè)計(jì)1)main函數(shù)三、 程序的需求分析與邏輯框圖邏輯框圖2)readloop函數(shù) 3)proc函數(shù) 4)send函數(shù) 三、 程序的需求分析與邏輯框圖邏輯框圖Checksum開始定義初始化cksum (size 1)確定cksum及size大小是if (size)計(jì)算校驗(yàn)cksum,獲得結(jié)果cksum += *(UCHAR*)buffer。3.調(diào)出跟蹤存儲(chǔ)的歷史報(bào)文,選擇有代表性的ETHERNET,IP,ICMP,TCP,UDP報(bào)文,對(duì)照有關(guān)協(xié)議逐個(gè)分析報(bào)文各字段的含義及內(nèi)容。運(yùn)用這一原理使信息捕獲系統(tǒng)能夠攔截的我們所要的信:1)
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1