Home
last modified time | relevance | path

Searched refs:sockaddr_in6 (Results 1 – 25 of 59) sorted by relevance

123

/linux-2.6.39/net/sunrpc/
Daddr.c28 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_ntop6_noscopeid()
66 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_ntop6()
159 const char *delim, struct sockaddr_in6 *sin6) in rpc_parse_scope_id()
202 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_pton6()
207 salen < sizeof(struct sockaddr_in6)) in rpc_pton6()
210 memset(sap, 0, sizeof(struct sockaddr_in6)); in rpc_pton6()
219 return sizeof(struct sockaddr_in6); in rpc_pton6()
278 port = ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_sockaddr2uaddr()
349 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_uaddr2sockaddr()
350 return sizeof(struct sockaddr_in6); in rpc_uaddr2sockaddr()
/linux-2.6.39/include/linux/sunrpc/
Dclnt.h174 return ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_get_port()
187 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_set_port()
219 const struct sockaddr_in6 *sin1 = (const struct sockaddr_in6 *)sap1; in __rpc_cmp_addr6()
220 const struct sockaddr_in6 *sin2 = (const struct sockaddr_in6 *)sap2; in __rpc_cmp_addr6()
227 const struct sockaddr_in6 *ssin6 = (const struct sockaddr_in6 *) src; in __rpc_copy_addr6()
228 struct sockaddr_in6 *dsin6 = (struct sockaddr_in6 *) dst; in __rpc_copy_addr6()
304 return ((struct sockaddr_in6 *) sa)->sin6_scope_id; in rpc_get_scope_id()
Dsvc_xprt.h148 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)sa; in svc_addr_port()
166 return sizeof(struct sockaddr_in6); in svc_addr_len()
186 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)addr; in __svc_print_addr()
Dsvc.h292 static inline struct sockaddr_in6 *svc_addr_in6(const struct svc_rqst *rqst) in svc_addr_in6()
294 return (struct sockaddr_in6 *) &rqst->rq_addr; in svc_addr_in6()
/linux-2.6.39/include/rdma/
Drdma_user_cm.h99 struct sockaddr_in6 addr;
104 struct sockaddr_in6 src_addr;
105 struct sockaddr_in6 dst_addr;
124 struct sockaddr_in6 src_addr;
125 struct sockaddr_in6 dst_addr;
197 struct sockaddr_in6 addr;
/linux-2.6.39/include/linux/
Dmroute6.h80 struct sockaddr_in6 mf6cc_origin; /* Origin of mcast */
81 struct sockaddr_in6 mf6cc_mcastgrp; /* Group in question */
91 struct sockaddr_in6 src;
92 struct sockaddr_in6 grp;
Drxrpc.h29 struct sockaddr_in6 sin6; /* IPv6 transport address */
Din6.h58 struct sockaddr_in6 { struct
/linux-2.6.39/drivers/infiniband/core/
Daddr.c136 &((struct sockaddr_in6 *) addr)->sin6_addr, in rdma_translate_ip()
230 static int addr6_resolve(struct sockaddr_in6 *src_in, in addr6_resolve()
231 struct sockaddr_in6 *dst_in, in addr6_resolve()
284 static int addr6_resolve(struct sockaddr_in6 *src_in, in addr6_resolve()
285 struct sockaddr_in6 *dst_in, in addr6_resolve()
300 return addr6_resolve((struct sockaddr_in6 *) src_in, in addr_resolve()
301 (struct sockaddr_in6 *) dst_in, addr); in addr_resolve()
Dcma.c694 ip6 = &((struct sockaddr_in6 *) addr)->sin6_addr; in cma_zero_addr()
707 &((struct sockaddr_in6 *) addr)->sin6_addr); in cma_loopback_addr()
720 return ((struct sockaddr_in6 *) addr)->sin6_port; in cma_port()
765 struct sockaddr_in6 *listen6, *ip6; in cma_save_net_info()
781 listen6 = (struct sockaddr_in6 *) &listen_addr->src_addr; in cma_save_net_info()
782 ip6 = (struct sockaddr_in6 *) &addr->src_addr; in cma_save_net_info()
787 ip6 = (struct sockaddr_in6 *) &addr->dst_addr; in cma_save_net_info()
1288 ip6_addr = ((struct sockaddr_in6 *) addr)->sin6_addr; in cma_set_compare_data()
1647 struct sockaddr_in6 *sin6; in cma_query_ib_route()
1666 sin6 = (struct sockaddr_in6 *) &addr->src_addr; in cma_query_ib_route()
[all …]
/linux-2.6.39/net/ipv6/
Ddatagram.c38 struct sockaddr_in6 *usin = (struct sockaddr_in6 *) uaddr; in ip6_datagram_connect()
119 if (addr_len >= sizeof(struct sockaddr_in6) && in ip6_datagram_connect()
320 struct sockaddr_in6 *sin; in ipv6_recv_error()
323 struct sockaddr_in6 offender; in ipv6_recv_error()
346 sin = (struct sockaddr_in6 *)msg->msg_name; in ipv6_recv_error()
422 struct sockaddr_in6 *sin; in ipv6_recv_rxpmtu()
445 sin = (struct sockaddr_in6 *)msg->msg_name; in ipv6_recv_rxpmtu()
574 struct sockaddr_in6 sin6; in datagram_recv_ctl()
Draw.c243 struct sockaddr_in6 *addr = (struct sockaddr_in6 *) uaddr; in rawv6_bind()
268 if (addr_len >= sizeof(struct sockaddr_in6) && in rawv6_bind()
451 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)msg->msg_name; in rawv6_recvmsg()
729 struct sockaddr_in6 * sin6 = (struct sockaddr_in6 *) msg->msg_name; in rawv6_sendmsg()
799 if (addr_len >= sizeof(struct sockaddr_in6) && in rawv6_sendmsg()
Dinet6_connection_sock.c157 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) uaddr; in inet6_csk_addr2sockaddr()
Daf_inet6.c259 struct sockaddr_in6 *addr=(struct sockaddr_in6 *)uaddr; in inet6_bind()
321 if (addr_len >= sizeof(struct sockaddr_in6) && in inet6_bind()
442 struct sockaddr_in6 *sin=(struct sockaddr_in6 *)uaddr; in inet6_getname()
/linux-2.6.39/fs/cifs/
Dcifs_spnego.c102 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) &server->dstaddr; in cifs_get_spnego_key()
Dconnect.c1472 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in srcip_matches()
1473 struct sockaddr_in6 *vaddr6 = (struct sockaddr_in6 *)&rhs; in srcip_matches()
1498 sport = &((struct sockaddr_in6 *) &server->dstaddr)->sin6_port; in match_port()
1499 port = ((struct sockaddr_in6 *) addr)->sin6_port; in match_port()
1532 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)addr; in match_address()
1533 struct sockaddr_in6 *srv_addr6 = in match_address()
1534 (struct sockaddr_in6 *)&server->dstaddr; in match_address()
1671 struct sockaddr_in6 *sin_server6 = (struct sockaddr_in6 *) &addr; in cifs_get_tcp_session()
1759 sizeof(struct sockaddr_in6)); in cifs_get_tcp_session()
1880 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&server->dstaddr; in cifs_get_smb_ses()
[all …]
Dcache.c69 const struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *) sa; in cifs_server_get_key()
/linux-2.6.39/net/sctp/
Dipv6.c691 struct sockaddr_in6 *sin6; in sctp_inet6_msgname()
693 sin6 = (struct sockaddr_in6 *)msgname; in sctp_inet6_msgname()
697 *addr_len = sizeof(struct sockaddr_in6); in sctp_inet6_msgname()
704 struct sockaddr_in6 *sin6, *sin6from; in sctp_inet6_event_msgname()
712 sin6 = (struct sockaddr_in6 *)msgname; in sctp_inet6_event_msgname()
741 struct sockaddr_in6 *sin6; in sctp_inet6_skb_msgname()
745 sin6 = (struct sockaddr_in6 *)msgname; in sctp_inet6_skb_msgname()
974 .sockaddr_len = sizeof(struct sockaddr_in6),
/linux-2.6.39/fs/nfs/
Dfscache-index.c72 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &clp->cl_addr; in nfs_server_get_key()
Dclient.c336 const struct sockaddr_in6 *sin1 = (const struct sockaddr_in6 *)sa1; in nfs_sockaddr_match_ipaddr6()
337 const struct sockaddr_in6 *sin2 = (const struct sockaddr_in6 *)sa2; in nfs_sockaddr_match_ipaddr6()
372 const struct sockaddr_in6 *sin1 = (const struct sockaddr_in6 *)sa1; in nfs_sockaddr_cmp_ip6()
373 const struct sockaddr_in6 *sin2 = (const struct sockaddr_in6 *)sa2; in nfs_sockaddr_cmp_ip6()
/linux-2.6.39/include/linux/lockd/
Dlockd.h307 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in __nlm_privileged_request6()
/linux-2.6.39/fs/dlm/
Dlowcomms.c282 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *) &addr; in nodeid_to_addr()
283 struct sockaddr_in6 *ret6 = (struct sockaddr_in6 *) retaddr; in nodeid_to_addr()
374 struct sockaddr_in6 *in6_addr = (struct sockaddr_in6 *)saddr; in make_sockaddr()
376 *addr_len = sizeof(struct sockaddr_in6); in make_sockaddr()
1024 addr_len = sizeof(struct sockaddr_in6); in tcp_create_listen_sock()
/linux-2.6.39/drivers/net/
Dcnic_if.h200 struct sockaddr_in6 v6;
204 struct sockaddr_in6 v6;
/linux-2.6.39/drivers/staging/hv/tools/
Dhv_kvp_daemon.c232 struct sockaddr_in6 *addr = in kvp_get_ip_address()
233 (struct sockaddr_in6 *) curp->ifa_addr; in kvp_get_ip_address()
/linux-2.6.39/fs/lockd/
Dhost.c76 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in __nlm_hash_addr6()
322 struct sockaddr_in6 sin6 = { in nlmsvc_lookup_host()

123