/systemd/src/libsystemd-network/ |
H A D | dhcp6-network.c | 35 int dhcp6_network_bind_udp_socket(int index, struct in6_addr *local_address) { argument 39 .in6.sin6_scope_id = index, 44 assert(index > 0);
|
H A D | icmp6-util.c | 43 int icmp6_bind_router_solicitation(int index) { argument 47 .ipv6mr_interface = index, 66 r = setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_IF, &index, sizeof(index));
|
H A D | test-ipv4ll.c | 94 int arp_network_bind_raw_socket(int index, be32_t address, const struct ether_addr *eth_mac) { argument
|
H A D | test-ndisc-rs.c | 45 int icmp6_bind_router_solicitation(int index) { argument 46 assert_se(index == 42);
|
H A D | test-dhcp-client.c | 194 int index, 193 dhcp_network_bind_raw_socket( int index, union sockaddr_union *link, uint32_t id, const uint8_t *addr, size_t addr_len, uint16_t arp_type) argument
|
H A D | test-dhcp6-client.c | 692 int dhcp6_network_bind_udp_socket(int index, struct in6_addr *local_address) { argument 693 assert_se(index == test_index);
|
H A D | sd-dhcp6-client.c | 47 int index; member in struct:sd_dhcp6_client 128 client->index = interface_index; 665 r = dhcp_identifier_set_iaid(client->index, client->mac_addr, client->mac_addr_len, &client->ia_na.id); 1016 assert_return(client->index > 0, -EINVAL); 1154 assert_return(client->index > 0, -EINVAL); 1172 r = dhcp6_network_bind_udp_socket(client->index, &client->local_address); 1288 client->index = -1;
|
H A D | sd-ipv4acd.c | 83 int index; member in struct:sd_ipv4acd 133 ll->index = -1; 264 r = arp_send_probe(ll->fd, ll->index, ll->address, &ll->mac_addr); 301 r = arp_send_announcement(ll->fd, ll->index, ll->address, &ll->mac_addr); 373 r = arp_send_announcement(ll->fd, ll->index, ll->address, &ll->mac_addr); 408 ll->index = interface_index; 490 assert_return(ll->index > 0, -EINVAL); 497 r = arp_network_bind_raw_socket(ll->index, ll->address, &ll->mac_addr);
|
H A D | sd-ndisc.c | 78 int index; member in struct:sd_ndisc 152 nd->index = interface_index; 257 nd->index = -1; 677 if (nd->index < 1) 680 r = icmp6_bind_router_solicitation(nd->index);
|
H A D | sd-dhcp-client.c | 56 int index; member in struct:sd_dhcp_client 194 client->index = interface_index; 478 r = dhcp_identifier_set_iaid(client->index, client->mac_addr, client->mac_addr_len, &client->client_id.ns.iaid); 1003 assert_return(client->index > 0, -EINVAL); 1011 r = dhcp_network_bind_raw_socket(client->index, &client->link, 1060 r = dhcp_network_bind_raw_socket(client->index, &client->link, 1683 log_dhcp_client(client, "STARTED on ifindex %i", client->index); 1785 client->index = -1;
|
/systemd/src/boot/efi/ |
H A D | console.c | 83 UINTN index; local 98 uefi_call_wrapper(BS->WaitForEvent, 3, 1, &TextInputEx->WaitForKeyEx, &index); 100 uefi_call_wrapper(BS->WaitForEvent, 3, 1, &ST->ConIn->WaitForKey, &index);
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | rtnl-message.c | 315 int sd_rtnl_message_neigh_get_ifindex(sd_netlink_message *m, int *index) { argument 321 assert_return(index, -EINVAL); 325 *index = ndm->ndm_ifindex; 330 int sd_rtnl_message_new_neigh(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, int index, int ndm_family) { argument 350 ndm->ndm_ifindex = index; 400 uint16_t nlmsg_type, int index) { 405 assert_return(nlmsg_type != RTM_DELLINK || index > 0, -EINVAL); 418 ifi->ifi_index = index; 545 uint16_t nlmsg_type, int index, 551 assert_return((nlmsg_type == RTM_GETADDR && index 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 576 sd_rtnl_message_new_addr_update(sd_netlink *rtnl, sd_netlink_message **ret, int index, int family) argument [all...] |
H A D | test-netlink.c | 148 uint32_t index = 2, u32_data; local 165 r = sd_netlink_message_append_u32(req, RTA_OIF, index); 177 assert_se(u32_data == index);
|
/systemd/src/basic/ |
H A D | json.c | 177 JsonVariant *json_variant_element(JsonVariant *variant, unsigned index) { argument 180 assert(index < variant->size); 183 return &variant->objects[index];
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-message.h | 38 unsigned index, saved_index; member in struct:bus_container
|
H A D | bus-message.c | 121 m->root_container.index = 0; 1481 if (c->signature && c->signature[c->index]) { 1484 if (c->signature[c->index] != type) 1649 c->index++; 1674 if (c->signature && c->signature[c->index]) { 1677 if (c->signature[c->index] != SD_BUS_TYPE_STRING) 1711 c->index++; 1771 if (c->signature && c->signature[c->index]) { 1775 if (c->signature[c->index] != SD_BUS_TYPE_ARRAY) 1778 if (!startswith(c->signature + c->index 3133 message_end_of_array(sd_bus_message *m, size_t index) argument 3166 find_part(sd_bus_message *m, size_t index, size_t sz, void **p) argument [all...] |