Lines Matching defs:ip_version
192 { STRUCT_FIELD(grh, ip_version),
319 * @ip_version: if non-zero, IP header, V4 or V6, will be included
329 int ip_version,
336 grh_present = grh_present && !ip_version;
342 if (udp_present && ip_version != 4 && ip_version != 6)
364 if (ip_version == 6 || grh_present) {
365 header->grh.ip_version = 6;
376 if (ip_version == 4) {
388 if (udp_present && ip_version)
406 header->grh_present = grh_present || (ip_version == 6);
407 header->ipv4_present = ip_version == 4;
507 if (header->grh.ip_version != 6) {
508 pr_warn("Invalid GRH.ip_version %d\n",
509 header->grh.ip_version);