Searched refs:nlmsg_type (Results 1 - 5 of 5) sorted by relevance

/systemd/src/libsystemd/sd-netlink/
H A Drtnl-message.c40 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
58 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
76 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
90 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
104 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
119 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
134 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
149 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
164 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL);
179 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type),
219 sd_rtnl_message_new_route(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, int rtm_family, unsigned char rtm_protocol) argument
330 sd_rtnl_message_new_neigh(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, int index, int ndm_family) argument
399 sd_rtnl_message_new_link(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, int index) argument
544 sd_rtnl_message_new_addr(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, int index, int family) argument
[all...]
H A Dnetlink-socket.c384 if (new_msg->nlmsg_type == NLMSG_NOOP)
388 if (new_msg->nlmsg_type == NLMSG_DONE) {
398 r = type_system_get_type(&type_system_root, &nl_type, new_msg->nlmsg_type);
402 new_msg->nlmsg_type);
H A Dnetlink-message.c93 m->hdr->nlmsg_type = type;
104 assert_return(m->hdr->nlmsg_type == RTM_GETLINK ||
105 m->hdr->nlmsg_type == RTM_GETADDR ||
106 m->hdr->nlmsg_type == RTM_GETROUTE ||
107 m->hdr->nlmsg_type == RTM_GETNEIGH,
146 *type = m->hdr->nlmsg_type;
886 return m->hdr->nlmsg_type == NLMSG_ERROR;
927 r = type_system_get_type(&type_system_root, &nl_type, m->hdr->nlmsg_type);
/systemd/src/journal/
H A Djournald-audit.c463 if (IN_SET(nl->nlmsg_type, NLMSG_NOOP, NLMSG_ERROR))
467 if (nl->nlmsg_type < AUDIT_FIRST_USER_MSG)
470 process_audit_string(s, nl->nlmsg_type, NLMSG_DATA(nl), nl->nlmsg_len - ALIGN(sizeof(struct nlmsghdr)));
482 .header.nlmsg_type = AUDIT_SET,
/systemd/src/systemd/
H A Dsd-netlink.h115 int sd_rtnl_message_new_route(sd_netlink *nl, sd_netlink_message **ret, uint16_t nlmsg_type, int rtm_family, unsigned char rtm_protocol);

Completed in 18 milliseconds