Home
last modified time | relevance | path

Searched refs:SOL_NETLINK (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-socket.c38 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()
Dsd-netlink.c114 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/
Dmissing_socket.h39 #ifndef SOL_NETLINK
40 #define SOL_NETLINK 270 macro
Dsocket-util.c1343 return setsockopt_int(fd, SOL_NETLINK, NETLINK_PKTINFO, b); in socket_set_recvpktinfo()