/systemd/src/basic/ |
H A D | in-addr-util.h | 13 systemd is distributed in the hope that it will be useful, but 22 #include <netinet/in.h> 30 struct in_addr in; member in union:in_addr_union
|
H A D | siphash24.c | 4 Written in 2012 by 15 (Minimal changes made by Lennart Poettering, to make clean for inclusion in systemd) 16 (Refactored by Tom Gundersen to split up in several functions and follow systemd 71 const uint8_t *in = _in; local 72 const uint8_t *end = in + inlen; 76 assert(in); 84 for ( ; in < end && left < 8; in ++, left ++) 85 state->padding |= ((uint64_t) *in) << (left * 8); 87 if (in 181 siphash24(const void *in, size_t inlen, const uint8_t k[16]) argument [all...] |
H A D | socket-util.h | 13 systemd is distributed in the hope that it will be useful, but 23 #include <netinet/in.h> 37 struct sockaddr_in in; member in union:sockaddr_union
|
/systemd/src/test/ |
H A D | test-device-nodes.c | 11 systemd is distributed in the hope that it will be useful, but 28 static char *do_encode_string(const char *in) { argument 29 size_t out_len = strlen(in) * 4 + 1; 33 assert_se(encode_devnode_name(in, out, out_len) >= 0); 39 static bool expect_encoded_as(const char *in, const char *expected) { argument 40 _cleanup_free_ char *encoded = do_encode_string(in);
|
H A D | test-siphash24.c | 11 systemd is distributed in the hope that it will be useful, but 25 static int do_test(const uint8_t *in, size_t len, const uint8_t *key) { argument 30 out = siphash24(in, len, key); 33 /* verify the internal state as given in the above paper */ 39 siphash24_compress(in, len, &state); 51 /* verify that decomposing the input in three chunks gives the 56 siphash24_compress(in, i, &state); 57 siphash24_compress(&in[i], j - i, &state); 58 siphash24_compress(&in[j], len - j, &state); 68 const uint8_t in[1 local [all...] |
/systemd/src/boot/efi/ |
H A D | splash.c | 7 * This program is distributed in the hope that it will be useful, but 166 UINT8 *in; local 170 in = pixmap; 177 for (x = 0; x < dib->x; x++, in++, out++) { 183 out->Red = map[((*in) >> (7 - i)) & 1].red; 184 out->Green = map[((*in) >> (7 - i)) & 1].green; 185 out->Blue = map[((*in) >> (7 - i)) & 1].blue; 197 i = (*in) >> 4; 204 i = (*in) & 0x0f; 213 out->Red = map[*in] [all...] |
/systemd/src/journal/ |
H A D | compress.c | 11 systemd is distributed in the hope that it will be useful, but 331 /* lz4 always tries to decode full "sequence", so in 613 int decompress_stream_lz4(int in, int out, uint64_t max_bytes) { argument 627 if (fstat(in, &st) < 0) 634 src = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, in, 0);
|
/systemd/src/resolve/ |
H A D | resolved-etc-hosts.c | 11 systemd is distributed in the hope that it will be useful, but 73 siphash24_compress(&item->address.in, sizeof(item->address.in), state); 85 return memcmp(&x->address.in.s_addr, &y->address.in.s_addr, sizeof(struct in_addr)); 189 union in_addr_union in; local 198 return log_error_errno(r, "Couldn't extract address, in line /etc/hosts:%u.", nr); 200 log_error("Premature end of line, in line /etc/hosts:%u.", nr); 204 r = in_addr_from_string_auto(address, &family, &in); 206 return log_error_errno(r, "Address '%s' is invalid, in lin [all...] |
H A D | resolved-dns-scope.c | 11 systemd is distributed in the hope that it will be useful, but 225 addr.in = LLMNR_MULTICAST_IPV4_ADDRESS; 250 addr.in = MDNS_MULTICAST_IPV4_ADDRESS; 282 /* If there are multiple linked packets, set the TC bit in all but the last of them */ 320 sa.in.sin_port = htobe16(port); 321 sa.in.sin_addr = server->address.in; 322 salen = sizeof(sa.in); 337 sa.in.sin_port = htobe16(port); 338 sa.in 531 dns_scope_multicast_membership(DnsScope *s, bool b, struct in_addr in, struct in6_addr in6) argument [all...] |
/systemd/src/shared/linux/ |
H A D | auto_dev-ioctl.h | 80 } in; member in union:args_ismountpoint::__anon266 98 __u32 size; /* total size of data passed in 121 static inline void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in) { argument 122 memset(in, 0, sizeof(struct autofs_dev_ioctl)); 123 in->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; 124 in->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; 125 in->size = sizeof(struct autofs_dev_ioctl); 126 in->ioctlfd = -1;
|