Home
last modified time | relevance | path

Searched refs:sin6 (Results 1 – 5 of 5) sorted by relevance

/drivers/net/
Dvxlan.c95 struct sockaddr_in6 sin6; member
162 return ipv6_addr_equal(&a->sin6.sin6_addr, &b->sin6.sin6_addr); in vxlan_addr_equal()
170 return ipv6_addr_any(&ipa->sin6.sin6_addr); in vxlan_addr_any()
178 return ipv6_addr_is_multicast(&ipa->sin6.sin6_addr); in vxlan_addr_multicast()
186 nla_memcpy(&ip->sin6.sin6_addr, nla, sizeof(struct in6_addr)); in vxlan_nla_get_addr()
202 return nla_put(skb, attr, sizeof(struct in6_addr), &ip->sin6.sin6_addr); in vxlan_nla_put_addr()
811 ip->sin6.sin6_addr = in6addr_any; in vxlan_fdb_parse()
1095 &ip->sin6.sin6_addr); in vxlan_igmp_join()
1124 &ip->sin6.sin6_addr); in vxlan_igmp_leave()
1209 saddr.sin6.sin6_addr = oip6->saddr; in vxlan_rcv()
[all …]
/drivers/infiniband/core/
Dcma.c1709 struct sockaddr_in6 *sin6; in cma_query_ib_route() local
1730 sin6 = (struct sockaddr_in6 *) cma_src_addr(id_priv); in cma_query_ib_route()
1731 path_rec.traffic_class = (u8) (be32_to_cpu(sin6->sin6_flowinfo) >> 20); in cma_query_ib_route()
2505 struct sockaddr_in6 *sin6; in cma_check_linklocal() local
2510 sin6 = (struct sockaddr_in6 *) addr; in cma_check_linklocal()
2512 if (!(ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL)) in cma_check_linklocal()
2515 if (!sin6->sin6_scope_id) in cma_check_linklocal()
2518 dev_addr->bound_dev_if = sin6->sin6_scope_id; in cma_check_linklocal()
3181 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) addr; in cma_set_mgid() local
3186 ((be32_to_cpu(sin6->sin6_addr.s6_addr32[0]) & 0xFFF0FFFF) == in cma_set_mgid()
[all …]
/drivers/infiniband/hw/cxgb4/
Dcm.c2365 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) in pass_accept_req() local
2367 sin6->sin6_family = PF_INET6; in pass_accept_req()
2368 sin6->sin6_port = local_port; in pass_accept_req()
2369 memcpy(sin6->sin6_addr.s6_addr, local_ip, 16); in pass_accept_req()
2370 sin6 = (struct sockaddr_in6 *)&child_ep->com.remote_addr; in pass_accept_req()
2371 sin6->sin6_family = PF_INET6; in pass_accept_req()
2372 sin6->sin6_port = peer_port; in pass_accept_req()
2373 memcpy(sin6->sin6_addr.s6_addr, peer_ip, 16); in pass_accept_req()
3117 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) in create_server6() local
3122 ep->stid, &sin6->sin6_addr, in create_server6()
[all …]
/drivers/scsi/
Dlibiscsi.c3487 struct sockaddr_in6 *sin6 = NULL; in iscsi_conn_get_addr_param() local
3496 sin6 = (struct sockaddr_in6 *)addr; in iscsi_conn_get_addr_param()
3508 len = sprintf(buf, "%pI6\n", &sin6->sin6_addr); in iscsi_conn_get_addr_param()
3516 be16_to_cpu(sin6->sin6_port)); in iscsi_conn_get_addr_param()
/drivers/target/iscsi/
Discsi_target.c3355 const struct sockaddr_in6 sin6 = { in iscsit_check_inaddr_any() local
3361 sin6.sin6_addr.s6_addr, 16)) in iscsit_check_inaddr_any()