Lines Matching defs:address
94 int arp_network_bind_raw_socket(int index, be32_t address, const struct ether_addr *eth_mac) {
102 struct in_addr address = {};
121 assert_se(sd_ipv4ll_set_address(ll, &address) == -EINVAL);
122 address.s_addr |= htobe32(169U << 24 | 254U << 16);
123 assert_se(sd_ipv4ll_set_address(ll, &address) == -EINVAL);
124 address.s_addr |= htobe32(0x00FF);
125 assert_se(sd_ipv4ll_set_address(ll, &address) == -EINVAL);
126 address.s_addr |= htobe32(0xF000);
127 assert_se(sd_ipv4ll_set_address(ll, &address) == 0);
128 address.s_addr |= htobe32(0x0F00);
129 assert_se(sd_ipv4ll_set_address(ll, &address) == -EINVAL);