/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/core/ |
D | netpoll.c | 420 udph->check = csum_ipv6_magic(&np->local_ip.in6, in netpoll_send_udp() 440 ip6h->saddr = np->local_ip.in6; in netpoll_send_udp() 448 udph->check = csum_tcpudp_magic(np->local_ip.ip, in netpoll_send_udp() 468 put_unaligned(np->local_ip.ip, &(iph->saddr)); in netpoll_send_udp() 490 np_info(np, "local IPv6 address %pI6c\n", &np->local_ip.in6); in netpoll_print_options() 492 np_info(np, "local IPv4 address %pI4\n", &np->local_ip.ip); in netpoll_print_options() 544 ipv6 = netpoll_parse_ip_addr(cur, &np->local_ip); in netpoll_parse_options() 731 if (!np->local_ip.ip) { in netpoll_setup() 748 np->local_ip.ip = ifa->ifa_local; in netpoll_setup() 749 np_info(np, "local IP %pI4\n", &np->local_ip.ip); in netpoll_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 198 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
|
/kernel/linux/linux-5.10/arch/m68k/emu/ |
D | nfeth.c | 189 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | tcp_common.h | 80 __le32 local_ip[4]; member 146 __le32 local_ip[4]; member
|
/kernel/linux/linux-5.10/drivers/net/ |
D | netconsole.c | 276 return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.local_ip.in6); in local_ip_show() 278 return snprintf(buf, PAGE_SIZE, "%pI4\n", &nt->np.local_ip); in local_ip_show() 487 if (in6_pton(buf, count, nt->np.local_ip.in6.s6_addr, -1, &end) > 0) { in local_ip_store() 497 nt->np.local_ip.ip = in_aton(buf); in local_ip_store() 576 CONFIGFS_ATTR(, local_ip);
|
D | vxlan.c | 2599 union vxlan_addr remote_ip, local_ip; in vxlan_xmit_one() local 2629 local_ip = vxlan->cfg.saddr; in vxlan_xmit_one() 2658 local_ip.sin.sin_addr.s_addr = info->key.u.ipv4.src; in vxlan_xmit_one() 2661 local_ip.sin6.sin6_addr = info->key.u.ipv6.src; in vxlan_xmit_one() 2692 &local_ip.sin.sin_addr.s_addr, in vxlan_xmit_one() 2737 dst = local_ip.sin.sin_addr; in vxlan_xmit_one() 2753 udp_tunnel_xmit_skb(rt, sock4->sock->sk, skb, local_ip.sin.sin_addr.s_addr, in vxlan_xmit_one() 2765 &local_ip.sin6.sin6_addr, in vxlan_xmit_one() 2798 dst = local_ip.sin6.sin6_addr; in vxlan_xmit_one() 2817 &local_ip.sin6.sin6_addr, in vxlan_xmit_one()
|
/kernel/linux/linux-5.10/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()
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
D | api_shell.c | 2726 (ip_addr_isany(&udppcb->local_ip) || in netstat_get_udp_sendQLen6() 2727 ip6_addr_cmp(&iphdr->src, ip_2_ip6(&udppcb->local_ip))))) { in netstat_get_udp_sendQLen6() 2814 (ip_addr_isany(&udppcb->local_ip) || 2815 ip4_addr_cmp(&iphdr->src, ip_2_ip4(&udppcb->local_ip))))) { 3085 "%s:%d", ipaddr_ntoa(&tpcb->local_ip), tpcb->local_port); 3103 IP_IS_V6(&tpcb->local_ip) ? "%-8s%-12d%-12d%-39s%-39s%-16s\n" : 3105 IP_IS_V6(&tpcb->local_ip) ? "tcp-ip6" : "tcp", 3120 "%s:%d", ipaddr_ntoa(&tpcb->local_ip), tpcb->local_port); 3132 IP_IS_V6(&tpcb->local_ip) ? "%-8s%-12d%-12d%-39s%-39s%-16s\n" : 3134 IP_IS_V6(&tpcb->local_ip) ? "tcp-ip6" : "tcp", [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | mirror_gre_changes.sh | 161 local local_ip=$1; shift 172 tunnel_create $tundev $type $local_ip $remote_ip \
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/include/linux/ |
D | netpoll.h | 30 union inet_addr local_ip, remote_ip; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 255 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_iscsi.c | 69 u32 local_ip[4]; member 350 dval = p_conn->local_ip[i]; in qed_sp_iscsi_conn_offload() 351 p_tcp->local_ip[i] = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload() 422 dval = p_conn->local_ip[i]; in qed_sp_iscsi_conn_offload() 423 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 | 588 p_tcp_ramrod->tcp.local_ip, in qed_iwarp_print_tcp_ramrod() 596 p_tcp_ramrod->tcp.local_ip, in qed_iwarp_print_tcp_ramrod() 695 tcp->local_ip[i] = cpu_to_le32(ep->cm_info.local_ip[i]); in qed_iwarp_tcp_offload() 1561 cm_info->local_ip, cm_info->local_port, in qed_iwarp_print_cm_info() 1567 cm_info->local_ip, cm_info->local_port, in qed_iwarp_print_cm_info() 1607 !memcmp(&ep->cm_info.local_ip, cm_info->local_ip, in qed_iwarp_ep_exists() 1608 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 …]
|
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1228 __u8 local_ip[16], peer_ip[16]; in cxgbit_pass_accept_req() local 1256 cxgb_get_4tuple(req, cdev->lldi.adapter_type, &iptype, local_ip, in cxgbit_pass_accept_req() 1264 local_ip, peer_ip, ntohs(local_port), in cxgbit_pass_accept_req() 1267 *(__be32 *)local_ip, in cxgbit_pass_accept_req() 1275 local_ip, peer_ip, ntohs(local_port), in cxgbit_pass_accept_req() 1278 local_ip, peer_ip, in cxgbit_pass_accept_req() 1332 sin->sin_addr.s_addr = *(__be32 *)local_ip; in cxgbit_pass_accept_req() 1344 memcpy(sin6->sin6_addr.s6_addr, local_ip, 16); in cxgbit_pass_accept_req()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2_utils.h | 161 u32 local_ip; member 182 u32 local_ip[4]; member
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_core.h | 137 struct in_addr local_ip; member
|
/kernel/linux/linux-5.10/include/net/ |
D | udp_tunnel.h | 18 struct in_addr local_ip; member
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udp_tunnel_core.c | 31 udp_addr.sin_addr = cfg->local_ip; in udp_sock_create4()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/net/tipc/ |
D | udp_media.c | 728 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in tipc_udp_enable() 730 udp_conf.local_ip.s_addr = local.ipv4.s_addr; in tipc_udp_enable()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 853 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 …]
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 238 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req() 249 csk, &req->local_ip, ntohs(req->local_port), in send_act_open_req() 262 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req() 277 csk, &req->local_ip, ntohs(req->local_port), in send_act_open_req() 290 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req() 309 csk, &req->local_ip, ntohs(req->local_port), in send_act_open_req()
|