Home
last modified time | relevance | path

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

/drivers/staging/lustre/lnet/lnet/
Dlib-socket.c369 lnet_sock_create(struct socket **sockp, int *fatal, __u32 local_ip, in lnet_sock_create() argument
395 if (local_ip != 0 || local_port != 0) { in lnet_sock_create()
399 locaddr.sin_addr.s_addr = (local_ip == 0) ? in lnet_sock_create()
400 INADDR_ANY : htonl(local_ip); in lnet_sock_create()
494 lnet_sock_listen(struct socket **sockp, __u32 local_ip, int local_port, in lnet_sock_listen() argument
500 rc = lnet_sock_create(sockp, &fatal, local_ip, local_port); in lnet_sock_listen()
561 lnet_sock_connect(struct socket **sockp, int *fatal, __u32 local_ip, in lnet_sock_connect() argument
567 rc = lnet_sock_create(sockp, fatal, local_ip, local_port); in lnet_sock_connect()
589 &local_ip, local_port, &peer_ip, peer_port); in lnet_sock_connect()
Dacceptor.c143 __u32 local_ip, __u32 peer_ip, int peer_port) in lnet_connect() argument
158 rc = lnet_sock_connect(&sock, &fatal, local_ip, port, peer_ip, in lnet_connect()
/drivers/net/ethernet/chelsio/cxgb/
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
/drivers/net/
Dnetconsole.c288 return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.local_ip.in6); in local_ip_show()
290 return snprintf(buf, PAGE_SIZE, "%pI4\n", &nt->np.local_ip); in local_ip_show()
499 if (in6_pton(buf, count, nt->np.local_ip.in6.s6_addr, -1, &end) > 0) { in local_ip_store()
509 nt->np.local_ip.ip = in_aton(buf); in local_ip_store()
588 CONFIGFS_ATTR(, local_ip);
Dgeneve.c355 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in geneve_create_sock()
/drivers/net/ethernet/chelsio/cxgb3/
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
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_msg.h289 __be32 local_ip; member
396 __be32 local_ip; member
412 __be32 local_ip; member
425 __be32 local_ip; member
Dcxgb4_main.c1771 req->local_ip = sip; in cxgb4_create_server()
/drivers/infiniband/hw/cxgb4/
Dcm.c386 static struct dst_entry *find_route6(struct c4iw_dev *dev, __u8 *local_ip, in find_route6() argument
398 memcpy(&fl6.saddr, local_ip, 16); in find_route6()
415 static struct dst_entry *find_route(struct c4iw_dev *dev, __be32 local_ip, in find_route() argument
423 rt = ip_route_output_ports(&init_net, &fl4, NULL, peer_ip, local_ip, in find_route()
772 req->local_ip = la->sin_addr.s_addr; in send_connect()
2346 int *iptype, __u8 *local_ip, __u8 *peer_ip, in get_4tuple() argument
2366 memcpy(local_ip, &ip->daddr, 4); in get_4tuple()
2373 memcpy(local_ip, ip6->daddr.s6_addr, 16); in get_4tuple()
2389 __u8 local_ip[16], peer_ip[16]; in pass_accept_req() local
2410 local_ip, peer_ip, &local_port, &peer_port); in pass_accept_req()
[all …]
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h626 __u32 local_ip, __u32 peer_ip, int peer_port);
651 __u32 local_ip, int local_port,
/drivers/infiniband/hw/cxgb3/
Diwch_cm.c335 static struct rtable *find_route(struct t3cdev *dev, __be32 local_ip, in find_route() argument
342 rt = ip_route_output_ports(&init_net, &fl4, NULL, peer_ip, local_ip, in find_route()
465 req->local_ip = ep->com.local_addr.sin_addr.s_addr; in send_connect()
1216 req->local_ip = ep->com.local_addr.sin_addr.s_addr; in listen_start()
1371 req->local_ip, in pass_accept_req()
1401 child_ep->com.local_addr.sin_addr.s_addr = req->local_ip; in pass_accept_req()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c217 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req()
228 csk, &req->local_ip, ntohs(req->local_port), in send_act_open_req()
241 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req()
256 csk, &req->local_ip, ntohs(req->local_port), in send_act_open_req()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c168 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req()
180 &req->local_ip, ntohs(req->local_port), in send_act_open_req()