Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 15 of 15) sorted by relevance

/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c199 struct sockaddr_in *sin = (struct sockaddr_in *) in cxgbit_create_server4() local
204 __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port); in cxgbit_create_server4()
210 stid, sin->sin_addr.s_addr, in cxgbit_create_server4()
211 sin->sin_port, 0, in cxgbit_create_server4()
224 ret, stid, &sin->sin_addr, ntohs(sin->sin_port)); in cxgbit_create_server4()
299 struct sockaddr_in *sin; in cxgbit_find_np_cdev() local
301 sin = (struct sockaddr_in *)sockaddr; in cxgbit_find_np_cdev()
302 ndev = cxgbit_ipv4_netdev(sin->sin_addr.s_addr); in cxgbit_find_np_cdev()
325 struct sockaddr_in *sin; in cxgbit_inaddr_any() local
327 sin = (struct sockaddr_in *)sockaddr; in cxgbit_inaddr_any()
[all …]
/drivers/net/vxlan/
Dvxlan_core.c107 return a->sin.sin_addr.s_addr == b->sin.sin_addr.s_addr; in vxlan_addr_equal()
117 ip->sin.sin_addr.s_addr = nla_get_in_addr(nla); in vxlan_nla_get_addr()
131 return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr); in vxlan_nla_put_addr()
139 return a->sin.sin_addr.s_addr == b->sin.sin_addr.s_addr; in vxlan_addr_equal()
147 ip->sin.sin_addr.s_addr = nla_get_in_addr(nla); in vxlan_nla_get_addr()
158 return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr); in vxlan_nla_put_addr()
1236 ip->sin.sin_addr.s_addr = htonl(INADDR_ANY); in vxlan_fdb_parse()
1657 .imr_multiaddr.s_addr = ip->sin.sin_addr.s_addr, in vxlan_igmp_join()
1691 .imr_multiaddr.s_addr = ip->sin.sin_addr.s_addr, in vxlan_igmp_leave()
1783 saddr.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; in vxlan_set_mac()
[all …]
/drivers/infiniband/hw/cxgb4/
Dcm.c1964 struct sockaddr_in *sin; in send_fw_act_open_req() local
1977 sin = (struct sockaddr_in *)&ep->com.local_addr; in send_fw_act_open_req()
1978 req->le.lport = sin->sin_port; in send_fw_act_open_req()
1979 req->le.u.ipv4.lip = sin->sin_addr.s_addr; in send_fw_act_open_req()
1980 sin = (struct sockaddr_in *)&ep->com.remote_addr; in send_fw_act_open_req()
1981 req->le.pport = sin->sin_port; in send_fw_act_open_req()
1982 req->le.u.ipv4.pip = sin->sin_addr.s_addr; in send_fw_act_open_req()
2609 struct sockaddr_in *sin = (struct sockaddr_in *) in pass_accept_req() local
2612 sin->sin_family = AF_INET; in pass_accept_req()
2613 sin->sin_port = local_port; in pass_accept_req()
[all …]
/drivers/isdn/mISDN/
Dl1oip_core.c444 l1oip_socket_parse(struct l1oip *hc, struct sockaddr_in *sin, u8 *buf, int len) in l1oip_socket_parse() argument
613 if ((hc->sin_remote.sin_addr.s_addr != sin->sin_addr.s_addr) in l1oip_socket_parse()
614 || (hc->sin_remote.sin_port != sin->sin_port)) { in l1oip_socket_parse()
619 ntohl(sin->sin_addr.s_addr), in l1oip_socket_parse()
621 ntohs(sin->sin_port)); in l1oip_socket_parse()
622 hc->sin_remote.sin_addr.s_addr = sin->sin_addr.s_addr; in l1oip_socket_parse()
623 hc->sin_remote.sin_port = sin->sin_port; in l1oip_socket_parse()
/drivers/gpu/drm/nouveau/dispnv50/
Datom.h113 u16 sin:12; member
Dheadc37d.c78 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in headc37d_procamp()
Dhead507d.c43 NVVAL(NV507D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head507d_procamp()
Dhead907d.c71 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head907d_procamp()
Dhead.c87 asyh->procamp.sat.sin = ((hue * 2047) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve_vxlan.c102 config->ul_sip.addr4 = cfg->saddr.sin.sin_addr.s_addr; in mlxsw_sp_nve_vxlan_config()
Dspectrum_switchdev.c2334 addr->addr4 = vxlan_addr->sin.sin_addr.s_addr; in mlxsw_sp_switchdev_vxlan_addr_convert()
2350 vxlan_addr->sin.sin_addr.s_addr = addr->addr4; in mlxsw_sp_switchdev_addr_vxlan_convert()
/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c58 static const s8 sin[257] = { variable
78 #define cos(idx) sin[((idx) + 64) % sizeof(sin)]
942 tmp_cb = (cb * cos(128 + tpg->hue)) / 127 + (cr * sin[128 + tpg->hue]) / 127; in precalculate_color()
943 tmp_cr = (cr * cos(128 + tpg->hue)) / 127 - (cb * sin[128 + tpg->hue]) / 127; in precalculate_color()
/drivers/scsi/
Dlibiscsi.c3496 struct sockaddr_in *sin = NULL; in iscsi_conn_get_addr_param() local
3501 sin = (struct sockaddr_in *)addr; in iscsi_conn_get_addr_param()
3513 if (sin) in iscsi_conn_get_addr_param()
3514 len = sysfs_emit(buf, "%pI4\n", &sin->sin_addr.s_addr); in iscsi_conn_get_addr_param()
3520 if (sin) in iscsi_conn_get_addr_param()
3521 len = sysfs_emit(buf, "%hu\n", be16_to_cpu(sin->sin_port)); in iscsi_conn_get_addr_param()
/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c1994 struct sockaddr_in6 sin = { in rtrs_srv_rdma_init() local
2014 cm_ip = rtrs_srv_cm_init(ctx, (struct sockaddr *)&sin, RDMA_PS_TCP); in rtrs_srv_rdma_init()
/drivers/infiniband/core/
Dcma.c4609 struct sockaddr_in *sin = (struct sockaddr_in *) addr; in cma_set_mgid() local
4627 ip_ib_mc_map(sin->sin_addr.s_addr, dev_addr->broadcast, mc_map); in cma_set_mgid()
4693 struct sockaddr_in *sin = (struct sockaddr_in *)addr; in cma_iboe_set_mgid() local
4715 *(__be32 *)(&mgid->raw[12]) = sin->sin_addr.s_addr; in cma_iboe_set_mgid()