Lines Matching refs:struct
20 @@ -482,6 +482,13 @@ etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct …
21 struct pbuf *p = arp_table[i].q;
25 + struct pbuf *tmp = p->next;
32 ethernet_output(netif, p, (struct eth_addr *)(netif->hwaddr), ethaddr, ETHTYPE_IP);
34 @@ -1027,7 +1034,15 @@ etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q)
40 + struct pbuf *tmp = p;
55 @@ -1034,9 +1034,15 @@ ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_…
77 @@ -1756,7 +1756,9 @@ tcp_seg_free(struct tcp_seg *seg)
87 @@ -1792,10 +1794,14 @@ tcp_seg_copy(struct tcp_seg *seg)
92 + cseg = (struct tcp_seg *)((uint8_t *)seg->p + sizeof(struct pbuf_custom));
94 cseg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG);
99 SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg));
106 @@ -161,6 +161,40 @@ tcp_route(const struct tcp_pcb *pcb, const ip_addr_t *src, const ip_addr_t *ds…
111 +void tcp_init_segment(struct tcp_seg *seg, const struct tcp_pcb *pcb, struct pbuf *p, u8_t hdrflag…
123 + seg->tcphdr = (struct tcp_hdr *)seg->p->payload;
132 +static struct tcp_seg *
133 +tcp_create_segment(const struct tcp_pcb *pcb, struct pbuf *p, u8_t hdrflags, u32_t seqno, u8_t opt…
135 + struct tcp_seg *seg;
137 + seg = (struct tcp_seg *)((uint8_t *)p + sizeof(struct pbuf_custom));
144 static struct tcp_seg *
145 …tcp_create_segment(const struct tcp_pcb *pcb, struct pbuf *p, u8_t hdrflags, u32_t seqno, u8_t opt…
147 @@ -210,6 +244,7 @@ tcp_create_segment(const struct tcp_pcb *pcb, struct pbuf *p, u8_t hdrflags, u32
160 +static struct tcp_seg *tcp_output_over(struct tcp_pcb *pcb, struct tcp_seg *seg, struct tcp_seg *u…
170 + struct tcp_seg **cur_seg = &(pcb->unacked);
189 +static err_t tcp_output_seg(struct tcp_pcb *pcb, struct tcp_seg *seg, struct netif *netif, u32_t s…
216 @@ -1376,16 +1465,88 @@ tcp_output(struct tcp_pcb *pcb)
235 + struct tcp_seg *start_seg = seg;
236 + struct pbuf *first_pbuf = NULL;
237 + struct pbuf *pre_pbuf = NULL;
288 + struct tcp_seg new_seg;
294 + struct tcp_seg *next_seg = start_seg->next;
312 @@ -1462,6 +1623,7 @@ tcp_output(struct tcp_pcb *pcb)
320 @@ -1627,7 +1789,7 @@ tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *ne…
333 @@ -78,7 +78,7 @@ static inline void iph_cksum_set(struct pbuf *p, u16_t len, bool do_ipcksum) {
336 static inline void tcph_cksum_set(struct pbuf *p, u16_t len) {
346 @@ -223,10 +223,14 @@ struct pbuf {