Lines Matching refs:ipv4
1911 const struct ovs_key_ipv4 *ipv4)
1917 ipaddr.s_addr = ipv4->ipv4_src;
1919 if (snprintf(buf, sizeof (buf), "%sset-ipv4%csrc%c%s%c",
1925 ipaddr.s_addr = ipv4->ipv4_dst;
1930 FP_ACTION_NAME_VALUE_DELIM, solaris_proto2str(ipv4->ipv4_proto),
1932 ipv4->ipv4_tos, FP_ACTION_MULTI_VAL_DELIM,
1933 FP_ACTION_NAME_VALUE_DELIM, ipv4->ipv4_ttl) >= sizeof (buf))
2751 struct ovs_key_ipv4 ipv4;
2764 bzero(&ipv4, sizeof (ipv4));
2774 if (ipv4.ipv4_src != 0)
2776 if (inet_pton(AF_INET, sep, &ipv4.ipv4_src) != 1)
2779 if (ipv4.ipv4_dst != 0)
2781 if (inet_pton(AF_INET, sep, &ipv4.ipv4_dst) != 1)
2784 if (ipv4.ipv4_proto != 0)
2789 ipv4.ipv4_proto = protocol;
2799 ipv4.ipv4_tos = value;
2801 if (ipv4.ipv4_ttl != 0)
2809 ipv4.ipv4_ttl = value;
2813 nl_msg_put_unspec(action, OVS_KEY_ATTR_IPV4, &ipv4, sizeof (ipv4));
3301 else if (strcmp(key, "set-ipv4") == 0)