| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | pbuf.h | 142 struct pbuf { struct 144 struct pbuf *next; argument 182 struct pbuf *next; 195 struct pbuf pbuf; member 235 void pbuf_cat(struct pbuf *head, struct pbuf *tail); 236 void pbuf_chain(struct pbuf *head, struct pbuf *tail); 237 struct pbuf *pbuf_dechain(struct pbuf *p); 238 err_t pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from); 242 struct pbuf *pbuf_skip(struct pbuf* in, u16_t in_offset, u16_t* out_offset); 243 struct pbuf *pbuf_coalesce(struct pbuf *p, pbuf_layer layer); [all …]
|
| A D | icmp.h | 80 void icmp_input(struct pbuf *p, struct netif *inp); 81 void icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t); 82 void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t); 88 #define icmp_port_unreach(isipv6, pbuf) ((isipv6) ? \ argument 90 icmp_dest_unreach(pbuf, ICMP_DUR_PORT)) 92 #define icmp_port_unreach(isipv6, pbuf) do{ if(!(isipv6)) { icmp_dest_unreach(pbuf, ICMP_DUR_PORT);… argument 94 #define icmp_port_unreach(isipv6, pbuf) do{ if(isipv6) { icmp6_dest_unreach(pbuf, ICMP6_DUR_PORT);}… argument 96 #define icmp_port_unreach(isipv6, pbuf) argument 99 #define icmp_port_unreach(isipv6, pbuf) icmp6_dest_unreach(pbuf, ICMP6_DUR_PORT) argument 101 #define icmp_port_unreach(isipv6, pbuf) icmp_dest_unreach(pbuf, ICMP_DUR_PORT) argument [all …]
|
| A D | ip6.h | 62 err_t ip6_input(struct pbuf *p, struct netif *inp); 63 err_t ip6_output(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 65 err_t ip6_output_if(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 67 err_t ip6_output_if_src(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 70 err_t ip6_output_hinted(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 74 err_t ip6_options_add_hbh_ra(struct pbuf * p, u8_t nexth, u8_t value); 81 void ip6_debug_print(struct pbuf *p);
|
| A D | icmp6.h | 56 void icmp6_input(struct pbuf *p, struct netif *inp); 57 void icmp6_dest_unreach(struct pbuf *p, enum icmp6_dur_code c); 58 void icmp6_packet_too_big(struct pbuf *p, u32_t mtu); 59 void icmp6_time_exceeded(struct pbuf *p, enum icmp6_te_code c); 60 void icmp6_param_problem(struct pbuf *p, enum icmp6_pp_code c, u32_t pointer);
|
| A D | ip4.h | 71 err_t ip4_input(struct pbuf *p, struct netif *inp); 72 err_t ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 74 err_t ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 76 err_t ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 79 err_t ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 83 err_t ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 86 err_t ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 98 void ip4_debug_print(struct pbuf *p);
|
| A D | udp.h | 77 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p, 125 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p, 128 err_t udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p, 131 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p, 133 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p); 136 err_t udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, 140 err_t udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, 143 err_t udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p, 145 err_t udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, 154 void udp_input (struct pbuf *p, struct netif *inp);
|
| A D | inet_chksum.h | 75 u16_t inet_chksum_pbuf(struct pbuf *p); 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_frag.h | 63 struct pbuf *p; 72 struct pbuf * ip4_reass(struct pbuf *p); 86 struct pbuf *original; 91 err_t ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest);
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | pbuf.h | 186 struct pbuf { struct 188 struct pbuf *next; argument 244 struct pbuf pbuf; member 288 struct pbuf *pbuf_free_header(struct pbuf *q, u16_t size); 292 void pbuf_cat(struct pbuf *head, struct pbuf *tail); 293 void pbuf_chain(struct pbuf *head, struct pbuf *tail); 294 struct pbuf *pbuf_dechain(struct pbuf *p); 295 err_t pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from); 301 struct pbuf *pbuf_coalesce(struct pbuf *p, pbuf_layer layer); 302 struct pbuf *pbuf_clone(pbuf_layer l, pbuf_type type, struct pbuf *p); [all …]
|
| A D | icmp.h | 80 void icmp_input(struct pbuf *p, struct netif *inp); 81 void icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t); 82 void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t); 88 #define icmp_port_unreach(isipv6, pbuf) ((isipv6) ? \ argument 90 icmp_dest_unreach(pbuf, ICMP_DUR_PORT)) 92 #define icmp_port_unreach(isipv6, pbuf) do{ if(!(isipv6)) { icmp_dest_unreach(pbuf, ICMP_DUR_PORT);… argument 94 #define icmp_port_unreach(isipv6, pbuf) do{ if(isipv6) { icmp6_dest_unreach(pbuf, ICMP6_DUR_PORT);}… argument 96 #define icmp_port_unreach(isipv6, pbuf) argument 99 #define icmp_port_unreach(isipv6, pbuf) icmp6_dest_unreach(pbuf, ICMP6_DUR_PORT) argument 101 #define icmp_port_unreach(isipv6, pbuf) icmp_dest_unreach(pbuf, ICMP_DUR_PORT) argument [all …]
|
| A D | icmp6.h | 56 void icmp6_input(struct pbuf *p, struct netif *inp); 57 void icmp6_dest_unreach(struct pbuf *p, enum icmp6_dur_code c); 58 void icmp6_packet_too_big(struct pbuf *p, u32_t mtu); 59 void icmp6_time_exceeded(struct pbuf *p, enum icmp6_te_code c); 60 void icmp6_time_exceeded_with_addrs(struct pbuf *p, enum icmp6_te_code c, 62 void icmp6_param_problem(struct pbuf *p, enum icmp6_pp_code c, const void *pointer);
|
| A D | ip6.h | 62 err_t ip6_input(struct pbuf *p, struct netif *inp); 63 err_t ip6_output(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 65 err_t ip6_output_if(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 67 err_t ip6_output_if_src(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 70 err_t ip6_output_hinted(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 74 err_t ip6_options_add_hbh_ra(struct pbuf * p, u8_t nexth, u8_t value); 81 void ip6_debug_print(struct pbuf *p);
|
| A D | ip4.h | 71 err_t ip4_input(struct pbuf *p, struct netif *inp); 72 err_t ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 74 err_t ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 76 err_t ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 79 err_t ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 83 err_t ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 86 err_t ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 98 void ip4_debug_print(struct pbuf *p);
|
| A D | inet_chksum.h | 75 u16_t inet_chksum_pbuf(struct pbuf *p); 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_frag.h | 63 struct pbuf *p; 72 struct pbuf * ip4_reass(struct pbuf *p); 86 struct pbuf *original; 91 err_t ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest);
|
| A D | udp.h | 77 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p, 130 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p, 133 err_t udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p, 136 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p, 138 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p); 141 err_t udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, 145 err_t udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, 148 err_t udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p, 150 err_t udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, 163 void udp_input (struct pbuf *p, struct netif *inp);
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | pbuf.h | 79 struct pbuf { struct 81 struct pbuf *next; argument 119 struct pbuf pbuf; member 154 void pbuf_ref(struct pbuf *p); 155 u8_t pbuf_free(struct pbuf *p); 156 u8_t pbuf_clen(struct pbuf *p); 157 void pbuf_cat(struct pbuf *head, struct pbuf *tail); 158 void pbuf_chain(struct pbuf *head, struct pbuf *tail); 159 struct pbuf *pbuf_dechain(struct pbuf *p); 160 err_t pbuf_copy(struct pbuf *p_to, struct pbuf *p_from); [all …]
|
| A D | snmp_asn1.h | 77 err_t snmp_asn1_dec_type(struct pbuf *p, u16_t ofs, u8_t *type); 78 err_t snmp_asn1_dec_length(struct pbuf *p, u16_t ofs, u8_t *octets_used, u16_t *length); 79 err_t snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value); 80 err_t snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value); 81 err_t snmp_asn1_dec_oid(struct pbuf *p, u16_t ofs, u16_t len, struct snmp_obj_id *oid); 88 err_t snmp_asn1_enc_type(struct pbuf *p, u16_t ofs, u8_t type); 89 err_t snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length); 90 err_t snmp_asn1_enc_u32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, u32_t value); 91 err_t snmp_asn1_enc_s32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, s32_t value); 92 err_t snmp_asn1_enc_oid(struct pbuf *p, u16_t ofs, u8_t ident_len, s32_t *ident); [all …]
|
| A D | udp.h | 87 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p, 132 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p, 135 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p, 137 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p); 140 err_t udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, 144 err_t udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, 147 err_t udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p, 155 void udp_input (struct pbuf *p, struct netif *inp);
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | pbuf.c | 223 struct pbuf * 326 struct pbuf * 362 struct pbuf * 670 struct pbuf * 853 pbuf_cat(struct pbuf *h, struct pbuf *t) in pbuf_cat() 895 pbuf_chain(struct pbuf *h, struct pbuf *t) in pbuf_chain() 911 struct pbuf * 961 pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from) in pbuf_copy() 1113 void pbuf_split_64k(struct pbuf *p, struct pbuf **rest) in pbuf_split_64k() 1177 struct pbuf * [all …]
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | pbuf.c | 247 struct pbuf * 424 struct pbuf* 469 p->pbuf.len = p->pbuf.tot_len = length; in pbuf_alloced_custom() 495 struct pbuf *q; in pbuf_realloc() 840 pbuf_cat(struct pbuf *h, struct pbuf *t) in pbuf_cat() 882 pbuf_chain(struct pbuf *h, struct pbuf *t) in pbuf_chain() 898 struct pbuf * 948 pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from) in pbuf_copy() 1066 void pbuf_split_64k(struct pbuf *p, struct pbuf **rest) in pbuf_split_64k() 1130 struct pbuf* [all …]
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | pbuf.c | 206 struct pbuf * 366 struct pbuf* 407 p->pbuf.len = p->pbuf.tot_len = length; in pbuf_alloced_custom() 432 struct pbuf *q; in pbuf_realloc() 621 struct pbuf *q; in pbuf_free() 745 pbuf_cat(struct pbuf *h, struct pbuf *t) in pbuf_cat() 747 struct pbuf *p; in pbuf_cat() 786 pbuf_chain(struct pbuf *h, struct pbuf *t) in pbuf_chain() 802 struct pbuf * 852 pbuf_copy(struct pbuf *p_to, struct pbuf *p_from) in pbuf_copy() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/apps/snmp/ |
| A D | snmp_pbuf_stream.c | 47 snmp_pbuf_stream_init(struct snmp_pbuf_stream* pbuf_stream, struct pbuf* p, u16_t offset, u16_t len… in snmp_pbuf_stream_init() 51 pbuf_stream->pbuf = p; in snmp_pbuf_stream_init() 63 if (pbuf_copy_partial(pbuf_stream->pbuf, data, 1, pbuf_stream->offset) == 0) { in snmp_pbuf_stream_read() 86 if (pbuf_take_at(pbuf_stream->pbuf, buf, buf_len, pbuf_stream->offset) != ERR_OK) { in snmp_pbuf_stream_writebuf() 115 struct pbuf* pbuf = pbuf_skip(pbuf_stream->pbuf, pbuf_stream->offset, &target_offset); in snmp_pbuf_stream_writeto() local 117 if ((pbuf == NULL) || (pbuf->len == 0)) { in snmp_pbuf_stream_writeto() 121 chunk_len = LWIP_MIN(len, pbuf->len); in snmp_pbuf_stream_writeto() 122 …err = snmp_pbuf_stream_writebuf(target_pbuf_stream, &((u8_t*)pbuf->payload)[target_offset], chunk_… in snmp_pbuf_stream_writeto()
|
| /components/net/lwip/lwip-2.1.2/src/apps/snmp/ |
| A D | snmp_pbuf_stream.c | 47 snmp_pbuf_stream_init(struct snmp_pbuf_stream *pbuf_stream, struct pbuf *p, u16_t offset, u16_t len… in snmp_pbuf_stream_init() 51 pbuf_stream->pbuf = p; in snmp_pbuf_stream_init() 63 if (pbuf_copy_partial(pbuf_stream->pbuf, data, 1, pbuf_stream->offset) == 0) { in snmp_pbuf_stream_read() 86 if (pbuf_take_at(pbuf_stream->pbuf, buf, buf_len, pbuf_stream->offset) != ERR_OK) { in snmp_pbuf_stream_writebuf() 115 struct pbuf *pbuf = pbuf_skip(pbuf_stream->pbuf, pbuf_stream->offset, &target_offset); in snmp_pbuf_stream_writeto() local 117 if ((pbuf == NULL) || (pbuf->len == 0)) { in snmp_pbuf_stream_writeto() 121 chunk_len = LWIP_MIN(len, pbuf->len); in snmp_pbuf_stream_writeto() 122 …err = snmp_pbuf_stream_writebuf(target_pbuf_stream, &((u8_t *)pbuf->payload)[target_offset], chunk… in snmp_pbuf_stream_writeto()
|
| /components/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/ |
| A D | ip_frag.h | 56 struct pbuf *p; 65 struct pbuf * ip_reass(struct pbuf *p); 77 struct pbuf *original; 81 err_t ip_frag(struct pbuf *p, struct netif *netif, ip_addr_t *dest);
|