Searched refs:ip (Results 1 - 16 of 16) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | dhcp-packet.c | 94 packet->ip.version = IPVERSION; 95 packet->ip.ihl = DHCP_IP_SIZE / 4; 96 packet->ip.tot_len = htobe16(len); 98 packet->ip.tos = IPTOS_CLASS_CS6; 100 packet->ip.protocol = IPPROTO_UDP; 101 packet->ip.saddr = source_addr; 102 packet->ip.daddr = destination_addr; 109 packet->ip.check = packet->udp.len; 110 packet->udp.check = dhcp_packet_checksum((uint8_t*)&packet->ip.ttl, len - 8); 112 packet->ip [all...] |
H A D | dhcp-protocol.h | 22 #include <netinet/ip.h> 51 struct iphdr ip; member in struct:DHCPPacket
|
H A D | test-dhcp-client.c | 161 assert_se(discover->ip.ttl == IPDEFTTL); 162 assert_se(discover->ip.protocol == IPPROTO_UDP); 163 assert_se(discover->ip.saddr == INADDR_ANY); 164 assert_se(discover->ip.daddr == INADDR_BROADCAST); 168 ip_check = discover->ip.check; 170 discover->ip.ttl = 0; 171 discover->ip.check = discover->udp.len; 173 udp_check = ~dhcp_packet_checksum((uint8_t*)&discover->ip.ttl, len - 8); 176 discover->ip.ttl = IPDEFTTL; 177 discover->ip [all...] |
H A D | dhcp-network.c | 44 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, offsetof(DHCPPacket, ip.protocol)), /* A <- IP protocol */ 47 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, offsetof(DHCPPacket, ip.frag_off)), /* A <- Flags */ 51 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, offsetof(DHCPPacket, ip.frag_off)), /* A <- Flags + Fragment offset */
|
/systemd/src/shared/ |
H A D | firewall-util.c | 58 entry->ip.proto = protocol; 61 strcpy(entry->ip.iniface, in_interface); 62 memset(entry->ip.iniface_mask, 0xFF, strlen(in_interface)+1); 65 entry->ip.src = source->in; 66 in_addr_prefixlen_to_netmask(&entry->ip.smsk, source_prefixlen); 70 strcpy(entry->ip.outiface, out_interface); 71 memset(entry->ip.outiface_mask, 0xFF, strlen(out_interface)+1); 74 entry->ip.dst = destination->in; 75 in_addr_prefixlen_to_netmask(&entry->ip.dmsk, destination_prefixlen); 302 entry->ip [all...] |
/systemd/src/test/ |
H A D | test-netlink-manual.c | 22 #include <linux/ip.h>
|
/systemd/src/boot/efi/ |
H A D | pefile.c | 32 UINT16 ip; member in struct:DosFileHeader
|
/systemd/src/network/ |
H A D | networkd-netdev-bond.h | 104 union in_addr_union ip; member in struct:ArpIpTarget
|
H A D | networkd-netdev-bond.c | 316 r = sd_netlink_message_append_u32(m, i++, target->ip.in.s_addr); 355 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse Bond ARP ip target address, ignoring assignment: %s", rvalue); 366 r = in_addr_from_string_auto(n, &f, &buffer->ip); 368 log_syntax(unit, LOG_ERR, filename, line, r, "Bond ARP ip target address is invalid, ignoring assignment: %s", n); 373 log_syntax(unit, LOG_ERR, filename, line, 0, "Bond ARP ip target address is invalid, ignoring assignment: %s", n); 385 "More than the maximum number of kernel-supported ARP ip targets specified: %d > %d",
|
H A D | networkd-netdev-tunnel.c | 22 #include <linux/ip.h>
|
/systemd/src/resolve/ |
H A D | test-dnssec-complex.c | 20 #include <netinet/ip.h>
|
H A D | resolved-dns-packet.h | 22 #include <netinet/ip.h>
|
H A D | resolved-bus.c | 348 _cleanup_free_ char *ip = NULL; local 350 in_addr_to_string(q->request_family, &q->request_address, &ip); 351 r = sd_bus_reply_method_errorf(q->request, BUS_ERROR_NO_SUCH_RR, "Address '%s' does not have any RR of requested type", strna(ip));
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-types.c | 29 #include <linux/ip.h>
|
/systemd/src/basic/ |
H A D | socket-util.c | 25 #include <netinet/ip.h>
|
/systemd/src/timesync/ |
H A D | timesyncd-manager.c | 23 #include <netinet/ip.h>
|
Completed in 65 milliseconds