Searched refs:inner_ip (Results 1 – 2 of 2) sorted by relevance
415 struct ip *inner_ip = mtod(md, struct ip *); in esp_output() local416 if (IP_VHL_V(inner_ip->ip_vhl) == IPVERSION) { in esp_output()418 iphlen = IP_VHL_HL(inner_ip->ip_vhl) << 2; in esp_output()420 iphlen = inner_ip->ip_hl << 2; in esp_output()422 inner_protocol = inner_ip->ip_p; in esp_output()423 } else if (IP_VHL_V(inner_ip->ip_vhl) == IPV6_VERSION) { in esp_output()
180 struct ip *inner_ip = mtod(m, struct ip *); in esp_input_log() local181 if (IP_VHL_V(inner_ip->ip_vhl) == 4) { in esp_input_log()182 iphlen = (u_int8_t)(IP_VHL_HL(inner_ip->ip_vhl) << 2); in esp_input_log()183 proto = inner_ip->ip_p; in esp_input_log()184 } else if (IP_VHL_V(inner_ip->ip_vhl) == 6) { in esp_input_log()