• Home
  • Raw
  • Download

Lines Matching refs:ip

258 	key->ip.proto = NEXTHDR_NONE;  in parse_ipv6hdr()
259 key->ip.tos = ipv6_get_dsfield(nh); in parse_ipv6hdr()
260 key->ip.ttl = nh->hop_limit; in parse_ipv6hdr()
268 key->ip.frag = OVS_FRAG_TYPE_LATER; in parse_ipv6hdr()
269 key->ip.proto = NEXTHDR_FRAGMENT; in parse_ipv6hdr()
272 key->ip.frag = OVS_FRAG_TYPE_FIRST; in parse_ipv6hdr()
274 key->ip.frag = OVS_FRAG_TYPE_NONE; in parse_ipv6hdr()
286 key->ip.proto = nexthdr; in parse_ipv6hdr()
549 memset(&key->ip, 0, sizeof(key->ip)); in key_extract_l3l4()
562 key->ip.proto = nh->protocol; in key_extract_l3l4()
563 key->ip.tos = nh->tos; in key_extract_l3l4()
564 key->ip.ttl = nh->ttl; in key_extract_l3l4()
568 key->ip.frag = OVS_FRAG_TYPE_LATER; in key_extract_l3l4()
574 key->ip.frag = OVS_FRAG_TYPE_FIRST; in key_extract_l3l4()
576 key->ip.frag = OVS_FRAG_TYPE_NONE; in key_extract_l3l4()
579 if (key->ip.proto == IPPROTO_TCP) { in key_extract_l3l4()
589 } else if (key->ip.proto == IPPROTO_UDP) { in key_extract_l3l4()
597 } else if (key->ip.proto == IPPROTO_SCTP) { in key_extract_l3l4()
605 } else if (key->ip.proto == IPPROTO_ICMP) { in key_extract_l3l4()
633 key->ip.proto = ntohs(arp->ar_op); in key_extract_l3l4()
635 key->ip.proto = 0; in key_extract_l3l4()
642 memset(&key->ip, 0, sizeof(key->ip)); in key_extract_l3l4()
682 memset(&key->ip, 0, sizeof(key->ip)); in key_extract_l3l4()
695 if (key->ip.frag == OVS_FRAG_TYPE_LATER) { in key_extract_l3l4()
700 key->ip.frag = OVS_FRAG_TYPE_FIRST; in key_extract_l3l4()
703 if (key->ip.proto == NEXTHDR_TCP) { in key_extract_l3l4()
712 } else if (key->ip.proto == NEXTHDR_UDP) { in key_extract_l3l4()
720 } else if (key->ip.proto == NEXTHDR_SCTP) { in key_extract_l3l4()
728 } else if (key->ip.proto == NEXTHDR_ICMP) { in key_extract_l3l4()