| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | ip.h | 226 #define ip_output(p, src, dest, ttl, tos, proto) \ argument 234 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 272 #define ip_output(p, src, dest, ttl, tos, proto) \ argument 273 ip4_output(p, src, dest, ttl, tos, proto) 274 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 275 ip4_output_if(p, src, dest, ttl, tos, proto, netif) 277 ip4_output_if_src(p, src, dest, ttl, tos, proto, netif) 290 #define ip_output(p, src, dest, ttl, tos, proto) \ argument 291 ip6_output(p, src, dest, ttl, tos, proto) 292 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument [all …]
|
| A D | inet_chksum.h | 81 u16_t inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 83 u16_t inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto, 88 u16_t ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 90 u16_t ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, 95 u16_t ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 97 u16_t ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
|
| A D | ip4.h | 73 u8_t ttl, u8_t tos, u8_t proto); 75 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 77 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 80 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint); 84 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 87 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
|
| A D | raw.h | 92 struct raw_pcb * raw_new (u8_t proto); 93 struct raw_pcb * raw_new_ip_type(u8_t type, u8_t proto); 110 #define raw_new_ip6(proto) raw_new_ip_type(IPADDR_TYPE_V6, proto) argument
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | ip.h | 228 #define ip_output(p, src, dest, ttl, tos, proto) \ argument 236 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 279 #define ip_output(p, src, dest, ttl, tos, proto) \ argument 280 ip4_output(p, src, dest, ttl, tos, proto) 281 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 282 ip4_output_if(p, src, dest, ttl, tos, proto, netif) 284 ip4_output_if_src(p, src, dest, ttl, tos, proto, netif) 299 #define ip_output(p, src, dest, ttl, tos, proto) \ argument 300 ip6_output(p, src, dest, ttl, tos, proto) 301 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument [all …]
|
| A D | inet_chksum.h | 81 u16_t inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 83 u16_t inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto, 88 u16_t ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 90 u16_t ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, 95 u16_t ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 97 u16_t ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
|
| A D | ip4.h | 73 u8_t ttl, u8_t tos, u8_t proto); 75 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 77 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 80 u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint); 84 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 87 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
|
| A D | raw.h | 104 struct raw_pcb * raw_new (u8_t proto); 105 struct raw_pcb * raw_new_ip_type(u8_t type, u8_t proto); 128 #define raw_new_ip6(proto) raw_new_ip_type(IPADDR_TYPE_V6, proto) argument
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | stats.c | 64 stats_display_proto(struct stats_proto *proto, const char *name) in stats_display_proto() argument 67 LWIP_PLATFORM_DIAG(("xmit: %"STAT_COUNTER_F"\n\t", proto->xmit)); in stats_display_proto() 68 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv)); in stats_display_proto() 69 LWIP_PLATFORM_DIAG(("fw: %"STAT_COUNTER_F"\n\t", proto->fw)); in stats_display_proto() 70 LWIP_PLATFORM_DIAG(("drop: %"STAT_COUNTER_F"\n\t", proto->drop)); in stats_display_proto() 71 LWIP_PLATFORM_DIAG(("chkerr: %"STAT_COUNTER_F"\n\t", proto->chkerr)); in stats_display_proto() 72 LWIP_PLATFORM_DIAG(("lenerr: %"STAT_COUNTER_F"\n\t", proto->lenerr)); in stats_display_proto() 73 LWIP_PLATFORM_DIAG(("memerr: %"STAT_COUNTER_F"\n\t", proto->memerr)); in stats_display_proto() 74 LWIP_PLATFORM_DIAG(("rterr: %"STAT_COUNTER_F"\n\t", proto->rterr)); in stats_display_proto() 76 LWIP_PLATFORM_DIAG(("opterr: %"STAT_COUNTER_F"\n\t", proto->opterr)); in stats_display_proto() [all …]
|
| A D | inet_chksum.c | 285 acc += (u32_t)lwip_htons((u16_t)proto); in inet_cksum_pseudo_base() 310 inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_chksum_pseudo() argument 326 return inet_cksum_pseudo_base(p, proto, proto_len, acc); in inet_chksum_pseudo() 343 ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in ip6_chksum_pseudo() argument 362 return inet_cksum_pseudo_base(p, proto, proto_len, acc); in ip6_chksum_pseudo() 379 ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in ip_chksum_pseudo() argument 399 inet_cksum_pseudo_partial_base(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_cksum_pseudo_partial_base() argument 431 acc += (u32_t)lwip_htons((u16_t)proto); in inet_cksum_pseudo_partial_base() 456 inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_chksum_pseudo_partial() argument 491 ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, in ip6_chksum_pseudo_partial() argument [all …]
|
| A D | raw.c | 138 s16_t proto; in raw_input() local 150 proto = IP6H_NEXTH(ip6hdr); in raw_input() 158 proto = IPH_PROTO((struct ip_hdr *)p->payload); in raw_input() 167 if ((pcb->protocol == proto) && raw_input_local_match(pcb, broadcast) && in raw_input() 595 raw_new(u8_t proto) in raw_new() argument 607 pcb->protocol = proto; in raw_new() 634 raw_new_ip_type(u8_t type, u8_t proto) in raw_new_ip_type() argument 638 pcb = raw_new(proto); in raw_new_ip_type()
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | stats.c | 64 stats_display_proto(struct stats_proto *proto, const char *name) in stats_display_proto() argument 67 LWIP_PLATFORM_DIAG(("xmit: %"STAT_COUNTER_F"\n\t", proto->xmit)); in stats_display_proto() 68 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv)); in stats_display_proto() 69 LWIP_PLATFORM_DIAG(("fw: %"STAT_COUNTER_F"\n\t", proto->fw)); in stats_display_proto() 70 LWIP_PLATFORM_DIAG(("drop: %"STAT_COUNTER_F"\n\t", proto->drop)); in stats_display_proto() 71 LWIP_PLATFORM_DIAG(("chkerr: %"STAT_COUNTER_F"\n\t", proto->chkerr)); in stats_display_proto() 72 LWIP_PLATFORM_DIAG(("lenerr: %"STAT_COUNTER_F"\n\t", proto->lenerr)); in stats_display_proto() 73 LWIP_PLATFORM_DIAG(("memerr: %"STAT_COUNTER_F"\n\t", proto->memerr)); in stats_display_proto() 74 LWIP_PLATFORM_DIAG(("rterr: %"STAT_COUNTER_F"\n\t", proto->rterr)); in stats_display_proto() 76 LWIP_PLATFORM_DIAG(("opterr: %"STAT_COUNTER_F"\n\t", proto->opterr)); in stats_display_proto() [all …]
|
| A D | inet_chksum.c | 285 acc += (u32_t)lwip_htons((u16_t)proto); in inet_cksum_pseudo_base() 310 inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_chksum_pseudo() argument 326 return inet_cksum_pseudo_base(p, proto, proto_len, acc); in inet_chksum_pseudo() 343 ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in ip6_chksum_pseudo() argument 362 return inet_cksum_pseudo_base(p, proto, proto_len, acc); in ip6_chksum_pseudo() 379 ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in ip_chksum_pseudo() argument 399 inet_cksum_pseudo_partial_base(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_cksum_pseudo_partial_base() argument 431 acc += (u32_t)lwip_htons((u16_t)proto); in inet_cksum_pseudo_partial_base() 456 inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_chksum_pseudo_partial() argument 491 ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, in ip6_chksum_pseudo_partial() argument [all …]
|
| A D | raw.c | 131 s16_t proto; in raw_input() local 143 proto = IP6H_NEXTH(ip6hdr); in raw_input() 151 proto = IPH_PROTO((struct ip_hdr *)p->payload); in raw_input() 160 if ((pcb->protocol == proto) && raw_input_match(pcb, broadcast)) { in raw_input() 450 raw_new(u8_t proto) in raw_new() argument 461 pcb->protocol = proto; in raw_new() 485 raw_new_ip_type(u8_t type, u8_t proto) in raw_new_ip_type() argument 488 pcb = raw_new(proto); in raw_new_ip_type()
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | stats.c | 72 stats_display_proto(struct stats_proto *proto, const char *name) in stats_display_proto() argument 75 LWIP_PLATFORM_DIAG(("xmit: %"STAT_COUNTER_F"\n\t", proto->xmit)); in stats_display_proto() 76 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv)); in stats_display_proto() 77 LWIP_PLATFORM_DIAG(("fw: %"STAT_COUNTER_F"\n\t", proto->fw)); in stats_display_proto() 78 LWIP_PLATFORM_DIAG(("drop: %"STAT_COUNTER_F"\n\t", proto->drop)); in stats_display_proto() 79 LWIP_PLATFORM_DIAG(("chkerr: %"STAT_COUNTER_F"\n\t", proto->chkerr)); in stats_display_proto() 80 LWIP_PLATFORM_DIAG(("lenerr: %"STAT_COUNTER_F"\n\t", proto->lenerr)); in stats_display_proto() 81 LWIP_PLATFORM_DIAG(("memerr: %"STAT_COUNTER_F"\n\t", proto->memerr)); in stats_display_proto() 82 LWIP_PLATFORM_DIAG(("rterr: %"STAT_COUNTER_F"\n\t", proto->rterr)); in stats_display_proto() 84 LWIP_PLATFORM_DIAG(("opterr: %"STAT_COUNTER_F"\n\t", proto->opterr)); in stats_display_proto() [all …]
|
| A D | raw.c | 80 s16_t proto; in raw_input() local 86 proto = IPH_PROTO(iphdr); in raw_input() 93 if ((pcb->protocol == proto) && in raw_input() 331 raw_new(u8_t proto) in raw_new() argument 342 pcb->protocol = proto; in raw_new()
|
| /components/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/ |
| A D | ip.h | 162 #define IPH_PROTO_SET(hdr, proto) (hdr)->_proto = (u8_t)(proto) argument 178 u8_t ttl, u8_t tos, u8_t proto); 180 u8_t ttl, u8_t tos, u8_t proto, 184 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint); 188 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | demand.c | 318 demand_rexmit(proto, newip) in demand_rexmit() argument 319 int proto; in demand_rexmit() 338 if (PPP_PROTOCOL(pkt->data) == proto) { 339 if ( (proto == PPP_IP) && newip ) { 438 int proto, i; local 443 proto = PPP_PROTOCOL(p); 456 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
|
| A D | utils.c | 449 u_short proto; in ppp_format_packet() local 453 GETSHORT(proto, p); in ppp_format_packet() 456 if (proto == protp->protocol) in ppp_format_packet() 466 if (proto == (protp->protocol & ~0x8000)) in ppp_format_packet() 476 printer(arg, "[proto=0x%x]", proto); in ppp_format_packet() 706 int proto; in ppp_dump_packet() local 711 proto = (p[0] << 8) + p[1]; in ppp_dump_packet() 712 if (proto < 0xC000 && (proto & ~0x8000) == proto) in ppp_dump_packet() 718 if (proto == PPP_LCP && pcb->phase == PPP_PHASE_RUNNING && len >= 2 + HEADERLEN) { in ppp_dump_packet()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | demand.c | 318 demand_rexmit(proto, newip) in demand_rexmit() argument 319 int proto; in demand_rexmit() 338 if (PPP_PROTOCOL(pkt->data) == proto) { 339 if ( (proto == PPP_IP) && newip ) { 438 int proto, i; local 443 proto = PPP_PROTOCOL(p); 456 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
|
| A D | utils.c | 451 u_short proto; in ppp_format_packet() local 455 GETSHORT(proto, p); in ppp_format_packet() 458 if (proto == protp->protocol) in ppp_format_packet() 468 if (proto == (protp->protocol & ~0x8000)) in ppp_format_packet() 478 printer(arg, "[proto=0x%x]", proto); in ppp_format_packet() 708 int proto; in ppp_dump_packet() local 713 proto = (p[0] << 8) + p[1]; in ppp_dump_packet() 714 if (proto < 0xC000 && (proto & ~0x8000) == proto) in ppp_dump_packet() 720 if (proto == PPP_LCP && pcb->phase == PPP_PHASE_RUNNING && len >= 2 + HEADERLEN) { in ppp_dump_packet()
|
| /components/net/lwip/lwip-2.0.3/doc/ |
| A D | mdns.txt | 75 u16_t proto, u16_t port, u32_t dns_ttl, 80 proto can be DNSSD_PROTO_UDP or DNSSD_PROTO_TCP which represent _udp and _tcp. 82 - _services._dns-sd._udp.local type PTR returns <service>.<proto>.local 83 - <service>.<proto>.local type PTR returns <name>.<service>.<proto>.local 84 - <name>.<service>.<proto>.local type SRV returns hostname and port of service 85 - <name>.<service>.<proto>.local type TXT builds text strings by calling txt_fn
|
| /components/net/lwip/lwip-2.1.2/doc/ |
| A D | mdns.txt | 75 u16_t proto, u16_t port, u32_t dns_ttl, 80 proto can be DNSSD_PROTO_UDP or DNSSD_PROTO_TCP which represent _udp and _tcp. 82 - _services._dns-sd._udp.local type PTR returns <service>.<proto>.local 83 - <service>.<proto>.local type PTR returns <name>.<service>.<proto>.local 84 - <name>.<service>.<proto>.local type SRV returns hostname and port of service 85 - <name>.<service>.<proto>.local type TXT builds text strings by calling txt_fn
|
| /components/net/lwip/lwip-1.4.1/src/core/ipv6/ |
| A D | ip6.c | 262 u8_t proto, struct netif *netif) in ip_output_if() argument 283 iphdr->nexthdr = proto; in ip_output_if() 318 u8_t ttl, u8_t proto) in ip_output() argument 327 return ip_output_if (p, src, dest, ttl, proto, netif); in ip_output() 333 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint) in ip_output_hinted() argument 345 err = ip_output_if(p, src, dest, ttl, tos, proto, netif); in ip_output_hinted()
|
| /components/net/lwip/lwip-2.0.3/src/core/ipv4/ |
| A D | ip4.c | 757 u8_t proto, struct netif *netif) argument 760 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0); 783 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif, 786 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif); 797 u8_t proto, struct netif *netif) argument 868 IPH_PROTO_SET(iphdr, proto); 870 chk_sum += PP_NTOHS(proto | (ttl << 8)); 983 u8_t ttl, u8_t tos, u8_t proto) argument 996 return ip4_output_if(p, src, dest, ttl, tos, proto, netif); 1020 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint) argument [all …]
|