/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_cm.c | 43 int *iptype, __u8 *local_ip, __u8 *peer_ip, in cxgb_get_4tuple() argument 63 memcpy(local_ip, &ip->daddr, 4); in cxgb_get_4tuple() 70 memcpy(local_ip, ip6->daddr.s6_addr, 16); in cxgb_get_4tuple() 94 __be32 local_ip, __be32 peer_ip, __be16 local_port, in cxgb_find_route() argument 101 rt = ip_route_output_ports(&init_net, &fl4, NULL, peer_ip, local_ip, in cxgb_find_route() 123 __u8 *local_ip, __u8 *peer_ip, __be16 local_port, in cxgb_find_route6() argument 133 memcpy(&fl6.saddr, local_ip, 16); in cxgb_find_route6()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 189 u32 local_ip; member 201 u32 local_ip; member 211 u32 local_ip; member 224 u32 local_ip; member 255 u32 local_ip; member 267 u32 local_ip; member 278 u32 local_ip; member
|
/drivers/infiniband/hw/qedr/ |
D | qedr_iw_cm.c | 55 laddr->sin_addr.s_addr = htonl(cm_info->local_ip[0]); in qedr_fill_sockaddr4() 76 htonl(cm_info->local_ip[i]); in qedr_fill_sockaddr6() 583 memset(cm_info->local_ip, 0, sizeof(cm_info->local_ip)); in qedr_iw_connect() 591 cm_info->local_ip[0] = ntohl(laddr->sin_addr.s_addr); in qedr_iw_connect() 594 cm_info->vlan = qedr_iw_get_vlan_ipv4(dev, cm_info->local_ip); in qedr_iw_connect() 608 cm_info->local_ip[i] = in qedr_iw_connect() 618 cm_info->vlan = qedr_iw_get_vlan_ipv6(cm_info->local_ip); in qedr_iw_connect()
|
/drivers/net/ |
D | netconsole.c | 277 return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.local_ip.in6); in local_ip_show() 279 return snprintf(buf, PAGE_SIZE, "%pI4\n", &nt->np.local_ip); in local_ip_show() 488 if (in6_pton(buf, count, nt->np.local_ip.in6.s6_addr, -1, &end) > 0) { in local_ip_store() 498 nt->np.local_ip.ip = in_aton(buf); in local_ip_store() 577 CONFIGFS_ATTR(, local_ip);
|
D | amt.c | 633 amt->discovery_ip, amt->local_ip, in amt_send_discovery() 672 udph->check = csum_tcpudp_magic(amt->local_ip, amt->discovery_ip, in amt_send_discovery() 684 iph->saddr = amt->local_ip; in amt_send_discovery() 722 amt->remote_ip, amt->local_ip, in amt_send_request() 763 udph->check = csum_tcpudp_magic(amt->local_ip, amt->remote_ip, in amt_send_request() 775 iph->saddr = amt->local_ip; in amt_send_request() 1020 fl4.saddr = amt->local_ip; in amt_send_membership_update() 1079 fl4.saddr = amt->local_ip; in amt_send_multicast_data() 1133 fl4.saddr = amt->local_ip; in amt_send_membership_query() 2570 daddr, amt->local_ip, in amt_send_advertisement() [all …]
|
D | gtp.c | 994 .local_ip.s_addr = htonl(INADDR_ANY), in gtp_create_sock()
|
D | geneve.c | 473 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in geneve_create_sock()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_nvmetcp.c | 332 p_tcp->local_ip[i] = cpu_to_le32(p_conn->local_ip[i]); in qed_sp_nvmetcp_conn_offload() 336 p_tcp->local_ip[0] = cpu_to_le32(p_conn->local_ip[0]); in qed_sp_nvmetcp_conn_offload() 688 memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip)); in qed_nvmetcp_offload_conn()
|
D | qed_nvmetcp.h | 61 u32 local_ip[4]; member
|
D | qed_iscsi.c | 70 u32 local_ip[4]; member 351 dval = p_conn->local_ip[i]; in qed_sp_iscsi_conn_offload() 352 p_tcp->local_ip[i] = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload() 423 dval = p_conn->local_ip[i]; in qed_sp_iscsi_conn_offload() 424 p_tcp2->local_ip[i] = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload() 1224 memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip)); in qed_iscsi_offload_conn()
|
D | qed_iwarp.c | 590 p_tcp_ramrod->tcp.local_ip, in qed_iwarp_print_tcp_ramrod() 598 p_tcp_ramrod->tcp.local_ip, in qed_iwarp_print_tcp_ramrod() 697 tcp->local_ip[i] = cpu_to_le32(ep->cm_info.local_ip[i]); in qed_iwarp_tcp_offload() 1563 cm_info->local_ip, cm_info->local_port, in qed_iwarp_print_cm_info() 1569 cm_info->local_ip, cm_info->local_port, in qed_iwarp_print_cm_info() 1609 !memcmp(&ep->cm_info.local_ip, cm_info->local_ip, in qed_iwarp_ep_exists() 1610 sizeof(cm_info->local_ip)) && in qed_iwarp_ep_exists() 1648 cm_info->local_ip, in qed_iwarp_get_listener() 1649 sizeof(cm_info->local_ip)) && in qed_iwarp_get_listener() 1725 cm_info->local_ip[0] = ntohl(iph->daddr); in qed_iwarp_parse_rx_pkt() [all …]
|
/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.h | 166 __be32 local_ip, __be32 peer_ip) in chtls_set_req_addr() argument 168 inet_rsk(oreq)->ir_loc_addr = local_ip; in chtls_set_req_addr()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_cpl.h | 483 __be32 local_ip; member 495 __be32 local_ip; member 505 __be32 local_ip; member 542 __be32 local_ip; member 580 __be32 local_ip; member 621 __be32 local_ip; member 632 __be32 local_ip; member
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1229 __u8 local_ip[16], peer_ip[16]; in cxgbit_pass_accept_req() local 1257 cxgb_get_4tuple(req, cdev->lldi.adapter_type, &iptype, local_ip, in cxgbit_pass_accept_req() 1265 local_ip, peer_ip, ntohs(local_port), in cxgbit_pass_accept_req() 1268 *(__be32 *)local_ip, in cxgbit_pass_accept_req() 1276 local_ip, peer_ip, ntohs(local_port), in cxgbit_pass_accept_req() 1279 local_ip, peer_ip, in cxgbit_pass_accept_req() 1333 sin->sin_addr.s_addr = *(__be32 *)local_ip; in cxgbit_pass_accept_req() 1345 memcpy(sin6->sin6_addr.s6_addr, local_ip, 16); in cxgbit_pass_accept_req()
|
/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2_utils.h | 161 u32 local_ip; member 182 u32 local_ip[4]; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_msg.h | 316 __be32 local_ip; member 508 __be32 local_ip; member 524 __be32 local_ip; member 537 __be32 local_ip; member 1345 __be32 local_ip; member
|
D | cxgb4_filter.c | 1344 memcpy(&req->local_ip, f->fs.val.lip, 4); in mk_act_open_req()
|
D | cxgb4_main.c | 1943 req->local_ip = sip; in cxgb4_create_server()
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 853 req->local_ip = la->sin_addr.s_addr; in send_connect() 2518 __u8 local_ip[16], peer_ip[16]; in pass_accept_req() local 2545 &iptype, local_ip, peer_ip, &local_port, &peer_port); in pass_accept_req() 2551 local_ip, peer_ip, ntohs(local_port), in pass_accept_req() 2554 *(__be32 *)local_ip, *(__be32 *)peer_ip, in pass_accept_req() 2559 local_ip, peer_ip, ntohs(local_port), in pass_accept_req() 2562 local_ip, peer_ip, local_port, peer_port, in pass_accept_req() 2608 sin->sin_addr.s_addr = *(__be32 *)local_ip; in pass_accept_req() 2614 sin->sin_addr.s_addr = *(__be32 *)local_ip; in pass_accept_req() 2624 memcpy(sin6->sin6_addr.s6_addr, local_ip, 16); in pass_accept_req() [all …]
|
/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 240 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req() 251 csk, &req->local_ip, ntohs(req->local_port), in send_act_open_req() 264 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req() 279 csk, &req->local_ip, ntohs(req->local_port), in send_act_open_req() 292 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req() 311 csk, &req->local_ip, ntohs(req->local_port), in send_act_open_req()
|
/drivers/net/vxlan/ |
D | vxlan_core.c | 2501 union vxlan_addr remote_ip, local_ip; in vxlan_xmit_one() local 2535 local_ip = vxlan->cfg.saddr; in vxlan_xmit_one() 2566 local_ip.sin.sin_addr.s_addr = info->key.u.ipv4.src; in vxlan_xmit_one() 2569 local_ip.sin6.sin6_addr = info->key.u.ipv6.src; in vxlan_xmit_one() 2603 &local_ip.sin.sin_addr.s_addr, in vxlan_xmit_one() 2648 dst = local_ip.sin.sin_addr; in vxlan_xmit_one() 2664 udp_tunnel_xmit_skb(rt, sock4->sock->sk, skb, local_ip.sin.sin_addr.s_addr, in vxlan_xmit_one() 2676 &local_ip.sin6.sin6_addr, in vxlan_xmit_one() 2710 dst = local_ip.sin6.sin6_addr; in vxlan_xmit_one() 2729 &local_ip.sin6.sin6_addr, in vxlan_xmit_one()
|
/drivers/net/wireguard/ |
D | socket.c | 361 .local_ip.s_addr = htonl(INADDR_ANY), in wg_socket_init()
|
/drivers/infiniband/hw/irdma/ |
D | verbs.c | 1196 u32 local_ip[4]; in irdma_modify_qp_roce() local 1245 irdma_copy_ip_ntohl(local_ip, daddr); in irdma_modify_qp_roce() 1248 &local_ip[0], in irdma_modify_qp_roce() 1255 local_ip[0] = ntohl(daddr); in irdma_modify_qp_roce() 1261 udp_info->dest_ip_addr[3] = local_ip[0]; in irdma_modify_qp_roce() 1269 irdma_add_arp(iwdev->rf, local_ip, udp_info->ipv4, in irdma_modify_qp_roce()
|
/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 171 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req() 183 &req->local_ip, ntohs(req->local_port), in send_act_open_req()
|
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 201 cpl->local_ip = inet->inet_rcv_saddr; in chcr_ktls_act_open_req()
|