Searched refs:new_ip (Results 1 – 2 of 2) sorted by relevance
228 uint8_t *padding = NULL, *new_ip, nlp; in esp_outbound() local312 new_ip = (uint8_t *)rte_pktmbuf_prepend(m, in esp_outbound()314 memmove(new_ip, ip4, ip_hdr_len); in esp_outbound()315 esp = (struct rte_esp_hdr *)(new_ip + ip_hdr_len); in esp_outbound()316 ip4 = (struct ip *)new_ip; in esp_outbound()321 ip6 = (struct ip6_hdr *)new_ip; in esp_outbound()
303 get_rev_tuple(&rev_tuple, &tuple, new_ip);315 do_snat(mbuf, new_ip, new_sport);