• Home
  • Raw
  • Download

Lines Matching refs:output

861 			      const struct ip_tunnel_key *output,  in __ip_tun_to_nlattr()  argument
865 if (output->tun_flags & TUNNEL_KEY && in __ip_tun_to_nlattr()
866 nla_put_be64(skb, OVS_TUNNEL_KEY_ATTR_ID, output->tun_id, in __ip_tun_to_nlattr()
876 if (output->u.ipv4.src && in __ip_tun_to_nlattr()
878 output->u.ipv4.src)) in __ip_tun_to_nlattr()
880 if (output->u.ipv4.dst && in __ip_tun_to_nlattr()
882 output->u.ipv4.dst)) in __ip_tun_to_nlattr()
886 if (!ipv6_addr_any(&output->u.ipv6.src) && in __ip_tun_to_nlattr()
888 &output->u.ipv6.src)) in __ip_tun_to_nlattr()
890 if (!ipv6_addr_any(&output->u.ipv6.dst) && in __ip_tun_to_nlattr()
892 &output->u.ipv6.dst)) in __ip_tun_to_nlattr()
896 if (output->tos && in __ip_tun_to_nlattr()
897 nla_put_u8(skb, OVS_TUNNEL_KEY_ATTR_TOS, output->tos)) in __ip_tun_to_nlattr()
899 if (nla_put_u8(skb, OVS_TUNNEL_KEY_ATTR_TTL, output->ttl)) in __ip_tun_to_nlattr()
901 if ((output->tun_flags & TUNNEL_DONT_FRAGMENT) && in __ip_tun_to_nlattr()
904 if ((output->tun_flags & TUNNEL_CSUM) && in __ip_tun_to_nlattr()
907 if (output->tp_src && in __ip_tun_to_nlattr()
908 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_SRC, output->tp_src)) in __ip_tun_to_nlattr()
910 if (output->tp_dst && in __ip_tun_to_nlattr()
911 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ip_tun_to_nlattr()
913 if ((output->tun_flags & TUNNEL_OAM) && in __ip_tun_to_nlattr()
917 if (output->tun_flags & TUNNEL_GENEVE_OPT && in __ip_tun_to_nlattr()
921 else if (output->tun_flags & TUNNEL_VXLAN_OPT && in __ip_tun_to_nlattr()
924 else if (output->tun_flags & TUNNEL_ERSPAN_OPT && in __ip_tun_to_nlattr()
934 const struct ip_tunnel_key *output, in ip_tun_to_nlattr() argument
945 err = __ip_tun_to_nlattr(skb, output, tun_opts, swkey_tun_opts_len, in ip_tun_to_nlattr()
1989 const struct sw_flow_key *output, bool is_mask, in __ovs_nla_put_key() argument
1997 if (nla_put_u32(skb, OVS_KEY_ATTR_RECIRC_ID, output->recirc_id)) in __ovs_nla_put_key()
2000 if (nla_put_u32(skb, OVS_KEY_ATTR_DP_HASH, output->ovs_flow_hash)) in __ovs_nla_put_key()
2003 if (nla_put_u32(skb, OVS_KEY_ATTR_PRIORITY, output->phy.priority)) in __ovs_nla_put_key()
2009 if (output->tun_key.tun_flags & TUNNEL_OPTIONS_PRESENT) in __ovs_nla_put_key()
2010 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
2012 if (ip_tun_to_nlattr(skb, &output->tun_key, opts, in __ovs_nla_put_key()
2018 if (is_mask && (output->phy.in_port == 0xffff)) in __ovs_nla_put_key()
2026 (upper_u16 << 16) | output->phy.in_port)) in __ovs_nla_put_key()
2030 if (nla_put_u32(skb, OVS_KEY_ATTR_SKB_MARK, output->phy.skb_mark)) in __ovs_nla_put_key()
2033 if (ovs_ct_put_key(swkey, output, skb)) in __ovs_nla_put_key()
2042 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
2043 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()
2046 if (ovs_nla_put_vlan(skb, &output->eth.vlan, is_mask)) in __ovs_nla_put_key()
2053 if (ovs_nla_put_vlan(skb, &output->eth.cvlan, is_mask)) in __ovs_nla_put_key()
2069 if (is_mask && output->eth.type) in __ovs_nla_put_key()
2071 output->eth.type)) in __ovs_nla_put_key()
2077 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, output->eth.type)) in __ovs_nla_put_key()
2095 ipv4_key->ipv4_src = output->ipv4.addr.src; in __ovs_nla_put_key()
2096 ipv4_key->ipv4_dst = output->ipv4.addr.dst; in __ovs_nla_put_key()
2097 ipv4_key->ipv4_proto = output->ip.proto; in __ovs_nla_put_key()
2098 ipv4_key->ipv4_tos = output->ip.tos; in __ovs_nla_put_key()
2099 ipv4_key->ipv4_ttl = output->ip.ttl; in __ovs_nla_put_key()
2100 ipv4_key->ipv4_frag = output->ip.frag; in __ovs_nla_put_key()
2108 memcpy(ipv6_key->ipv6_src, &output->ipv6.addr.src, in __ovs_nla_put_key()
2110 memcpy(ipv6_key->ipv6_dst, &output->ipv6.addr.dst, in __ovs_nla_put_key()
2112 ipv6_key->ipv6_label = output->ipv6.label; in __ovs_nla_put_key()
2113 ipv6_key->ipv6_proto = output->ip.proto; in __ovs_nla_put_key()
2114 ipv6_key->ipv6_tclass = output->ip.tos; in __ovs_nla_put_key()
2115 ipv6_key->ipv6_hlimit = output->ip.ttl; in __ovs_nla_put_key()
2116 ipv6_key->ipv6_frag = output->ip.frag; in __ovs_nla_put_key()
2118 if (nsh_key_to_nlattr(&output->nsh, is_mask, skb)) in __ovs_nla_put_key()
2129 arp_key->arp_sip = output->ipv4.addr.src; in __ovs_nla_put_key()
2130 arp_key->arp_tip = output->ipv4.addr.dst; in __ovs_nla_put_key()
2131 arp_key->arp_op = htons(output->ip.proto); in __ovs_nla_put_key()
2132 ether_addr_copy(arp_key->arp_sha, output->ipv4.arp.sha); in __ovs_nla_put_key()
2133 ether_addr_copy(arp_key->arp_tha, output->ipv4.arp.tha); in __ovs_nla_put_key()
2138 num_labels = hweight_long(output->mpls.num_labels_mask); in __ovs_nla_put_key()
2146 mpls_key[i].mpls_lse = output->mpls.lse[i]; in __ovs_nla_put_key()
2160 tcp_key->tcp_src = output->tp.src; in __ovs_nla_put_key()
2161 tcp_key->tcp_dst = output->tp.dst; in __ovs_nla_put_key()
2163 output->tp.flags)) in __ovs_nla_put_key()
2172 udp_key->udp_src = output->tp.src; in __ovs_nla_put_key()
2173 udp_key->udp_dst = output->tp.dst; in __ovs_nla_put_key()
2181 sctp_key->sctp_src = output->tp.src; in __ovs_nla_put_key()
2182 sctp_key->sctp_dst = output->tp.dst; in __ovs_nla_put_key()
2191 icmp_key->icmp_type = ntohs(output->tp.src); in __ovs_nla_put_key()
2192 icmp_key->icmp_code = ntohs(output->tp.dst); in __ovs_nla_put_key()
2202 icmpv6_key->icmpv6_type = ntohs(output->tp.src); in __ovs_nla_put_key()
2203 icmpv6_key->icmpv6_code = ntohs(output->tp.dst); in __ovs_nla_put_key()
2213 memcpy(nd_key->nd_target, &output->ipv6.nd.target, in __ovs_nla_put_key()
2215 ether_addr_copy(nd_key->nd_sll, output->ipv6.nd.sll); in __ovs_nla_put_key()
2216 ether_addr_copy(nd_key->nd_tll, output->ipv6.nd.tll); in __ovs_nla_put_key()
2234 const struct sw_flow_key *output, int attr, bool is_mask, in ovs_nla_put_key() argument
2243 err = __ovs_nla_put_key(swkey, output, is_mask, skb); in ovs_nla_put_key()