Home
last modified time | relevance | path

Searched refs:pbuf (Results 26 – 50 of 65) sorted by relevance

123

/lib/liblwip/src/include/ipv6/lwip/
Dinet.h44 u16_t inet_chksum_pbuf(struct pbuf *p);
45 u16_t inet_chksum_pseudo(struct pbuf *p,
/lib/liblwip/src/include/lwip/
Dtcpip.h92 err_t tcpip_input(struct pbuf *p, struct netif *inp);
109 err_t pbuf_free_callback(struct pbuf *p);
144 struct pbuf *p;
Dtcp.h73 struct pbuf *p, err_t err);
248 struct pbuf *refused_data; /* Data previously received but not yet taken by upper layer */
309 struct pbuf *p,
Dnetbuf.h49 struct pbuf *p, *ptr;
/lib/liblwip/src/core/
Draw.c76 raw_input(struct pbuf *p, struct netif *inp) in raw_input()
203 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr) in raw_sendto()
208 struct pbuf *q; /* q will be sent down the stack */ in raw_sendto()
286 raw_send(struct raw_pcb *pcb, struct pbuf *p) in raw_send()
Dtcp_out.c93 static struct pbuf *
98 struct pbuf *p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header()
159 tcp_create_segment(struct tcp_pcb *pcb, struct pbuf *p, u8_t flags, u32_t seqno, u8_t optflags) in tcp_create_segment()
218 static struct pbuf *
223 struct pbuf *p; in tcp_pbuf_prealloc()
356 struct pbuf *concat_p = NULL; in tcp_write()
523 struct pbuf *p; in tcp_write()
548 struct pbuf *p2; in tcp_write()
627 struct pbuf *p; in tcp_write()
724 struct pbuf *p; in tcp_enqueue_flags()
[all …]
Dudp.c151 udp_input(struct pbuf *p, struct netif *inp)
375 struct pbuf *q;
454 udp_send(struct udp_pcb *pcb, struct pbuf *p)
464 udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p,
491 udp_sendto(struct udp_pcb *pcb, struct pbuf *p,
500 udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *dst_ip,
549 udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p,
558 udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *dst_ip,
566 struct pbuf *q; /* q will be sent down the stack */
Dnetif.c610 netif_loop_output(struct netif *netif, struct pbuf *p, in netif_loop_output()
613 struct pbuf *r; in netif_loop_output()
615 struct pbuf *last; in netif_loop_output()
700 struct pbuf *in; in netif_poll()
717 struct pbuf *in_end = in; in netif_poll()
/lib/liblwip/src/core/ipv6/
Dip6.c96 ip_forward(struct pbuf *p, struct ip_hdr *iphdr) in ip_forward()
157 ip_input(struct pbuf *p, struct netif *inp) { in ip_input()
260 ip_output_if (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, in ip_output_if()
317 ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, in ip_output()
332 ip_output_hinted(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, in ip_output_hinted()
354 ip_debug_print(struct pbuf *p) in ip_debug_print()
/lib/liblwip/src/core/snmp/
Dasn1_enc.c181 snmp_asn1_enc_type(struct pbuf *p, u16_t ofs, u8_t type) in snmp_asn1_enc_type()
213 snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length) in snmp_asn1_enc_length()
308 snmp_asn1_enc_u32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, u32_t value) in snmp_asn1_enc_u32t()
384 snmp_asn1_enc_s32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, s32_t value) in snmp_asn1_enc_s32t()
438 snmp_asn1_enc_oid(struct pbuf *p, u16_t ofs, u8_t ident_len, s32_t *ident) in snmp_asn1_enc_oid()
562 snmp_asn1_enc_raw(struct pbuf *p, u16_t ofs, u16_t raw_len, u8_t *raw) in snmp_asn1_enc_raw()
Dasn1_dec.c52 snmp_asn1_dec_type(struct pbuf *p, u16_t ofs, u8_t *type) in snmp_asn1_dec_type()
85 snmp_asn1_dec_length(struct pbuf *p, u16_t ofs, u8_t *octets_used, u16_t *length) in snmp_asn1_dec_length()
240 snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value) in snmp_asn1_dec_u32t()
333 snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value) in snmp_asn1_dec_s32t()
429 snmp_asn1_dec_oid(struct pbuf *p, u16_t ofs, u16_t len, struct snmp_obj_id *oid) in snmp_asn1_dec_oid()
596 snmp_asn1_dec_raw(struct pbuf *p, u16_t ofs, u16_t len, u16_t raw_len, u8_t *raw) in snmp_asn1_dec_raw()
Dmsg_out.c71 static u16_t snmp_resp_header_enc(struct snmp_msg_pstat *m_stat, struct pbuf *p);
72 static u16_t snmp_trap_header_enc(struct snmp_msg_trap *m_trap, struct pbuf *p);
73 static u16_t snmp_varbind_list_enc(struct snmp_varbind_root *root, struct pbuf *p, u16_t ofs);
116 struct pbuf *p; in snmp_send_response()
218 struct pbuf *p; in snmp_send_trap()
480 snmp_resp_header_enc(struct snmp_msg_pstat *m_stat, struct pbuf *p) in snmp_resp_header_enc()
537 snmp_trap_header_enc(struct snmp_msg_trap *m_trap, struct pbuf *p) in snmp_trap_header_enc()
608 snmp_varbind_list_enc(struct snmp_varbind_root *root, struct pbuf *p, u16_t ofs) in snmp_varbind_list_enc()
/lib/liblwip/src/netif/ppp/
Dppp.c180 struct pbuf *inHead, *inTail;
703 nPut(PPPControl *pc, struct pbuf *nb) in nPut()
705 struct pbuf *b; in nPut()
732 static struct pbuf *
733 pppAppend(u_char c, struct pbuf *nb, ext_accm *outACCM) in pppAppend()
735 struct pbuf *tb = nb; in pppAppend()
766 pppifOutputOverEthernet(int pd, struct pbuf *p) in pppifOutputOverEthernet()
769 struct pbuf *pb; in pppifOutputOverEthernet()
810 pppifOutput(struct netif *netif, struct pbuf *pb, ip_addr_t *ipaddr) in pppifOutput()
817 struct pbuf *headMB = NULL, *tailMB = NULL, *p; in pppifOutput()
[all …]
Dppp_oe.c117 static void pppoe_dispatch_disc_pkt(struct netif *, struct pbuf *);
285 pppoe_dispatch_disc_pkt(struct netif *netif, struct pbuf *pb) in pppoe_dispatch_disc_pkt()
550 pppoe_disc_input(struct netif *netif, struct pbuf *p) in pppoe_disc_input()
561 pppoe_data_input(struct netif *netif, struct pbuf *pb) in pppoe_data_input()
637 pppoe_output(struct pppoe_softc *sc, struct pbuf *pb) in pppoe_output()
670 struct pbuf *pb; in pppoe_send_padi()
891 struct pbuf *pb; in pppoe_send_padr()
949 struct pbuf *pb; in pppoe_send_padt()
979 struct pbuf *pb; in pppoe_send_pado()
1013 struct pbuf *pb; in pppoe_send_pads()
[all …]
Dppp_impl.h324 void pppInProcOverEthernet(int pd, struct pbuf *pb);
326 struct pbuf *pppSingleBuf(struct pbuf *p);
Dvj.c138 vj_compress_tcp(struct vjcompress *comp, struct pbuf *pb) in vj_compress_tcp()
427 vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp) in vj_uncompress_uncomp()
464 vj_uncompress_tcp(struct pbuf **nb, struct vjcompress *comp) in vj_uncompress_tcp()
470 struct pbuf *n0 = *nb; in vj_uncompress_tcp()
596 struct pbuf *np, *q; in vj_uncompress_tcp()
626 struct pbuf *np; in vj_uncompress_tcp()
/lib/liblwip/test/unit/etharp/
Dtest_etharp.c34 default_netif_linkoutput(struct netif *netif, struct pbuf *p) in default_netif_linkoutput()
80 …struct pbuf *p = pbuf_alloc(PBUF_RAW, sizeof(struct eth_hdr) + sizeof(struct etharp_hdr), PBUF_RAM… in create_arp_response()
160 struct pbuf *p = pbuf_alloc(PBUF_TRANSPORT, 10, PBUF_RAM); in START_TEST()
192 struct pbuf *p = pbuf_alloc(PBUF_TRANSPORT, 10, PBUF_RAM); in START_TEST()
/lib/liblwip/src/netif/
Detharp.c111 struct pbuf *q;
415 etharp_send_ip(struct netif *netif, struct pbuf *p, struct eth_addr *src, struct eth_addr *dst) in etharp_send_ip()
494 struct pbuf *p;
505 struct pbuf *p = arp_table[i].q;
639 etharp_ip_input(struct netif *netif, struct pbuf *p)
688 etharp_arp_input(struct netif *netif, struct eth_addr *ethaddr, struct pbuf *p)
842 etharp_output_to_arp_index(struct netif *netif, struct pbuf *q, u8_t arp_idx)
879 etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr)
1016 etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q)
1079 struct pbuf *p;
[all …]
/lib/liblwip/src/core/ipv4/
Dip.c166 ip_canforward(struct pbuf *p) in ip_canforward()
202 ip_forward(struct pbuf *p, struct ip_hdr *iphdr, struct netif *inp) in ip_forward()
305 ip_input(struct pbuf *p, struct netif *inp)
641 ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
655 err_t ip_output_if_opt(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
818 ip_output(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
857 ip_output_hinted(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
887 ip_debug_print(struct pbuf *p)
Digmp.c143 static err_t igmp_ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, struct netif *neti…
389 igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest) in igmp_input()
745 igmp_ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, struct netif *netif) in igmp_ip_output_if()
764 struct pbuf* p = NULL; in igmp_send()
/lib/liblwip/src/api/
Dtcpip.c161 tcpip_input(struct pbuf *p, struct netif *inp) in tcpip_input()
482 struct pbuf *q = (struct pbuf *)p; in pbuf_free_int()
493 pbuf_free_callback(struct pbuf *p) in pbuf_free_callback()
Dapi_lib.c386 msg.msg.msg.r.len = ((struct pbuf *)buf)->tot_len; in netconn_recv_data()
401 len = ((struct pbuf *)buf)->tot_len; in netconn_recv_data()
437 netconn_recv_tcp_pbuf(struct netconn *conn, struct pbuf **new_buf) in netconn_recv_tcp_pbuf()
471 struct pbuf *p = NULL; in netconn_recv()
/lib/liblwip/test/unit/tcp/
Dtest_tcp_oos.c143 struct pbuf *p_8_9, *p_4_8, *p_4_10, *p_2_14, *p_fin, *pinseq; in START_TEST()
283 struct pbuf *p_1_2, *p_4_8, *p_3_11, *p_2_12, *p_15_1, *p_15_1a, *pinseq, *pinseqFIN; in START_TEST()
459 struct pbuf *pinseq, *p_ovr; in START_TEST()
491 struct pbuf *p = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], in START_TEST()
549 struct pbuf *p_ovr; in START_TEST()
580 struct pbuf *p = tcp_create_rx_segment(pcb, &data_full_wnd[k], in START_TEST()
628 struct pbuf *p_ovr; in START_TEST()
659 struct pbuf *p = tcp_create_rx_segment(pcb, &data_full_wnd[i], in START_TEST()
729 struct pbuf *p_normal_fin, *p_data_after_fin, *p, *p_2nd_fin_ooseq; in test_tcp_recv_ooseq_double_FINs()
/lib/liblwip/src/include/ipv4/lwip/
Digmp.h95 void igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest);
/lib/liblwip/
DCHANGELOG63 * ip4.c, etharp.c, pbuf.h: bug #33634 ip_forward() have a faulty behaviour:
64 Added pbuf flags to mark incoming packets as link-layer broadcast/multicast.
117 * ppp.c: fixed pbuf leak when PPP session is aborted through pppSigHUP()
149 * pbuf.c: fixed bug #35291: NULL pointer in pbuf_copy
205 * pbuf.c: fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4
221 * dhcp.c: fixed bug #34406 dhcp_option_hostname() can overflow the pbuf
227 * pbuf.h, tcp.c, tcp_in.c: fixed bug #33871: rejecting TCP_EVENT_RECV() for
268 * pbuf.c: fixed bug #34112 Odd check in pbuf_alloced_custom (typo)
286 * pbuf.c/.h, timers.c: freeing ooseq pbufs when the pbuf pool is empty implemented
327 * ip.c, udp.c/.h, pbuf.h, sockets.c: task #10495: Added support for
[all …]

123