04 2018 档案

RFC笔记—Neighbor Discovery for IP version 6 (IPv6)
摘要:Router Solicitation Message Source Address An IP address assigned to the sending interface, or the unspecified address if no address is assigned to th 阅读全文

posted @ 2018-04-29 17:11 yanhc 阅读(597) 评论(0) 推荐(0)

RFC笔记—IP Version 6 Addressing Architecture
摘要:IP Version 6 Addressing Architecture,RFC4291 It includes the basic formats for the various types of IPv6 addresses (unicast, anycast, and multicast).  阅读全文

posted @ 2018-04-29 09:57 yanhc 阅读(237) 评论(0) 推荐(0)

lwip nd
摘要:ND有4项缓存,对于前缀、邻居、目的、默认路由器。 对于缓存,现在了解的比较清楚了; 但,对于其它3项,邻居、目的、默认路由器,还不是太了解, 在ip6_route中,看到了对默认路由器的使用,对于全局地址,在通过LWIP_HOOK_IP6_ROUTE找不到路径时,会先看目的地址子网是否和本地接口的 阅读全文

posted @ 2018-04-23 22:30 yanhc 阅读(365) 评论(0) 推荐(0)

lwip的netif状态管理
该文被密码保护。

posted @ 2018-04-22 20:49 yanhc 阅读(696) 评论(0) 推荐(0)

lwip的内存管理
摘要:lwip可以不用malloc,而完全用pool,全用全局变量,没看明白怎么实现的。 阅读全文

posted @ 2018-04-21 15:24 yanhc 阅读(712) 评论(0) 推荐(0)

由lwip的mbox中netbuf传递看指针的指针
摘要:如果使用netconn API的话,udp接收过程需要用到mbox传递接收的包(传递的是指针) mbox发送过程: api_msg.c中recv_udp中会将接收的包发送给udp的接收mbox sys_mbox_trypost传送的仅仅是netbuf的指针 在sys_mbox_trypost中,调用 阅读全文

posted @ 2018-04-21 12:42 yanhc 阅读(844) 评论(0) 推荐(0)

lwip stats
摘要:lwip统计量分两种,一种是lwip自己的,一种是snmp的。 直接用snmp的 打开以上两个开关的同时,需要将stats.c加到工程中。 UDP的MIB2统计量有: 在其他地方可以用以下方式获取这些统计量 STATS_GET(mib2.udpoutdatagrams) 对于netif的MIB2统计 阅读全文

posted @ 2018-04-15 21:25 yanhc 阅读(1009) 评论(0) 推荐(0)

RFC笔记,IPv6 Node Requirements
摘要:路由器节点必须能够生成链路本地地址 5.9.2. IPv6 Stateless Address Autoconfiguration - RFC 4862 Hosts MUST support IPv6 Stateless Address Autoconfiguration as defined in 阅读全文

posted @ 2018-04-12 15:45 yanhc 阅读(208) 评论(0) 推荐(0)

装系统
摘要:https://www.zhihu.com/question/23042197 推荐用的微软官方的工具老报错, Status: We were unable to copy your files. Please check your USB device and the seclected ISO 阅读全文

posted @ 2018-04-07 13:59 yanhc 阅读(164) 评论(0) 推荐(0)

导航