/linux-2.6.39/net/sctp/ |
D | ipv6.c | 102 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/ |
D | svc_xprt.h | 154 return ntohs(sin6->sin6_port); in svc_addr_port() 197 ntohs(sin6->sin6_port)); in __svc_print_addr()
|
D | clnt.h | 174 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/ |
D | datagram.c | 93 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()
|
D | inet6_connection_sock.c | 161 sin6->sin6_port = inet_sk(sk)->inet_dport; in inet6_csk_addr2sockaddr()
|
D | af_inet6.c | 279 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()
|
D | udp.c | 412 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()
|
D | raw.c | 495 sin6->sin6_port = 0; in rawv6_recvmsg() 770 proto = ntohs(sin6->sin6_port); in rawv6_sendmsg()
|
D | tcp_ipv6.c | 214 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/ |
D | addr.c | 278 port = ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_sockaddr2uaddr() 349 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_uaddr2sockaddr()
|
D | rpcb_clnt.c | 246 ((struct sockaddr_in6 *)srvaddr)->sin6_port = htons(RPCBIND_PORT); in rpcb_create() 368 unsigned short port = ntohs(sin6->sin6_port); in rpcb_register_inet6()
|
D | svc_xprt.c | 185 .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/ |
D | in6.h | 60 __be16 sin6_port; /* Transport layer port # */ member
|
/linux-2.6.39/fs/nfs/ |
D | fscache-index.c | 90 key->port = sin6->sin6_port; in nfs_server_get_key()
|
D | client.c | 376 (sin1->sin6_port == sin2->sin6_port); in nfs_sockaddr_cmp_ip6()
|
/linux-2.6.39/include/net/sctp/ |
D | sctp.h | 691 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/ |
D | be_mgmt.c | 390 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/ |
D | cache.c | 89 key->port = addr6->sin6_port; in cifs_server_get_key()
|
D | connect.c | 1498 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/ |
D | lockd.h | 309 if (ntohs(sin6->sin6_port) > 1023) in __nlm_privileged_request6()
|
/linux-2.6.39/net/dccp/ |
D | ipv6.c | 934 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/ |
D | config.c | 800 if (sinx->sin6_port != siny->sin6_port) in addr_compare()
|
/linux-2.6.39/drivers/infiniband/core/ |
D | cma.c | 720 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/ |
D | net.c | 1014 &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/ |
D | messenger.c | 75 (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()
|