Home
last modified time | relevance | path

Searched refs:sd_netlink_message_read_u32 (Results 1 – 16 of 16) sorted by relevance

/systemd-251/src/libsystemd/sd-netlink/
Dtest-netlink.c41 assert_se(sd_netlink_message_read_u32(message, IFLA_BRPORT_COST, &cost) >= 0); in test_message_link_bridge()
61 assert_se(sd_netlink_message_read_u32(reply, IFLA_MTU, &mtu_out) >= 0); in test_link_configure()
84 assert_se(sd_netlink_message_read_u32(r, IFLA_MTU, &u32_data) == 0); in test_link_get()
85 assert_se(sd_netlink_message_read_u32(r, IFLA_GROUP, &u32_data) == 0); in test_link_get()
86 assert_se(sd_netlink_message_read_u32(r, IFLA_TXQLEN, &u32_data) == 0); in test_link_get()
87 assert_se(sd_netlink_message_read_u32(r, IFLA_NUM_TX_QUEUES, &u32_data) == 0); in test_link_get()
88 assert_se(sd_netlink_message_read_u32(r, IFLA_NUM_RX_QUEUES, &u32_data) == 0); in test_link_get()
145 assert_se(sd_netlink_message_read_u32(req, RTA_OIF, &u32_data) >= 0); in test_route()
454 assert_se(sd_netlink_message_read_u32(m, IFLA_LINKINFO, &u32_data) < 0); in test_container()
548 assert_se(sd_netlink_message_read_u32(m, CTRL_ATTR_MCAST_GRP_ID, &id) >= 0); in test_array()
Dnetlink-genl.c143 r = sd_netlink_message_read_u32(message, CTRL_ATTR_VERSION, &f->version); in genl_family_new()
147 r = sd_netlink_message_read_u32(message, CTRL_ATTR_HDRSIZE, &f->additional_header_size); in genl_family_new()
163 r = sd_netlink_message_read_u32(message, CTRL_ATTR_MCAST_GRP_ID, &group_id); in genl_family_new()
Dnetlink-message.c906 int sd_netlink_message_read_u32(sd_netlink_message *m, unsigned short type, uint32_t *data) { in sd_netlink_message_read_u32() function
/systemd-251/src/network/
Dnetworkctl.c398 (void) sd_netlink_message_read_u32(m, IFLA_BR_FORWARD_DELAY, &info->forward_delay); in decode_netdev()
399 (void) sd_netlink_message_read_u32(m, IFLA_BR_HELLO_TIME, &info->hello_time); in decode_netdev()
400 (void) sd_netlink_message_read_u32(m, IFLA_BR_MAX_AGE, &info->max_age); in decode_netdev()
401 (void) sd_netlink_message_read_u32(m, IFLA_BR_AGEING_TIME, &info->ageing_time); in decode_netdev()
402 (void) sd_netlink_message_read_u32(m, IFLA_BR_STP_STATE, &info->stp_state); in decode_netdev()
403 (void) sd_netlink_message_read_u32(m, IFLA_BRPORT_COST, &info->cost); in decode_netdev()
409 (void) sd_netlink_message_read_u32(m, IFLA_BOND_MIIMON, &info->miimon); in decode_netdev()
410 (void) sd_netlink_message_read_u32(m, IFLA_BOND_DOWNDELAY, &info->downdelay); in decode_netdev()
411 (void) sd_netlink_message_read_u32(m, IFLA_BOND_UPDELAY, &info->updelay); in decode_netdev()
413 (void) sd_netlink_message_read_u32(m, IFLA_VXLAN_ID, &info->vxlan_info.vni); in decode_netdev()
[all …]
Dnetworkd-wifi.c84 r = sd_netlink_message_read_u32(message, NL80211_ATTR_IFINDEX, &ifindex); in manager_genl_process_nl80211_config()
111 r = sd_netlink_message_read_u32(message, NL80211_ATTR_IFTYPE, &wlan_iftype); in manager_genl_process_nl80211_config()
192 r = sd_netlink_message_read_u32(message, NL80211_ATTR_IFINDEX, &ifindex); in manager_genl_process_nl80211_mlme()
Dnetworkd-routing-policy-rule.c953 r = sd_netlink_message_read_u32(message, FRA_FWMARK, &tmp->fwmark); in manager_rtnl_process_rule()
959 r = sd_netlink_message_read_u32(message, FRA_FWMASK, &tmp->fwmask); in manager_rtnl_process_rule()
965 r = sd_netlink_message_read_u32(message, FRA_PRIORITY, &tmp->priority); in manager_rtnl_process_rule()
974 r = sd_netlink_message_read_u32(message, FRA_TABLE, &tmp->table); in manager_rtnl_process_rule()
1046 r = sd_netlink_message_read_u32(message, FRA_SUPPRESS_PREFIXLEN, &suppress_prefixlen); in manager_rtnl_process_rule()
1055 r = sd_netlink_message_read_u32(message, FRA_SUPPRESS_IFGROUP, &suppress_ifgroup); in manager_rtnl_process_rule()
Dnetworkd-wiphy.c158 r = sd_netlink_message_read_u32(message, NL80211_ATTR_WIPHY, &index); in manager_genl_process_nl80211_wiphy()
Dnetworkd-route.c1668 r = sd_netlink_message_read_u32(message, RTA_OIF, &ifindex); in manager_rtnl_process_route()
1780 r = sd_netlink_message_read_u32(message, RTA_TABLE, &tmp->table); in manager_rtnl_process_route()
1793 r = sd_netlink_message_read_u32(message, RTA_PRIORITY, &tmp->priority); in manager_rtnl_process_route()
1799 r = sd_netlink_message_read_u32(message, RTA_NH_ID, &tmp->nexthop_id); in manager_rtnl_process_route()
1811 r = sd_netlink_message_read_u32(message, RTAX_INITCWND, &tmp->initcwnd); in manager_rtnl_process_route()
1817 r = sd_netlink_message_read_u32(message, RTAX_INITRWND, &tmp->initrwnd); in manager_rtnl_process_route()
1823 r = sd_netlink_message_read_u32(message, RTAX_ADVMSS, &tmp->advmss); in manager_rtnl_process_route()
Dnetworkd-link.c2025 r = sd_netlink_message_read_u32(message, IFLA_MASTER, (uint32_t*) &master_ifindex); in link_update_master()
2083 r = sd_netlink_message_read_u32(message, IFLA_LINK, &dsa_master_ifindex); in link_update_driver()
2222 r = sd_netlink_message_read_u32(message, IFLA_MTU, &mtu); in link_update_mtu()
2230 r = sd_netlink_message_read_u32(message, IFLA_MIN_MTU, &min_mtu); in link_update_mtu()
2234 r = sd_netlink_message_read_u32(message, IFLA_MAX_MTU, &max_mtu); in link_update_mtu()
Dnetworkd-nexthop.c840 r = sd_netlink_message_read_u32(message, NHA_OIF, &ifindex); in manager_rtnl_process_nexthop()
942 r = sd_netlink_message_read_u32(message, NHA_ID, &tmp->id); in manager_rtnl_process_nexthop()
Dnetworkd-address.c1370 r = sd_netlink_message_read_u32(message, IFA_FLAGS, &tmp->flags); in manager_rtnl_process_address()
/systemd-251/src/udev/
Dudev-netlink.c74 r = sd_netlink_message_read_u32(reply, IFLA_MTU, &info.mtu); in link_info_get()
78 r = sd_netlink_message_read_u32(reply, IFLA_LINK, &info.iflink); in link_info_get()
92 r = sd_netlink_message_read_u32(reply, IFLA_GROUP, &info.group); in link_info_get()
/systemd-251/src/shared/
Dlocal-addresses.c287 r = sd_netlink_message_read_u32(m, RTA_PRIORITY, &metric); in local_gateways()
297 r = sd_netlink_message_read_u32(m, RTA_OIF, &ifi); in local_gateways()
Dwifi-util.c54 r = sd_netlink_message_read_u32(reply, NL80211_ATTR_IFTYPE, &iftype); in wifi_get_interface()
/systemd-251/src/systemd/
Dsd-netlink.h106 int sd_netlink_message_read_u32(sd_netlink_message *m, unsigned short type, uint32_t *data);
/systemd-251/src/resolve/
Dresolved-link.c237 (void) sd_netlink_message_read_u32(m, IFLA_MTU, &l->mtu); in link_process_rtnl()