Home
last modified time | relevance | path

Searched refs:addr6 (Results 1 – 24 of 24) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_mr_tcam.c158 &key->source.addr6.s6_addr[0x0], in mlxsw_sp2_mr_tcam_rule_parse6()
159 &key->source_mask.addr6.s6_addr[0x0], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
161 &key->source.addr6.s6_addr[0x4], in mlxsw_sp2_mr_tcam_rule_parse6()
162 &key->source_mask.addr6.s6_addr[0x4], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
164 &key->source.addr6.s6_addr[0x8], in mlxsw_sp2_mr_tcam_rule_parse6()
165 &key->source_mask.addr6.s6_addr[0x8], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
167 &key->source.addr6.s6_addr[0xc], in mlxsw_sp2_mr_tcam_rule_parse6()
168 &key->source_mask.addr6.s6_addr[0xc], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
170 &key->group.addr6.s6_addr[0x0], in mlxsw_sp2_mr_tcam_rule_parse6()
171 &key->group_mask.addr6.s6_addr[0x0], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
[all …]
Dspectrum1_mr_tcam.c50 key->group.addr6, in mlxsw_sp1_mr_tcam_route_replace()
51 key->group_mask.addr6, in mlxsw_sp1_mr_tcam_route_replace()
52 key->source.addr6, in mlxsw_sp1_mr_tcam_route_replace()
53 key->source_mask.addr6, in mlxsw_sp1_mr_tcam_route_replace()
Dspectrum_mr.c851 key->group.addr6 = mfc->mf6c_mcastgrp; in mlxsw_sp_mr_route6_key()
852 memset(&key->group_mask.addr6, 0xff, sizeof(key->group_mask.addr6)); in mlxsw_sp_mr_route6_key()
853 key->source.addr6 = mfc->mf6c_origin; in mlxsw_sp_mr_route6_key()
855 memset(&key->source_mask.addr6, 0xff, in mlxsw_sp_mr_route6_key()
856 sizeof(key->source_mask.addr6)); in mlxsw_sp_mr_route6_key()
862 return ipv6_addr_any(&mr_route->key.source_mask.addr6); in mlxsw_sp_mr_route6_starg()
Dspectrum_ipip.c58 return (union mlxsw_sp_l3addr) { .addr6 = parms.laddr }; in mlxsw_sp_ipip_parms6_saddr()
70 return (union mlxsw_sp_l3addr) { .addr6 = parms.raddr }; in mlxsw_sp_ipip_parms6_daddr()
Dspectrum_span.c560 union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr }; in mlxsw_sp_span_entry_gretap6_parms()
561 union mlxsw_sp_l3addr daddr = { .addr6 = tparm.raddr }; in mlxsw_sp_span_entry_gretap6_parms()
575 l3edev = mlxsw_sp_span_gretap6_route(to_dev, &saddr.addr6, &gw.addr6); in mlxsw_sp_span_entry_gretap6_parms()
601 sparms.saddr.addr6, in mlxsw_sp_span_entry_gretap6_configure()
602 sparms.daddr.addr6); in mlxsw_sp_span_entry_gretap6_configure()
Dspectrum_nve.c50 struct in6_addr addr6; member
159 return ipv6_addr_equal(&mc_entry->ipv6_entry.addr6, &addr->addr6); in mlxsw_sp_nve_mc_record_ipv6_entry_compare()
Dspectrum.h690 struct in6_addr addr6; member
Dspectrum_switchdev.c2459 addr->addr6 = vxlan_addr->sin6.sin6_addr; in mlxsw_sp_switchdev_vxlan_addr_convert()
2476 vxlan_addr->sin6.sin6_addr = addr->addr6; in mlxsw_sp_switchdev_addr_vxlan_convert()
/drivers/net/wireguard/
Dsocket.c103 .daddr = endpoint->addr6.sin6_addr, in send6()
104 .fl6_dport = endpoint->addr6.sin6_port, in send6()
106 .flowi6_oif = endpoint->addr6.sin6_scope_id, in send6()
246 endpoint->addr6.sin6_family = AF_INET6; in wg_socket_endpoint_from_skb()
247 endpoint->addr6.sin6_port = udp_hdr(skb)->source; in wg_socket_endpoint_from_skb()
248 endpoint->addr6.sin6_addr = ipv6_hdr(skb)->saddr; in wg_socket_endpoint_from_skb()
249 endpoint->addr6.sin6_scope_id = ipv6_iface_scope_id( in wg_socket_endpoint_from_skb()
266 a->addr6.sin6_port == b->addr6.sin6_port && in endpoint_eq()
267 ipv6_addr_equal(&a->addr6.sin6_addr, &b->addr6.sin6_addr) && in endpoint_eq()
268 a->addr6.sin6_scope_id == b->addr6.sin6_scope_id && in endpoint_eq()
[all …]
Dpeer.h25 struct sockaddr_in6 addr6; member
Dnetlink.c155 sizeof(peer->endpoint.addr6), in get_peer()
156 &peer->endpoint.addr6); in get_peer()
445 endpoint.addr6 = *(struct sockaddr_in6 *)addr; in set_peer()
/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c90 if (cte->addr6.sin6_family == AF_INET6 && v6) in cxgb4_clip_get()
91 ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, in cxgb4_clip_get()
115 ce->addr6.sin6_family = AF_INET6; in cxgb4_clip_get()
116 memcpy(ce->addr6.sin6_addr.s6_addr, in cxgb4_clip_get()
125 ret, ce->addr6.sin6_addr.s6_addr); in cxgb4_clip_get()
162 if (cte->addr6.sin6_family == AF_INET6 && v6) in cxgb4_clip_release()
163 ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, in cxgb4_clip_release()
Dclip_tbl.h21 struct sockaddr_in6 addr6; member
Dcxgb4_filter.c1117 struct in6_addr *addr6; in is_addr_all_mask() local
1119 addr6 = (struct in6_addr *)ipmask; in is_addr_all_mask()
1120 if (addr6->s6_addr32[0] == htonl(0xffffffff) && in is_addr_all_mask()
1121 addr6->s6_addr32[1] == htonl(0xffffffff) && in is_addr_all_mask()
1122 addr6->s6_addr32[2] == htonl(0xffffffff) && in is_addr_all_mask()
1123 addr6->s6_addr32[3] == htonl(0xffffffff)) in is_addr_all_mask()
1140 struct in6_addr *addr6; in is_inaddr_any() local
1142 addr6 = (struct in6_addr *)ip; in is_inaddr_any()
1144 &addr6); in is_inaddr_any()
/drivers/net/
Dgeneve.c149 struct in6_addr addr6, u8 vni[]) in geneve6_lookup() argument
160 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst)) in geneve6_lookup()
197 struct in6_addr addr6; in geneve_lookup_skb() local
203 addr6 = zero_addr6; in geneve_lookup_skb()
206 addr6 = ip6h->saddr; in geneve_lookup_skb()
209 return geneve6_lookup(gs, addr6, vni); in geneve_lookup_skb()
423 struct in6_addr addr6; in geneve_udp_encap_err_lookup() local
425 memset(&addr6, 0, sizeof(struct in6_addr)); in geneve_udp_encap_err_lookup()
429 addr6 = ip6h->daddr; in geneve_udp_encap_err_lookup()
432 return geneve6_lookup(gs, addr6, vni) ? 0 : -ENOENT; in geneve_udp_encap_err_lookup()
/drivers/soundwire/
Dstream.c132 u32 addr1, addr2, addr3, addr4, addr5, addr6; in sdw_program_slave_port_params() local
153 addr6 = SDW_DPN_LANECTRL_B1(t_params->port_num); in sdw_program_slave_port_params()
159 addr6 = SDW_DPN_LANECTRL_B0(t_params->port_num); in sdw_program_slave_port_params()
217 ret = sdw_write(s_rt->slave, addr6, t_params->lane_ctrl); in sdw_program_slave_port_params()
/drivers/scsi/qedi/
Dqedi_iscsi.c901 struct sockaddr_in6 *addr6; in qedi_ep_connect() local
956 addr6 = (struct sockaddr_in6 *)dst_addr; in qedi_ep_connect()
957 memcpy(qedi_ep->dst_addr, &addr6->sin6_addr, in qedi_ep_connect()
959 qedi_ep->dst_port = ntohs(addr6->sin6_port); in qedi_ep_connect()
/drivers/scsi/qla4xxx/
Dql4_mbx.c1992 struct sockaddr_in6 *addr6; in qla4xxx_set_param_ddbentry() local
2053 addr6 = (struct sockaddr_in6 *)dst_addr; in qla4xxx_set_param_ddbentry()
2054 ip = (char *)&addr6->sin6_addr; in qla4xxx_set_param_ddbentry()
2056 fw_ddb_entry->port = cpu_to_le16(ntohs(addr6->sin6_port)); in qla4xxx_set_param_ddbentry()
Dql4_os.c322 struct sockaddr_in6 *addr6; in qla4xxx_send_ping() local
343 addr6 = (struct sockaddr_in6 *)dst_addr; in qla4xxx_send_ping()
344 memcpy(ipaddr, &addr6->sin6_addr.in6_u.u6_addr8, IPv6_ADDR_LEN); in qla4xxx_send_ping()
1716 struct sockaddr_in6 *addr6; in qla4xxx_ep_connect() local
1741 addr6 = (struct sockaddr_in6 *)&qla_ep->dst_addr; in qla4xxx_ep_connect()
1743 (char *)&addr6->sin6_addr)); in qla4xxx_ep_connect()
6579 struct sockaddr_in6 *addr6; in qla4xxx_get_ep_fwdb() local
6592 addr6 = (struct sockaddr_in6 *)dst_addr; in qla4xxx_get_ep_fwdb()
6593 ip = (char *)&addr6->sin6_addr; in qla4xxx_get_ep_fwdb()
6595 addr6->sin6_port = htons(le16_to_cpu(fw_ddb_entry->port)); in qla4xxx_get_ep_fwdb()
Dql4_nx.c2728 uint32_t addr3, addr4, addr5, addr6, addr7; in qla4_84xx_minidump_process_rdmdio() local
2765 addr6 = addr2 - (3 * stride1); in qla4_84xx_minidump_process_rdmdio()
2767 addr6, 0x2); in qla4_84xx_minidump_process_rdmdio()
/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c273 static struct net_device *cxgbit_ipv6_netdev(struct in6_addr *addr6) in cxgbit_ipv6_netdev() argument
280 if (ipv6_chk_addr(&init_net, addr6, ndev, 1)) { in cxgbit_ipv6_netdev()
/drivers/scsi/qla2xxx/
Dqla_nx2.c3094 uint32_t addr3, addr4, addr5, addr6, addr7; in qla8044_minidump_process_rdmdio() local
3133 addr6 = addr2 - (3 * stride1); in qla8044_minidump_process_rdmdio()
3135 addr6, 0x2); in qla8044_minidump_process_rdmdio()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c3695 struct sockaddr_in6 addr6 = { .sin6_family = AF_INET6 }; in srpt_rdma_cm_port_store() local
3708 addr6.sin6_port = cpu_to_be16(val); in srpt_rdma_cm_port_store()
3709 new_id = srpt_create_rdma_id((struct sockaddr *)&addr6); in srpt_rdma_cm_port_store()
/drivers/infiniband/core/
Dcma.c3049 struct sockaddr_in6 *addr6; in cma_get_roce_udp_flow_label() local
3053 addr6 = (struct sockaddr_in6 *)cma_src_addr(id_priv); in cma_get_roce_udp_flow_label()
3054 fl = be32_to_cpu(addr6->sin6_flowinfo) & IB_GRH_FLOWLABEL_MASK; in cma_get_roce_udp_flow_label()