Home
last modified time | relevance | path

Searched defs:ifindex (Results 1 – 25 of 109) sorted by relevance

12345

/systemd-251/src/libsystemd/sd-network/
Dsd-network.c109 static int network_link_get_string(int ifindex, const char *field, char **ret) { in network_link_get_string()
132 static int network_link_get_strv(int ifindex, const char *key, char ***ret) { in network_link_get_strv()
164 int sd_network_link_get_setup_state(int ifindex, char **state) { in sd_network_link_get_setup_state()
168 int sd_network_link_get_network_file(int ifindex, char **filename) { in sd_network_link_get_network_file()
172 int sd_network_link_get_operational_state(int ifindex, char **state) { in sd_network_link_get_operational_state()
176 int sd_network_link_get_required_family_for_online(int ifindex, char **state) { in sd_network_link_get_required_family_for_online()
196 int sd_network_link_get_carrier_state(int ifindex, char **state) { in sd_network_link_get_carrier_state()
200 int sd_network_link_get_address_state(int ifindex, char **state) { in sd_network_link_get_address_state()
204 int sd_network_link_get_ipv4_address_state(int ifindex, char **state) { in sd_network_link_get_ipv4_address_state()
208 int sd_network_link_get_ipv6_address_state(int ifindex, char **state) { in sd_network_link_get_ipv6_address_state()
[all …]
/systemd-251/src/resolve/
Dresolved-dns-synthesize.c9 int dns_synthesize_ifindex(int ifindex) { in dns_synthesize_ifindex()
59 static int synthesize_localhost_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **… in synthesize_localhost_rr()
101 static int answer_add_ptr(DnsAnswer **answer, const char *from, const char *to, int ifindex, DnsAns… in answer_add_ptr()
115 static int synthesize_localhost_ptr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer *… in synthesize_localhost_ptr()
210 static int synthesize_system_hostname_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAns… in synthesize_system_hostname_rr()
253 …m_hostname_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **an… in synthesize_system_hostname_ptr()
317 int ifindex, in synthesize_gateway_rr()
358 …ze_gateway_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **an… in synthesize_gateway_ptr()
376 int ifindex, in dns_synthesize_answer()
Dresolved-varlink.c9 int ifindex; member
153 int ifindex, r; in vl_method_resolve_hostname_complete() local
239 int r, ff, parsed_ifindex, ifindex; in parse_as_address() local
389 int ifindex, r; in vl_method_resolve_address_complete() local
/systemd-251/src/shared/
Dsocket-netlink.h24 …rom_string_auto(const char *s, int *family, union in_addr_union *ret, int *ifindex, char **server_… in in_addr_ifindex_name_from_string_auto()
27 …addr_ifindex_from_string_auto(const char *s, int *family, union in_addr_union *ret, int *ifindex) { in in_addr_ifindex_from_string_auto()
35 int ifindex; member
Dwifi-util.c8 int wifi_get_interface(sd_netlink *genl, int ifindex, enum nl80211_iftype *ret_iftype, char **ret_s… in wifi_get_interface()
87 int wifi_get_station(sd_netlink *genl, int ifindex, struct ether_addr *ret_bssid) { in wifi_get_station()
Dlocal-addresses.c63 int ifindex, in local_addresses()
183 int ifindex, in add_local_gateway()
209 int ifindex, in local_gateways()
366 int ifindex, in local_outbounds()
Dsocket-netlink.c103 int family, ifindex; in socket_address_parse() local
256 int family, ifindex = 0, r; in in_addr_port_ifindex_name_from_string_auto() local
396 int ifindex, in in_addr_full_new()
429 int family, ifindex, r; in in_addr_full_new_from_string() local
/systemd-251/src/libsystemd-network/
Darp-util.h25 int ifindex, in arp_send_probe()
32 int ifindex, in arp_send_announcement()
Dtest-acd.c37 static int client_run(int ifindex, const struct in_addr *pa, const struct ether_addr *ha, sd_event … in client_run()
65 int ifindex; in test_acd() local
Dtest-ipv4ll-manual.c45 static int client_run(int ifindex, const char *seed_str, const struct ether_addr *ha, sd_event *e) { in client_run()
79 int ifindex; in test_ll() local
Darp-util.c69 int arp_network_bind_raw_socket(int ifindex, const struct in_addr *a, const struct ether_addr *mac)… in arp_network_bind_raw_socket()
99 int ifindex, in arp_send_packet()
Dicmp6-util.c33 int ifindex = mreq->ipv6mr_interface; in icmp6_bind_router_message() local
85 int icmp6_bind_router_solicitation(int ifindex) { in icmp6_bind_router_solicitation()
98 int icmp6_bind_router_advertisement(int ifindex) { in icmp6_bind_router_advertisement()
Dnetwork-common.c6 int get_ifname(int ifindex, char **ifname) { in get_ifname()
Ddhcp-network.c21 static int _bind_raw_socket(int ifindex, union sockaddr_union *link, in _bind_raw_socket()
115 int ifindex, in dhcp_network_bind_raw_socket()
161 int dhcp_network_bind_udp_socket(int ifindex, be32_t address, uint16_t port, int ip_service_type) { in dhcp_network_bind_udp_socket()
Dfuzz-lldp-rx.c15 int lldp_network_bind_raw_socket(int ifindex) { in lldp_network_bind_raw_socket()
Dlldp-network.c11 int lldp_network_bind_raw_socket(int ifindex) { in lldp_network_bind_raw_socket()
Dfuzz-dhcp-client.c14 int ifindex, in dhcp_network_bind_raw_socket()
33 int dhcp_network_bind_udp_socket(int ifindex, be32_t address, uint16_t port, int ip_service_type) { in dhcp_network_bind_udp_socket()
/systemd-251/src/udev/
Dtest-udev-netlink.c11 static void test_link_info_one(sd_netlink *rtnl, int ifindex) { in test_link_info_one()
147 int ifindex; in TEST() local
Dudev-netlink.c20 int link_info_get(sd_netlink **rtnl, int ifindex, LinkInfo *ret) { in link_info_get()
225 int ifindex, r; in device_cache_sysattr_from_link_info() local
301 int ifindex, r; in device_get_sysattr_value_maybe_from_netlink() local
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-util.c12 int rtnl_set_link_name(sd_netlink **rtnl, int ifindex, const char *name) { in rtnl_set_link_name()
65 int ifindex, in rtnl_set_link_properties()
155 int rtnl_get_link_alternative_names(sd_netlink **rtnl, int ifindex, char ***ret) { in rtnl_get_link_alternative_names()
187 static int rtnl_update_link_alternative_names(sd_netlink **rtnl, uint16_t nlmsg_type, int ifindex, … in rtnl_update_link_alternative_names()
227 int rtnl_set_link_alternative_names(sd_netlink **rtnl, int ifindex, char * const *alternative_names… in rtnl_set_link_alternative_names()
231 int rtnl_delete_link_alternative_names(sd_netlink **rtnl, int ifindex, char * const *alternative_na… in rtnl_delete_link_alternative_names()
281 int r, ifindex; in rtnl_resolve_link_alternative_name() local
366 int ifindex, in rtnl_get_link_info()
Dtest-netlink.c46 static void test_link_configure(sd_netlink *rtnl, int ifindex) { in test_link_configure()
64 static void test_link_get(sd_netlink *rtnl, int ifindex) { in test_link_get()
93 static void test_address_get(sd_netlink *rtnl, int ifindex) { in test_address_get()
180 static void test_event_loop(int ifindex) { in test_event_loop()
210 static void test_async(int ifindex) { in test_async()
243 static void test_slot_set(int ifindex) { in test_slot_set()
324 static void test_async_destroy_callback(int ifindex) { in test_async_destroy_callback()
396 static void test_pipe(int ifindex) { in test_pipe()
490 int family, ifindex; in test_get_addresses() local
/systemd-251/src/test/
Dtest-socket-netlink.c230 static void test_in_addr_ifindex_to_string_one(int f, const char *a, int ifindex, const char *b) { in test_in_addr_ifindex_to_string_one()
259 int family, ifindex; in TEST() local
280 int family, ifindex; in test_in_addr_ifindex_name_from_string_auto_one() local
295 …ddr_port_ifindex_name_from_string_auto_one(const char *str, int family, uint16_t port, int ifindex, in test_in_addr_port_ifindex_name_from_string_auto_one()
/systemd-251/src/basic/
Dformat-util.h69 static inline int format_ifname(int ifindex, char buf[static IF_NAMESIZE]) { in format_ifname()
72 static inline int format_ifname_alloc(int ifindex, char **ret) { in format_ifname_alloc()
76 static inline char *_format_ifname_full(int ifindex, FormatIfnameFlag flag, char buf[static IF_NAME… in _format_ifname_full()
Dformat-util.c9 int format_ifname_full(int ifindex, FormatIfnameFlag flag, char buf[static IF_NAMESIZE]) { in format_ifname_full()
27 int format_ifname_full_alloc(int ifindex, FormatIfnameFlag flag, char **ret) { in format_ifname_full_alloc()
/systemd-251/src/network/
Dnetworkd-wifi.c42 uint32_t ifindex, wlan_iftype; in manager_genl_process_nl80211_config() local
159 uint32_t ifindex; in manager_genl_process_nl80211_mlme() local

12345