Home
last modified time | relevance | path

Searched refs:seg (Results 1 – 5 of 5) sorted by relevance

/lib/liblwip/src/core/
Dtcp_out.c63 #define TCP_DATA_COPY(dst, src, len, seg) do { \ argument
65 len, &seg->chksum, &seg->chksum_swapped); \
66 seg->flags |= TF_SEG_DATA_CHECKSUMMED; } while(0)
70 #define TCP_DATA_COPY(dst, src, len, seg) MEMCPY(dst, src, len) argument
81 static void tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb);
161 struct tcp_seg *seg; in tcp_create_segment() local
164 if ((seg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG)) == NULL) { in tcp_create_segment()
169 seg->flags = optflags; in tcp_create_segment()
170 seg->next = NULL; in tcp_create_segment()
171 seg->p = p; in tcp_create_segment()
[all …]
Dtcp.c1128 tcp_segs_free(struct tcp_seg *seg) in tcp_segs_free() argument
1130 while (seg != NULL) { in tcp_segs_free()
1131 struct tcp_seg *next = seg->next; in tcp_segs_free()
1132 tcp_seg_free(seg); in tcp_segs_free()
1133 seg = next; in tcp_segs_free()
1143 tcp_seg_free(struct tcp_seg *seg) in tcp_seg_free() argument
1145 if (seg != NULL) { in tcp_seg_free()
1146 if (seg->p != NULL) { in tcp_seg_free()
1147 pbuf_free(seg->p); in tcp_seg_free()
1149 seg->p = NULL; in tcp_seg_free()
[all …]
/lib/liblwip/test/unit/tcp/
Dtest_tcp_oos.c31 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_count() local
32 while(seg != NULL) { in tcp_oos_count()
34 seg = seg->next; in tcp_oos_count()
43 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_pbuf_count() local
44 while(seg != NULL) { in tcp_oos_pbuf_count()
45 num += pbuf_clen(seg->p); in tcp_oos_pbuf_count()
46 seg = seg->next; in tcp_oos_pbuf_count()
61 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_seg_seqno() local
64 while(seg != NULL) { in tcp_oos_seg_seqno()
66 return seg->tcphdr->seqno; in tcp_oos_seg_seqno()
[all …]
/sys/amd64/
Ddisasm.c993 int size, const char *seg);
994 static void db_print_address(const char *seg, int size, int rex,
1067 db_print_address(const char *seg, int size, int rex, struct i_addr *addrp) in db_print_address() argument
1074 if (seg) { in db_print_address()
1075 kprintf("%s:", seg); in db_print_address()
1095 db_disasm_esc(uintptr_t loc, int inst, int rex, int short_addr, int size, const char *seg) in db_disasm_esc() argument
1139 db_print_address(seg, BYTE, rex, &address); in db_disasm_esc()
1191 const char * seg; in db_disasm() local
1211 seg = 0; in db_disasm()
1227 seg = "%es"; in db_disasm()
[all …]
/lib/liblwip/src/include/lwip/
Dtcp_impl.h184 #define TCP_TCPLEN(seg) ((seg)->len + ((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0)) argument
419 void tcp_segs_free(struct tcp_seg *seg);
420 void tcp_seg_free(struct tcp_seg *seg);
421 struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg);
442 void tcp_rexmit_seg(struct tcp_pcb *pcb, struct tcp_seg *seg);