/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-message-rtnl.c | 25 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_dst_prefixlen() 43 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_src_prefixlen() 61 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_scope() 75 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_flags() 89 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_flags() 104 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_table() 118 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_family() 133 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_type() 148 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_type() 162 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_protocol() [all …]
|
D | netlink-genl.c | 386 uint16_t nlmsg_type; in sd_genl_message_get_family_name() local 394 r = sd_netlink_message_get_type(m, &nlmsg_type); in sd_genl_message_get_family_name() 398 r = genl_family_get_by_id(nl, nlmsg_type, &family); in sd_genl_message_get_family_name() 408 uint16_t nlmsg_type; in sd_genl_message_get_command() local 419 r = sd_netlink_message_get_type(m, &nlmsg_type); in sd_genl_message_get_command() 423 r = genl_get_type_system_and_header_size(nl, nlmsg_type, NULL, &size); in sd_genl_message_get_command()
|
D | netlink-types.h | 38 const NLType *rtnl_get_type(uint16_t nlmsg_type); 39 const NLType *nfnl_get_type(uint16_t nlmsg_type);
|
D | netlink-socket.c | 334 if (new_msg->nlmsg_type == NLMSG_NOOP) in socket_read_message() 338 if (new_msg->nlmsg_type == NLMSG_DONE) { in socket_read_message() 348 … r = type_system_root_get_type_system_and_header_size(nl, new_msg->nlmsg_type, NULL, &size); in socket_read_message() 352 new_msg->nlmsg_type); in socket_read_message()
|
D | netlink-types-nfnl.c | 189 const NLType *nfnl_get_type(uint16_t nlmsg_type) { in nfnl_get_type() argument 192 subsys = type_system_get_type_system(&nfnl_type_system, nlmsg_type >> 8); in nfnl_get_type() 196 return type_system_get_type(subsys, nlmsg_type & ((1U << 8) - 1)); in nfnl_get_type()
|
D | netlink-message.c | 48 uint16_t nlmsg_type, in message_new_full() argument 76 m->hdr->nlmsg_type = nlmsg_type; in message_new_full() 120 IN_SET(m->hdr->nlmsg_type, in sd_netlink_message_request_dump() 153 *type = m->hdr->nlmsg_type; in sd_netlink_message_get_type() 1327 return m->hdr->nlmsg_type == NLMSG_ERROR; in sd_netlink_message_is_error() 1386 r = type_system_root_get_type_system_and_header_size(nl, m->hdr->nlmsg_type, in sd_netlink_message_rewind()
|
D | netlink-util.c | 187 static int rtnl_update_link_alternative_names(sd_netlink **rtnl, uint16_t nlmsg_type, int ifindex, … in rtnl_update_link_alternative_names() argument 193 assert(IN_SET(nlmsg_type, RTM_NEWLINKPROP, RTM_DELLINKPROP)); in rtnl_update_link_alternative_names() 204 r = sd_rtnl_message_new_link(*rtnl, &message, nlmsg_type, ifindex); in rtnl_update_link_alternative_names()
|
D | netlink-internal.h | 135 uint16_t nlmsg_type,
|
D | netlink-types-rtnl.c | 1230 const NLType *rtnl_get_type(uint16_t nlmsg_type) { in rtnl_get_type() argument 1231 return type_system_get_type(&rtnl_type_system, nlmsg_type); in rtnl_get_type()
|
/systemd-251/src/systemd/ |
D | sd-netlink.h | 156 int sd_rtnl_message_new_route(sd_netlink *nl, sd_netlink_message **ret, uint16_t nlmsg_type, int rt… 173 int sd_rtnl_message_new_nexthop(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, in… 179 int sd_rtnl_message_new_neigh(sd_netlink *nl, sd_netlink_message **ret, uint16_t nlmsg_type, int in… 187 int sd_rtnl_message_new_addrlabel(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, … 191 …uting_policy_rule(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, int ifal_family… 205 …d_rtnl_message_new_traffic_control(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, 211 int sd_rtnl_message_new_mdb(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, int md…
|
/systemd-251/src/journal/ |
D | journald-audit.c | 450 if (IN_SET(nl->nlmsg_type, NLMSG_NOOP, NLMSG_ERROR)) in server_process_audit_message() 454 if (nl->nlmsg_type < AUDIT_FIRST_USER_MSG && nl->nlmsg_type != AUDIT_USER) in server_process_audit_message() 457 …process_audit_string(s, nl->nlmsg_type, NLMSG_DATA(nl), nl->nlmsg_len - ALIGN(sizeof(struct nlmsgh… in server_process_audit_message() 469 .header.nlmsg_type = AUDIT_SET, in enable_audit()
|
/systemd-251/src/udev/ |
D | test-udev-netlink.c | 146 uint16_t nlmsg_type; in TEST() local 149 assert_se(sd_netlink_message_get_type(reply_one, &nlmsg_type) >= 0); in TEST() 150 assert_se(nlmsg_type == RTM_NEWLINK); in TEST()
|
D | udev-netlink.c | 23 uint16_t nlmsg_type, max_attr; in link_info_get() local 46 r = sd_netlink_message_get_type(reply, &nlmsg_type); in link_info_get() 49 if (nlmsg_type != RTM_NEWLINK) in link_info_get()
|
/systemd-251/src/basic/linux/ |
D | netlink.h | 46 __u16 nlmsg_type; /* Message content */ member
|
/systemd-251/src/network/ |
D | networkd-manager.c | 261 …BPF_STMT(BPF_LD + BPF_H + BPF_ABS, offsetof(struct nlmsghdr, nlmsg_type)), /* A <- message type */ in manager_setup_rtnl_filter()
|