Home
last modified time | relevance | path

Searched refs:local_ip (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/net/ethernet/chelsio/libcxgb/
A Dlibcxgb_cm.c42 int *iptype, __u8 *local_ip, __u8 *peer_ip, in cxgb_get_4tuple() argument
62 memcpy(local_ip, &ip->daddr, 4); in cxgb_get_4tuple()
69 memcpy(local_ip, ip6->daddr.s6_addr, 16); in cxgb_get_4tuple()
93 __be32 local_ip, __be32 peer_ip, __be16 local_port, in cxgb_find_route() argument
100 rt = ip_route_output_ports(&init_net, &fl4, NULL, peer_ip, local_ip, in cxgb_find_route()
122 __u8 *local_ip, __u8 *peer_ip, __be16 local_port, in cxgb_find_route6() argument
132 memcpy(&fl6.saddr, local_ip, 16); in cxgb_find_route6()
/linux/net/core/
A Dnetpoll.c421 udph->check = csum_ipv6_magic(&np->local_ip.in6, in netpoll_send_udp()
441 ip6h->saddr = np->local_ip.in6; in netpoll_send_udp()
449 udph->check = csum_tcpudp_magic(np->local_ip.ip, in netpoll_send_udp()
469 put_unaligned(np->local_ip.ip, &(iph->saddr)); in netpoll_send_udp()
493 np_info(np, "local IPv4 address %pI4\n", &np->local_ip.ip); in netpoll_print_options()
545 ipv6 = netpoll_parse_ip_addr(cur, &np->local_ip); in netpoll_parse_options()
719 if (!np->local_ip.ip) { in netpoll_setup()
736 np->local_ip.ip = ifa->ifa_local; in netpoll_setup()
737 np_info(np, "local IP %pI4\n", &np->local_ip.ip); in netpoll_setup()
752 np->local_ip.in6 = ifp->addr; in netpoll_setup()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
A Dcpl5_cmd.h198 u32 local_ip; member
210 u32 local_ip; member
220 u32 local_ip; member
233 u32 local_ip; member
264 u32 local_ip; member
276 u32 local_ip; member
287 u32 local_ip; member
/linux/arch/m68k/emu/
A Dnfeth.c189 char mac[ETH_ALEN], host_ip[32], local_ip[32]; in nfeth_probe() local
217 virt_to_phys(local_ip), sizeof(local_ip)); in nfeth_probe()
220 local_ip, mac); in nfeth_probe()
/linux/drivers/infiniband/hw/qedr/
A Dqedr_iw_cm.c55 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()
/linux/drivers/net/
A Dnetconsole.c277 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);
A Damt.c639 amt->discovery_ip, amt->local_ip, in amt_send_discovery()
690 iph->saddr = amt->local_ip; in amt_send_discovery()
730 amt->remote_ip, amt->local_ip, in amt_send_request()
783 iph->saddr = amt->local_ip; in amt_send_request()
990 fl4.saddr = amt->local_ip; in amt_send_membership_update()
1049 fl4.saddr = amt->local_ip; in amt_send_multicast_data()
1103 fl4.saddr = amt->local_ip; in amt_send_membership_query()
2506 daddr, amt->local_ip, in amt_send_advertisement()
2536 amta->ip4 = amt->local_ip; in amt_send_advertisement()
2558 iph->saddr = amt->local_ip; in amt_send_advertisement()
[all …]
/linux/include/linux/qed/
A Dtcp_common.h80 __le32 local_ip[4]; member
146 __le32 local_ip[4]; member
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_nvmetcp.c332 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()
A Dqed_nvmetcp.h61 u32 local_ip[4]; member
A Dqed_iscsi.c70 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()
1223 memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip)); in qed_iscsi_offload_conn()
A Dqed_iwarp.c590 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 …]
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_cm.h166 __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()
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dt3_cpl.h483 __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
/linux/tools/testing/selftests/net/forwarding/
A Dmirror_gre_changes.sh161 local local_ip=$1; shift
172 tunnel_create $tundev $type $local_ip $remote_ip \
/linux/tools/testing/selftests/bpf/prog_tests/
A Dsk_lookup.c255 static int fill_sk_lookup_ctx(struct bpf_sk_lookup *ctx, const char *local_ip, __u16 local_port, in fill_sk_lookup_ctx() argument
265 if (is_ipv6(local_ip)) { in fill_sk_lookup_ctx()
275 err = inet_pton(ctx->family, local_ip, local); in fill_sk_lookup_ctx()
1054 const char *remote_ip, const char *local_ip) in run_sk_assign() argument
1068 if (fill_sk_lookup_ctx(&ctx, local_ip, EXT_PORT, remote_ip, INT_PORT)) in run_sk_assign()
1074 server_fds[i] = make_server(SOCK_STREAM, local_ip, 0, NULL); in run_sk_assign()
/linux/include/linux/
A Dnetpoll.h30 union inet_addr local_ip, remote_ip; member
/linux/drivers/target/iscsi/cxgbit/
A Dcxgbit_cm.c1229 __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()
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A Dhw_atl2_utils.h161 u32 local_ip; member
182 u32 local_ip[4]; member
/linux/net/l2tp/
A Dl2tp_core.h137 struct in_addr local_ip; member
/linux/include/net/
A Damt.h331 __be32 local_ip; member
A Dudp_tunnel.h18 struct in_addr local_ip; member
/linux/net/ipv4/
A Dudp_tunnel_core.c28 udp_addr.sin_addr = cfg->local_ip; in udp_sock_create4()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dt4_msg.h316 __be32 local_ip; member
508 __be32 local_ip; member
524 __be32 local_ip; member
537 __be32 local_ip; member
1345 __be32 local_ip; member
/linux/drivers/infiniband/hw/cxgb4/
A Dcm.c853 req->local_ip = la->sin_addr.s_addr; in send_connect()
2521 __u8 local_ip[16], peer_ip[16]; in pass_accept_req() local
2548 &iptype, local_ip, peer_ip, &local_port, &peer_port); in pass_accept_req()
2554 local_ip, peer_ip, ntohs(local_port), in pass_accept_req()
2557 *(__be32 *)local_ip, *(__be32 *)peer_ip, in pass_accept_req()
2562 local_ip, peer_ip, ntohs(local_port), in pass_accept_req()
2565 local_ip, peer_ip, local_port, peer_port, in pass_accept_req()
2611 sin->sin_addr.s_addr = *(__be32 *)local_ip; in pass_accept_req()
2617 sin->sin_addr.s_addr = *(__be32 *)local_ip; in pass_accept_req()
2627 memcpy(sin6->sin6_addr.s6_addr, local_ip, 16); in pass_accept_req()
[all …]

Completed in 86 milliseconds

12