Searched refs:SOL_NETLINK (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-socket.c | 38 if (getsockopt(nl->fd, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, NULL, &len) < 0) { in broadcast_groups_get() 55 if (getsockopt(nl->fd, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, groups, &len) < 0) in broadcast_groups_get() 78 r = setsockopt_int(nl->fd, SOL_NETLINK, NETLINK_PKTINFO, true); in socket_bind() 118 return setsockopt_int(nl->fd, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, group); in broadcast_group_join() 151 return setsockopt_int(nl->fd, SOL_NETLINK, NETLINK_DROP_MEMBERSHIP, group); in broadcast_group_leave() 263 pi = CMSG_FIND_DATA(&msg, SOL_NETLINK, NETLINK_PKTINFO, struct nl_pktinfo); in socket_recv_message()
|
D | sd-netlink.c | 114 r = setsockopt_int(fd, SOL_NETLINK, NETLINK_EXT_ACK, true); in sd_netlink_open_fd() 118 r = setsockopt_int(fd, SOL_NETLINK, NETLINK_GET_STRICT_CHK, true); in sd_netlink_open_fd()
|
/systemd-251/src/basic/ |
D | missing_socket.h | 39 #ifndef SOL_NETLINK 40 #define SOL_NETLINK 270 macro
|
D | socket-util.c | 1343 return setsockopt_int(fd, SOL_NETLINK, NETLINK_PKTINFO, b); in socket_set_recvpktinfo()
|