Changes in uspace/srv/net/tcp/pdu.c [b7fd2a0:4a0bc99] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/pdu.c
rb7fd2a0 r4a0bc99 191 191 } 192 192 193 static errno_t tcp_header_encode(inet_ep2_t *epp, tcp_segment_t *seg,193 static int tcp_header_encode(inet_ep2_t *epp, tcp_segment_t *seg, 194 194 void **header, size_t *size) 195 195 { … … 295 295 296 296 /** Decode incoming PDU */ 297 errno_t tcp_pdu_decode(tcp_pdu_t *pdu, inet_ep2_t *epp, tcp_segment_t **seg)297 int tcp_pdu_decode(tcp_pdu_t *pdu, inet_ep2_t *epp, tcp_segment_t **seg) 298 298 { 299 299 tcp_segment_t *nseg; … … 319 319 320 320 /** Encode outgoing PDU */ 321 errno_t tcp_pdu_encode(inet_ep2_t *epp, tcp_segment_t *seg, tcp_pdu_t **pdu)321 int tcp_pdu_encode(inet_ep2_t *epp, tcp_segment_t *seg, tcp_pdu_t **pdu) 322 322 { 323 323 tcp_pdu_t *npdu; 324 324 size_t text_size; 325 325 uint16_t checksum; 326 errno_t rc;326 int rc; 327 327 328 328 npdu = tcp_pdu_new();
Note:
See TracChangeset
for help on using the changeset viewer.