Searched refs:ll (Results 1 - 22 of 22) sorted by relevance

/systemd/src/libsystemd-network/
H A Dsd-ipv4acd.c54 #define log_ipv4acd_full(ll, level, error, fmt, ...) log_internal(level, error, __FILE__, __LINE__, __func__, "ACD: " fmt, ##__VA_ARGS__)
56 #define log_ipv4acd_debug(ll, ...) log_ipv4acd_full(ll, LOG_DEBUG, 0, ##__VA_ARGS__)
57 #define log_ipv4acd_info(ll, ...) log_ipv4acd_full(ll, LOG_INFO, 0, ##__VA_ARGS__)
58 #define log_ipv4acd_notice(ll, ...) log_ipv4acd_full(ll, LOG_NOTICE, 0, ##__VA_ARGS__)
59 #define log_ipv4acd_warning(ll, ...) log_ipv4acd_full(ll, LOG_WARNING, 0, ##__VA_ARGS__)
60 #define log_ipv4acd_error(ll,
99 sd_ipv4acd_ref(sd_ipv4acd *ll) argument
106 sd_ipv4acd_unref(sd_ipv4acd *ll) argument
142 ipv4acd_set_state(sd_ipv4acd *ll, IPv4ACDState st, bool reset_counter) argument
155 ipv4acd_client_notify(sd_ipv4acd *ll, int event) argument
162 ipv4acd_stop(sd_ipv4acd *ll) argument
175 sd_ipv4acd_stop(sd_ipv4acd *ll) argument
187 ipv4acd_set_next_wakeup(sd_ipv4acd *ll, int sec, int random_sec) argument
224 ipv4acd_arp_conflict(sd_ipv4acd *ll, struct ether_arp *arp) argument
237 sd_ipv4acd *ll = userdata; local
331 ipv4acd_on_conflict(sd_ipv4acd *ll) argument
351 sd_ipv4acd *ll = userdata; local
403 sd_ipv4acd_set_index(sd_ipv4acd *ll, int interface_index) argument
413 sd_ipv4acd_set_mac(sd_ipv4acd *ll, const struct ether_addr *addr) argument
423 sd_ipv4acd_detach_event(sd_ipv4acd *ll) argument
431 sd_ipv4acd_attach_event(sd_ipv4acd *ll, sd_event *event, int priority) argument
450 sd_ipv4acd_set_callback(sd_ipv4acd *ll, sd_ipv4acd_cb_t cb, void *userdata) argument
459 sd_ipv4acd_set_address(sd_ipv4acd *ll, const struct in_addr *address) argument
469 sd_ipv4acd_is_running(sd_ipv4acd *ll) argument
485 sd_ipv4acd_start(sd_ipv4acd *ll) argument
[all...]
H A Dsd-ipv4ll.c42 #define IPV4LL_DONT_DESTROY(ll) \
43 _cleanup_(sd_ipv4ll_unrefp) _unused_ sd_ipv4ll *_dont_destroy_##ll = sd_ipv4ll_ref(ll)
59 sd_ipv4ll *sd_ipv4ll_ref(sd_ipv4ll *ll) { argument
60 if (!ll)
63 assert(ll->n_ref >= 1);
64 ll->n_ref++;
66 return ll;
69 sd_ipv4ll *sd_ipv4ll_unref(sd_ipv4ll *ll) { argument
70 if (!ll)
116 sd_ipv4ll_stop(sd_ipv4ll *ll) argument
128 sd_ipv4ll_set_index(sd_ipv4ll *ll, int interface_index) argument
136 sd_ipv4ll_set_mac(sd_ipv4ll *ll, const struct ether_addr *addr) argument
157 sd_ipv4ll_detach_event(sd_ipv4ll *ll) argument
163 sd_ipv4ll_attach_event(sd_ipv4ll *ll, sd_event *event, int priority) argument
175 sd_ipv4ll_set_callback(sd_ipv4ll *ll, sd_ipv4ll_cb_t cb, void *userdata) argument
184 sd_ipv4ll_get_address(sd_ipv4ll *ll, struct in_addr *address) argument
196 sd_ipv4ll_set_address_seed(sd_ipv4ll *ll, unsigned seed) argument
226 sd_ipv4ll_is_running(sd_ipv4ll *ll) argument
249 sd_ipv4ll_set_address(sd_ipv4ll *ll, const struct in_addr *address) argument
265 ipv4ll_pick_address(sd_ipv4ll *ll) argument
292 sd_ipv4ll_start(sd_ipv4ll *ll) argument
311 ipv4ll_client_notify(sd_ipv4ll *ll, int event) argument
319 sd_ipv4ll *ll = userdata; local
[all...]
H A Dtest-ipv4ll.c42 static void basic_request_handler(sd_ipv4ll *ll, int event, void *userdata) { argument
104 sd_ipv4ll *ll; local
111 assert_se(sd_ipv4ll_new(&ll) == 0);
112 assert_se(ll);
115 assert_se(sd_ipv4ll_attach_event(ll, e, 0) == 0);
116 assert_se(sd_ipv4ll_attach_event(ll, e, 0) == -EBUSY);
119 assert_se(sd_ipv4ll_set_callback(ll, NULL, NULL) == 0);
121 assert_se(sd_ipv4ll_set_address(ll, &address) == -EINVAL);
123 assert_se(sd_ipv4ll_set_address(ll, &address) == -EINVAL);
125 assert_se(sd_ipv4ll_set_address(ll,
153 sd_ipv4ll *ll; local
[all...]
H A Dtest-ipv4ll-manual.c37 static void ll_handler(sd_ipv4ll *ll, int event, void *userdata) { argument
41 assert_se(ll);
43 if (sd_ipv4ll_get_address(ll, &addr) >= 0)
62 sd_ipv4ll *ll; local
64 assert_se(sd_ipv4ll_new(&ll) >= 0);
65 assert_se(sd_ipv4ll_attach_event(ll, e, 0) >= 0);
67 assert_se(sd_ipv4ll_set_index(ll, ifindex) >= 0);
68 assert_se(sd_ipv4ll_set_mac(ll, ha) >= 0);
69 assert_se(sd_ipv4ll_set_callback(ll, ll_handler, NULL) >= 0);
76 assert_se(sd_ipv4ll_set_address_seed(ll, see
[all...]
H A Darp-util.c81 .ll.sll_family = AF_PACKET,
82 .ll.sll_protocol = htons(ETH_P_ARP),
83 .ll.sll_ifindex = ifindex,
84 .ll.sll_halen = ETH_ALEN,
85 .ll.sll_addr = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
100 r = bind(s, &link.sa, sizeof(link.ll));
114 .ll.sll_family = AF_PACKET,
115 .ll.sll_protocol = htons(ETH_P_ARP),
116 .ll.sll_ifindex = ifindex,
117 .ll
[all...]
H A Dlldp-network.c59 .ll.sll_family = AF_PACKET,
60 .ll.sll_ifindex = ifindex,
75 r = bind(s, &saddrll.sa, sizeof(saddrll.ll));
H A Ddhcp-identifier.h51 } _packed_ ll; member in union:duid::__anon166
H A Ddhcp-network.c109 link->ll.sll_family = AF_PACKET;
110 link->ll.sll_protocol = htons(ETH_P_IP);
111 link->ll.sll_ifindex = ifindex;
112 link->ll.sll_hatype = htons(arp_type);
113 link->ll.sll_halen = mac_addr_len;
114 memcpy(link->ll.sll_addr, bcast_addr, mac_addr_len);
116 r = bind(s, &link->sa, sizeof(link->ll));
210 r = sendto(s, packet, len, 0, &link->sa, sizeof(link->ll));
H A Dsd-dhcp-server.c262 .ll.sll_family = AF_PACKET,
263 .ll.sll_protocol = htons(ETH_P_IP),
264 .ll.sll_ifindex = server->ifindex,
265 .ll.sll_halen = ETH_ALEN,
274 memcpy(&link.ll.sll_addr, &packet->dhcp.chaddr, ETH_ALEN);
H A Dsd-lldp.c107 static void lldp_run_state_machine(sd_lldp *ll);
H A Dsd-dhcp6-client.c202 if (duid_len <= sizeof(client->duid.ll))
H A Dsd-dhcp-client.c82 } _packed_ ll; member in union:sd_dhcp_client::__anon188::__anon189
/systemd/src/systemd/
H A Dsd-ipv4ll.h39 typedef void (*sd_ipv4ll_cb_t)(sd_ipv4ll *ll, int event, void *userdata);
41 int sd_ipv4ll_detach_event(sd_ipv4ll *ll);
42 int sd_ipv4ll_attach_event(sd_ipv4ll *ll, sd_event *event, int priority);
43 int sd_ipv4ll_get_address(sd_ipv4ll *ll, struct in_addr *address);
44 int sd_ipv4ll_set_callback(sd_ipv4ll *ll, sd_ipv4ll_cb_t cb, void *userdata);
45 int sd_ipv4ll_set_mac(sd_ipv4ll *ll, const struct ether_addr *addr);
46 int sd_ipv4ll_set_index(sd_ipv4ll *ll, int interface_index);
47 int sd_ipv4ll_set_address(sd_ipv4ll *ll, const struct in_addr *address);
48 int sd_ipv4ll_set_address_seed(sd_ipv4ll *ll, unsigned seed);
49 int sd_ipv4ll_is_running(sd_ipv4ll *ll);
[all...]
H A Dsd-ipv4acd.h40 typedef void (*sd_ipv4acd_cb_t)(sd_ipv4acd *ll, int event, void *userdata);
42 int sd_ipv4acd_detach_event(sd_ipv4acd *ll);
43 int sd_ipv4acd_attach_event(sd_ipv4acd *ll, sd_event *event, int priority);
44 int sd_ipv4acd_get_address(sd_ipv4acd *ll, struct in_addr *address);
45 int sd_ipv4acd_set_callback(sd_ipv4acd *ll, sd_ipv4acd_cb_t cb, void *userdata);
46 int sd_ipv4acd_set_mac(sd_ipv4acd *ll, const struct ether_addr *addr);
47 int sd_ipv4acd_set_index(sd_ipv4acd *ll, int interface_index);
48 int sd_ipv4acd_set_address(sd_ipv4acd *ll, const struct in_addr *address);
49 int sd_ipv4acd_is_running(sd_ipv4acd *ll);
50 int sd_ipv4acd_start(sd_ipv4acd *ll);
[all...]
/systemd/src/import/
H A Dimport.c60 _cleanup_free_ char *ll = NULL; local
77 r = tar_strip_suffixes(local, &ll);
81 local = ll;
155 _cleanup_free_ char *ll = NULL; local
172 r = raw_strip_suffixes(local, &ll);
176 local = ll;
H A Dpull.c61 _cleanup_free_ char *l = NULL, *ll = NULL; local
84 r = tar_strip_suffixes(local, &ll);
88 local = ll;
147 _cleanup_free_ char *l = NULL, *ll = NULL; local
170 r = raw_strip_suffixes(local, &ll);
174 local = ll;
H A Dpull-common.c228 _cleanup_free_ char *last_component = NULL, *ll = NULL, *settings_url = NULL; local
241 r = tar_strip_suffixes(last_component, &ll);
245 q = strjoina(ll, ".nspawn");
/systemd/src/network/
H A Dnetworkd-ipv4ll.c116 static int ipv4ll_address_claimed(sd_ipv4ll *ll, Link *link) { argument
122 assert(ll);
125 r = sd_ipv4ll_get_address(ll, &address);
168 static void ipv4ll_handler(sd_ipv4ll *ll, int event, void *userdata){ argument
189 r = ipv4ll_address_claimed(ll, link);
/systemd/src/journal/
H A Djournald-kmsg.c231 struct udev_list_entry *ll; local
253 ll = udev_device_get_devlinks_list_entry(ud);
254 udev_list_entry_foreach(ll, ll) {
259 g = udev_list_entry_get_name(ll);
H A Dsd-journal.c1068 unsigned long long ll; local
1093 if (sscanf(item+2, "%llx", &ll) != 1)
1095 if (ll != le64toh(o->entry.seqnum))
1108 if (sscanf(item+2, "%llx", &ll) != 1)
1110 if (ll != le64toh(o->entry.monotonic))
1115 if (sscanf(item+2, "%llx", &ll) != 1)
1117 if (ll != le64toh(o->entry.realtime))
1122 if (sscanf(item+2, "%llx", &ll) != 1)
1124 if (ll != le64toh(o->entry.xor_hash))
/systemd/src/basic/
H A Dsocket-util.h42 struct sockaddr_ll ll; member in union:sockaddr_union
/systemd/src/machine/
H A Dmachinectl.c1791 _cleanup_free_ char *ll = NULL; local
1816 r = tar_strip_suffixes(local, &ll);
1820 local = ll;
1858 _cleanup_free_ char *ll = NULL; local
1883 r = raw_strip_suffixes(local, &ll);
1887 local = ll;
2040 _cleanup_free_ char *l = NULL, *ll = NULL; local
2067 r = tar_strip_suffixes(local, &ll);
2071 local = ll;
2104 _cleanup_free_ char *l = NULL, *ll local
[all...]

Completed in 141 milliseconds