Searched refs:inner_ip (Results 1 – 2 of 2) sorted by relevance
419 struct ip *inner_ip = mtod(md, struct ip *); in esp_output() local420 if (IP_VHL_V(inner_ip->ip_vhl) == IPVERSION) { in esp_output()422 iphlen = IP_VHL_HL(inner_ip->ip_vhl) << 2; in esp_output()424 iphlen = inner_ip->ip_hl << 2; in esp_output()426 inner_protocol = inner_ip->ip_p; in esp_output()427 } else if (IP_VHL_V(inner_ip->ip_vhl) == 6) { in esp_output()
184 struct ip *inner_ip = mtod(m, struct ip *); in esp_input_log() local185 if (IP_VHL_V(inner_ip->ip_vhl) == 4) { in esp_input_log()186 iphlen = (u_int8_t)(IP_VHL_HL(inner_ip->ip_vhl) << 2); in esp_input_log()187 proto = inner_ip->ip_p; in esp_input_log()188 } else if (IP_VHL_V(inner_ip->ip_vhl) == 6) { in esp_input_log()