Lines Matching refs:ip
48 struct iphdr ip;
303 received.ip.saddr = payload->ip.saddr; in efx_siena_loopback_rx_packet()
305 received.ip.check = payload->ip.check; in efx_siena_loopback_rx_packet()
333 if (memcmp(&received.ip, &payload->ip, sizeof(payload->ip)) != 0) { in efx_siena_loopback_rx_packet()
392 payload->ip.daddr = htonl(INADDR_LOOPBACK); in efx_iterate_state()
393 payload->ip.ihl = 5; in efx_iterate_state()
394 payload->ip.check = (__force __sum16) htons(0xdead); in efx_iterate_state()
395 payload->ip.tot_len = htons(sizeof(*payload) - in efx_iterate_state()
396 offsetof(struct efx_loopback_payload, ip)); in efx_iterate_state()
397 payload->ip.version = IPVERSION; in efx_iterate_state()
398 payload->ip.protocol = IPPROTO_UDP; in efx_iterate_state()
439 payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2)); in efx_begin_loopback()