diff options
author | chris <chris@debian11> | 2023-01-01 14:59:20 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-01-12 05:26:47 +0100 |
commit | ea577968540db7eb4d9b9922506dc0cad0426ec7 (patch) | |
tree | 7f310d456f64da0d729b0bb34176067827b6d40d /src/libsystemd-network/test-dhcp-client.c | |
parent | Merge pull request #26023 from keszybz/man-page-updates (diff) | |
download | systemd-ea577968540db7eb4d9b9922506dc0cad0426ec7.tar.xz systemd-ea577968540db7eb4d9b9922506dc0cad0426ec7.zip |
optionally set socket priority on DHCPv4 raw socket
Diffstat (limited to 'src/libsystemd-network/test-dhcp-client.c')
-rw-r--r-- | src/libsystemd-network/test-dhcp-client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-dhcp-client.c b/src/libsystemd-network/test-dhcp-client.c index 92b9b5b9bc..863649f6df 100644 --- a/src/libsystemd-network/test-dhcp-client.c +++ b/src/libsystemd-network/test-dhcp-client.c @@ -235,7 +235,10 @@ int dhcp_network_bind_raw_socket( uint32_t id, const struct hw_addr_data *_hw_addr, const struct hw_addr_data *_bcast_addr, - uint16_t arp_type, uint16_t port) { + uint16_t arp_type, + uint16_t port, + bool so_priority_set, + int so_priority) { if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0, test_fd) < 0) return -errno; |