Changeset e79a0ca7 in rtems
- Timestamp:
- 06/28/16 05:50:59 (7 years ago)
- Branches:
- 5, master
- Children:
- 095ecbf
- Parents:
- 4ba4f82
- git-author:
- Sebastian Huber <sebastian.huber@…> (06/28/16 05:50:59)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (06/28/16 11:10:01)
- Location:
- cpukit/libnetworking
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libnetworking/kern/uipc_socket.c
r4ba4f82 re79a0ca7 52 52 */ 53 53 #define SO_PRIVSTATE 0x1009 /* get/deny privileged state */ 54 55 #include <rtems/rtems_bsdnet.h> 54 56 #endif /* __rtems__ */ 55 57 -
cpukit/libnetworking/rtems/rtems_bsdnet.h
r4ba4f82 re79a0ca7 317 317 #define MBUF_MALLOC_MBUF (2) 318 318 319 /* 320 * RTEMS-specific socket wake-up additions previously part of <sys/socket.h>. 321 * 322 * An alternative in the LibBSD network stack for this is KQUEUE(2). 323 */ 324 325 #define SO_SNDWAKEUP 0x1020 /* wakeup when ready to send */ 326 #define SO_RCVWAKEUP 0x1021 /* wakeup when ready to receive */ 327 328 struct socket; 329 330 struct sockwakeup { 331 void (*sw_pfn)(struct socket *, void *); 332 void *sw_arg; 333 }; 334 319 335 #ifdef __cplusplus 320 336 } -
cpukit/libnetworking/sys/socket.h
r4ba4f82 re79a0ca7 103 103 104 104 /* 105 * RTEMS addition: get and set wakeup functions.106 */107 #define SO_SNDWAKEUP 0x1020 /* wakeup when ready to send */108 #define SO_RCVWAKEUP 0x1021 /* wakeup when ready to receive */109 110 /*111 105 * Structure used for manipulating linger option. 112 106 */ … … 114 108 int l_onoff; /* option on/off */ 115 109 int l_linger; /* linger time */ 116 };117 118 /*119 * RTEMS addition: structure used to get and set wakeup function.120 */121 struct socket;122 struct sockwakeup {123 void (*sw_pfn)(struct socket *, void *);124 void *sw_arg;125 110 }; 126 111
Note: See TracChangeset
for help on using the changeset viewer.