Commit Graph

161 Commits (af02e2ac15631069c7d40ab61182fde2eccd95f3)

Author SHA1 Message Date
Oleg Hahm bdcf8879fd core: merged kernel_macros.h and attributes.h
Merged into new kernel_defines.h and updated all includes.
7 years ago
Oleg Hahm b61b8e9f00 sockets: add documentation about implicite binding 7 years ago
Kaspar Schleiser c3fe4615bd sys: posix: posix_semaphore: adapt to thread.h 7 years ago
Kaspar Schleiser 2b010b5337 core: rename tcb_t -> thread_t, move into thread.h 7 years ago
Martine Lenders 327f7c442c Merge pull request #4816 from kaspar030/rename_genrand
sys: random: rename genrand_* to random_*
7 years ago
Kaspar Schleiser ded39b461e sys: random: rename genrand_* to random_* 7 years ago
Kaspar Schleiser 9082273746 core: header cleanup 7 years ago
Oleg Hahm 94231241ec posix sockets: missing includes for conn 7 years ago
Oleg Hahm 35074a6ad1 posix socket: align size of sa_family_t with Linux
Linux defines `sa_family_t` as `unsigned short int`. In order to be compatible with Linux code, RIOT should define it the same way.
8 years ago
Oleg Hahm c811380440 Merge pull request #4468 from cgundogan/pr/posix_sockets/close_fd_fix
posix_sockets: fix overflowing fd in close()
8 years ago
Cenk Gündoğan 0ddfffc0c2 posix_sockets: fix overflowing fd in close() 8 years ago
Cenk Gündoğan 6f92b056f9 posix_sockets: do not use the address of best_match 8 years ago
Oleg Hahm e8ed9fbe83 Merge pull request #4386 from OlegHahm/posix_sockets_stream_fixes
POSIX sockets: implicit bind for connect()
8 years ago
Oleg Hahm 11add4d8fd sockets: implicit bind for connect()
According to
http://pubs.opengroup.org/onlinepubs/009695399/functions/connect.html
for a "socket [that] has not already been bound to a local address,
connect() shall bind it to an address which, unless the socket's address
family is AF_UNIX, is an unused local address."
8 years ago
Hauke Petersen 41979b64cd sys: adapted to renamed THREAD FLAGS 8 years ago
Oleg Hahm b366e59c87 conn: add function to find the best source address
...and use it in POSIX sendto() function.
8 years ago
Cenk Gündoğan 315ae0eeb4 Merge pull request #4326 from OlegHahm/posix_sockets_dgram_fixes
posix sockets: recvfrom on connectionless transports
8 years ago
Oleg Hahm 860321c3e9 posix sockets: use network byteorder for port 8 years ago
Oleg Hahm 5f663826c7 posix sockets: remove pointless inline function 8 years ago
Oleg Hahm c366f2bbcd sockets: perform implicit bind during sendto()
A client should not require to explicitly call bind() to receive packets, but is expected to receive replies sent to the ephemeral port that was selected as a source port by the UDP implementation.
8 years ago
Oleg Hahm 0153933241 posix sockets: store src_port in socket struct 8 years ago
René Kijewski ab3345ac5a Merge pull request #4321 from kaspar030/cleanup_posix
sys: cleanup posix compat code
8 years ago
Oleg Hahm 56903f3385 Merge pull request #4325 from OlegHahm/posix_socket_recvfrom_init
posix sockets: initialize sockaddr properly to 0
8 years ago
Oleg Hahm 7efc8fd265 posix sockets: initialize sockaddr properly to 0 8 years ago
Martine Lenders 21ea7cc4ae posix_semaphore: port to xtimer 8 years ago
Kaspar Schleiser 8a61ef4c75 sys: posix: switch to xtimer for sleep/usleep 8 years ago
Kaspar Schleiser 41ece232fa sys: remove obsolete posix_io code 8 years ago
Martine Lenders 45b30a8e91 posix_semaphore: make API POSIX compliant 8 years ago
Martine Lenders 5cef6bcc0a sema: apply rename to function and type names 8 years ago
Martine Lenders ee4f79482a sem: rename to sema
To prevent name colisions with POSIX semaphores
8 years ago
Oleg Hahm a0dcbc6a3c posix: sockets: use correct datatypes for in6_addr
in6addr_any and in6addr_loopback are of type in6_addr
8 years ago
Martine Lenders cffdb1c8e2 timex: introduce USEC_IN_NS constant 8 years ago
Martine Lenders de421cdf78 posix: use sem module for semaphore implementation 8 years ago
Kaspar Schleiser effb15a2cc Merge pull request #3313 from gebart/pr/eINT-fixes
eINT/dINT fixes
8 years ago
Oleg Hahm 6f720306c9 doc: pnet should be part of POSIX sockets 8 years ago
Martine Lenders 624530c7d0 posix: redo socket API to use conn 8 years ago
Joakim Nohlgård 98c465008b all: Update @gebart family name, email 8 years ago
Joakim Gebart 0cfe6d15dc sys/posix/pthread: Replace dINT by disableIRQ 8 years ago
Martine Lenders 08a3f0baf5 posix: net_help: move inet_pton/inet_ntop completely to POSIX 8 years ago
Martine Lenders 1486967a4b posix: remove strcasecmp functions and macros 8 years ago
Kaspar Schleiser 6f21fd806c sys: posix: pthread_cond: remove unnecessary define 8 years ago
Martine Lenders a4905b72d4 posix: consolidate include paths 8 years ago
Kaspar Schleiser a13bc46f3e sys: remove uart0 8 years ago
Martine Lenders ac0e2f4371 net: remove redefinitions and their dependencies throughout the stack 8 years ago
Martine Lenders 58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 8 years ago
Martine Lenders 203561e741 ipv6_addr: remove ng_ prefix 8 years ago
Kaspar Schleiser 8f51256be8 sys: net: pnet: turn into dummy implementation based on gnrc 8 years ago
Kaspar Schleiser c926e2c38a sys: posix_io: bail out on invalid target thread 8 years ago
Joakim Gebart ab9d924c67 sys/posix/pthread: use atomic_int_t for pthread_spinlock_t 8 years ago
Hauke Petersen 9943f51080 global: renamed cpu-conf.h into cpu_conf.h 8 years ago