Home
last modified time | relevance | path

Searched refs:sin6_port (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.6.39/net/sctp/
Dipv6.c102 addr->a.v6.sin6_port = 0; in sctp_inet6addr_event()
369 addr->a.v6.sin6_port = 0; in sctp_v6_copy_addrlist()
390 port = &addr->v6.sin6_port; in sctp_v6_from_skb()
410 addr->v6.sin6_port = 0; in sctp_v6_from_sk()
447 addr->v6.sin6_port = port; in sctp_v6_from_addr_param()
474 addr->v6.sin6_port = port; in sctp_v6_dst_saddr()
488 if (addr2->v6.sin6_port == addr1->v4.sin_port && in sctp_v6_cmp_addr()
496 if (addr1->v6.sin6_port == addr2->v4.sin_port && in sctp_v6_cmp_addr()
521 addr->v6.sin6_port = port; in sctp_v6_inaddr_any()
713 sin6->sin6_port = htons(asoc->peer.port); in sctp_inet6_event_msgname()
[all …]
/linux-2.6.39/include/linux/sunrpc/
Dsvc_xprt.h154 return ntohs(sin6->sin6_port); in svc_addr_port()
197 ntohs(sin6->sin6_port)); in __svc_print_addr()
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()
/linux-2.6.39/net/ipv6/
Ddatagram.c93 sin.sin_port = usin->sin6_port; in ip6_datagram_connect()
142 inet->inet_dport = usin->sin6_port; in ip6_datagram_connect()
300 mtu_info->ip6m_addr.sin6_port = 0; in ipv6_local_rxpmtu()
351 sin->sin6_port = serr->port; in ipv6_recv_error()
449 sin->sin6_port = 0; in ipv6_recv_rxpmtu()
585 sin6.sin6_port = ports[1]; in datagram_recv_ctl()
Dinet6_connection_sock.c161 sin6->sin6_port = inet_sk(sk)->inet_dport; in inet6_csk_addr2sockaddr()
Daf_inet6.c279 snum = ntohs(addr->sin6_port); in inet6_bind()
456 sin->sin6_port = inet->inet_dport; in inet6_getname()
466 sin->sin6_port = inet->inet_sport; in inet6_getname()
Dudp.c412 sin6->sin6_port = udp_hdr(skb)->source; in udpv6_recvmsg()
998 sin.sin_port = sin6 ? sin6->sin6_port : inet->inet_dport; in udpv6_sendmsg()
1039 if (sin6->sin6_port == 0) in udpv6_sendmsg()
1042 fl6.fl6_dport = sin6->sin6_port; in udpv6_sendmsg()
Draw.c495 sin6->sin6_port = 0; in rawv6_recvmsg()
770 proto = ntohs(sin6->sin6_port); in rawv6_sendmsg()
Dtcp_ipv6.c214 sin.sin_port = usin->sin6_port; in tcp_v6_connect()
251 fl6.fl6_dport = usin->sin6_port; in tcp_v6_connect()
303 inet->inet_dport = usin->sin6_port; in tcp_v6_connect()
/linux-2.6.39/net/sunrpc/
Daddr.c278 port = ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_sockaddr2uaddr()
349 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_uaddr2sockaddr()
Drpcb_clnt.c246 ((struct sockaddr_in6 *)srvaddr)->sin6_port = htons(RPCBIND_PORT); in rpcb_create()
368 unsigned short port = ntohs(sin6->sin6_port); in rpcb_register_inet6()
Dsvc_xprt.c185 .sin6_port = htons(port), in __svc_xpo_create()
520 return ntohs(((struct sockaddr_in6 *)sin)->sin6_port) in svc_port_is_privileged()
/linux-2.6.39/include/linux/
Din6.h60 __be16 sin6_port; /* Transport layer port # */ member
/linux-2.6.39/fs/nfs/
Dfscache-index.c90 key->port = sin6->sin6_port; in nfs_server_get_key()
Dclient.c376 (sin1->sin6_port == sin2->sin6_port); in nfs_sockaddr_cmp_ip6()
/linux-2.6.39/include/net/sctp/
Dsctp.h691 addr->v4.sin_port = addr->v6.sin6_port; in sctp_v6_map_v4()
699 addr->v6.sin6_port = addr->v4.sin_port; in sctp_v4_map_v6()
/linux-2.6.39/drivers/scsi/be2iscsi/
Dbe_mgmt.c390 req->tcp_port = ntohs(daddr_in6->sin6_port); in mgmt_open_connection()
391 beiscsi_ep->dst_tcpport = ntohs(daddr_in6->sin6_port); in mgmt_open_connection()
/linux-2.6.39/fs/cifs/
Dcache.c89 key->port = addr6->sin6_port; in cifs_server_get_key()
Dconnect.c1498 sport = &((struct sockaddr_in6 *) &server->dstaddr)->sin6_port; in match_port()
1499 port = ((struct sockaddr_in6 *) addr)->sin6_port; in match_port()
2318 sport = ((struct sockaddr_in6 *) saddr)->sin6_port; in generic_ip_connect()
2400 sport = &addr6->sin6_port; in ip_connect()
/linux-2.6.39/include/linux/lockd/
Dlockd.h309 if (ntohs(sin6->sin6_port) > 1023) in __nlm_privileged_request6()
/linux-2.6.39/net/dccp/
Dipv6.c934 sin.sin_port = usin->sin6_port; in dccp_v6_connect()
960 fl6.fl6_dport = usin->sin6_port; in dccp_v6_connect()
988 inet->inet_dport = usin->sin6_port; in dccp_v6_connect()
/linux-2.6.39/fs/dlm/
Dconfig.c800 if (sinx->sin6_port != siny->sin6_port) in addr_compare()
/linux-2.6.39/drivers/infiniband/core/
Dcma.c720 return ((struct sockaddr_in6 *) addr)->sin6_port; in cma_port()
785 ip6->sin6_port = listen6->sin6_port; in cma_save_net_info()
790 ip6->sin6_port = port; in cma_save_net_info()
2342 sdp_hdr->port = src6->sin6_port; in cma_format_hdr()
2350 cma_hdr->port = src6->sin6_port; in cma_format_hdr()
/linux-2.6.39/drivers/staging/pohmelfs/
Dnet.c1014 &sin->sin6_addr, ntohs(sin->sin6_port)); in netfs_state_init()
1039 &sin->sin6_addr, ntohs(sin->sin6_port)); in netfs_state_exit()
/linux-2.6.39/net/ceph/
Dmessenger.c75 (unsigned int)ntohs(in6->sin6_port)); in ceph_pr_addr()
1058 return ntohs(((struct sockaddr_in6 *)ss)->sin6_port); in addr_port()
1069 ((struct sockaddr_in6 *)ss)->sin6_port = htons(p); in addr_set_port()

12