|
|
| 681 |
* \brief Manually set the socket priority |
681 |
* \brief Manually set the socket priority |
| 682 |
* |
682 |
* |
| 683 |
* This method corresponds to using setsockopt () SO_PRIORITY of |
683 |
* This method corresponds to using setsockopt () SO_PRIORITY of |
| 684 |
* real network or BSD sockets. |
684 |
* real network or BSD sockets. On Linux, the socket priority can be |
|
|
685 |
* set to a value in the range [0..6], unless the user process has the |
| 686 |
* CAP_NET_ADMIN capability (see the man page for socket). ns-3 allows |
| 687 |
* users to set the socket priority to any 8-bit non-negative value, |
| 688 |
* which is equivalent to assuming that the CAP_NET_ADMIN capability is set. |
| 685 |
* |
689 |
* |
| 686 |
* \param priority The socket priority (in the range 0..6) |
690 |
* \param priority The socket priority |
| 687 |
*/ |
691 |
*/ |
| 688 |
void SetPriority (uint8_t priority); |
692 |
void SetPriority (uint8_t priority); |
| 689 |
|
693 |
|
| 690 |
- |
|
|