Changeset 16b0ac3 in mainline
- Timestamp:
- 2019-10-12T00:22:17Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25525133
- Parents:
- a163d10
- Location:
- uspace/srv/net/udp
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/assoc.c
ra163d10 r16b0ac3 72 72 } 73 73 74 /** Finalize associations. */ 75 void udp_assocs_fini(void) 76 { 77 assert(list_empty(&assoc_list)); 78 79 amap_destroy(amap); 80 amap = NULL; 81 } 82 74 83 /** Create new association structure. 75 84 * … … 174 183 175 184 assert(assoc->deleted == false); 185 assoc->deleted = true; 176 186 udp_assoc_delref(assoc); 177 assoc->deleted = true;178 187 } 179 188 -
uspace/srv/net/udp/assoc.h
ra163d10 r16b0ac3 41 41 42 42 extern errno_t udp_assocs_init(void); 43 extern void udp_assocs_fini(void); 43 44 extern udp_assoc_t *udp_assoc_new(inet_ep2_t *, udp_assoc_cb_t *, void *); 44 45 extern void udp_assoc_delete(udp_assoc_t *); -
uspace/srv/net/udp/meson.build
ra163d10 r16b0ac3 28 28 29 29 deps = [ 'nettl' ] 30 src = files( 30 31 _common_src = files( 31 32 'assoc.c', 32 33 'msg.c', 34 ) 35 36 src = files( 33 37 'pdu.c', 34 38 'service.c', … … 36 40 'udp_inet.c', 37 41 ) 42 43 test_src = files( 44 'test/assoc.c', 45 'test/main.c', 46 ) 47 48 src = [ _common_src, src ] 49 test_src = [ _common_src, test_src ]
Note:
See TracChangeset
for help on using the changeset viewer.